diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2014-08-06 18:18:36 +0000 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2014-08-06 18:18:36 +0000 |
commit | 050ce1a665a01990a514280bf489a1964e3ffd09 (patch) | |
tree | e345cc4fbcb72c49c362ef37619ae1cf6f00f702 /mail-filter/postgrey | |
parent | Remove blocker. (diff) | |
download | gentoo-2-050ce1a665a01990a514280bf489a1964e3ffd09.tar.gz gentoo-2-050ce1a665a01990a514280bf489a1964e3ffd09.tar.bz2 gentoo-2-050ce1a665a01990a514280bf489a1964e3ffd09.zip |
Version bump wrt bug #518470. Thanks to Andreis Vinogradovs
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)
Diffstat (limited to 'mail-filter/postgrey')
-rw-r--r-- | mail-filter/postgrey/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/postgrey/postgrey-1.35.ebuild | 70 |
2 files changed, 76 insertions, 1 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog index e67a2dd2d975..d5eefb94537c 100644 --- a/mail-filter/postgrey/ChangeLog +++ b/mail-filter/postgrey/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/postgrey # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.83 2014/01/16 17:29:25 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.84 2014/08/06 18:18:36 zlogene Exp $ + +*postgrey-1.35 (06 Aug 2014) + + 06 Aug 2014; Mikle Kolyada <zlogene@gentoo.org> +postgrey-1.35.ebuild: + Version bump wrt bug #518470. Thanks to Andreis Vinogradovs 16 Jan 2014; Jeroen Roovers <jer@gentoo.org> files/postgrey.conf.new: Spelling. diff --git a/mail-filter/postgrey/postgrey-1.35.ebuild b/mail-filter/postgrey/postgrey-1.35.ebuild new file mode 100644 index 000000000000..03b94e02fa0c --- /dev/null +++ b/mail-filter/postgrey/postgrey-1.35.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.35.ebuild,v 1.1 2014/08/06 18:18:36 zlogene Exp $ + +EAPI=5 + +inherit eutils user + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~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 +virtual/perl-Digest-SHA +>=sys-libs/db-4.1" + +pkg_setup() { +enewgroup ${PN} +enewuser ${PN} -1 -1 /dev/null ${PN} +} + +src_prepare() { +if use targrey ; then +epatch "${FILESDIR}"/targrey-0.31-postgrey-1.34.patch +fi +sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die "sed failed" +} + +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 README.exim + +# 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_run ${PN} +} |