diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-04-25 14:34:22 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-04-25 14:35:59 +0000 |
commit | b99dd32b111a600e7b7fd41f863c4c5ed27803db (patch) | |
tree | 0830718dcaab530ddf385dc546230f5b47dd793f /testing/milter-greylist | |
parent | bc715e671d8177df70700e69693b112101b26b40 (diff) | |
download | aports-b99dd32b111a600e7b7fd41f863c4c5ed27803db.tar.bz2 aports-b99dd32b111a600e7b7fd41f863c4c5ed27803db.tar.xz |
testing/milter-greylist: upgrade to 4.5.16. Add dnsrbl and dkim support
Diffstat (limited to 'testing/milter-greylist')
-rw-r--r-- | testing/milter-greylist/APKBUILD | 29 | ||||
-rw-r--r-- | testing/milter-greylist/milter-greylist-no-sockaddr-length.patch | 11 |
2 files changed, 30 insertions, 10 deletions
diff --git a/testing/milter-greylist/APKBUILD b/testing/milter-greylist/APKBUILD index 2c82a3efd8..2c73caf2fc 100644 --- a/testing/milter-greylist/APKBUILD +++ b/testing/milter-greylist/APKBUILD @@ -1,21 +1,22 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: pkgname=milter-greylist -pkgver=4.4.3 -pkgrel=5 +pkgver=4.5.16 +pkgrel=0 pkgdesc="Stand-alone milter written in C that implements the greylist filtering method" url="http://hcpnet.free.fr/milter-greylist" arch="all" license="GPL" depends= depends_dev= -makedepends="$depends_dev bison flex libmilter-dev libspf2-dev" +makedepends="$depends_dev bison flex libmilter-dev libspf2-dev opendkim-dev" install="$pkgname.pre-install" subpackages="$pkgname-doc" pkgusers="smmsp" pkggroups="smmsp" source="ftp://ftp.espci.fr/pub/milter-greylist/$pkgname-$pkgver.tgz milter-greylist-conf.patch + milter-greylist-no-sockaddr-length.patch " builddir="$srcdir"/$pkgname-$pkgver @@ -27,6 +28,7 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done + #autoreconf -vif } build() { @@ -40,11 +42,14 @@ build() { --infodir=/usr/share/info \ --localstatedir=/var/lib \ --with-libspf2 \ + --with-libopendkim=/usr \ --with-user=smmsp \ --with-conffile=/etc/$pkgname/greylist.conf \ --with-dumpfile=/var/lib/$pkgname/greylist.db \ + --with-thread-safe-resolver \ --enable-postfix \ --enable-spamassassin \ + --enable-dnsrbl \ --disable-rpath make -j1 || return 1 } @@ -53,13 +58,17 @@ package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 greylist2.conf "$pkgdir"/etc/$pkgname/greylist2.conf + install -m644 -D greylist2.conf "$pkgdir"/etc/$pkgname/greylist2.conf + mkdir -p "$pkgdir"/var/lib/$pkgname chown -R smmsp:smmsp "$pkgdir"/var/lib/$pkgname } -md5sums="19cf27dc8077a01d103fcf2f367e9509 milter-greylist-4.4.3.tgz -bbecf43a626a81f3383e7b9d21042290 milter-greylist-conf.patch" -sha256sums="fdf7e37c5dd370473ff2cdec7e4b6ca9e60fc2b5c716612d2d449de98d0054a9 milter-greylist-4.4.3.tgz -c0abf2a935f58f7aa8e2f49c272a9fd7c99b6464c2ff00706d1c475b5917db1a milter-greylist-conf.patch" -sha512sums="789c2b1d5b330b4564ef454aaebe891250c655f712081a436bb2d7462daa3590e02b6829881cb2e315db1238e021480013be95d0457d6bbde79a4230926cc841 milter-greylist-4.4.3.tgz -e48bab52eb6fe8a8123ddc56753fb0fa5243bd07272cf2440269cd348f96f6f6a33163e49d9b009a5ff6181a212f9d5d25354d7ddd787603bcde84eda29e4d9c milter-greylist-conf.patch" +md5sums="dead8ceb27b0b471025bedabd742ce14 milter-greylist-4.5.16.tgz +bbecf43a626a81f3383e7b9d21042290 milter-greylist-conf.patch +811a2d1328cef175c6f71ed82e29e17f milter-greylist-no-sockaddr-length.patch" +sha256sums="a820616fc6052a74c646bf55b1f44c5931fc87758df8cdbd5b61af6032cc6eb1 milter-greylist-4.5.16.tgz +c0abf2a935f58f7aa8e2f49c272a9fd7c99b6464c2ff00706d1c475b5917db1a milter-greylist-conf.patch +09c979e88f09f5014b382ec9c4a3dd0a7c5a918fd04210a20a13334b35f9c69a milter-greylist-no-sockaddr-length.patch" +sha512sums="0627ac09f74fd9fde7d990afd055f12e9f82c1e1edfc38aaa03b56328c6eeaf091c3e80258d75929fa114a33ee5a418baf0c8ad9f6c76be77aeba1942f0d6cbc milter-greylist-4.5.16.tgz +e48bab52eb6fe8a8123ddc56753fb0fa5243bd07272cf2440269cd348f96f6f6a33163e49d9b009a5ff6181a212f9d5d25354d7ddd787603bcde84eda29e4d9c milter-greylist-conf.patch +0dbd7c02630dbf2ae36a7a55db7c10cc1b10b36fb390c51d33be4478c751c747cbb710323429fe9834a2ae2710ea02a104cc1f87ac37d23e83771bc5b6303522 milter-greylist-no-sockaddr-length.patch" diff --git a/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch b/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch new file mode 100644 index 0000000000..4ca9c1ad2f --- /dev/null +++ b/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch @@ -0,0 +1,11 @@ +--- a/config.h ++++ b/config.h +@@ -74,7 +74,7 @@ + #define HAVE_RES_NINIT 1 + + /* sa_len field in struct sockaddr */ +-#define HAVE_SA_LEN /**/ ++#undef HAVE_SA_LEN + + /* Define to 1 if you have the `select' function. */ + #define HAVE_SELECT 1 |