diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2009-08-26 07:58:42 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2009-08-26 07:58:42 +0000 |
commit | 6941ddc452b9fa47aa74bc4be2cf622665b54763 (patch) | |
tree | 94d1bdf3776a2d5efed9cd91f0d27983a4cf69c0 /main/postgrey | |
parent | 5a2b2bec0b4287370936cb5ce03c3c3df99be191 (diff) | |
download | aports-6941ddc452b9fa47aa74bc4be2cf622665b54763.tar.bz2 aports-6941ddc452b9fa47aa74bc4be2cf622665b54763.tar.xz |
main/postgrey: new aport
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" |