diff options
author | Andrej Kacian <ticho@gentoo.org> | 2007-03-26 22:31:07 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2007-03-26 22:31:07 +0000 |
commit | 251dad63d057fdcf7c9e3d3abab7413ab8033325 (patch) | |
tree | 1996afc0704642ad4bf1c71c527323753b146bfe /mail-filter | |
parent | Initial import for bug #143835 (diff) | |
download | gentoo-2-251dad63d057fdcf7c9e3d3abab7413ab8033325.tar.gz gentoo-2-251dad63d057fdcf7c9e3d3abab7413ab8033325.tar.bz2 gentoo-2-251dad63d057fdcf7c9e3d3abab7413ab8033325.zip |
Initial import. Ebuild written by Brian E <grknight at scent-team.com> in bug #169646.
(Portage version: 2.1.2.2)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/policyd-weight/ChangeLog | 12 | ||||
-rw-r--r-- | mail-filter/policyd-weight/Manifest | 20 | ||||
-rw-r--r-- | mail-filter/policyd-weight/files/digest-policyd-weight-0.1.14.3 | 3 | ||||
-rw-r--r-- | mail-filter/policyd-weight/files/policyd-weight.init.d | 25 | ||||
-rw-r--r-- | mail-filter/policyd-weight/metadata.xml | 15 | ||||
-rw-r--r-- | mail-filter/policyd-weight/policyd-weight-0.1.14.3.ebuild | 47 |
6 files changed, 122 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..9ed0afaf6370 --- /dev/null +++ b/mail-filter/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 1086 RMD160 b2c397f5aafa02436ebf12b6d4d1f61da4871439 SHA1 c72535946c13e073d6d3b18c3fca4aa436acce55 SHA256 b70d5cb51b9fdd73b36a28a1a4587fcc830a96750d42e7dc8a49572dab53d73b +MD5 6044098a2689e3c8d0bba6533d8bf8f5 policyd-weight-0.1.14.3.ebuild 1086 +RMD160 b2c397f5aafa02436ebf12b6d4d1f61da4871439 policyd-weight-0.1.14.3.ebuild 1086 +SHA256 b70d5cb51b9fdd73b36a28a1a4587fcc830a96750d42e7dc8a49572dab53d73b policyd-weight-0.1.14.3.ebuild 1086 +MISC ChangeLog 389 RMD160 703b3f2ba50f66cdd3f37b26d3c8ba644b57c305 SHA1 0b1603be9e081ac32ecaf778792ae77511489392 SHA256 1dd1b16b2c0d80eabc3f07bcabd2cd688f347673ad85a5acf10a58f18d9f0da7 +MD5 23e0df843a96b818cd644e60bee5a3ce ChangeLog 389 +RMD160 703b3f2ba50f66cdd3f37b26d3c8ba644b57c305 ChangeLog 389 +SHA256 1dd1b16b2c0d80eabc3f07bcabd2cd688f347673ad85a5acf10a58f18d9f0da7 ChangeLog 389 +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 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" +} |