summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-11-07 18:26:04 +0000
committerTim Harder <radhermit@gentoo.org>2010-11-07 18:26:04 +0000
commit3ab1f29da50303df685cfcbb40c212035c073e99 (patch)
treec67405ad7f22553ebfb129220a4b171694a90beb /mail-filter
parentdev-lisp/cl-sb-readline removal, p.masked from 17Sep2010, wrt bug #337963 (diff)
downloadhistorical-3ab1f29da50303df685cfcbb40c212035c073e99.tar.gz
historical-3ab1f29da50303df685cfcbb40c212035c073e99.tar.bz2
historical-3ab1f29da50303df685cfcbb40c212035c073e99.zip
Revision bump to re-add targrey support (bug #342625 by Kazunori Kojima). Update to EAPI 3 and reorder lines.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postgrey/ChangeLog8
-rw-r--r--mail-filter/postgrey/Manifest18
-rw-r--r--mail-filter/postgrey/postgrey-1.33-r1.ebuild96
3 files changed, 120 insertions, 2 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 5ffc9017aaec..93a707b6a47a 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/postgrey
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.64 2010/07/30 16:33:12 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.65 2010/11/07 18:26:04 radhermit Exp $
+
+*postgrey-1.33-r1 (07 Nov 2010)
+
+ 07 Nov 2010; Tim Harder <radhermit@gentoo.org> +postgrey-1.33-r1.ebuild:
+ Revision bump to re-add targrey support (bug #342625 by Kazunori Kojima).
+ Update to EAPI 3 and reorder lines.
30 Jul 2010; Tobias Scherbaum <dertobi123@gentoo.org>
postgrey-1.32.ebuild, postgrey-1.33.ebuild:
diff --git a/mail-filter/postgrey/Manifest b/mail-filter/postgrey/Manifest
index 70e89aa6faab..b5ebe798c343 100644
--- a/mail-filter/postgrey/Manifest
+++ b/mail-filter/postgrey/Manifest
@@ -1,9 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX postgrey.conf.new 1915 RMD160 15b64509c13c5fbb50e620da7339763a88969357 SHA1 6bf1f4358e8ed93096fccdeae0866e363e4e8be1 SHA256 2c84116caad8ba675ad73c4f2a10c766bd048572677c74720ad3ae2448ea9519
AUX postgrey.rc.new 2485 RMD160 551778efb4d155479429a2f26ed7337926c515fc SHA1 20a15c3d71b9d5e886b5560d30a4300a94fc4fd4 SHA256 9f7dbdb8dee1555ee9a41cd7bdce3ae14bb5c36c2e739944a05ec594b4556942
DIST postgrey-1.32.tar.gz 35486 RMD160 86255399165a191e8a49408d00d1c234ab0c9abd SHA1 7b7df189677fc16e7596fc57231ed65dbdde6414 SHA256 b460939018b98763c74f4d3272104adb85f321bcfd9c866daff73e4e061feb24
DIST postgrey-1.33.tar.gz 36077 RMD160 0dfd72accef8404301832389d84edb1433e4e7f9 SHA1 2273d4b6087f0ae6ad6d3ee6b388a672a4190906 SHA256 8417aee37f8a6518580989122240753bc65e99e47db5f52ef1a0bebbd6f82bda
DIST targrey-0.31-postgrey-1.32.patch 8522 RMD160 e8649483551ec4aae310a029e2af8c444f879170 SHA1 5adbfa76edd3c78dd77b59b28d5ab96234b1eda6 SHA256 9d58858bf01f155f7e29fc6facc9bf190cc48491014fff832051dbfad77d99b4
+DIST targrey-0.31-postgrey-1.33.patch 8506 RMD160 a5410dbad095fe9fa7e2fdc1f5a54004fabed02d SHA1 4d7462afecba2de77a982b2574e69a020da8b581 SHA256 3011ce16bac9b1252ca82198933b895770398409f4f41904579420db0297f4ee
EBUILD postgrey-1.32.ebuild 2656 RMD160 7e27aa30e4dbf046a5457953ff941e8b425e8ac6 SHA1 d7b6520e007af0158faf5b99ad4eb9cd87b432d2 SHA256 e420f42ff9ffd42b949485cf6cfd659e95f886f3867982c905fcff20c931a20d
+EBUILD postgrey-1.33-r1.ebuild 2669 RMD160 a92759288bd55e8ba7ce13008c95d04c8ad52830 SHA1 6465309ef7a7ea692eda675c1ba4869beb228ada SHA256 d0d97027fa7947d51c289c4be86d3908b626491935bf0ce5b4863720d90a2fe4
EBUILD postgrey-1.33.ebuild 2496 RMD160 ad3d009fe15ea3a3412dd0bbfc556c657da9aa44 SHA1 119bd38b108ac1992fa837f591b0f45e3636449a SHA256 f15f470d07ec8da8a5396dc12c3252f241477610b115e102594069a249de1c1e
-MISC ChangeLog 10095 RMD160 6aaff93a0b53a3735889ba593f90991fe5be4ae5 SHA1 e4bdfcea7162defab0040b1629a1f8285e34e346 SHA256 6ee4301597a68802a120a498718c3a946c7b02e9abe5a1fe0c89c2eab8185a3c
+MISC ChangeLog 10317 RMD160 7e46f969fbd2244d2e3081a19bf9cc6058d45862 SHA1 f578735882ae0c945901e85f172fe66884b9dfbb SHA256 23ea58d83367dce1f608afa53d1878e102a75c23147b286914fac1d462562b2b
MISC metadata.xml 370 RMD160 569df4c15aefd02039796f6262b081a83323a8f4 SHA1 f11ea289a41279823aa68594c0d6d1e9ea0453c6 SHA256 6eff85ba945677d0865805bc6977838e6968c8d69b6b061c9ca39c2b887255ea
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQEcBAEBAgAGBQJM1u9FAAoJEEqz6FtPBkyjD5cIALMD0p++M8FZcuw8meN8Ixl3
+MytabOCzCgXPNPagA4zG8Uy4jNaDRZpKi7bdqKrRaP1WZzsZ1cS1op/BjwX4YkoI
+YnOft7gGGmnpRVTwdDv5aFP60Xv3jT2XeZzfXObX6vH0uhj3Xpvcu2G4iSwIaIgG
+P+RTOIoq5kj/8O7BnnNzicVjzgDpEB6H7zoUVQtn8DHkOSS/G+Ke6xqLK6cwRmJB
+rxJPsjm45ZyTeG+CvMHQgy18rHgEQLt3fR1aHTe/3BcXMiRrVJSDtdV0igV+Hhy2
+v6/+kqqDu28kQfXeGlYLvk+fYjMg/Vyo/KQP5/+ERvJlBLeH8nifIKWrj/eD6Mg=
+=aYH1
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/postgrey/postgrey-1.33-r1.ebuild b/mail-filter/postgrey/postgrey-1.33-r1.ebuild
new file mode 100644
index 000000000000..986fee17b82c
--- /dev/null
+++ b/mail-filter/postgrey/postgrey-1.33-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.33-r1.ebuild,v 1.1 2010/11/07 18:26:04 radhermit Exp $
+
+EAPI=3
+
+inherit eutils
+
+DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
+HOMEPAGE="http://postgrey.schweikert.ch/"
+SRC_URI="http://postgrey.schweikert.ch/pub/${P}.tar.gz
+ http://postgrey.schweikert.ch/pub/old/${P}.tar.gz
+ targrey? ( http://k2net.hakuba.jp/pub/targrey-0.31-${P}.patch )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="targrey"
+
+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"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /dev/null ${PN}
+}
+
+src_prepare() {
+ if use targrey ; then
+ epatch "${DISTDIR}/targrey-0.31-${P}.patch"
+ fi
+}
+
+src_install() {
+ # 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
+ insopts -o root -g root -m 755
+ newinitd "${FILESDIR}"/${PN}.rc.new ${PN}
+ insopts -o root -g root -m 640
+ 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"
+
+ if use targrey ; then
+ elog "The targrey patch has been applied, read the"
+ elog "documentation for more info at"
+ elog "\thttp://k2net.hakuba.jp/targrey/index.en.html"
+ elog
+ elog "Activate targrey and set options using POSTGREY_OPTS in"
+ elog "/etc/conf.d/postgrey"
+ elog
+ fi
+
+ elog "Read postgrey documentation for more info (perldoc postgrey)."
+}