--- /dev/null
+# 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.
+
--- /dev/null
+DIST Botnet-0.7.tar 81920 RMD160 a96f1dbd6b290e33b7b33c2236416fd570c44000 SHA1 22f5d287a5b52b677d42fa86cfd4d3e2341f460b SHA256 cb47ffac52f0fcd9a28b954cca47b6dd417845b57f957e10c1de5d0d4be5a6c1
+EBUILD spamassassin-botnet-0.7.ebuild 1224 RMD160 3cc72415c280dfdd753d1d364fffd7bf691529d5 SHA1 d95bdd22aeab97689610e61511631b9ffed75feb SHA256 6a35993f1a80b2a9bb2bdf26f143e41519193d50aa4e3d3d6ccbbcfb2a9d2d17
+MD5 9f5fcc4afe037047b4e569e3b6114d1a spamassassin-botnet-0.7.ebuild 1224
+RMD160 3cc72415c280dfdd753d1d364fffd7bf691529d5 spamassassin-botnet-0.7.ebuild 1224
+SHA256 6a35993f1a80b2a9bb2bdf26f143e41519193d50aa4e3d3d6ccbbcfb2a9d2d17 spamassassin-botnet-0.7.ebuild 1224
+MISC ChangeLog 398 RMD160 9753e780510c82356b9119069a50bad8b8e277f1 SHA1 e73a13b66ed6939615eaf7642862a59f3fa6c87c SHA256 0aa5efc89dd3786e4799cdb151ad538f20f35cb9ca14e15c62eb96e82c1a766e
+MD5 94bf94a80f007e4c54101a27797b8bf6 ChangeLog 398
+RMD160 9753e780510c82356b9119069a50bad8b8e277f1 ChangeLog 398
+SHA256 0aa5efc89dd3786e4799cdb151ad538f20f35cb9ca14e15c62eb96e82c1a766e ChangeLog 398
+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
--- /dev/null
+MD5 d4271db1e6a9326821a8f760f66ad290 Botnet-0.7.tar 81920
+RMD160 a96f1dbd6b290e33b7b33c2236416fd570c44000 Botnet-0.7.tar 81920
+SHA256 cb47ffac52f0fcd9a28b954cca47b6dd417845b57f957e10c1de5d0d4be5a6c1 Botnet-0.7.tar 81920
--- /dev/null
+<?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>
+
--- /dev/null
+# 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
+}