summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-01-02 00:27:08 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-01-02 00:27:08 +0000
commit0bc3e2430ecd81793a00fee8e9c09988e5355148 (patch)
tree2835c40b728f0c626237a46424627a753e4dba5f /mail-filter
parentboth mholzer/max are AFK (diff)
downloadhistorical-0bc3e2430ecd81793a00fee8e9c09988e5355148.tar.gz
historical-0bc3e2430ecd81793a00fee8e9c09988e5355148.tar.bz2
historical-0bc3e2430ecd81793a00fee8e9c09988e5355148.zip
Version bump.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/postgrey/ChangeLog9
-rw-r--r--mail-filter/postgrey/Manifest28
-rw-r--r--mail-filter/postgrey/files/digest-postgrey-1.231
-rw-r--r--mail-filter/postgrey/postgrey-1.23.ebuild74
4 files changed, 102 insertions, 10 deletions
diff --git a/mail-filter/postgrey/ChangeLog b/mail-filter/postgrey/ChangeLog
index 905b0d5af76b..0125dae5fe74 100644
--- a/mail-filter/postgrey/ChangeLog
+++ b/mail-filter/postgrey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/postgrey
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.16 2005/12/23 20:17:13 blubb Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/ChangeLog,v 1.17 2006/01/02 00:27:07 ticho Exp $
+
+*postgrey-1.23 (02 Jan 2006)
+
+ 02 Jan 2006; Andrej Kacian <ticho@gentoo.org> +postgrey-1.23.ebuild:
+ Version bump.
23 Dec 2005; Simon Stelling <blubb@gentoo.org> postgrey-1.21-r1.ebuild:
stable on amd64
diff --git a/mail-filter/postgrey/Manifest b/mail-filter/postgrey/Manifest
index b21788b4c346..eedc4a54b4c1 100644
--- a/mail-filter/postgrey/Manifest
+++ b/mail-filter/postgrey/Manifest
@@ -1,13 +1,25 @@
-MD5 1268fe1b7d517b8f9d5222eae36eb0b2 ChangeLog 2664
-MD5 97640b63104544cebd37ca40384a056b metadata.xml 304
-MD5 b1e7b37dc0abff9d55d28d59dc7f0f7e postgrey-1.21.ebuild 1919
-MD5 b07b3135ffa215dd7a71f139eef10d21 postgrey-1.21-r1.ebuild 2104
-MD5 ac16d9e76c2e7acdd2e5c639f0cabf59 postgrey-1.21-r2.ebuild 2107
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 2d1327911975fb1aeb9e95412bf144ee ChangeLog 2782
MD5 2197c50ab163af184389dbf781d6bc21 files/digest-postgrey-1.21 64
-MD5 be9aa0c5ab50b82e7eb5c465e78abfb6 files/postgrey.conf 2057
-MD5 92755b7ca1258447038718aa283825d9 files/postgrey.rc 1906
MD5 2197c50ab163af184389dbf781d6bc21 files/digest-postgrey-1.21-r1 64
+MD5 2197c50ab163af184389dbf781d6bc21 files/digest-postgrey-1.21-r2 64
+MD5 92cedf9f37a6b6fdcdce5824229a2d3a files/digest-postgrey-1.23 64
+MD5 be9aa0c5ab50b82e7eb5c465e78abfb6 files/postgrey.conf 2057
MD5 6dfb29bdf769bd95b3da9611e89e9e67 files/postgrey.conf.new 1882
+MD5 92755b7ca1258447038718aa283825d9 files/postgrey.rc 1906
MD5 574606b16ba42a5ed86921c12fdac7f5 files/postgrey.rc.new 1910
-MD5 2197c50ab163af184389dbf781d6bc21 files/digest-postgrey-1.21-r2 64
MD5 658e1b1fbd690aa27418992e73b5360f files/postgrey.rc.new-r2 1984
+MD5 97640b63104544cebd37ca40384a056b metadata.xml 304
+MD5 b07b3135ffa215dd7a71f139eef10d21 postgrey-1.21-r1.ebuild 2104
+MD5 ac16d9e76c2e7acdd2e5c639f0cabf59 postgrey-1.21-r2.ebuild 2107
+MD5 b1e7b37dc0abff9d55d28d59dc7f0f7e postgrey-1.21.ebuild 1919
+MD5 1d0dcf46def285a5ab8e2b518021ecbc postgrey-1.23.ebuild 2106
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDuHNrQlM6RnzZP+IRAkMaAJ4zUBxe8SO6F+hMCtIYN17dZDOlWQCfVUK0
+kcMjd1Xmi3eWBMM8U1tk2oU=
+=0yid
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/postgrey/files/digest-postgrey-1.23 b/mail-filter/postgrey/files/digest-postgrey-1.23
new file mode 100644
index 000000000000..c71a0382aa83
--- /dev/null
+++ b/mail-filter/postgrey/files/digest-postgrey-1.23
@@ -0,0 +1 @@
+MD5 d5214a0dbca6872c5be426d0ffde534d postgrey-1.23.tar.gz 26622
diff --git a/mail-filter/postgrey/postgrey-1.23.ebuild b/mail-filter/postgrey/postgrey-1.23.ebuild
new file mode 100644
index 000000000000..86200f918036
--- /dev/null
+++ b/mail-filter/postgrey/postgrey-1.23.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postgrey/postgrey-1.23.ebuild,v 1.1 2006/01/02 00:27:07 ticho Exp $
+
+inherit eutils
+
+DESCRIPTION="Postgrey is a Postfix policy server implementing greylisting"
+SRC_URI="http://isg.ee.ethz.ch/tools/${PN}/pub/${P}.tar.gz
+ http://isg.ee.ethz.ch/tools/${PN}/pub/old/${P}.tar.gz"
+HOMEPAGE="http://isg.ee.ethz.ch/tools/postgrey/"
+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
+ >=sys-libs/db-4.1
+ >=mail-mta/postfix-2.1.0"
+
+KEYWORDS="~alpha ~amd64 ~x86"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /dev/null ${PN}
+}
+
+src_install () {
+ cd ${S}
+
+ # 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
+
+ # 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-r2 ${PN}
+ newconfd ${FILESDIR}/${PN}.conf.new ${PN}
+}
+
+pkg_postinst() {
+ echo
+ einfo "To make use of greylisting, please update your postfix config:"
+ einfo
+
+ einfo "In order to start using postgrey, edit /etc/conf.d/postgrey, add following lines"
+ einfo "to smtpd_recipient restrictions setting in your /etc/postfix/main.cf:"
+ einfo "\t\"check_policy_service inet:127.0.0.1:10030\", if you're using TCP socket"
+ einfo "\t\"check_policy_service unix:private/postgrey\", if you're using UNIX socket"
+ einfo "Then, start postgrey and restart postfix."
+
+ einfo "Also remember to make the daemon start durig system boot:"
+ einfo " rc-update add postgrey default"
+ echo
+ ewarn "Read postgrey documentation for more info (perldoc postgrey)."
+ echo
+ epause 5
+}