summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSteven Hiscocks2017-03-04 11:13:05 +0000
committerSteven Hiscocks2017-03-04 11:13:05 +0000
commitb9038909cde7f091c127d073f2b263e5a026b2c1 (patch)
tree03c57fbf0ffc5b9739172e514b63fdbec0245507 /PKGBUILD
parentde1a53af6902ff910848c0f410dd1124801499d2 (diff)
downloadaur-b9038909cde7f091c127d073f2b263e5a026b2c1.tar.gz
Update to 4.6.2 and enable DSNRBL
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 347236211e4..b708a97fcaf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Steven Hiscocks <steven[at]hiscocks[dot]me[dot]uk>
pkgname=milter-greylist
-pkgver=4.6.1
+pkgver=4.6.2
pkgrel=1
pkgdesc="milter-greylist is a stand-alone milter written in C that implements the greylist filtering method."
url="http://hcpnet.free.fr/milter-greylist/"
@@ -11,13 +11,20 @@ makedepends=('libmilter')
backup=('etc/mail/greylist.conf')
install="${pkgname}.install"
source=("http://ftp.espci.fr/pub/${pkgname}/${pkgname}-${pkgver}.tgz"
+ "milter-greylist-4.5.11-warning.patch"
"${pkgname}.service")
-md5sums=('f50f89fd5cb81b124f4e7933f197f7a6'
+md5sums=('8872008db2fc6b93dd9ab8576383fec2'
+ 'SKIP'
'SKIP')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 < ../milter-greylist-4.5.11-warning.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --with-libspf2=/usr --with-libopendkim=/usr --enable-postfix
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --with-libspf2=/usr --with-libopendkim=/usr --enable-dnsrbl --enable-postfix
make
}