diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-04 18:26:28 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-04 18:26:28 +0000 |
commit | 1e8a5acd1f0468dcb8b5047d9aaee8e590a3d03f (patch) | |
tree | 9a0f989ddef14ff24ecd1cc9d813dc1a7b6212f3 /mail-filter | |
parent | Drop superfluous elibtoolize call (bug #401983, thanks to Julian W.) (diff) | |
download | gentoo-2-1e8a5acd1f0468dcb8b5047d9aaee8e590a3d03f.tar.gz gentoo-2-1e8a5acd1f0468dcb8b5047d9aaee8e590a3d03f.tar.bz2 gentoo-2-1e8a5acd1f0468dcb8b5047d9aaee8e590a3d03f.zip |
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/mimedefang/ChangeLog | 9 | ||||
-rw-r--r-- | mail-filter/mimedefang/mimedefang-2.73.ebuild | 65 |
2 files changed, 72 insertions, 2 deletions
diff --git a/mail-filter/mimedefang/ChangeLog b/mail-filter/mimedefang/ChangeLog index d0f8644dce01..3d1479b4646d 100644 --- a/mail-filter/mimedefang/ChangeLog +++ b/mail-filter/mimedefang/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/mimedefang -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.10 2011/09/21 05:56:14 radhermit Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.11 2012/02/04 18:26:28 radhermit Exp $ + +*mimedefang-2.73 (04 Feb 2012) + + 04 Feb 2012; Tim Harder <radhermit@gentoo.org> +mimedefang-2.73.ebuild: + Version bump. 21 Sep 2011; Tim Harder <radhermit@gentoo.org> -mimedefang-2.64.ebuild, -mimedefang-2.67.ebuild: diff --git a/mail-filter/mimedefang/mimedefang-2.73.ebuild b/mail-filter/mimedefang/mimedefang-2.73.ebuild new file mode 100644 index 000000000000..7b2a7305888b --- /dev/null +++ b/mail-filter/mimedefang/mimedefang-2.73.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/mimedefang-2.73.ebuild,v 1.1 2012/02/04 18:26:28 radhermit Exp $ + +EAPI=4 + +inherit eutils + +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} + + dodir /var/log/mimedefang + keepdir /var/log/mimedefang + + newinitd "${FILESDIR}"/${PN}.init ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} + + docinto examples + dodoc examples/* +} |