Date: Monday, October 16, 2017 @ 22:59:28 Author: seblu Revision: 308072
upgpkg: filesystem 2017.10-1 - remove lp (in systemd) - empty passwd,gpasswd,group,gpasswd (need systemd >v235) Modified: filesystem/trunk/PKGBUILD filesystem/trunk/sysusers Deleted: filesystem/trunk/group filesystem/trunk/gshadow filesystem/trunk/passwd filesystem/trunk/shadow ----------+ PKGBUILD | 27 ++++++++++++--------------- group | 2 -- gshadow | 2 -- passwd | 2 -- shadow | 2 -- sysusers | 2 -- 6 files changed, 12 insertions(+), 25 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-10-16 19:17:27 UTC (rev 308071) +++ PKGBUILD 2017-10-16 22:59:28 UTC (rev 308072) @@ -3,8 +3,8 @@ # Contributor: Tom Gundersen <[email protected]> pkgname=filesystem -pkgver=2017.09 -pkgrel=4 +pkgver=2017.10 +pkgrel=1 pkgdesc='Base Arch Linux files' arch=('i686' 'x86_64') license=('GPL') @@ -15,15 +15,12 @@ 'etc/hosts' 'etc/issue' 'etc/ld.so.conf' 'etc/motd' 'etc/nsswitch.conf' 'etc/passwd' 'etc/profile' 'etc/resolv.conf' 'etc/securetty' 'etc/shadow' 'etc/shells') -source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts' - 'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release' - 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' - 'sysusers' 'tmpfiles') +source=('crypttab' 'env-generator' 'fstab' 'host.conf' 'hosts' 'issue' + 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release' 'profile' + 'resolv.conf' 'securetty' 'shells' 'sysusers' 'tmpfiles') md5sums=('5fa6674df7645d7f5895f2d12b4ef4e9' '2b0344e9639f35f3c0d5637a23556089' 'e33f6dfdd61978fcb3ddf1431286e05a' - '803da7c3c9df9b47a78b52fe9ddf02b1' - '822b75f0faca19a9c4cee334c63ab1b3' '7d119a9cce152aa182fb3392ddeecea7' 'a1315ea3e2b64d197b6efaf9c14ff778' '7813c481156f6b280a3ba91fc6236368' @@ -32,13 +29,11 @@ 'd41d8cd98f00b204e9800998ecf8427e' '44851ecc062ba34a4c024b6f3246c48f' '0a0fbb8e64faabb40023bd180d7190a1' - 'cffabcce564fa9e47981da780059a621' '13feaea89d404729ad2f7cf0bcc41d85' '0ee015fad07732676d9488ae498eed41' 'f04bcb2803afc4dcb95670fe87343b4d' - '7cc0d3e777ccb03f91e979c3aab296a0' 'a78cd8d7f8240a8448edee82f503c34e' - '9f56bb6248654d732ec4843d67e37a68' + 'af7832eabaac9804c22f1f2b53816a49' '0267a3a463f35eec8a31f40a720dfd86') package() { @@ -58,14 +53,16 @@ # setup /etc and /usr/share/factory/etc install -d etc/{ld.so.conf.d,skel,profile.d} usr/share/factory/etc - for f in fstab group host.conf hosts issue ld.so.conf motd nsswitch.conf passwd resolv.conf securetty shells profile; do + for f in fstab host.conf hosts issue ld.so.conf motd nsswitch.conf crypttab \ + resolv.conf securetty shells profile; do install -m644 "$srcdir"/$f etc/ install -m644 "$srcdir"/$f usr/share/factory/etc/ done + chmod 600 {usr/share/factory/,}etc/crypttab ln -s ../proc/self/mounts etc/mtab - for f in gshadow shadow crypttab; do - install -m600 "$srcdir"/$f etc/ - install -m600 "$srcdir"/$f usr/share/factory/etc/ + for f in passwd group gshadow shadow; do + install -Dm600 /dev/null etc/$f + install -Dm600 /dev/null usr/share/factory/etc/$f done touch etc/arch-release install -m755 "$srcdir"/locale.sh etc/profile.d/locale.sh Deleted: group =================================================================== --- group 2017-10-16 19:17:27 UTC (rev 308071) +++ group 2017-10-16 22:59:28 UTC (rev 308072) @@ -1,2 +0,0 @@ -root:x:0:root -nobody:x:99: Deleted: gshadow =================================================================== --- gshadow 2017-10-16 19:17:27 UTC (rev 308071) +++ gshadow 2017-10-16 22:59:28 UTC (rev 308072) @@ -1,2 +0,0 @@ -root:::root -nobody::: Deleted: passwd =================================================================== --- passwd 2017-10-16 19:17:27 UTC (rev 308071) +++ passwd 2017-10-16 22:59:28 UTC (rev 308072) @@ -1,2 +0,0 @@ -root:x:0:0::/root:/bin/bash -nobody:x:99:99::/:/usr/bin/nologin Deleted: shadow =================================================================== --- shadow 2017-10-16 19:17:27 UTC (rev 308071) +++ shadow 2017-10-16 22:59:28 UTC (rev 308072) @@ -1,2 +0,0 @@ -root::14871:::::: -nobody:x:14871:::::: Modified: sysusers =================================================================== --- sysusers 2017-10-16 19:17:27 UTC (rev 308071) +++ sysusers 2017-10-16 22:59:28 UTC (rev 308072) @@ -1,7 +1,6 @@ # default arch groups # groups first, because we have user/group id mismatch on ftp and mail g sys 3 - - -g lp 7 - - g mem 8 - - g ftp 11 - - g mail 12 - - @@ -27,4 +26,3 @@ m bin sys m daemon adm m daemon bin -m daemon lp
