summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-06-26 18:26:03 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-06-26 18:26:03 +0000
commitff813d3e3de246993ebc7d46e3c4faafa30f77a3 (patch)
treecf3708ee433c7f887b3d32728caf96cfa4546cd4 /mail-filter
parentStable on ppc; bug #180228. (diff)
downloadgentoo-2-ff813d3e3de246993ebc7d46e3c4faafa30f77a3.tar.gz
gentoo-2-ff813d3e3de246993ebc7d46e3c4faafa30f77a3.tar.bz2
gentoo-2-ff813d3e3de246993ebc7d46e3c4faafa30f77a3.zip
Version bump per bug #183038, added new dev-perl/Parse-Syslog dependency needed for the policy-test script which has been added to postgrey. Fixed HOMEPAGE and SRC_URI per bug #182761
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postgrey/ChangeLog11
-rw-r--r--mail-filter/postgrey/files/digest-postgrey-1.283
-rw-r--r--mail-filter/postgrey/postgrey-1.21-r2.ebuild8
-rw-r--r--mail-filter/postgrey/postgrey-1.24.ebuild8
-rw-r--r--mail-filter/postgrey/postgrey-1.27.ebuild8
-rw-r--r--mail-filter/postgrey/postgrey-1.28.ebuild77
6 files changed, 102 insertions, 13 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 06be40096797..6182195abc3e 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,15 @@
# 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.27 2007/04/18 19:44:12 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.28 2007/06/26 18:26:03 dertobi123 Exp $
+
+*postgrey-1.28 (26 Jun 2007)
+
+ 26 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ postgrey-1.21-r2.ebuild, postgrey-1.24.ebuild, postgrey-1.27.ebuild,
+ +postgrey-1.28.ebuild:
+ Version bump per bug #183038, added new dev-perl/Parse-Syslog dependency
+ needed for the policy-test script which has been added to postgrey.
+ Fixed HOMEPAGE and SCR_URI per bug #182761.
18 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> postgrey-1.27.ebuild:
Keyworded ~sparc wrt #172399
diff --git a/mail-filter/postgrey/files/digest-postgrey-1.28 b/mail-filter/postgrey/files/digest-postgrey-1.28
new file mode 100644
index 000000000000..d1a5887f21a1
--- /dev/null
+++ b/mail-filter/postgrey/files/digest-postgrey-1.28
@@ -0,0 +1,3 @@
+MD5 5d9d8a5c62f32fe7584aba2863774926 postgrey-1.28.tar.gz 33445
+RMD160 fbff1710773f9669aa8d2d14f0bed36ef01e9227 postgrey-1.28.tar.gz 33445
+SHA256 a47ccc0654bc168a68d15a79bd021647292984c4a0c3a67d7a5ff57957b3f8fa postgrey-1.28.tar.gz 33445
diff --git a/mail-filter/postgrey/postgrey-1.21-r2.ebuild b/mail-filter/postgrey/postgrey-1.21-r2.ebuild
index 8e99303454a7..a0fa328707ef 100644
--- a/mail-filter/postgrey/postgrey-1.21-r2.ebuild
+++ b/mail-filter/postgrey/postgrey-1.21-r2.ebuild
@@ -1,13 +1,13 @@
# 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.21-r2.ebuild,v 1.5 2007/03/18 04:43:52 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.21-r2.ebuild,v 1.6 2007/06/26 18:26:03 dertobi123 Exp $
inherit eutils
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
-SRC_URI="http://isg.ee.ethz.ch/tools/${PN}/pub/${P}.tar.gz
- http://isg.ee.ethz.ch/tools/${PN}/pub/old/${P}.tar.gz"
-HOMEPAGE="http://isg.ee.ethz.ch/tools/postgrey/"
+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=""
diff --git a/mail-filter/postgrey/postgrey-1.24.ebuild b/mail-filter/postgrey/postgrey-1.24.ebuild
index ed403c70b4de..801dac60b3e7 100644
--- a/mail-filter/postgrey/postgrey-1.24.ebuild
+++ b/mail-filter/postgrey/postgrey-1.24.ebuild
@@ -1,13 +1,13 @@
# 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.24.ebuild,v 1.5 2007/03/18 04:43:52 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.24.ebuild,v 1.6 2007/06/26 18:26:03 dertobi123 Exp $
inherit eutils
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
-SRC_URI="http://isg.ee.ethz.ch/tools/${PN}/pub/${P}.tar.gz
- http://isg.ee.ethz.ch/tools/${PN}/pub/old/${P}.tar.gz"
-HOMEPAGE="http://isg.ee.ethz.ch/tools/postgrey/"
+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=""
diff --git a/mail-filter/postgrey/postgrey-1.27.ebuild b/mail-filter/postgrey/postgrey-1.27.ebuild
index 0ad4b2c69acb..d27719776c94 100644
--- a/mail-filter/postgrey/postgrey-1.27.ebuild
+++ b/mail-filter/postgrey/postgrey-1.27.ebuild
@@ -1,13 +1,13 @@
# 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.27.ebuild,v 1.6 2007/04/18 19:44:12 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.27.ebuild,v 1.7 2007/06/26 18:26:03 dertobi123 Exp $
inherit eutils
DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
-SRC_URI="http://isg.ee.ethz.ch/tools/${PN}/pub/${P}.tar.gz
- http://isg.ee.ethz.ch/tools/${PN}/pub/old/${P}.tar.gz"
-HOMEPAGE="http://isg.ee.ethz.ch/tools/postgrey/"
+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=""
diff --git a/mail-filter/postgrey/postgrey-1.28.ebuild b/mail-filter/postgrey/postgrey-1.28.ebuild
new file mode 100644
index 000000000000..3e36787783fd
--- /dev/null
+++ b/mail-filter/postgrey/postgrey-1.28.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.28.ebuild,v 1.1 2007/06/26 18:26:03 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="~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
+}