wok view postgrey/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 9e01bc6321ea |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="postgrey"
4 VERSION="1.37"
5 CATEGORY="network"
6 SHORT_DESC="Postfix policy server implementing greylisting."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://postgrey.schweikert.ch/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://postgrey.schweikert.ch/pub/$TARBALL"
14 DEPENDS="postfix perl db perl-net-server perl-io-multiplex perl-berkeleydb \
15 perl-net-dns"
16 CONFIG_FILES="/etc/postgrey"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin
22 mkdir -p $fs/etc/postfix
23 mkdir -p $fs/var/spool/postfix/postgrey
25 cp $src/contrib/postgreyreport $fs/usr/bin
26 cp $src/postgrey $fs/usr/bin
27 cp $src/postgrey_whitelist* $fs/etc/postfix
28 cp -a stuff/etc $fs
29 }
31 # Pre and post install commands for Tazpkg.
32 post_install()
33 {
34 chroot "$1/" chown postfix /var/spool/postfix/postgrey
35 cat <<EOF
36 ----
37 To use $PACKAGE with postfix, add check_policy_service inet:127.0.0.1:60000 in
38 smtpd_recipient_restrictions of /etc/postfix/main.cf, i.e:
40 smtpd_recipient_restrictions =
41 ....
42 check_policy_service inet:127.0.0.1:60000,
43 permit
45 To start $PACKAGE server you can run :
47 /etc/init.d/$PACKAGE start
49 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
50 ----
51 EOF
52 }