blob: 952fa1884710973c673334ca7cd424cc549fb6a9 (
plain)
1 # Description: Postfix greylisting policy server
2 # URL: http://postgrey.schweikert.ch/
3 # Maintainer: Lucas Hazel, lucas at die dot net dot au
4 # Depends on: p5-net-server p5-io-multiplex p5-berkeleydb
5
6 name=postgrey
7 version=1.32
8 release=1
9 source=(http://postgrey.schweikert.ch/pub/$name-$version.tar.gz $name.rc)
10
11 build() {
12 cd $name-$version
13 install -m 0755 -D postgrey $PKG/usr/sbin/postgrey
14
15 mkdir -p $PKG/etc/postfix
16 cp postgrey_whitelist* $PKG/etc/postfix
17
18 install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
19
20 mkdir -p $PKG/var/spool/postfix/postgrey
21 chown postgrey:postgrey $PKG/var/spool/postfix/postgrey
22 }
|