summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-10-30 21:28:34 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-10-30 21:28:34 +0000
commit7d7110cc4e5b583f320e383cdbd13c949d097b5f (patch)
tree62c863a592ce9aec3c0d6a83cfdb97fdb16e910f /mail-filter
parentBump to 0.3.9, enhance copy/move partition, bug fixes and translation/documen... (diff)
downloadhistorical-7d7110cc4e5b583f320e383cdbd13c949d097b5f.tar.gz
historical-7d7110cc4e5b583f320e383cdbd13c949d097b5f.tar.bz2
historical-7d7110cc4e5b583f320e383cdbd13c949d097b5f.zip
Version bump to 4.0.7
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/Manifest10
-rw-r--r--mail-filter/spamdyke/spamdyke-4.0.7.ebuild72
3 files changed, 84 insertions, 5 deletions
diff --git a/mail-filter/spamdyke/ChangeLog b/mail-filter/spamdyke/ChangeLog
index be8c9ab40dee..fed9025c628a 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.9 2008/08/23 06:03:52 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.10 2008/10/30 21:28:34 tupone Exp $
+
+*spamdyke-4.0.7 (30 Oct 2008)
+
+ 30 Oct 2008; Tupone Alfredo <tupone@gentoo.org> +spamdyke-4.0.7.ebuild:
+ Version bump to 4.0.7
23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/mail-filter/spamdyke/Manifest b/mail-filter/spamdyke/Manifest
index d07ccd147daa..b76f62f5f201 100644
--- a/mail-filter/spamdyke/Manifest
+++ b/mail-filter/spamdyke/Manifest
@@ -7,17 +7,19 @@ DIST spamdyke-3.1.4.tgz 259616 RMD160 ad764fe7ed1a18e3fe05cb43850fa021c4a22ca5 S
DIST spamdyke-3.1.6.tgz 263910 RMD160 66fecd7b9d481233f850c9adc53a798cfbbc6a71 SHA1 afcceab5624526c83aa382415ec74e4cca9c75aa SHA256 3abafc8243819ecacc5b6edee0c5a663efa65762bef7e6f7efa44c8740e221a0
DIST spamdyke-3.1.7.tgz 264474 RMD160 d2f0c7d3fbc6e5849d986904b97ef87862896267 SHA1 7ec009590a15f6498dc33308aa3c68afa45b73b3 SHA256 cbac61fac4fa9c67fe3ce953252b077fc9f673960d21e022fc0f4a68189de8f1
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
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
EBUILD spamdyke-3.1.7.ebuild 2165 RMD160 355bacd2e17a3e1be20f3dc905afedc299d170c6 SHA1 07a1e3d4edada1a06ca4f7561e9d8d0695cb65d5 SHA256 89e6d9e49ba04c61c155ac1da071ed335ab7182d04543ad904c22892acf85c18
EBUILD spamdyke-3.1.8.ebuild 2086 RMD160 2a7196287057de1b95163fde544689884dca3fb8 SHA1 594ef23fa5818908861cd9a3223bd8c97a6d68c3 SHA256 70dd0ebdf710a020442068c728e08814ce05baee9c45a35223c6abaf64684770
-MISC ChangeLog 1358 RMD160 0ea4c60e9963610de0404864b668818fd62d25e7 SHA1 3480b87e0140fa4e046db1d99e896e33e3d7e5fe SHA256 231555dda4f6262d25febd9071cafea0dfd348881a30789984267787eb170e99
+EBUILD spamdyke-4.0.7.ebuild 2215 RMD160 f4f4a55e43e07af7e5e838b4951d657c0f5e4b6a SHA1 0d363fa513508f86d648d24a599b57cc6f796ce3 SHA256 dc37b2819dff1427d0e79c6200babf82b6615876b8df5d78c5c1c3f480e2cf24
+MISC ChangeLog 1489 RMD160 4b17a1ff242ab433331283ad4dc027f04ab3b2a5 SHA1 0f260b65d8fae2198b3c689b170f99937a661d97 SHA256 d44f6addda002dc3d2c141119be68111657a31d45444e2f6d78ad6895a35c204
MISC metadata.xml 779 RMD160 9b025454580ef303ffa5acd0dcc5baaa1d323a6b SHA1 b5e1fa8bb45cb34876e3b6207d37efc0156a03a9 SHA256 99a5ee30cac08fd1556678c111df83f027e54c71a5dc0884887787d21a5fe17c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkivqE4ACgkQoeSe8B0zEfzN8QCfXlkCPExbrXKWTEhcNy2iD3++
-qqAAn0/2cDawpyplzq6b7QWPDU0SPqWB
-=/iph
+iEYEARECAAYFAkkKJxAACgkQmAYtPIR1e6RafgCbBnlZHOTIAQcIqUUL4ZqU+Zh7
+AJMAoMIOql0VGWQBMhWH++flRf1Pl1pb
+=Vjzb
-----END PGP SIGNATURE-----
diff --git a/mail-filter/spamdyke/spamdyke-4.0.7.ebuild b/mail-filter/spamdyke/spamdyke-4.0.7.ebuild
new file mode 100644
index 000000000000..1223866340b2
--- /dev/null
+++ b/mail-filter/spamdyke/spamdyke-4.0.7.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.7.ebuild,v 1.1 2008/10/30 21:28:34 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"
+}