diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-11 10:57:18 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-11 10:57:18 -0300 |
commit | c07ca5cb71d277e9f2fd5c7b94cf8a0021bdfab5 (patch) | |
tree | d9d528762b726855cc356781c89abb1768c8be28 /community/darkstat | |
parent | ece2137c9569ec806aacf3740df98c399a51b21a (diff) | |
parent | 8119da2eaadf53531cad2aed70981ed4606340d6 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/sword/PKGBUILD
community/freedroidrpg/PKGBUILD
community/pgadmin3/PKGBUILD
libre/lame-libre/PKGBUILD
testing/dbus-core/PKGBUILD
testing/libwebkit/PKGBUILD
testing/tracker/PKGBUILD
testing/udev/0001-split-usr-always-read-config-files-from-lib-udev.patch
testing/udev/0002-reinstate-TIMEOUT-handling.patch
testing/udev/PKGBUILD
Diffstat (limited to 'community/darkstat')
-rw-r--r-- | community/darkstat/PKGBUILD | 4 | ||||
-rw-r--r-- | community/darkstat/darkstat.install | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/community/darkstat/PKGBUILD b/community/darkstat/PKGBUILD index 254b5a9c6..17576f9f3 100644 --- a/community/darkstat/PKGBUILD +++ b/community/darkstat/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 67650 2012-03-13 15:19:52Z spupykin $ +# $Id: PKGBUILD 69208 2012-04-10 03:44:54Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=darkstat pkgver=3.0.715 -pkgrel=1 +pkgrel=2 pkgdesc="Network statistics gatherer (packet sniffer)." url="http://dmr.ath.cx/net/darkstat/" license=("GPL") diff --git a/community/darkstat/darkstat.install b/community/darkstat/darkstat.install index a92bba909..fa0ccea48 100644 --- a/community/darkstat/darkstat.install +++ b/community/darkstat/darkstat.install @@ -2,10 +2,15 @@ daemon_name=darkstat daemon_chroot=/var/"$daemon_name" post_install() { - /usr/sbin/useradd -s /bin/false -r -N -g nobody "$daemon_name" if [ ! -d "$daemon_chroot" ]; then install -d "$daemon_chroot" fi + /usr/sbin/useradd \ + --system \ + --home "$daemon_chroot" \ + --shell /bin/false \ + --no-user-group \ + --gid nobody "$daemon_name" chown -R "$daemon_name":nobody "$daemon_chroot" } |