diff options
Diffstat (limited to 'spampd/PKGBUILD')
-rw-r--r-- | spampd/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/spampd/PKGBUILD b/spampd/PKGBUILD index 4aa2e11..84e4950 100644 --- a/spampd/PKGBUILD +++ b/spampd/PKGBUILD @@ -1,20 +1,26 @@ # Maintainer: Florian "Bluewind" Pritz <flo@xssn.at> pkgname=spampd pkgver=2.30 -pkgrel=7 +pkgrel=8 pkgdesc="Spamassassin Proxy Daemon" arch=('any') url="http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm" license=('GPL') depends=('perl' 'perl-net-server' 'spamassassin') -backup=(etc/conf.d/spampd) install=spampd.install source=("http://www.worlddesign.com/Content/rd/mta/$pkgname/$pkgname-$pkgver.tar.gz" - rc-script rc-config spampd.service) + spampd.service untaint-pidfile.patch fix-pod.patch) md5sums=('742c6f2cb75db54e59d044a8ee40445f' - 'da17b3904a63252931cfb5f02e6a089f' - 'f452cf5046abc218bffb1e951485d8f0' - 'f29bea0766c07a18f6dc0a496a79e0ac') + 'f29bea0766c07a18f6dc0a496a79e0ac' + '41f9dc41a42f3b82fdeadfe8943ee0a3' + 'cb5832fd21d3a8aa7fbe188d79c04147') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + patch -p1 -i "$srcdir/untaint-pidfile.patch" + patch -p1 -i "$srcdir/fix-pod.patch" +} build() { cd "$srcdir/$pkgname-$pkgver" @@ -26,8 +32,6 @@ package() { cd "$srcdir/$pkgname-$pkgver" install -Dm755 spampd "$pkgdir/usr/bin/spampd" - 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 "$srcdir/spampd.service" "$pkgdir/usr/lib/systemd/system/spampd.service" } |