summaryrefslogtreecommitdiff
path: root/extra/spamassassin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/spamassassin/PKGBUILD')
-rw-r--r--extra/spamassassin/PKGBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index 5559ec48e..164475d46 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 106385 2011-01-16 17:09:43Z angvp $
+# $Id: PKGBUILD 129532 2011-06-28 18:19:06Z angvp $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
-
pkgname=spamassassin
-pkgver=3.3.1
-pkgrel=4
+pkgver=3.3.2
+pkgrel=2
pkgdesc="A mail filter to identify spam."
arch=(i686 x86_64)
license=(APACHE)
url="http://spamassassin.apache.org"
-depends=('perl>=5.12.2' 'perl-net-dns' 'perl-uri' 'perl-html-parser' \
+depends=('perl>=5.14' 'perl-net-dns' 'perl-uri' 'perl-html-parser' \
'perl-digest-sha1' 'perl-io-socket-ssl' 'openssl' \
- 'perl-libwww' 'perl-io-zlib' 'perl-mail-spf' \
- 'perl-archive-tar' 'zlib' 're2c')
+ 'perl-libwww' 'perl-mail-spf' \
+ 'zlib' 're2c')
+ # perl-archive-tar perl-io-zlib)
makedepends=('razor' 'perl-dbi')
optdepends=('razor: to identify collaborately-flagged spam'
- 'gnupg: gpg support, without this use --nogpg flag for sa-update'
- 're2c: regexp compiler, for compiling rules with sa-compile')
+ 'gnupg: gpg support, without this use --nogpg flag for sa-update'
+ 're2c: regexp compiler, for compiling rules with sa-compile'
+ 'perl-mail-dkim: DomainKeys Identified Mail (DKIM) checking')
backup=(etc/conf.d/spamd etc/mail/spamassassin/local.cf \
etc/mail/spamassassin/init.pre \
etc/mail/spamassassin/v310.pre \
@@ -26,7 +27,7 @@ install=${pkgname}.install
options=(!emptydirs)
source=(http://mirrors.devlib.org/apache/${pkgname}/source/Mail-SpamAssassin-${pkgver}.tar.gz \
spamd.conf.d spamd)
-md5sums=('5a93f81fda315411560ff5da099382d2'
+md5sums=('d1d62cc5c6eac57e88c4006d9633b81e'
'af501c6b0bb937a2775b747cc4b6d150'
'0534d3071a526a27ddc2b297afa03b04')
@@ -39,12 +40,14 @@ build() {
/usr/bin/make
}
+check() {
+ cd ${srcdir}/Mail-SpamAssassin-${pkgver}
+ /usr/bin/make test || true
+}
+
package() {
cd ${srcdir}/Mail-SpamAssassin-${pkgver}
/usr/bin/make DESTDIR=${pkgdir} install
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
/bin/install -D -m644 ${srcdir}/spamd.conf.d ${pkgdir}/etc/conf.d/spamd
/bin/install -D -m755 ${srcdir}/spamd ${pkgdir}/etc/rc.d/spamd