From d272667632635ee4bff20b60d10b6ad8176f0d8b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 25 Feb 2015 17:51:24 -0200 Subject: filesystem-2015.02-1.parabola1: updating version * add proc group (FS#43153 -> https://bugs.archlinux.org/task/43153) --- libre/filesystem/PKGBUILD | 12 ++++++------ libre/filesystem/filesystem.install | 12 +----------- libre/filesystem/group | 1 + libre/filesystem/gshadow | 1 + libre/filesystem/locale.sh | 2 +- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD index b101effbb..277a5c5de 100644 --- a/libre/filesystem/PKGBUILD +++ b/libre/filesystem/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 225329 2014-10-25 18:44:19Z dreisner $ +# $Id: PKGBUILD 231606 2015-02-15 21:59:45Z dreisner $ # Maintainer (Arch): Tom Gundersen # Maintainer: Nicolás Reynolds # Maintainer: André Silva pkgname=filesystem -pkgver=2014.10 -pkgrel=3.parabola2 +pkgver=2015.02 +pkgrel=1.parabola1 pkgdesc='Base filesystem (Parabola rebranded)' arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -23,7 +23,7 @@ source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf' 'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf' 'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first' 'parabola.7.txt' 'locale.sh') -md5sums=('d46cb1adf8175888cc827a3dad8857d2' +md5sums=('4d7417d2bf8872665c0907f09ae37c34' '6be47d893fd49b2e4a8c0e811b350861' '9e4533df61f0c82d6b2e2371f7376282' '4c4540eeb748bf1f71d631b8c1dcf0b3' @@ -38,11 +38,11 @@ md5sums=('d46cb1adf8175888cc827a3dad8857d2' '83e0de34441a56684db8f813099d62f8' '6f48288b6fcaf0065fcb7b0e525413e0' '22518e922891f9359f971f4f5b4e793c' - '09bce9236c3729d31aaa528bcf5d198e' + '69e460404f45bdb7288d1de662e56dd9' '0b6f835598c7640184e476057b3c7722' 'a8a962370cd0128465d514e6a1f74130' 'd5732ffdb3488e1383d4ea199343e767' - '2caa30a2c91580dc12f053231f237608') + '71ed98c52e11ada1f936ac8cb14eecd9') lint() { # ensure that passwd is sync'd to shadow and group is sync'd to gshadow. diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install index d70906f47..9793ad25c 100644 --- a/libre/filesystem/filesystem.install +++ b/libre/filesystem/filesystem.install @@ -12,17 +12,6 @@ _adduser() { fi } -post_install() { - _backup=('etc/fstab' 'etc/crypttab' 'etc/group' 'etc/hosts' 'etc/ld.so.conf' 'etc/passwd' - 'etc/shadow' 'etc/gshadow' 'etc/resolv.conf' 'etc/motd' 'etc/nsswitch.conf' - 'etc/shells' 'etc/host.conf' 'etc/securetty' 'etc/profile' 'etc/issue') - for _bk in ${_backup[@]}; do - if [ -f ${_bk}.pacsave ]; then - cp -av ${_bk}{.pacsave,} - fi - done -} - post_upgrade() { _addgroup optical -g 93 _addgroup audio -g 92 @@ -35,6 +24,7 @@ post_upgrade() { _addgroup network -g 90 _addgroup games -g 50 _addgroup uucp -g 14 + _addgroup proc -g 26 _addgroup http -g 33 _adduser http -u 33 -d /srv/http -g http -s /usr/bin/nologin _addgroup scanner -g 96 diff --git a/libre/filesystem/group b/libre/filesystem/group index ebfb87169..f922eadcf 100644 --- a/libre/filesystem/group +++ b/libre/filesystem/group @@ -17,6 +17,7 @@ utmp:x:20: locate:x:21: rfkill:x:24: smmsp:x:25: +proc:x:26: http:x:33: games:x:50: lock:x:54: diff --git a/libre/filesystem/gshadow b/libre/filesystem/gshadow index 1fcb075bc..b89cf7709 100644 --- a/libre/filesystem/gshadow +++ b/libre/filesystem/gshadow @@ -17,6 +17,7 @@ utmp:x:: locate::: rfkill:x:: smmsp::: +proc::: http::: games::: lock::: diff --git a/libre/filesystem/locale.sh b/libre/filesystem/locale.sh index b66587203..11b7dc9ec 100644 --- a/libre/filesystem/locale.sh +++ b/libre/filesystem/locale.sh @@ -3,7 +3,7 @@ if [ -z "$LANG" ]; then if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then . "$XDG_CONFIG_HOME/locale.conf" - elif [ -n $HOME ] && [ -r $HOME/.config/locale.conf ]; then + elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then . "$HOME/.config/locale.conf" elif [ -r /etc/locale.conf ]; then . /etc/locale.conf -- cgit v1.2.3