Browse Source

[trunk] -> [extra] 'lightdm-1:1.30.0-4.1' add

master
artoo 11 months ago
parent
commit
2657a45f7b
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 9
      lightdm/trunk/PKGBUILD
  2. 17
      lightdm/trunk/lightdm-greeter.pam
  3. 9
      lightdm/x86_64/extra/PKGBUILD
  4. 17
      lightdm/x86_64/extra/lightdm-greeter.pam

9
lightdm/trunk/PKGBUILD

@ -7,7 +7,7 @@ pkgname=(
liblightdm-qt5
)
pkgver=1.30.0
pkgrel=4
pkgrel=4.1
epoch=1
pkgdesc='A lightweight display manager'
arch=(x86_64)
@ -44,6 +44,7 @@ source=(
lightdm.rules
lightdm-default-config.patch
Xsession
lightdm-greeter.pam
)
validpgpkeys=(497851B5D455C606543F2B9318EAA1890F7C882E) # Robert Ancell <robert.ancell@gmail.com>
sha256sums=('SKIP'
@ -53,7 +54,8 @@ sha256sums=('SKIP'
'e111a484f98c1449e1cf10c31532748d98e850eff1ab9f3a3b8eec485f44198f'
'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
'782a52dc39a7d6f2c6ee31e66897e3502fc14864e3e4ede8e3d1a0da74b8dfdf'
'd30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5')
'd30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5'
'd95ec33a64562eec4f54557a01aa09e23b707c02fd40984dafa309ceae1b44a2')
prepare() {
cd lightdm
@ -125,13 +127,14 @@ package_lightdm() {
# PAM
install -m 644 ../lightdm.pam "${pkgdir}"/etc/pam.d/lightdm
install -m 644 ../lightdm-autologin.pam "${pkgdir}"/etc/pam.d/lightdm-autologin
install -m 644 ../lightdm-greeter.pam "${pkgdir}"/etc/pam.d/lightdm-greeter
# PolicyKit
install -dm 750 -g 102 "${pkgdir}"/usr/share/polkit-1/rules.d
install -m 644 ../lightdm.rules "${pkgdir}"/usr/share/polkit-1/rules.d/lightdm.rules
# Systemd
install -dm 755 "${pkgdir}"/usr/lib/{systemd/system,sysusers.d,tmpfiles.d}
install -dm 755 "${pkgdir}"/usr/lib/{sysusers.d,tmpfiles.d}
install -m 644 ../lightdm.sysusers "${pkgdir}"/usr/lib/sysusers.d/lightdm.conf
install -m 644 ../lightdm.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lightdm.conf
}

17
lightdm/trunk/lightdm-greeter.pam

@ -0,0 +1,17 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
session optional pam_elogind.so

9
lightdm/x86_64/extra/PKGBUILD

@ -7,7 +7,7 @@ pkgname=(
liblightdm-qt5
)
pkgver=1.30.0
pkgrel=4
pkgrel=4.1
epoch=1
pkgdesc='A lightweight display manager'
arch=(x86_64)
@ -44,6 +44,7 @@ source=(
lightdm.rules
lightdm-default-config.patch
Xsession
lightdm-greeter.pam
)
validpgpkeys=(497851B5D455C606543F2B9318EAA1890F7C882E) # Robert Ancell <robert.ancell@gmail.com>
sha256sums=('SKIP'
@ -53,7 +54,8 @@ sha256sums=('SKIP'
'e111a484f98c1449e1cf10c31532748d98e850eff1ab9f3a3b8eec485f44198f'
'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
'782a52dc39a7d6f2c6ee31e66897e3502fc14864e3e4ede8e3d1a0da74b8dfdf'
'd30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5')
'd30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5'
'd95ec33a64562eec4f54557a01aa09e23b707c02fd40984dafa309ceae1b44a2')
prepare() {
cd lightdm
@ -125,13 +127,14 @@ package_lightdm() {
# PAM
install -m 644 ../lightdm.pam "${pkgdir}"/etc/pam.d/lightdm
install -m 644 ../lightdm-autologin.pam "${pkgdir}"/etc/pam.d/lightdm-autologin
install -m 644 ../lightdm-greeter.pam "${pkgdir}"/etc/pam.d/lightdm-greeter
# PolicyKit
install -dm 750 -g 102 "${pkgdir}"/usr/share/polkit-1/rules.d
install -m 644 ../lightdm.rules "${pkgdir}"/usr/share/polkit-1/rules.d/lightdm.rules
# Systemd
install -dm 755 "${pkgdir}"/usr/lib/{systemd/system,sysusers.d,tmpfiles.d}
install -dm 755 "${pkgdir}"/usr/lib/{sysusers.d,tmpfiles.d}
install -m 644 ../lightdm.sysusers "${pkgdir}"/usr/lib/sysusers.d/lightdm.conf
install -m 644 ../lightdm.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lightdm.conf
}

17
lightdm/x86_64/extra/lightdm-greeter.pam

@ -0,0 +1,17 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
session optional pam_elogind.so
Loading…
Cancel
Save