wok view postgrey/receipt @ rev 5037

gmime: disable mono support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 03 18:19:19 2010 +0100 (2010-03-03)
parents 16fdba95d583
children 627d16bb5e3e
line source
1 # SliTaz package receipt.
3 PACKAGE="postgrey"
4 VERSION="1.32"
5 CATEGORY="network"
6 SHORT_DESC="Postfix policy server implementing greylisting."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://postgrey.schweikert.ch/"
10 WGET_URL="$WEB_SITE/pub/$TARBALL"
11 CONFIG_FILES="/etc/postgrey"
12 DEPENDS="postfix perl db perl-net-server perl-io-multiplex perl-berkeleydb"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin $fs/etc/postfix $fs/var/spool/postfix/postgrey
19 cp $src/contrib/postgreyreport $src/postgrey $fs/usr/bin
20 cp $src/postgrey_whitelist* $fs/etc/postfix
21 cp -a stuff/etc $fs
22 }
24 # Pre and post install commands for Tazpkg.
25 post_install()
26 {
27 chown postfix /var/spool/postfix/postgrey
28 cat <<EOF
29 ----
30 To use $PACKAGE with postfix, add check_policy_service inet:127.0.0.1:60000 in
31 smtpd_recipient_restrictions of /etc/postfix/main.cf, i.e:
33 smtpd_recipient_restrictions =
34 ....
35 check_policy_service inet:127.0.0.1:60000,
36 permit
38 To start $PACKAGE server you can run :
40 /etc/init.d/$PACKAGE start
42 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
43 ----
44 EOF
45 }