diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-08-22 23:45:11 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-08-22 23:45:11 +0000 |
commit | c414bee918281e524b9ac3d2f12a3ae5d9341b7f (patch) | |
tree | 81e89bfd9bc7dc5ea51de8c9d55ac8642e498c62 /mail-filter/mimedefang | |
parent | Updated einfo, icon, and desktop file; more testing with gpsd and osm. (diff) | |
download | gentoo-2-c414bee918281e524b9ac3d2f12a3ae5d9341b7f.tar.gz gentoo-2-c414bee918281e524b9ac3d2f12a3ae5d9341b7f.tar.bz2 gentoo-2-c414bee918281e524b9ac3d2f12a3ae5d9341b7f.zip |
Use shared libmilter library (#245950). Add epoll USE flag.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/mimedefang')
-rw-r--r-- | mail-filter/mimedefang/ChangeLog | 10 | ||||
-rw-r--r-- | mail-filter/mimedefang/metadata.xml | 4 | ||||
-rw-r--r-- | mail-filter/mimedefang/mimedefang-2.67.ebuild | 56 |
3 files changed, 68 insertions, 2 deletions
diff --git a/mail-filter/mimedefang/ChangeLog b/mail-filter/mimedefang/ChangeLog index b9d3c936e934..fff298099171 100644 --- a/mail-filter/mimedefang/ChangeLog +++ b/mail-filter/mimedefang/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/mimedefang -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.5 2008/03/20 16:28:41 tove Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.6 2009/08/22 23:45:11 mrness Exp $ + +*mimedefang-2.67 (22 Aug 2009) + + 22 Aug 2009; Alin Năstac <mrness@gentoo.org> metadata.xml, + +mimedefang-2.67.ebuild: + Use shared libmilter library (#245950). Add epoll USE flag. 20 Mar 2008; Torsten Veller <tove@gentoo.org> -mimedefang-2.57.ebuild, mimedefang-2.64.ebuild: diff --git a/mail-filter/mimedefang/metadata.xml b/mail-filter/mimedefang/metadata.xml index dda87916e233..6ada641e57c2 100644 --- a/mail-filter/mimedefang/metadata.xml +++ b/mail-filter/mimedefang/metadata.xml @@ -3,4 +3,8 @@ <pkgmetadata> <herd>net-mail</herd> <maintainer><email>net-mail@gentoo.org</email></maintainer> +<longdescription>A program for Milter supported mail servers that implements antispam, antivirus and other customizable filtering on email messages</longdescription> +<use> + <flag name='poll'>Use poll instead of select</flag> +</use> </pkgmetadata> diff --git a/mail-filter/mimedefang/mimedefang-2.67.ebuild b/mail-filter/mimedefang/mimedefang-2.67.ebuild new file mode 100644 index 000000000000..ed637a05ceba --- /dev/null +++ b/mail-filter/mimedefang/mimedefang-2.67.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/mimedefang-2.67.ebuild,v 1.1 2009/08/22 23:45:11 mrness Exp $ + +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 + virtual/perl-MIME-Base64 + dev-perl/Digest-SHA1 + clamav? ( app-antivirus/clamav ) + !<mail-mta/postfix-2.4 + || ( mail-filter/libmilter mail-mta/sendmail )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup defang + enewuser defang -1 -1 -1 defang +} + +src_compile() { + econf $(use_enable poll) \ + $(use_enable clamav) $(use_enable clamav clamd) || die "econf failed" + emake unstripped || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + 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/* +} |