aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/spamassassin/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/spamassassin/APKBUILD b/main/spamassassin/APKBUILD
index a8744cb9fa..c82a4a2f8c 100644
--- a/main/spamassassin/APKBUILD
+++ b/main/spamassassin/APKBUILD
@@ -1,19 +1,22 @@
+# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=spamassassin
_realname=Mail-SpamAssassin
-pkgver=3.3.0
+pkgver=3.2.5
pkgrel=1
pkgdesc="The Powerful #1 Open-Source Spam Filter"
url="http://spamassassin.apache.org"
license="Apache"
-depends="perl perl-digest-sha1 perl-time-hires perl-netaddr-ip perl-mail-dkim perl-html-parser perl-net-dns perl-db_file"
+depends="perl perl-digest-sha1 perl-html-parser perl-net-dns perl-db_file"
makedepends="perl-dev zlib-dev"
install=
subpackages="$pkgname-doc"
-source="http://www.apache.org/dist/spamassassin/source/$_realname-$pkgver.tar.gz"
+source="http://www.apache.org/dist/spamassassin/source/$_realname-3.2.5.tar.gz
+ spamassassin-3.2.5-DESTDIR.patch"
prepare() {
cd "$srcdir/$_realname-$pkgver"
+ patch -p1 -i ../spamassassin-3.2.5-DESTDIR.patch || return 1
}
build() {
@@ -34,4 +37,5 @@ package() {
find "$pkgdir" -name perllocal.pod -delete
}
-md5sums="38078b07396c0ab92b46386bc70ef086 Mail-SpamAssassin-3.3.0.tar.gz"
+md5sums="7fdc1651d0371c4a7f95ac9ae6f828a6 Mail-SpamAssassin-3.2.5.tar.gz
+45885134199c9427add4d9bcb46311cf spamassassin-3.2.5-DESTDIR.patch"