[arch-commits] Commit in lightdm/trunk (4 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 17 21:14:57 UTC 2017
Date: Sunday, December 17, 2017 @ 21:14:56
Author: alucryd
Revision: 313278
systemd-sysusers todo: lightdm 1:1.24.0-2
Added:
lightdm/trunk/lightdm.sysusers
Modified:
lightdm/trunk/PKGBUILD
lightdm/trunk/lightdm.tmpfiles
Deleted:
lightdm/trunk/lightdm.install
------------------+
PKGBUILD | 17 ++++++-----------
lightdm.install | 11 -----------
lightdm.sysusers | 3 +++
lightdm.tmpfiles | 6 +++++-
4 files changed, 14 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-17 20:53:06 UTC (rev 313277)
+++ PKGBUILD 2017-12-17 21:14:56 UTC (rev 313278)
@@ -5,7 +5,7 @@
pkgbase=lightdm
pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
pkgver=1.24.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='A lightweight display manager'
arch=('x86_64')
@@ -16,6 +16,7 @@
'libxklavier' 'pam' 'polkit' 'qt4' 'qt5-base' 'vala')
source=("https://launchpad.net/lightdm/${pkgver%.*}/${pkgver}/+download/lightdm-${pkgver}.tar.xz"
'lightdm.service'
+ 'lightdm.sysusers'
'lightdm.tmpfiles'
'lightdm.pam'
'lightdm-autologin.pam'
@@ -24,7 +25,8 @@
'Xsession')
sha256sums=('cd509b74382bcf382c6e3e4b54ac30ba804022fec968d6993d134552ea1a43a2'
'0db37a14521be729411a767f157fbd07adb738b14006277def53a1efe4dacfb8'
- 'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f'
+ '19acdbf64c342f77662c08aa53a5ab932ef7faad6e16452b0fbe7758fa935345'
+ 'a905d0059e76fb01204912674cd47fa4757dfc0bb0ccf9a337cefb68573287bc'
'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
'33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a'
'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
@@ -71,7 +73,6 @@
'etc/pam.d/lightdm'
'etc/pam.d/lightdm-autologin'
'etc/pam.d/lightdm-greeter')
- install='lightdm.install'
cd lightdm-${pkgver}
@@ -81,13 +82,6 @@
rm -rf "${pkgdir}"/etc/init
rm -rf "${pkgdir}"/usr/include/lightdm-qt{,5}-*
- install -dm 755 "${pkgdir}"/var/cache/lightdm
- install -dm 770 "${pkgdir}"/var/lib/lightdm{,-data}
- install -dm 711 "${pkgdir}"/var/log/lightdm
- chmod +t "${pkgdir}"/var/{cache/lightdm,lib/lightdm{,-data}}
- chown 620:620 -R "${pkgdir}"/var/lib/lightdm{,-data}
- chgrp 620 "${pkgdir}"/var/log/lightdm
-
# PAM
install -m 644 ../lightdm.pam "${pkgdir}"/etc/pam.d/lightdm
install -m 644 ../lightdm-autologin.pam "${pkgdir}"/etc/pam.d/lightdm-autologin
@@ -97,8 +91,9 @@
install -m 644 ../lightdm.rules "${pkgdir}"/usr/share/polkit-1/rules.d/lightdm.rules
# Systemd
- install -dm 755 "${pkgdir}"/usr/lib/{systemd/system,tmpfiles.d}
+ install -dm 755 "${pkgdir}"/usr/lib/{systemd/system,sysusers.d,tmpfiles.d}
install -m 644 ../lightdm.service "${pkgdir}"/usr/lib/systemd/system/lightdm.service
+ install -m 644 ../lightdm.sysusers "${pkgdir}"/usr/lib/sysusers.d/lightdm.conf
install -m 644 ../lightdm.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lightdm.conf
}
Deleted: lightdm.install
===================================================================
--- lightdm.install 2017-12-17 20:53:06 UTC (rev 313277)
+++ lightdm.install 2017-12-17 21:14:56 UTC (rev 313278)
@@ -1,11 +0,0 @@
-post_install() {
- getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm
- getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /usr/bin/nologin lightdm
- passwd -l lightdm > /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-# vim: ts=2 sw=2 et:
Added: lightdm.sysusers
===================================================================
--- lightdm.sysusers (rev 0)
+++ lightdm.sysusers 2017-12-17 21:14:56 UTC (rev 313278)
@@ -0,0 +1,3 @@
+g lightdm 620 -
+u lightdm 620 "Light Display Manager" /var/lib/lightdm
+
Modified: lightdm.tmpfiles
===================================================================
--- lightdm.tmpfiles 2017-12-17 20:53:06 UTC (rev 313277)
+++ lightdm.tmpfiles 2017-12-17 21:14:56 UTC (rev 313278)
@@ -1 +1,5 @@
-d /run/lightdm 0711 lightdm lightdm
+d /run/lightdm 0711 root lightdm 0
+d /var/cache/lightdm 0711 root lightdm -
+d /var/lib/lightdm 1770 lightdm lightdm -
+d /var/lib/lightdm-data 1770 lightdm lightdm -
+d /var/log/lightdm 0711 root lightdm -
More information about the arch-commits
mailing list