summaryrefslogtreecommitdiffstats
path: root/spampd
diff options
context:
space:
mode:
Diffstat (limited to 'spampd')
-rw-r--r--spampd/PKGBUILD6
-rw-r--r--spampd/spampd.service1
2 files changed, 4 insertions, 3 deletions
diff --git a/spampd/PKGBUILD b/spampd/PKGBUILD
index 008c59d..4aa2e11 100644
--- a/spampd/PKGBUILD
+++ b/spampd/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Florian "Bluewind" Pritz <flo@xssn.at>
pkgname=spampd
pkgver=2.30
-pkgrel=5
+pkgrel=7
pkgdesc="Spamassassin Proxy Daemon"
arch=('any')
url="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm"
@@ -14,7 +14,7 @@ source=("http://www.worlddesign.com/Content/rd/mta/$pkgname/$pkgname-$pkgver.tar
md5sums=('742c6f2cb75db54e59d044a8ee40445f'
'da17b3904a63252931cfb5f02e6a089f'
'f452cf5046abc218bffb1e951485d8f0'
- '0ee1229042bf795a22711d6fe819fda0')
+ 'f29bea0766c07a18f6dc0a496a79e0ac')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -29,7 +29,7 @@ package() {
install -Dm755 "$srcdir/rc-script" "$pkgdir/etc/rc.d/spampd"
install -Dm644 "$srcdir/rc-config" "$pkgdir/etc/conf.d/spampd"
install -Dm644 spampd.8.gz "$pkgdir/usr/share/man/man8/spampd.8.gz"
- install -Dm644 spampd.service "$pkgdir/usr/lib/systemd/system/spampd.service"
+ install -Dm644 "$srcdir/spampd.service" "$pkgdir/usr/lib/systemd/system/spampd.service"
}
# vim:set ts=2 sw=2 et:
diff --git a/spampd/spampd.service b/spampd/spampd.service
index 514c3c7..084d5cf 100644
--- a/spampd/spampd.service
+++ b/spampd/spampd.service
@@ -4,6 +4,7 @@ After=network.target
[Service]
ExecStart=/usr/bin/spampd --port=10025 --relayhost=127.0.0.1:10026 --tagall --log-rules-hit --user spampd --group spampd --pid=/home/spampd/spampd.pid --nodetach
+PrivateTmp=true
[Install]
WantedBy=multi-user.target