Portage is a package management system used by Gentoo Linux
# ChangeLog for mail-filter/postgrey
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.52 2008/05/21 18:45:44 dertobi123 Exp $
*postgrey-1.31-r2 (21 May 2008)
21 May 2008; Tobias Scherbaum
files/postgrey.rc.new, -postgrey-1.31-r1.ebuild, +postgrey-1.31-r2.ebuild:
Fix for OpenRC, add pidfile (#215031)
16 Apr 2008; Tobias Scherbaum
files/postgrey.rc.new:
Fix initscript for OpenRC, #215031
12 Apr 2008; Tobias Scherbaum
postgrey-1.31-r1.ebuild:
Added ~ppc, bug #216925
10 Apr 2008; Tobias Scherbaum
files/postgrey.rc.new:
Reverting changes for OpenRC wrt #215031
06 Apr 2008; Tobias Scherbaum
files/postgrey.rc.new:
Fix init-script for OpenRC (#215031), swap POSTGREY_OPTS and
POSTGREY_TEXT_ARG. Don't put whitespaced configuration directives in
POSTGREY_OPTS. (#213709)
15 Mar 2008; Tobias Scherbaum
postgrey-1.31-r1.ebuild:
Add a whitespace in SRC_URI as reported by Bo Ørsted Andresen
*postgrey-1.31-r1 (15 Mar 2008)
15 Mar 2008; Tobias Scherbaum
-postgrey-1.24.ebuild, postgrey-1.31.ebuild, +postgrey-1.31-r1.ebuild:
Quoting fixes, remove old version, add optional targrey patch. #211928 by
Douglas Mayle
19 Nov 2007; Raúl Porcel
alpha stable wrt #199035
14 Nov 2007; Ferris McCormick
Sparc stable, Bug #199035.
14 Nov 2007; Alex Howells
changing ~amd64 -> amd64, wrt bug #199035
13 Nov 2007; Dawid Węgliński
Stable on x86 (bug #199035)
13 Nov 2007; Markus Rothe
Stable on ppc64; bug #199035
*postgrey-1.31 (08 Sep 2007)
08 Sep 2007; Tobias Scherbaum
files/postgrey.rc.new, -postgrey-1.30-r2.ebuild, +postgrey-1.31.ebuild:
Version bump, plus another quotation fix for #119109
*postgrey-1.30-r2 (08 Sep 2007)
08 Sep 2007; Tobias Scherbaum
files/postgrey.rc.new, -postgrey-1.30.ebuild, -postgrey-1.30-r1.ebuild,
+postgrey-1.30-r2.ebuild:
Fix quotation per bug #119109
14 Aug 2007; Markus Rothe
Added ~ppc64; bug #187964
09 Aug 2007; Raúl Porcel
Readd ~alpha wrt #187964
09 Aug 2007; Gustavo Zacarias
postgrey-1.30-r1.ebuild:
Keyworded ~sparc wrt #187964
*postgrey-1.30-r1 (08 Aug 2007)
08 Aug 2007; Tobias Scherbaum
+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)
04 Aug 2007; Tobias Scherbaum
-files/postgrey.conf, -files/postgrey.rc, -postgrey-1.21-r2.ebuild,
-postgrey-1.27.ebuild, -postgrey-1.28.ebuild, -postgrey-1.29.ebuild,
+postgrey-1.30.ebuild:
Version bump and clean up
*postgrey-1.29 (28 Jul 2007)
28 Jul 2007; Tobias Scherbaum
+postgrey-1.29.ebuild:
Version bump
26 Jul 2007; Raúl Porcel
alpha stable
27 Jun 2007; Raúl Porcel
Re-add ~alpha wrt #183038
27 Jun 2007; Markus Rothe
Added ~ppc64; bug #183038
26 Jun 2007; Ferris McCormick
Re-keyword ~sparc at developer's request --- Bug #183038 --- all seems well.
*postgrey-1.28 (26 Jun 2007)
26 Jun 2007; Tobias Scherbaum
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
Keyworded ~sparc wrt #172399
18 Mar 2007; Marius Mauch
postgrey-1.24.ebuild, postgrey-1.27.ebuild:
Replacing einfo with elog
30 Jan 2007; Patrick McLean
Add "reload" to rc script.
06 Jan 2007; Fernando J. Pereda
QA: Clean unused versions.
24 Dec 2006; Andrej Kacian
Removed postfix dependency - we don't really need postfix on the same host.
Closes bug #156389 by Colin Alston
14 Oct 2006; Markus Rothe
postgrey-1.27.ebuild:
Added ~ppc64; bug #151117
30 Sep 2006; Daniel Gryniewicz
Marked stable on amd64 for bug #149470
*postgrey-1.27 (06 Aug 2006)
06 Aug 2006; Andrej Kacian
Version bump. Closes bug #142894, reported by Wolfram Schlich
27 Mar 2006;
-postgrey-1.21-r1.ebuild, postgrey-1.24.ebuild:
Stable on x86. Removed obsolete ebuilds.
*postgrey-1.24 (25 Feb 2006)
25 Feb 2006; Andrej Kacian
files/postgrey.conf.new, files/postgrey.rc, files/postgrey.rc.new,
-files/postgrey.rc.new-r2, postgrey-1.21-r1.ebuild,
postgrey-1.21-r2.ebuild, postgrey-1.23.ebuild, +postgrey-1.24.ebuild:
Version bump, bug #123437, reported by Daniel Webert
Added delay and response settings to .conf file, bug #119109, reported by
Jeremy Clifton
*postgrey-1.23 (02 Jan 2006)
02 Jan 2006; Andrej Kacian
Version bump.
23 Dec 2005; Simon Stelling
stable on amd64
12 Dec 2005; Andrej Kacian
Stable on x86.
05 Nov 2005; Fernando J. Pereda
postgrey-1.21-r2.ebuild:
stable on alpha as per bug #111415
*postgrey-1.21-r2 (03 Nov 2005)
03 Nov 2005; Andrej Kacian
+postgrey-1.21-r2.ebuild:
Improve socket permission setting - wait until socket is effectively created
and then set the perms. Patch by Arnaud Launay
#100733.
24 Oct 2005; Andrej Kacian
Stable on x86.
18 Oct 2005; Aron Griffis
Mark 1.21 stable on alpha
03 Oct 2005; Andrej Kacian
postgrey-1.21-r1.ebuild:
Do not install generic COPYING document.
07 Sep 2005; Andrej Kacian
files/postgrey.rc.new:
Do not 'use postfix', rather 'before postfix' to avoid circular iuse
dependency in initscripts.
*postgrey-1.21-r1 (04 Sep 2005)
04 Sep 2005; Andrej Kacian
+files/postgrey.conf.new, files/postgrey.rc, +files/postgrey.rc.new,
+postgrey-1.21-r1.ebuild:
Add support for UNIX socket listening. Patch provided by Arnaud Launay
23 Aug 2005; Andrej Kacian
Use -1 for shell argument to enewuser. Bug #103421.
18 Jun 2005; Andrej Kacian
Initscript provides "postfix_graylist", so postfix can safely start after
postgrey. Bug #55705, by Duncan Hill
13 Jun 2005; Andrej Kacian
Stable on x86 and amd64.
11 May 2005; Fernando J. Pereda
keyworded ~alpha wrt #90856
29 Apr 2005; Andrej Kacian
Adjusted initscript depend(), "before" is not needed.
29 Apr 2005; Andrej Kacian
Added ~amd64 keyword.
*postgrey-1.21 (28 Apr 2005)
28 Apr 2005; Andrej Kacian
+files/postgrey.rc, +metadata.xml, +postgrey-1.21.ebuild:
Initial import. Ebuild provided by steveb
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.31.tar.gz 34895 RMD160 b78bc600617e5ed84a2b783a439f83427d168d97 SHA1 198ba4ebb84be87f189a336bceaa81c22049c697 SHA256 d458701bc0e1ffa900492c853c5fb5d254a12e223c3c58ca3f445eee0c3d6e6a
DIST targrey-0.31-postgrey-1.31.patch 11572 RMD160 8a7b7cc966739d408e3d033f1ff80e563a6e07ff SHA1 4bee9e85bc2fcf464dba1d99184862249107a516 SHA256 cca42e6575bc7fc260b3891193bc614a82b3b3b408b4eca28721fe0a1508a701
EBUILD postgrey-1.31-r2.ebuild 2595 RMD160 f54c4a706b243206aee508f99f35e37f0620ce7b SHA1 f8e8e8126d13d4abdc8973b5dc9e2d512753db19 SHA256 c854cb5b685907bcbbee89eff5b8c98540c9e3b26d7717d3e1507a1006c59758
EBUILD postgrey-1.31.ebuild 2152 RMD160 13d94ffd4bb521022a0b7a2413e50748c6dc8d2e SHA1 55627bc77fea5035349ef06a6022df5ffd067ef3 SHA256 8833e1d6d5e0825c22f0cc05ad330f5af855e8b59e263c57624dbd3b5529d0df
MISC ChangeLog 8466 RMD160 f597ad4b732e32a30f45d09b184cea6f45203634 SHA1 2b5a988bdf087989037f863dcd4ef4069d4b6269 SHA256 cda3f19f926ff4dd474688d68a60921ec331edf511eb25b9c7a59d1069ad4760
MISC metadata.xml 304 RMD160 5ea326ad63c413b939071e1db865ccf570de61b8 SHA1 5b243ebc069fa30919c289cab15b6e1f6cc71702 SHA256 66d816b6bbbb5bcc1ded82027b2d2fd6b6f439faf149ac70f305003d7ace1e2b
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.31-r2.ebuild,v 1.1 2008/05/21 18:45:44 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
targrey? ( http://k2net.hakuba.jp/pub/targrey-0.31-${P}.patch )"
HOMEPAGE="http://postgrey.schweikert.ch/"
LICENSE="GPL-2"
SLOT="0"
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"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /dev/null ${PN}
}
src_compile() {
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
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"
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)."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.31.ebuild,v 1.7 2008/03/15 19:39:01 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="alpha amd64 ppc64 sparc x86"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 /dev/null ${PN}
}
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
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
}