Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
Subject: gentoo-x86 commit in mail-filter/postgrey: ChangeLog metadata.xml postgrey-1.32.ebuild postgrey-1.31-r2.ebuild
Date: Tue, 12 Aug 2008 20:40:40 +0000
dertobi123    08/08/12 20:40:40

  Modified:             ChangeLog metadata.xml
  Added:                postgrey-1.32.ebuild
  Removed:              postgrey-1.31-r2.ebuild
  Log:
  Version bump and describe local use-flags in metadata.xml
  (Portage version: 2.2_rc7/cvs/Linux 2.6.26-gentoo x86_64)

Revision  Changes    Path
1.54                 mail-filter/postgrey/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/ChangeLog?rev=1.54&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/ChangeLog?rev=1.54&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/ChangeLog?r1=1.53&r2=1.54

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ChangeLog	21 Jul 2008 17:51:55 -0000	1.53
+++ ChangeLog	12 Aug 2008 20:40:39 -0000	1.54
@@ -1,6 +1,12 @@
 # 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.53 2008/07/21 17:51:55 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.54 2008/08/12 20:40:39 dertobi123 Exp $
+
+*postgrey-1.32 (12 Aug 2008)
+
+  12 Aug 2008; Tobias Scherbaum <dertobi123@g.o> metadata.xml,
+  -postgrey-1.31-r2.ebuild, +postgrey-1.32.ebuild:
+  Version bump and describe local use-flags in metadata.xml
 
   21 Jul 2008; Tobias Scherbaum <dertobi123@g.o>
   postgrey-1.31.ebuild, postgrey-1.31-r2.ebuild:



1.2                  mail-filter/postgrey/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/postgrey/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	29 Apr 2005 00:28:44 -0000	1.1
+++ metadata.xml	12 Aug 2008 20:40:39 -0000	1.2
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>net-mail</herd>
-	<longdescription>Postgrey is a Postfix policy server implementing greylisting developed by David Schweikert at the ISG.EE.</longdescription>
+<herd>net-mail</herd>
+<longdescription>Postgrey is a Postfix policy server implementing greylisting developed by David Schweikert at the ISG.EE.</longdescription>
+<use>
+	<flag name='targrey'>Enables the targrey patch</flag>
+</use>
 </pkgmetadata>



1.1                  mail-filter/postgrey/postgrey-1.32.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/postgrey-1.32.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/postgrey/postgrey-1.32.ebuild?rev=1.1&content-type=text/plain

Index: postgrey-1.32.ebuild
===================================================================
# 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.32.ebuild,v 1.1 2008/08/12 20:40:39 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
	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"

	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)."
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage r11403 - main/tags
Next by thread:
gentoo-x86 commit in sys-apps/dbus: ChangeLog dbus-1.2.3.ebuild
Previous by date:
gentoo-x86 commit in media-libs/xine-lib: ChangeLog metadata.xml
Next by date:
gentoo-x86 commit in media-libs/xine-lib: ChangeLog xine-lib-1.1.14.ebuild


Updated May 27, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.