summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-02-23 03:27:00 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-02-23 03:27:00 +0000
commitf112484d5b8f9ebf624bbce1e8f6a312682c6b9a (patch)
tree2d8160f62f2281d8c71a6cfe9029bc9f64033c30 /mail-filter/spamassassin-botnet
parentsci-libs/minuit initial import. (diff)
downloadgentoo-2-f112484d5b8f9ebf624bbce1e8f6a312682c6b9a.tar.gz
gentoo-2-f112484d5b8f9ebf624bbce1e8f6a312682c6b9a.tar.bz2
gentoo-2-f112484d5b8f9ebf624bbce1e8f6a312682c6b9a.zip
New package.
(Portage version: 2.1.2-r10)
Diffstat (limited to 'mail-filter/spamassassin-botnet')
-rw-r--r--mail-filter/spamassassin-botnet/ChangeLog10
-rw-r--r--mail-filter/spamassassin-botnet/Manifest16
-rw-r--r--mail-filter/spamassassin-botnet/files/digest-spamassassin-botnet-0.73
-rw-r--r--mail-filter/spamassassin-botnet/metadata.xml17
-rw-r--r--mail-filter/spamassassin-botnet/spamassassin-botnet-0.7.ebuild49
5 files changed, 95 insertions, 0 deletions
diff --git a/mail-filter/spamassassin-botnet/ChangeLog b/mail-filter/spamassassin-botnet/ChangeLog
new file mode 100644
index 000000000000..8c72b1b73412
--- /dev/null
+++ b/mail-filter/spamassassin-botnet/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for mail-filter/spamassassin-botnet
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/ChangeLog,v 1.1 2007/02/23 03:27:00 chutzpah Exp $
+
+*spamassassin-botnet-0.7 (23 Feb 2007)
+
+ 23 Feb 2007; Patrick McLean <chutzpah@gentoo.org> +metadata.xml,
+ +spamassassin-botnet-0.7.ebuild:
+ Initial import.
+
diff --git a/mail-filter/spamassassin-botnet/Manifest b/mail-filter/spamassassin-botnet/Manifest
new file mode 100644
index 000000000000..ce0580677ad9
--- /dev/null
+++ b/mail-filter/spamassassin-botnet/Manifest
@@ -0,0 +1,16 @@
+DIST Botnet-0.7.tar 81920 RMD160 a96f1dbd6b290e33b7b33c2236416fd570c44000 SHA1 22f5d287a5b52b677d42fa86cfd4d3e2341f460b SHA256 cb47ffac52f0fcd9a28b954cca47b6dd417845b57f957e10c1de5d0d4be5a6c1
+EBUILD spamassassin-botnet-0.7.ebuild 1098 RMD160 0df16e9d8d14e9383e06277b60ad8b22973439ac SHA1 458403ac3e9e612a39a4ead75a3d0072781d3be5 SHA256 6299c3125fcd375154b8a174cf7afcec93c0cd9d9dceed74c9df34b3f9f29067
+MD5 ad35efa5fe854bf5a94b628a9eab0a52 spamassassin-botnet-0.7.ebuild 1098
+RMD160 0df16e9d8d14e9383e06277b60ad8b22973439ac spamassassin-botnet-0.7.ebuild 1098
+SHA256 6299c3125fcd375154b8a174cf7afcec93c0cd9d9dceed74c9df34b3f9f29067 spamassassin-botnet-0.7.ebuild 1098
+MISC ChangeLog 293 RMD160 0243b5b74bde94e20ea49a8599680ecc0d0e67d8 SHA1 f5700f19a0168f771fd0429d8e3d3eff901dd163 SHA256 ab698de80ee8ad5f33c8df9a300cdc0cb61b5f7187ab43a25b7954872337a28c
+MD5 2110274067163b12ed56010cc8182d5e ChangeLog 293
+RMD160 0243b5b74bde94e20ea49a8599680ecc0d0e67d8 ChangeLog 293
+SHA256 ab698de80ee8ad5f33c8df9a300cdc0cb61b5f7187ab43a25b7954872337a28c ChangeLog 293
+MISC metadata.xml 617 RMD160 9ef10c105e4be1341d4827291e048c8c140a4b38 SHA1 3d11e49aafbb85e51f5851a8113d0498976b473f SHA256 e5e7828bacd7de18a234ae093176ee22bed0310c4b42449a5d23f89d17b4139d
+MD5 68ce131e211930a694b7f99ac7583f08 metadata.xml 617
+RMD160 9ef10c105e4be1341d4827291e048c8c140a4b38 metadata.xml 617
+SHA256 e5e7828bacd7de18a234ae093176ee22bed0310c4b42449a5d23f89d17b4139d metadata.xml 617
+MD5 6942c4c28df757818cca5ed214272fa1 files/digest-spamassassin-botnet-0.7 220
+RMD160 862aad39a90e383f4f106409f2a1d78b13d637bd files/digest-spamassassin-botnet-0.7 220
+SHA256 8fec4c588623a3c624efe16b88a7ca11ab6314a78c8d7e00b5184f598127ab90 files/digest-spamassassin-botnet-0.7 220
diff --git a/mail-filter/spamassassin-botnet/files/digest-spamassassin-botnet-0.7 b/mail-filter/spamassassin-botnet/files/digest-spamassassin-botnet-0.7
new file mode 100644
index 000000000000..325d4b6605ef
--- /dev/null
+++ b/mail-filter/spamassassin-botnet/files/digest-spamassassin-botnet-0.7
@@ -0,0 +1,3 @@
+MD5 d4271db1e6a9326821a8f760f66ad290 Botnet-0.7.tar 81920
+RMD160 a96f1dbd6b290e33b7b33c2236416fd570c44000 Botnet-0.7.tar 81920
+SHA256 cb47ffac52f0fcd9a28b954cca47b6dd417845b57f957e10c1de5d0d4be5a6c1 Botnet-0.7.tar 81920
diff --git a/mail-filter/spamassassin-botnet/metadata.xml b/mail-filter/spamassassin-botnet/metadata.xml
new file mode 100644
index 000000000000..4223ba5a220c
--- /dev/null
+++ b/mail-filter/spamassassin-botnet/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+<maintainer>
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+</maintainer>
+<longdescription lang="en">
+A spamassassin that performs DNS validations on the first untrusted relay
+looking for signs of a Botnet infected host, such as no reverse DNS, a
+hostname that would indicate an ISP client or domain workstation, or other
+hosts that aren't intended to be acting as a direct mail submitter outside of
+their own domain.
+</longdescription>
+</pkgmetadata>
+
diff --git a/mail-filter/spamassassin-botnet/spamassassin-botnet-0.7.ebuild b/mail-filter/spamassassin-botnet/spamassassin-botnet-0.7.ebuild
new file mode 100644
index 000000000000..60bd7d686e1d
--- /dev/null
+++ b/mail-filter/spamassassin-botnet/spamassassin-botnet-0.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin-botnet/spamassassin-botnet-0.7.ebuild,v 1.1 2007/02/23 03:27:00 chutzpah Exp $
+
+inherit perl-module
+
+MY_PN="${PN/b/B}"
+MY_PN="${MY_PN/spamassassin-/}"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="SpamAssassin plugin that attempts to detect messages sent by a botnet"
+HOMEPAGE="http://people.ucsc.edu/~jrudd/spamassassin/"
+SRC_URI="http://people.ucsc.edu/~jrudd/spamassassin/${MY_P}.tar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=mail-filter/spamassassin-3.0.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_compile() {
+ # make sure it doesn't try to look for the .pm in the same dir as the .cf
+ sed -rie 's/^(loadplugin.+)[ ]+Botnet.pm/\1/' Botnet.cf
+}
+
+src_install() {
+ perlinfo
+
+ local plugin_dir=${VENDOR_LIB}/Mail/SpamAssassin/Plugin
+
+ insinto ${plugin_dir}
+ doins ${MY_PN}.pm
+
+ insinto /etc/mail/spamassassin/
+ doins ${MY_PN}.cf
+
+ dodoc ${MY_PN}{{.{api,credits,variants},}.txt,.pl}
+}
+
+pkg_postinst() {
+ echo
+ elog "You need to restart spamassassin (as root) before this plugin will work:"
+ elog "/etc/init.d/spamd restart"
+ echo
+}