summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail-filter/mimedefang/ChangeLog9
-rw-r--r--mail-filter/mimedefang/Manifest24
-rw-r--r--mail-filter/mimedefang/mimedefang-2.74.ebuild63
3 files changed, 80 insertions, 16 deletions
diff --git a/mail-filter/mimedefang/ChangeLog b/mail-filter/mimedefang/ChangeLog
index 57fd534ec50c..737e629c27e3 100644
--- a/mail-filter/mimedefang/ChangeLog
+++ b/mail-filter/mimedefang/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/mimedefang
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.16 2013/10/28 13:35:17 eras Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.17 2014/01/01 21:06:39 radhermit Exp $
+
+*mimedefang-2.74 (01 Jan 2014)
+
+ 01 Jan 2014; Tim Harder <radhermit@gentoo.org> +mimedefang-2.74.ebuild:
+ Version bump.
28 Oct 2013; Eray Aslan <eras@gentoo.org> -mimedefang-2.72.ebuild:
Remove old
diff --git a/mail-filter/mimedefang/Manifest b/mail-filter/mimedefang/Manifest
index 8202e540f830..dc6b9f29662a 100644
--- a/mail-filter/mimedefang/Manifest
+++ b/mail-filter/mimedefang/Manifest
@@ -5,23 +5,19 @@ AUX mimedefang-2.72-ldflags.patch 2458 SHA256 fe2d99437cab6ce2d47d5bb899a752cbed
AUX mimedefang.conf 4347 SHA256 77b0221f1ea81a14095bfe59d43cde61084de486815446734eb14fbf8b9690c0 SHA512 fb516748e87fd4e0e2b0db6acacd582aa878654d5062102debfda5d492c4bef192e1613a973ccb011cbd7c7f5246cec2e7ff98ef6caf5d9e25757a98965e8861 WHIRLPOOL f78dff3151d2c47f3e5b8df4ffd6739596fcdc2aa576a41d80a1b52c9ba0cd45d53eb98692124ef0339f921a0709a463b96eeda20ad1820d68f3b97f8a763691
AUX mimedefang.init 3458 SHA256 ae3a3b83917b01ff3d6f77e3cbea0edfae85b58af17f7c3f8f81b2f339713e26 SHA512 315ab8a8610b6c8623af1db6b794efe7b9fefbb3928f702c2d9e69fd70edff644c16045bc1ba82b8ea0a0e6ab6481b5cda5ee93c98c873ffd4b6e21c5ee15c4f WHIRLPOOL dbcddb69c87b37d59729acb81dd939f347e64424306abd37d8702aa84f7f49fa427b24452671e2a3cf7b6051b5877c3595f4774ce2e6a2831ba4f54ebe0c15c1
DIST mimedefang-2.73.tar.gz 356601 SHA256 88a0f294e517348b692b0e0f226b60f90fa94eb0e771e02ab716c8e50d8cf714 SHA512 c20ee35235107342d4bce5a95cca01fc6c45365bf270b11c2bfe44a614ec39bcdd2a7b71836a092d6df88519194dbb3e93e293144b740e95e9846ebe0302cf5e WHIRLPOOL 56339d0cdbc0ab33a4a8eb37847ef00169b0db865ea7847172ee485090639fa2e0fea2361e615902013e10c2b1efbf2679c286d5bc4e189d68ae3cce53a69abc
+DIST mimedefang-2.74.tar.gz 362500 SHA256 eb35d200d291cf7d456c644b94c9d4825ca2d0e345193539d63cd971adeb8605 SHA512 0168c4e664fcd2df7f08e4f7d110114d907f8f37d50986c89b33f5a575c87291574d0b5dff0197fb5666281f4fe1b67a61e8719a470bd01c5b7f2fc354f066b4 WHIRLPOOL 293580d3ae64752867a16fdaa01a0aee14a87d3a5d4888963cb657ebbc6d1737616cc289fd1eead16b42aa458bfb06a2e63914df041447d002af3e2a91218151
EBUILD mimedefang-2.73.ebuild 1595 SHA256 41dcfd4907036b2906d65459124c7f0b52a0ebc9268f89f0925572416b633757 SHA512 d0e3169c1e44e1977f46d9deecc73de53fec0f8bd788f2d23421093c31d607b4215d3124121b6f5907333848ddc0e431e3735740a554100a889b68089c7c50c1 WHIRLPOOL 6c7075c4326262070d425c4feb8356395ffc4010bada0cc5e087c6d526756c3daba282317266e05e2de38794c62624aaa1bb013d26c09d84b5227be46d284ed4
-MISC ChangeLog 2783 SHA256 075378030e0309d93313129acd947a3314e8bbc8c028d414f5e1bd28890f4164 SHA512 4d337ecf6e8dc574d4d43d6558afdc28725cdfa0705a8a938c08526f59a6b114fd1037a666eb4a16d08982bd32a5598fc48944816cdf3d0dea5410f4fea2274e WHIRLPOOL f0ba93396dd1852f5980508a2a9dbf9e8433a82eb7766a5d88d84b9812b0d1489fc0732820108e0c9ac99f58085db606931832b13ef5858c290e42fd4f83af4d
+EBUILD mimedefang-2.74.ebuild 1559 SHA256 53465b7be3e602780d8d8f354e62c7abfa56afef3394ae2e0942ebb499715bf8 SHA512 0cb3dd35f3dba11c230f8780a0ec01ce13a3cac9a6c598166a41193bc2827891623c1216497f428ae3711bb983c93bd537333028be97877a031372962b3ae11a WHIRLPOOL 599f0d05fc8cdf06c02078310f00e6fc0c39502c5ea6cad4c5499ad7f803f9a039f78c3694a9cd10169b542c8035df385b41beb613ac523e5cfe32f5e905575d
+MISC ChangeLog 2911 SHA256 01218618cdeefd7f769bb96fba5bd9429fdbb7fd6bc1c2d1aab934e51f88fd9a SHA512 d08b009f3af5054e7d8894da68fdb098c6136056a2b91851078821e2b254226f7902b8ca499ef8416159840c91a4f8b0bc3d11b16cb5c0c645ab8a39ddb22edd WHIRLPOOL 90920a29f8888536494ed8b4f3feb9d88871e0830825c706b911026eb431c7263e244b6d296be4dcd46352cbbec2512d38d96c70cedebff162091b66f3e19eb3
MISC metadata.xml 393 SHA256 b98a07f258b4e5fd28b10a4059520b2c92efd863614c9af4bfe154a0da81be12 SHA512 a09ddd1ef365b2bcbe594016f412c3eb2b9019d7f14a378660149bae969282c8b2c573c605b05bc9e779e332e83241b0d639a4cbff830153650bb5d4e6a2b0b5 WHIRLPOOL 842a25623f3b632b525adfb9ccba1343f2cbb0c72e0dbc0cc7d51b85fac93343f3ce4c93defc1d0cd2889f8b773dc9c9768df625983761581cc000757893b22b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQ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AHuCiY+2/E5cvfoBcBrpuZ
+1tc2JqA47sIHuPwvOqsy9TA3Xlv4SI4k2BlzU/dROtjiP6Xdr7Fz+EWwQxIHAtM=
+=1AJ9
-----END PGP SIGNATURE-----
diff --git a/mail-filter/mimedefang/mimedefang-2.74.ebuild b/mail-filter/mimedefang/mimedefang-2.74.ebuild
new file mode 100644
index 000000000000..5ac8b2b78fd7
--- /dev/null
+++ b/mail-filter/mimedefang/mimedefang-2.74.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/mimedefang-2.74.ebuild,v 1.1 2014/01/01 21:06:39 radhermit Exp $
+
+EAPI=4
+
+inherit eutils user
+
+DESCRIPTION="Antispam, antivirus and other customizable filtering for MTAs with Milter support"
+HOMEPAGE="http://www.mimedefang.org/"
+SRC_URI="http://www.mimedefang.org/static/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="clamav +poll"
+
+DEPEND=">=dev-perl/MIME-tools-5.412
+ dev-perl/IO-stringy
+ virtual/perl-MIME-Base64
+ dev-perl/Digest-SHA1
+ clamav? ( app-antivirus/clamav )
+ || ( mail-filter/libmilter mail-mta/sendmail )"
+RDEPEND="${DEPEND}"
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup defang
+ enewuser defang -1 -1 -1 defang
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.72-ldflags.patch
+}
+
+src_configure() {
+ econf \
+ --with-user=defang \
+ $(use_enable poll) \
+ $(use_enable clamav) \
+ $(use_enable clamav clamd)
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_STRIP_FLAG="" install
+
+ fowners defang:defang /etc/mail/mimedefang-filter
+ fperms 644 /etc/mail/mimedefang-filter
+ insinto /etc/mail/
+ insopts -m 644
+ newins "${S}"/SpamAssassin/spamassassin.cf sa-mimedefang.cf
+
+ keepdir /var/spool/{MD-Quarantine,MIMEDefang}
+ fowners defang:defang /var/spool/{MD-Quarantine,MIMEDefang}
+ fperms 700 /var/spool/{MD-Quarantine,MIMEDefang}
+
+ keepdir /var/log/mimedefang
+
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf ${PN}
+
+ dodoc -r examples
+}