diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2007-07-28 17:10:13 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2007-07-28 17:10:13 +0000 |
commit | 3c82d6b4aba951f31efa8caee6dd3f8de5252815 (patch) | |
tree | 04cd30301ecababebc05bd9b1bb36ef6763c03d2 /mail-filter/postgrey | |
parent | Stable on mips, per #161943. (diff) | |
download | gentoo-2-3c82d6b4aba951f31efa8caee6dd3f8de5252815.tar.gz gentoo-2-3c82d6b4aba951f31efa8caee6dd3f8de5252815.tar.bz2 gentoo-2-3c82d6b4aba951f31efa8caee6dd3f8de5252815.zip |
Version bump
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'mail-filter/postgrey')
-rw-r--r-- | mail-filter/postgrey/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/postgrey/files/digest-postgrey-1.29 | 3 | ||||
-rw-r--r-- | mail-filter/postgrey/postgrey-1.29.ebuild | 77 |
3 files changed, 87 insertions, 1 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog index ff2b3ed84468..78a811f3e7bd 100644 --- a/mail-filter/postgrey/ChangeLog +++ b/mail-filter/postgrey/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/postgrey # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.32 2007/07/26 12:46:25 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.33 2007/07/28 17:10:13 dertobi123 Exp $ + +*postgrey-1.29 (28 Jul 2007) + + 28 Jul 2007; Tobias Scherbaum <dertobi123@gentoo.org> + +postgrey-1.29.ebuild: + Version bump 26 Jul 2007; Raúl Porcel <armin76@gentoo.org> postgrey-1.24.ebuild: alpha stable diff --git a/mail-filter/postgrey/files/digest-postgrey-1.29 b/mail-filter/postgrey/files/digest-postgrey-1.29 new file mode 100644 index 000000000000..8b519979ecac --- /dev/null +++ b/mail-filter/postgrey/files/digest-postgrey-1.29 @@ -0,0 +1,3 @@ +MD5 42d58fea95b173b9809c53c3bc232457 postgrey-1.29.tar.gz 33842 +RMD160 98a2cf81126fcd635972ac0a0605189152512b39 postgrey-1.29.tar.gz 33842 +SHA256 5f7a9949be04fc06f8f908aad52ff55890a659da05d09caad1abd1cf69006d07 postgrey-1.29.tar.gz 33842 diff --git a/mail-filter/postgrey/postgrey-1.29.ebuild b/mail-filter/postgrey/postgrey-1.29.ebuild new file mode 100644 index 000000000000..a8264602a8eb --- /dev/null +++ b/mail-filter/postgrey/postgrey-1.29.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.29.ebuild,v 1.1 2007/07/28 17:10:13 dertobi123 Exp $ + +inherit eutils + +DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting" +SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz + http://postgrey.schweikert.ch/pub/old/${P}.tar.gz" +HOMEPAGE="http://postgrey.schweikert.ch/" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +DEPEND="" +RDEPEND=">=dev-lang/perl-5.6.0 + dev-perl/net-server + dev-perl/IO-Multiplex + dev-perl/BerkeleyDB + dev-perl/Net-DNS + dev-perl/Parse-Syslog + >=sys-libs/db-4.1" + +KEYWORDS="~alpha ~amd64 ~ppc64 ~sparc ~x86" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 /dev/null ${PN} +} + +src_install () { + cd ${S} + + # postgrey data/DB in /var + diropts -m0770 -o ${PN} -g ${PN} + dodir /var/spool/postfix/${PN} + keepdir /var/spool/postfix/${PN} + fowners postgrey:postgrey /var/spool/postfix/${PN} + fperms 0770 /var/spool/postfix/${PN} + + # postgrey binary + dosbin ${PN} + dosbin contrib/postgreyreport + + # policy-test script + dosbin policy-test + + # postgrey data in /etc/postfix + insinto /etc/postfix + insopts -o root -g ${PN} -m 0640 + doins postgrey_whitelist_clients postgrey_whitelist_recipients + + # documentation + dodoc Changes README + + # init.d + conf.d files + newinitd ${FILESDIR}/${PN}.rc.new ${PN} + newconfd ${FILESDIR}/${PN}.conf.new ${PN} +} + +pkg_postinst() { + echo + elog "To make use of greylisting, please update your postfix config:" + elog + + elog "In order to start using postgrey, edit /etc/conf.d/postgrey, add following lines" + elog "to smtpd_recipient restrictions setting in your /etc/postfix/main.cf:" + elog "\t\"check_policy_service inet:127.0.0.1:10030\", if you're using TCP socket" + elog "\t\"check_policy_service unix:private/postgrey\", if you're using UNIX socket" + elog "Then, start postgrey and restart postfix." + + elog "Also remember to make the daemon start durig system boot:" + elog " rc-update add postgrey default" + echo + ewarn "Read postgrey documentation for more info (perldoc postgrey)." + echo + epause 5 +} |