[arch-commits] Commit in dspam/trunk (PKGBUILD dspam.install)

Sergej Pupykin spupykin at archlinux.org
Tue Feb 10 17:03:54 UTC 2015


    Date: Tuesday, February 10, 2015 @ 18:03:54
  Author: spupykin
Revision: 127509

upgpkg: dspam 3.10.2-11

upd

Modified:
  dspam/trunk/PKGBUILD
  dspam/trunk/dspam.install

---------------+
 PKGBUILD      |    2 +-
 dspam.install |    9 ++-------
 2 files changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-10 17:02:35 UTC (rev 127508)
+++ PKGBUILD	2015-02-10 17:03:54 UTC (rev 127509)
@@ -4,7 +4,7 @@
 
 pkgname=dspam
 pkgver=3.10.2
-pkgrel=10
+pkgrel=11
 pkgdesc="A scalable, open-source statistical anti-spam filter"
 arch=('i686' 'x86_64')
 url="http://dspam.nuclearelephant.com/"

Modified: dspam.install
===================================================================
--- dspam.install	2015-02-10 17:02:35 UTC (rev 127508)
+++ dspam.install	2015-02-10 17:03:54 UTC (rev 127509)
@@ -1,8 +1,8 @@
 post_install() {
   echo -n "adding dspam system group... "
-  groupadd -g 115 dspam && echo "done."
+  groupadd -r dspam && echo "done."
   echo -n "adding dspam system user... "
-  useradd -c "DSPAM Daemon" -u 115 -d /var/lib/dspam -g dspam -s /bin/false dspam \
+  useradd -r -c "DSPAM Daemon" -d /var/lib/dspam -g dspam -s /bin/false dspam \
     && echo "done."
   passwd -l dspam &>/dev/null
   chown root:dspam usr/bin/dspam{,c}
@@ -38,8 +38,3 @@
   chmod g+s usr/bin/dspamc
   systemd-tmpfiles --create dspam.conf
 }
-
-post_remove() {
-  echo -n -e "\nremoving dspam system user and group..."
-  userdel dspam && echo "done."
-}



More information about the arch-commits mailing list