Commit 57bb77c0 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

testing/milter-greylist: change conf dir, enable spamassassin support

parent b7680a37
......@@ -2,7 +2,7 @@
# Maintainer:
pkgname=milter-greylist
pkgver=4.4.3
pkgrel=2
pkgrel=3
pkgdesc="Stand-alone milter written in C that implements the greylist filtering method"
url="http://hcpnet.free.fr/milter-greylist"
arch="all"
......@@ -41,7 +41,11 @@ build() {
--localstatedir=/var/lib \
--with-libspf2 \
--with-user=smmsp \
--with-conffile=/etc/$pkgname/greylist.conf \
--with-dumpfile=/var/lib/$pkgname/greylist.db \
--with-libbind \
--enable-postfix \
--enable-spamassassin \
--disable-rpath
make -j1 || return 1
}
......@@ -50,7 +54,7 @@ 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/mail/greylist2.conf
install -m644 greylist2.conf "$pkgdir"/etc/$pkgname/greylist2.conf
chown -R smmsp:smmsp "$pkgdir"/var/lib/$pkgname
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment