summaryrefslogtreecommitdiff
path: root/extra/spamassassin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/spamassassin/PKGBUILD')
-rw-r--r--extra/spamassassin/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index 1b527bd5c..e15741009 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 205860 2014-02-11 21:25:20Z bluewind $
+# $Id: PKGBUILD 214308 2014-06-05 18:50:41Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=spamassassin
pkgver=3.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="A mail filter to identify spam."
arch=('i686' 'x86_64')
license=('APACHE')
@@ -22,10 +22,11 @@ backup=('etc/mail/spamassassin/local.cf'
'etc/mail/spamassassin/v330.pre')
install="${pkgname}.install"
source=("http://www.us.apache.org/dist/${pkgname}/source/Mail-SpamAssassin-${pkgver}.tar.gz"{,.asc}
- 'spamassassin.service')
+ 'spamassassin.service' net-dns.patch)
md5sums=('5d0b50cee3bfa905cca35c33296c8c2a'
'SKIP'
- 'd0ce5f8a02fd74dbc83632f4aaec6185')
+ 'd0ce5f8a02fd74dbc83632f4aaec6185'
+ 'bd27e3a54784a0a519d3abff3fa82392')
prepare() {
cd "${srcdir}/Mail-SpamAssassin-${pkgver}"
@@ -33,6 +34,8 @@ prepare() {
sed -i t/sa_compile.t \
-e 's#/foo/bin/spamassassin#/foo/bin/site_perl/spamassassin#' \
-e 's#/foo/bin/sa-compile#/foo/bin/site_perl/sa-compile#'
+
+ patch -p1 -i "$srcdir/net-dns.patch"
}
build() {