summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2009-09-06 09:34:42 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2009-09-06 09:34:42 +0000
commitb09ab0f28f740a5502b025800fe9cd7e7f0e5489 (patch)
tree39c2c08a3d4971803733a4d35212cc9854f1aa1b /mail-filter/postgrey
parentCorrectly detect cpu by upstream checks when march=native is used, bug #273421 (diff)
downloadgentoo-2-b09ab0f28f740a5502b025800fe9cd7e7f0e5489.tar.gz
gentoo-2-b09ab0f28f740a5502b025800fe9cd7e7f0e5489.tar.bz2
gentoo-2-b09ab0f28f740a5502b025800fe9cd7e7f0e5489.zip
Cleanup
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/postgrey')
-rw-r--r--mail-filter/postgrey/ChangeLog6
-rw-r--r--mail-filter/postgrey/postgrey-1.31.ebuild77
2 files changed, 5 insertions, 78 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 62428f456e46..e9bc4ec9aa42 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/postgrey
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.60 2009/09/05 00:11:24 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.61 2009/09/06 09:34:42 dertobi123 Exp $
+
+ 06 Sep 2009; Tobias Scherbaum <dertobi123@gentoo.org>
+ -postgrey-1.31.ebuild:
+ Cleanup
05 Sep 2009; Brent Baude <ranger@gentoo.org> postgrey-1.32.ebuild:
Marking postgrey-1.32 ppc64 for bug 278702
diff --git a/mail-filter/postgrey/postgrey-1.31.ebuild b/mail-filter/postgrey/postgrey-1.31.ebuild
deleted file mode 100644
index 5e3584947413..000000000000
--- a/mail-filter/postgrey/postgrey-1.31.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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.8 2008/07/21 17:51:55 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
- insopts -o root -g root -m 755
- 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
-}