diff options
Diffstat (limited to 'main/postgrey')
-rw-r--r-- | main/postgrey/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/main/postgrey/APKBUILD b/main/postgrey/APKBUILD new file mode 100644 index 000000000..b7ce04f1c --- /dev/null +++ b/main/postgrey/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Leonardo Arena <rnalrg@gmail.com> +pkgname=postgrey +pkgver=1.32 +pkgrel=0 +pkgdesc="Postfix Greylisting Policy Server" +url="http://postgrey.schweikert.ch/" +license="GPL-2" +depends="perl-net-server perl-io-multiplex perl-db postfix" +makedepends="" +install="$pkgname.pre-install" +subpackages="$pkgname-doc" +source="http://postgrey.schweikert.ch/pub/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + mkdir -p -m0770 $pkgdir/var/spool/postfix/postgrey + chown postgrey.postgrey $pkgdir/var/spool/postfix/postgrey + install -m755 -D postgrey $pkgdir/usr/sbin/postgrey + install -m755 -D policy-test $pkgdir/usr/bin/policy-test + install -m755 -D contrib/postgreyreport $pkgdir/usr/bin/postgreyreport + install -m644 -D postgrey_whitelist_recipients $pkgdir/etc/postfix/postgrey_whitelist_recipients + install -m644 -D postgrey_whitelist_clients $pkgdir/etc/postfix/postgrey_whitelist_clients + install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README + install -m644 -D Changes $pkgdir/usr/share/doc/$pkgname/Changes + install -m644 -D COPYING $pkgdir/usr/share/doc/$pkgname/COPYING + install -m755 -D ../../postgrey.init $pkgdir/etc/init.d/postgrey + install -m644 -D ../../postgrey.conf $pkgdir/etc/conf.d/postgrey +} + +md5sums="524a4e165bf997996f3bccade394712f postgrey-1.32.tar.gz" |