blob: ff36d40e23b2f4edf40e5fdd72c2efb68f85e2dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=postgrey
pkgver=1.34
pkgrel=2
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"
pkgusers="postgrey"
pkggroups="postgrey"
makedepends=""
install=postgrey.pre-install
subpackages=""
source="http://postgrey.schweikert.ch/pub/$pkgname-$pkgver.tar.gz
postgrey.confd
postgrey.initd"
build() {
return 0
}
package() {
cd "$srcdir"/$pkgname-$pkgver
install -m755 -D $pkgname "$pkgdir"/usr/sbin/$pkgname
mkdir -p "$pkgdir"/var/spool/postfix/$pkgname
chown postgrey:postgrey "$pkgdir"/var/spool/postfix/$pkgname
chmod 770 "$pkgdir"/var/spool/postfix/$pkgname
install -m755 -D contrib/postgreyreport "$pkgdir"/usr/bin/postgreyreport
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D postgrey_whitelist_clients "$pkgdir"/etc/postfix/postgrey_whitelist_clients
install -m644 -D postgrey_whitelist_recipients "$pkgdir"/etc/postfix/postgrey_whitelist_recipients
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="f736a7be1094593f1a66cd13f32b39ef postgrey-1.34.tar.gz
caaad5770ab07fb5af3bbd522a05b84f postgrey.confd
851f2c402430997d5af8ad71e72ac48a postgrey.initd"
sha256sums="9a9ee2f4e3cbbf15642e47802407c810ac5c54f0ad1572ebec3f0f645eb35707 postgrey-1.34.tar.gz
2c84116caad8ba675ad73c4f2a10c766bd048572677c74720ad3ae2448ea9519 postgrey.confd
8446818af37b1b602dd136a727d4557f51bf8f195666cb509b0fcba583e88005 postgrey.initd"
sha512sums="df6cf0c3bf6835591aad00bde13330ee4030b965c90a01a27dfafb5eac1f008dcfb9001dbfcf70a6209b91af7a571b38392b69db2212f112d888a565e9b703cb postgrey-1.34.tar.gz
cf74ad36c07a3807d85de9c60cfaea31b3c04adebbe306e72d61bf14c1a17e4a07654f0a96919091735b94ea5e3b7847de5e02d4801b3f58240e5622d8ac0d10 postgrey.confd
7daeb165d41e895fbfd929fdeb6a577745567a2997b973aa6ec9c156c2ecec8ad0ca58e9b5557bff9cabcc4df93a3f83b881096bdefa831596bc36f5fcb472d7 postgrey.initd"
|