1
0
forked from ports/contrib

lightdm: fixed pre-/post-install scripts by report

This commit is contained in:
Tim Biermann 2020-10-23 10:48:14 +00:00
parent 0897c0af1d
commit 4c80425505
4 changed files with 6 additions and 13 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31N9+46XS4quJ3yHwHXI8frLDcu0XnDoF+L/BSpSnyyLfR9eoGNqQOvAUx703cOX8YUtHKnqQa9HKUU9tyb6BgQ=
SHA256 (Pkgfile) = ebf4411b2188a78902e539ec95aa5c907a143afb28ab8d1eaccd0a43fd45c5bb
RWSagIOpLGJF32yfEd/oy7UKsoyWXO3crUbiFr46iT9CSPMcgPaqgRlmt/O2GBvnuLK4kSuiqfFjtDx0v5geJ0riXDuj7ELW6QQ=
SHA256 (Pkgfile) = b663810a5eeb0a1ae1699e27b29e7490fbb46e8db8a38f0b317073c9b12ffe87
SHA256 (.footprint) = b5dda6f9fd58b39b7da8508471581b3b29193dcf703514ee24ce6f804ba5d676
SHA256 (lightdm-1.30.0.tar.xz) = a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95
SHA256 (Xsession) = d30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5

View File

@ -5,14 +5,11 @@
name=lightdm
version=1.30.0
release=3
release=4
source=(
https://github.com/CanonicalLtd/lightdm/releases/download/$version/$name-$version.tar.xz
Xsession
lightdm-default-config.patch
lightdm.rules lightdm.service
lightdm.pam lightdm-autologin.pam lightdm-greeter.pam
)
Xsession lightdm-default-config.patch lightdm.rules lightdm.service
lightdm.pam lightdm-autologin.pam lightdm-greeter.pam)
build() {
cd $name-$version

View File

@ -1,4 +0,0 @@
#!/bin/sh
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

2
lightdm/pre-install Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh
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
getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm
passwd -l lightdm > /dev/null