summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans (grknight) <grknight@scent-team.com>2007-03-12 13:25:02 +0000
committerBrian Evans (grknight) <grknight@scent-team.com>2007-03-12 13:25:02 +0000
commit1584de6e808c25dd77fae10fd3582af3b0f746f8 (patch)
treebf6d5d78cc5158383cc3cac43f6626c94a688aa7 /net-mail
parentwww-client/ttb: Fix inherit (diff)
downloadsunrise-1584de6e808c25dd77fae10fd3582af3b0f746f8.tar.gz
sunrise-1584de6e808c25dd77fae10fd3582af3b0f746f8.tar.bz2
sunrise-1584de6e808c25dd77fae10fd3582af3b0f746f8.zip
net-mail/policyd-weight: New Ebuild for bug 169646
svn path=/sunrise/; revision=3207
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/policyd-weight/ChangeLog9
-rw-r--r--net-mail/policyd-weight/Manifest20
-rw-r--r--net-mail/policyd-weight/files/digest-policyd-weight-0.1.14.33
-rwxr-xr-xnet-mail/policyd-weight/files/policyd-weight.init.d25
-rw-r--r--net-mail/policyd-weight/metadata.xml20
-rw-r--r--net-mail/policyd-weight/policyd-weight-0.1.14.3.ebuild36
6 files changed, 113 insertions, 0 deletions
diff --git a/net-mail/policyd-weight/ChangeLog b/net-mail/policyd-weight/ChangeLog
new file mode 100644
index 000000000..8aea66545
--- /dev/null
+++ b/net-mail/policyd-weight/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-mail/policyd-weight
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 12 Mar 2007; Brian Evans (grknight) <grknight@scent-team.com>
+ +policyd-weight-0.1.14.3.ebuild, +files/policyd-weight.init.d,
+ +metadata.xml:
+ New Ebuild for bug 169646
+
diff --git a/net-mail/policyd-weight/Manifest b/net-mail/policyd-weight/Manifest
new file mode 100644
index 000000000..182b09299
--- /dev/null
+++ b/net-mail/policyd-weight/Manifest
@@ -0,0 +1,20 @@
+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 821 RMD160 1af96bc3d118e8fd42784732692a6e36aa914fb9 SHA1 8761b14623a69ca0dc3b77006fb0bd1fd7813015 SHA256 75b89da63b1aa58ef17fe4bf548e005394a7979c6d1941688a96f832e40d8aa5
+MD5 79d52b3e2eaf8b14c1a2755cfc669575 policyd-weight-0.1.14.3.ebuild 821
+RMD160 1af96bc3d118e8fd42784732692a6e36aa914fb9 policyd-weight-0.1.14.3.ebuild 821
+SHA256 75b89da63b1aa58ef17fe4bf548e005394a7979c6d1941688a96f832e40d8aa5 policyd-weight-0.1.14.3.ebuild 821
+MISC ChangeLog 299 RMD160 d7b8ab12358260b6fd2efe5a3db470fae3303a38 SHA1 518e47bc50513628293a86c97ede419134eafdf0 SHA256 7c6aef7ebe20b6b164ea580d2d491b02a19c58ef699bde275fa6417d6f425bcc
+MD5 a025655affc83c22a05c34f8011a5c79 ChangeLog 299
+RMD160 d7b8ab12358260b6fd2efe5a3db470fae3303a38 ChangeLog 299
+SHA256 7c6aef7ebe20b6b164ea580d2d491b02a19c58ef699bde275fa6417d6f425bcc ChangeLog 299
+MISC metadata.xml 808 RMD160 0a5f09acfee91cc2caadf4d689d9351676d3fac9 SHA1 766538a8abf1876ddecece8c04bf2fd25944b46f SHA256 7e1174664e6ddb3af4c0155c756ec56a745f91d0574969bd95b42ef0c1620e5b
+MD5 b14468d3c30c4d19270e8c5a5d0ab396 metadata.xml 808
+RMD160 0a5f09acfee91cc2caadf4d689d9351676d3fac9 metadata.xml 808
+SHA256 7e1174664e6ddb3af4c0155c756ec56a745f91d0574969bd95b42ef0c1620e5b metadata.xml 808
+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
diff --git a/net-mail/policyd-weight/files/digest-policyd-weight-0.1.14.3 b/net-mail/policyd-weight/files/digest-policyd-weight-0.1.14.3
new file mode 100644
index 000000000..cbd004d5e
--- /dev/null
+++ b/net-mail/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/net-mail/policyd-weight/files/policyd-weight.init.d b/net-mail/policyd-weight/files/policyd-weight.init.d
new file mode 100755
index 000000000..f9c89c965
--- /dev/null
+++ b/net-mail/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/net-mail/policyd-weight/metadata.xml b/net-mail/policyd-weight/metadata.xml
new file mode 100644
index 000000000..21e289ff7
--- /dev/null
+++ b/net-mail/policyd-weight/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+$Header: $
+-->
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>grknight@scent-team.com</email>
+</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/net-mail/policyd-weight/policyd-weight-0.1.14.3.ebuild b/net-mail/policyd-weight/policyd-weight-0.1.14.3.ebuild
new file mode 100644
index 000000000..69ad0ee06
--- /dev/null
+++ b/net-mail/policyd-weight/policyd-weight-0.1.14.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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() {
+#Makefile does not install. Performing manual 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}"
+}