From c97021259e81d92b1c5930c84107902c2e80dc44 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 23 Aug 2012 12:38:26 +0200 Subject: spampd: fix install cmd and add PrivateTmp Signed-off-by: Florian Pritz --- spampd/PKGBUILD | 6 +++--- spampd/spampd.service | 1 + 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 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 -- cgit v1.2.3-24-g4f1b