summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-03-26 22:31:07 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-03-26 22:31:07 +0000
commitebe6fd4e5cc51a079739c0ac34633b3d4c373a9d (patch)
treecd2d607651ac3c873aa72c313cc91072487aaa33 /mail-filter/policyd-weight
parentInitial import for bug #143835 (diff)
downloadhistorical-ebe6fd4e5cc51a079739c0ac34633b3d4c373a9d.tar.gz
historical-ebe6fd4e5cc51a079739c0ac34633b3d4c373a9d.tar.bz2
historical-ebe6fd4e5cc51a079739c0ac34633b3d4c373a9d.zip
Initial import. Ebuild written by Brian E <grknight at scent-team.com> in bug #169646.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'mail-filter/policyd-weight')
-rw-r--r--mail-filter/policyd-weight/ChangeLog12
-rw-r--r--mail-filter/policyd-weight/Manifest30
-rw-r--r--mail-filter/policyd-weight/files/digest-policyd-weight-0.1.14.33
-rw-r--r--mail-filter/policyd-weight/files/policyd-weight.init.d25
-rw-r--r--mail-filter/policyd-weight/metadata.xml15
-rw-r--r--mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild47
6 files changed, 132 insertions, 0 deletions
diff --git a/mail-filter/policyd-weight/ChangeLog b/mail-filter/policyd-weight/ChangeLog
new file mode 100644
index 000000000000..62bcb58f1f29
--- /dev/null
+++ b/mail-filter/policyd-weight/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for mail-filter/policyd-weight
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/ChangeLog,v 1.1 2007/03/26 22:31:07 ticho Exp $
+
+*policyd-weight-0.1.14.3 (26 Mar 2007)
+
+ 26 Mar 2007; Andrej Kacian <ticho@gentoo.org>
+ +files/policyd-weight.init.d, +metadata.xml,
+ +policyd-weight-0.1.14.3.ebuild:
+ Initial import. Ebuild written by Brian E <grknight at scent-team.com> in
+ bug #169646.
+
diff --git a/mail-filter/policyd-weight/Manifest b/mail-filter/policyd-weight/Manifest
new file mode 100644
index 000000000000..806c4de111c9
--- /dev/null
+++ b/mail-filter/policyd-weight/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX policyd-weight.init.d 362 RMD160 14ad58d9792b40af595b220f2eb5b91dcb8c4799 SHA1 e24b4028cab224847d1ed1e97f42adbc662d679c SHA256 4354e31b33ca1c191903fa17d64e4a5a8932339248eb297b79f8f50dc4aaf8a6
+MD5 90f34851a4f92179508598dcf162a29b files/policyd-weight.init.d 362
+RMD160 14ad58d9792b40af595b220f2eb5b91dcb8c4799 files/policyd-weight.init.d 362
+SHA256 4354e31b33ca1c191903fa17d64e4a5a8932339248eb297b79f8f50dc4aaf8a6 files/policyd-weight.init.d 362
+DIST policyd-weight-0.1.14.3.tar.gz 49105 RMD160 8263ca55676d15a81925b7bd186ad8c91f9054c8 SHA1 9f16da7567c5bae3fe51dac15069fb378fced450 SHA256 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50
+EBUILD policyd-weight-0.1.14.3.ebuild 1204 RMD160 7522fc57678522580998b1f475b73c0679e5eaa4 SHA1 3018384d38d08f071d5c5f151a69025b132e9193 SHA256 4eeb9dfe8eeb658db635aec006ab45f98527a70e30af1a56bdf8fb8aef978c97
+MD5 0d93bbd0814542b6e3e973264e2a4014 policyd-weight-0.1.14.3.ebuild 1204
+RMD160 7522fc57678522580998b1f475b73c0679e5eaa4 policyd-weight-0.1.14.3.ebuild 1204
+SHA256 4eeb9dfe8eeb658db635aec006ab45f98527a70e30af1a56bdf8fb8aef978c97 policyd-weight-0.1.14.3.ebuild 1204
+MISC ChangeLog 486 RMD160 220faab44602381ee8a43b4c164b39e8aca05f34 SHA1 a5d994cdf711c03b5cb1d5d18832f64017f3203e SHA256 4efbcc00b1fcbec0d601b5d04c59c9495cbc82a578c69bf4289077378a8b5649
+MD5 334e6ed3b2930b4b8b55d6b18fee863e ChangeLog 486
+RMD160 220faab44602381ee8a43b4c164b39e8aca05f34 ChangeLog 486
+SHA256 4efbcc00b1fcbec0d601b5d04c59c9495cbc82a578c69bf4289077378a8b5649 ChangeLog 486
+MISC metadata.xml 966 RMD160 4ff8fa33887a115e65ada7405c625207facfcb6b SHA1 1ee7529f2689a23feed790b8b870be8488d129c7 SHA256 9edf10f547fd5a23c47a5ba6d5fcdf97ae8a1d9e63bf6609aa1105c2ee870938
+MD5 813dd6f69532707d755f4be082936953 metadata.xml 966
+RMD160 4ff8fa33887a115e65ada7405c625207facfcb6b metadata.xml 966
+SHA256 9edf10f547fd5a23c47a5ba6d5fcdf97ae8a1d9e63bf6609aa1105c2ee870938 metadata.xml 966
+MD5 ec16304666cca76b0e3dec905f42c1d4 files/digest-policyd-weight-0.1.14.3 268
+RMD160 59c55791f71bba64b73d2e2e4d4662b100e7c6ba files/digest-policyd-weight-0.1.14.3 268
+SHA256 4d46f539dc5b71409dcd1a61ad7d50deb3ea9b02685e9328fe1281c7392bf60d files/digest-policyd-weight-0.1.14.3 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGCDuhQlM6RnzZP+IRArz5AJ9sotFY+ZwKlX2xD4u6fBs+zBxHegCfXsU9
+E1qDXJgXJWky/ekaQRIz4zk=
+=gPQw
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/policyd-weight/files/digest-policyd-weight-0.1.14.3 b/mail-filter/policyd-weight/files/digest-policyd-weight-0.1.14.3
new file mode 100644
index 000000000000..cbd004d5ed4f
--- /dev/null
+++ b/mail-filter/policyd-weight/files/digest-policyd-weight-0.1.14.3
@@ -0,0 +1,3 @@
+MD5 afa9286a5adc393b63641994bbb78a16 policyd-weight-0.1.14.3.tar.gz 49105
+RMD160 8263ca55676d15a81925b7bd186ad8c91f9054c8 policyd-weight-0.1.14.3.tar.gz 49105
+SHA256 642d5ca134fe6deeb6e7d7e0147dedcf615c8e4d3b4d7d848f1a0ff023a67b50 policyd-weight-0.1.14.3.tar.gz 49105
diff --git a/mail-filter/policyd-weight/files/policyd-weight.init.d b/mail-filter/policyd-weight/files/policyd-weight.init.d
new file mode 100644
index 000000000000..f9c89c965ec5
--- /dev/null
+++ b/mail-filter/policyd-weight/files/policyd-weight.init.d
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+opts="${opts} reload"
+
+depend(){
+ before postfix
+ need net
+}
+
+start(){
+ ebegin "Starting policyd-weight"
+ /usr/lib/postfix/policyd-weight start
+ eend $?
+}
+
+stop(){
+ ebegin "Stopping policyd-weight"
+ /usr/lib/postfix/policyd-weight stop
+ eend $?
+}
+
+reload(){
+ ebegin "Reloading policyd-weight"
+ /usr/lib/postfix/policyd-weight reload
+ eend $?
+}
diff --git a/mail-filter/policyd-weight/metadata.xml b/mail-filter/policyd-weight/metadata.xml
new file mode 100644
index 000000000000..7778c5f18f01
--- /dev/null
+++ b/mail-filter/policyd-weight/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+<maintainer>
+ <email>grknight@scent-team.com</email>
+ <description>Real package maintainer</description>
+</maintainer>
+<maintainer>
+ <email>ticho@gentoo.org</email>
+ <name>Andrej Kacian</name>
+ <description>Proxy-maintaining</description>
+</maintainer>
+<longdescription>policyd-weight is a Perl policy daemon for the Postfix MTA (2.1 and later) intended to eliminate forged envelope senders and HELOs (i.e. in bogus mails). It allows you to score DNSBLs (RBL/RHSBL), HELO, MAIL FROM and client IP addresses before any queuing is done. It allows you to REJECT messages which have a score higher than allowed, providing improved blocking of spam and virus mails. policyd-weight caches the most frequent client/sender combinations (SPAM as well as HAM) to reduce the number of DNS queries.</longdescription>
+</pkgmetadata>
diff --git a/mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild b/mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild
new file mode 100644
index 000000000000..212ae90234f8
--- /dev/null
+++ b/mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild,v 1.1 2007/03/26 22:31:07 ticho Exp $
+
+inherit eutils
+
+DESCRIPTION="Weighted Policy daemon for Postfix"
+HOMEPAGE="http://www.policyd-weight.org/"
+SRC_URI="http://www.policyd-weight.org/old/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="perl-core/Sys-Syslog
+ dev-perl/Net-DNS
+ >=mail-mta/postfix-2.1"
+
+pkg_setup() {
+ enewgroup 'polw'
+ enewuser 'polw' -1 -1 -1 'polw'
+}
+
+src_install() {
+ exeinto /usr/lib/postfix
+ doexe policyd-weight
+ fowners root:wheel /usr/lib/postfix/policyd-weight
+
+ doman man/man5/*.5 man/man8/*.8
+ dodoc *.txt
+
+ insinto /etc
+ newins policyd-weight.conf.sample policyd-weight.conf
+
+ newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
+}
+
+pkg_postinst() {
+ elog "To use policyd-weight with postfix, update your /etc/postfix/main.cf file by adding"
+ elog " check_policy_service inet:127.0.0.1:12525"
+ elog "to your smtpd_recipient_restrictions."
+ elog
+ elog "Also remember to start policyd-weight at boot:"
+ elog " rc-update add policyd-weight default"
+}