diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-27 08:36:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-27 08:36:01 +0000 |
commit | c882e5da284007861f4192f7a5c7dfc97c030448 (patch) | |
tree | 4715f873937f75ec4f9cc48fb47c554df56958ff /main/postgrey | |
parent | 173054f4f0fbc6d12b46bca5d476f76bf0a5d85f (diff) | |
download | aports-c882e5da284007861f4192f7a5c7dfc97c030448.tar.bz2 aports-c882e5da284007861f4192f7a5c7dfc97c030448.tar.xz |
main/postgrey: fix depends and add test
ref #9341
Diffstat (limited to 'main/postgrey')
-rw-r--r-- | main/postgrey/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/postgrey/APKBUILD b/main/postgrey/APKBUILD index ea296d1e8f..25e4b0703f 100644 --- a/main/postgrey/APKBUILD +++ b/main/postgrey/APKBUILD @@ -2,26 +2,34 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=postgrey pkgver=1.37 -pkgrel=0 +pkgrel=1 pkgdesc="Postfix policy server implementing greylisting" url="http://postgrey.schweikert.ch/" arch="noarch" license="GPL" depends="perl perl-db perl-net-dns perl-net-server perl-io-multiplex - perl-net-rblclient perl-parse-syslog" + perl-net-rblclient perl-parse-syslog perl-netaddr-ip" pkgusers="postgrey" pkggroups="postgrey" makedepends="" +checkdepends="perl-file-slurper" install=postgrey.pre-install subpackages="" source="http://postgrey.schweikert.ch/pub/$pkgname-$pkgver.tar.gz postgrey.confd postgrey.initd" +builddir="$srcdir"/postgrey-$pkgver +options="!checkroot" build() { return 0 } +check() { + cd "$builddir"/test + perl test.pl +} + package() { cd "$srcdir"/$pkgname-$pkgver |