summaryrefslogtreecommitdiff
path: root/community/dspam/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dspam/PKGBUILD')
-rw-r--r--community/dspam/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/dspam/PKGBUILD b/community/dspam/PKGBUILD
index 35b78dcb7..5ccb4d4c6 100644
--- a/community/dspam/PKGBUILD
+++ b/community/dspam/PKGBUILD
@@ -1,14 +1,16 @@
-# $Id: PKGBUILD 57749 2011-11-02 08:46:38Z spupykin $
+# $Id: PKGBUILD 61608 2012-01-04 21:18:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=dspam
pkgver=3.10.1
-pkgrel=1
+pkgrel=2
pkgdesc="A scalable, open-source statistical anti-spam filter"
arch=('i686' 'x86_64')
url="http://dspam.nuclearelephant.com/"
-backup=(etc/dspam/dspam.conf)
+backup=('etc/dspam/dspam.conf'
+ 'srv/http/dspam/cgi-bin/admins'
+ 'srv/http/dspam/cgi-bin/subadmins')
license=("GPL")
depends=(readline libcap ncurses zlib openssl)
makedepends=('libmysqlclient' 'postgresql-libs' 'db' 'sqlite3')
@@ -46,7 +48,7 @@ package() {
install -d $pkgdir/etc/logrotate.d \
$pkgdir/etc/rc.d $pkgdir/var/lib/dspam/{mysql,pgsql}
- install -m644 ../dspam.logrotated $pkgdir/etc/logrotate.d
+ install -m644 ../dspam.logrotated $pkgdir/etc/logrotate.d/dspam
install -m755 ../dspam $pkgdir/etc/rc.d
sed -i 's|#ServerPID|ServerPID|' $pkgdir/etc/dspam/dspam.conf