summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-08-08 23:23:26 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-08-08 23:23:26 +0000
commitd086e3a4e99903d68bde5386486700404b73a6d7 (patch)
tree7cf1d20740576c31987cfd559d3a3b94cda6ef96 /mail-filter
parentfix eblit update -- call renamed src_install func (diff)
downloadgentoo-2-d086e3a4e99903d68bde5386486700404b73a6d7.tar.gz
gentoo-2-d086e3a4e99903d68bde5386486700404b73a6d7.tar.bz2
gentoo-2-d086e3a4e99903d68bde5386486700404b73a6d7.zip
Revbump, add dev-perl/Net-RBLClient to RDEPEND as reported by Andrew Ross, bug #187964
(Portage version: 2.1.3.3)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postgrey/ChangeLog9
-rw-r--r--mail-filter/postgrey/files/digest-postgrey-1.30-r13
-rw-r--r--mail-filter/postgrey/postgrey-1.30-r1.ebuild78
3 files changed, 89 insertions, 1 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 9105c7f08b58..58d8da6ec66d 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,13 @@
# 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.34 2007/08/04 15:49:22 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.35 2007/08/08 23:23:26 dertobi123 Exp $
+
+*postgrey-1.30-r1 (08 Aug 2007)
+
+ 08 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ +postgrey-1.30-r1.ebuild:
+ Revbump, add dev-perl/Net-RBLClient to RDEPEND as reported by Andrew Ross,
+ bug #187964
*postgrey-1.30 (04 Aug 2007)
diff --git a/mail-filter/postgrey/files/digest-postgrey-1.30-r1 b/mail-filter/postgrey/files/digest-postgrey-1.30-r1
new file mode 100644
index 000000000000..f45ae7ef273e
--- /dev/null
+++ b/mail-filter/postgrey/files/digest-postgrey-1.30-r1
@@ -0,0 +1,3 @@
+MD5 5698c196a5874eb963a374d8aab183ca postgrey-1.30.tar.gz 34109
+RMD160 19cf01241bf342dff3a4d7c23b11f3b11f29eeeb postgrey-1.30.tar.gz 34109
+SHA256 d96b59b3bd1c31d33592359d0395b2b24bcd2232f1a7f99c6b29aec8d1bfb1f8 postgrey-1.30.tar.gz 34109
diff --git a/mail-filter/postgrey/postgrey-1.30-r1.ebuild b/mail-filter/postgrey/postgrey-1.30-r1.ebuild
new file mode 100644
index 000000000000..ecf84521ab7a
--- /dev/null
+++ b/mail-filter/postgrey/postgrey-1.30-r1.ebuild
@@ -0,0 +1,78 @@
+# 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.30-r1.ebuild,v 1.1 2007/08/08 23:23:26 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
+ dev-perl/Net-RBLClient
+ >=sys-libs/db-4.1"
+
+KEYWORDS="~amd64 ~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
+}