# HG changeset patch # User Pascal Bellard # Date 1218294698 0 # Node ID 16fdba95d5837472e9d7a725bcaa69fbe6d16cfd # Parent ac4e45db7a329b41cc64d6f52082c590c642820d Add postgrey diff -r ac4e45db7a32 -r 16fdba95d583 postgrey/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/postgrey/receipt Sat Aug 09 15:11:38 2008 +0000 @@ -0,0 +1,54 @@ +# SliTaz package receipt. + +PACKAGE="postgrey" +VERSION="1.32" +CATEGORY="network" +SHORT_DESC="Postfix policy server implementing greylisting." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://postgrey.schweikert.ch/" +WGET_URL="$WEB_SITE/pub/$TARBALL" +CONFIG_FILES="/etc/postgrey" +DEPENDS="postfix perl db perl-net-server perl-io-multiplex perl-berkeleydb" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/etc/postfix $fs/var/spool/postfix/postgrey + cp $src/contrib/postgreyreport $src/postgrey $fs/usr/bin + cp $src/postgrey_whitelist* $fs/etc/postfix + cp -a stuff/etc $fs +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + ( cd $1/ ; cpio -o -H newc | gzip -9 ) > \ + $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <> /etc/postfix/main.cf <