summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-12-02 10:03:46 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-12-02 10:03:46 +0000
commit6d63da9f98c3a7517fa3ec750657e003115bd6d6 (patch)
tree982aef3aadc42197ed4ad6fe6de508a402aeebd8 /mail-filter
parentStable for HPPA (bug #247819). (diff)
downloadhistorical-6d63da9f98c3a7517fa3ec750657e003115bd6d6.tar.gz
historical-6d63da9f98c3a7517fa3ec750657e003115bd6d6.tar.bz2
historical-6d63da9f98c3a7517fa3ec750657e003115bd6d6.zip
Version bump to 4.0.9
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamdyke/ChangeLog7
-rw-r--r--mail-filter/spamdyke/Manifest4
-rw-r--r--mail-filter/spamdyke/spamdyke-4.0.9.ebuild72
3 files changed, 81 insertions, 2 deletions
diff --git a/mail-filter/spamdyke/ChangeLog b/mail-filter/spamdyke/ChangeLog
index 8d21b4274f31..7146c4172b84 100644
--- a/mail-filter/spamdyke/ChangeLog
+++ b/mail-filter/spamdyke/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/spamdyke
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.12 2008/11/17 09:52:47 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.13 2008/12/02 10:03:46 tupone Exp $
+
+*spamdyke-4.0.9 (02 Dec 2008)
+
+ 02 Dec 2008; Alfredo Tupone <tupone@gentoo.org> +spamdyke-4.0.9.ebuild:
+ Version bump to 4.0.9
*spamdyke-4.0.8 (17 Nov 2008)
diff --git a/mail-filter/spamdyke/Manifest b/mail-filter/spamdyke/Manifest
index a126b70ee2e9..6cbe8d7f0850 100644
--- a/mail-filter/spamdyke/Manifest
+++ b/mail-filter/spamdyke/Manifest
@@ -6,6 +6,7 @@ DIST spamdyke-3.1.7.tgz 264474 RMD160 d2f0c7d3fbc6e5849d986904b97ef87862896267 S
DIST spamdyke-3.1.8.tgz 266739 RMD160 478b5ec97ea48c87727cab9db3471340ca6cf00d SHA1 d572dc0c354c1b114418666f6ce29048f16bedc1 SHA256 f17c7e2fa253dc96493f870158d8184a820e1ff05996a7f0a7499c7323fb1009
DIST spamdyke-4.0.7.tgz 451491 RMD160 cefafb2cfac1f20ba150d636bbd1c5ddeb052b98 SHA1 64b6771e5e22490bb80a3ceb43b01508f8637696 SHA256 026edf980423891e284eafa3187d7bed2a8571390ae614b92716b7e329b56a0d
DIST spamdyke-4.0.8.tgz 451772 RMD160 5fc865060e862e05725da5b8418e561c4efd6c9a SHA1 b937e71d80eb01d8a889740d08b5c3fc96931620 SHA256 b179b137f2b364c46ad78534b1b99927294c299df4c7814bcad4c765302a6c41
+DIST spamdyke-4.0.9.tgz 453004 RMD160 c1891a8b204acb2a7c2fdf48a9f2a19629413416 SHA1 3c002db526640e833bfb8b90964a366779c4057a SHA256 67f420911def2ae4028b8cdcc8f3674f13c88db20e6a57ec0a241815dec79043
EBUILD spamdyke-3.1.3.ebuild 2081 RMD160 68a8c182687f74ed645bc9ad41ca2dac48ad4653 SHA1 225bd4fda06b12fb8cf073ac78afcb038f7517e2 SHA256 801dce626ca4f60c8fc4c3f0c4fdc456bf3459ddef7a1c6d84ea07a73d54dc70
EBUILD spamdyke-3.1.4.ebuild 2081 RMD160 f7d74994a44bf6abce6e7a7f8b3c69d0941b196f SHA1 6d1e42a4c53b74c9b16ceccd16fe5a77d4e91f9c SHA256 c3ebb7062d9e0738a886433e4e065960fa7f9093e97b48a5327285ead4aa18f4
EBUILD spamdyke-3.1.6.ebuild 2081 RMD160 30b9c6eb5f02b19b0f3cb86846d08f3b4be4276b SHA1 9e30fc8a82e39def30be0fed4ee517a4fb25c41c SHA256 3822a42c04d7a41c68c4db4232776362255b7ec635a7cf1ba00557e9aab5bc74
@@ -13,5 +14,6 @@ EBUILD spamdyke-3.1.7.ebuild 2165 RMD160 355bacd2e17a3e1be20f3dc905afedc299d170c
EBUILD spamdyke-3.1.8.ebuild 2086 RMD160 2a7196287057de1b95163fde544689884dca3fb8 SHA1 594ef23fa5818908861cd9a3223bd8c97a6d68c3 SHA256 70dd0ebdf710a020442068c728e08814ce05baee9c45a35223c6abaf64684770
EBUILD spamdyke-4.0.7.ebuild 2215 RMD160 f4f4a55e43e07af7e5e838b4951d657c0f5e4b6a SHA1 0d363fa513508f86d648d24a599b57cc6f796ce3 SHA256 dc37b2819dff1427d0e79c6200babf82b6615876b8df5d78c5c1c3f480e2cf24
EBUILD spamdyke-4.0.8.ebuild 2215 RMD160 267098dedb3265152414d819e18d2a57fd68f727 SHA1 fbf097733ebd2aaab23683803b39e85d72b61071 SHA256 79dc6b48ac144fb13879466ad81dedfb576ce08e21a67e8bb76be1e4f21a88e1
-MISC ChangeLog 1604 RMD160 7ba8a617a749d6806e2832b76d4298d08f760717 SHA1 2bdba12b9a8701eb665c21b32c24bb90ee375e8e SHA256 48eba4e9f8829bcef1fb9b0543bded8930ee187bf484b607a10e63d0e460d977
+EBUILD spamdyke-4.0.9.ebuild 2215 RMD160 844a9b322f9441db5c25edb993d2aa4892956c79 SHA1 a0b8522b553fe144c0e713c5e4a7cccc4426943d SHA256 328314dab7a1edf99e18355d3e6cde7e5569bd5883684c3b245634fffd51c4fc
+MISC ChangeLog 1734 RMD160 efeec91ff6d022ab9dc2583a4865b14a7ebcc14a SHA1 98b2fc613c6879a6d2ab8d52bdb64bb6ead39168 SHA256 f90e24dcd78ab4ceb93aa81c9419ff85bad8303f8a1ec1d6b43237f684410799
MISC metadata.xml 779 RMD160 9b025454580ef303ffa5acd0dcc5baaa1d323a6b SHA1 b5e1fa8bb45cb34876e3b6207d37efc0156a03a9 SHA256 99a5ee30cac08fd1556678c111df83f027e54c71a5dc0884887787d21a5fe17c
diff --git a/mail-filter/spamdyke/spamdyke-4.0.9.ebuild b/mail-filter/spamdyke/spamdyke-4.0.9.ebuild
new file mode 100644
index 000000000000..48f3748c1fab
--- /dev/null
+++ b/mail-filter/spamdyke/spamdyke-4.0.9.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/spamdyke-4.0.9.ebuild,v 1.1 2008/12/02 10:03:46 tupone Exp $
+
+EAPI="1"
+
+DESCRIPTION="A drop-in connection-time spam filter for qmail"
+HOMEPAGE="http://www.spamdyke.org/"
+SRC_URI="http://www.spamdyke.org/releases/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+tls"
+
+DEPEND="tls? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${P}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ echo "# Configuration option for ${PN}" > ${PN}.conf
+ if use tls; then
+ echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \
+ >> ${PN}.conf
+ fi
+ echo "graylist-level=always" >> ${PN}.conf
+ echo "graylist-dir=/var/tmp/${PN}/graylist" >> ${PN}.conf
+ echo "graylist-exception-rdns-dir=/etc/${PN}/never-graylist" >> ${PN}.conf
+ echo "reject-empty-rdns" >> ${PN}.conf
+ echo "reject-unresolvable-rdns" >> ${PN}.conf
+ sed -i \
+ -e "/STRIP_CMD/d" \
+ Makefile.in || die "sed on Makefile.in failed"
+}
+
+src_compile() {
+ econf --with-debug \
+ $(use_enable tls) || die "econf failed"
+ emake CFLAGS="${CFLAGS}" || die "emake failed"
+ cd ../utils
+ econf || die "econf failed in utils"
+ emake CFLAGS="${CFLAGS}" || die "emake in utils died"
+}
+
+src_install() {
+ dobin ${PN} || die "Installing ${PN} binary failed"
+ insinto /etc/${PN}
+ doins ${PN}.conf || die "Installing ${PN} configuration file failed"
+ keepdir /var/tmp/${PN}/graylist/$(../utils/domain2path -d localhost)
+ fowners -R qmaild /var/tmp/${PN}
+ insinto /etc/${PN}/never-graylist/$(../utils/domain2path -d localhost)
+ touch localhost
+ doins localhost
+ cd ../utils
+ dobin domain2path || die "Installing domain2path binary failed"
+ cd ../documentation
+ dodoc {Changelog,INSTALL,UPGRADING}.txt
+ dohtml FAQ.html \
+ README.html \
+ README_ip_file_format.html \
+ README_rdns_directory_format.html \
+ README_rdns_file_format.html
+}
+
+pkg_postinst() {
+ elog "In /var/qmail/control/conf-smtpd insert the line:"
+ elog "QMAIL_SMTP_PRE=\"${QMAIL_SMTP_PRE} spamdyke -f /etc/${PN}/${PN}.conf\""
+ elog "Run spamdyke with the '-h' flag to see the available options and"
+ elog "update /etc/spamdyke.conf accordingly"
+}