diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-21 05:55:34 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-21 05:55:34 +0000 |
commit | 178fb9c7431f9402bd3ce34f01ed3441f6e67300 (patch) | |
tree | 306d7f49a4f0a86fef0f51b88ba70aecd515ee39 /mail-filter/mimedefang | |
parent | Version bump. Add workaround for failing tests (bug #333319). (diff) | |
download | gentoo-2-178fb9c7431f9402bd3ce34f01ed3441f6e67300.tar.gz gentoo-2-178fb9c7431f9402bd3ce34f01ed3441f6e67300.tar.bz2 gentoo-2-178fb9c7431f9402bd3ce34f01ed3441f6e67300.zip |
Version bump. Remove redundant metadata info.
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/mimedefang')
-rw-r--r-- | mail-filter/mimedefang/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch | 38 | ||||
-rw-r--r-- | mail-filter/mimedefang/metadata.xml | 1 | ||||
-rw-r--r-- | mail-filter/mimedefang/mimedefang-2.72.ebuild | 65 |
4 files changed, 110 insertions, 2 deletions
diff --git a/mail-filter/mimedefang/ChangeLog b/mail-filter/mimedefang/ChangeLog index 20692258f199..263304d4c8c8 100644 --- a/mail-filter/mimedefang/ChangeLog +++ b/mail-filter/mimedefang/ChangeLog @@ -1,6 +1,12 @@ # 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.8 2011/06/16 05:52:57 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/ChangeLog,v 1.9 2011/09/21 05:55:34 radhermit Exp $ + +*mimedefang-2.72 (21 Sep 2011) + + 21 Sep 2011; Tim Harder <radhermit@gentoo.org> +mimedefang-2.72.ebuild, + +files/mimedefang-2.72-ldflags.patch, metadata.xml: + Version bump. Remove redundant metadata info. 16 Jun 2011; Eray Aslan <eras@gentoo.org> mimedefang-2.71.ebuild: Fix unconditional DEPEND on postfix - bug #371853 diff --git a/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch b/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch new file mode 100644 index 000000000000..998b3183e661 --- /dev/null +++ b/mail-filter/mimedefang/files/mimedefang-2.72-ldflags.patch @@ -0,0 +1,38 @@ +--- mimedefang-2.72/Makefile.in.orig ++++ mimedefang-2.72/Makefile.in +@@ -52,7 +52,7 @@ + all: mimedefang mimedefang-multiplexor md-mx-ctrl pod2man + + mimedefang-multiplexor: mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o notifier.o syslog-fac.o utils.o $(EMBPERLOBJS) +- $(CC) $(CFLAGS) -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o $(EMBPERLOBJS) $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs_nothread.o syslog-fac.o notifier.o utils.o $(EMBPERLOBJS) $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS) + + embperl.o: embperl.c + $(CC) $(CFLAGS) $(EMBPERLCFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o embperl.o $(srcdir)/embperl.c +@@ -67,7 +67,7 @@ + $(CC) $(CFLAGS) $(EMBPERLCFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o test-embed-perl.o $(srcdir)/test-embed-perl.c + + te: test-embed-perl.o +- $(CC) $(CFLAGS) -o te test-embed-perl.o $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o te test-embed-perl.o $(LIBS_WITHOUT_PTHREAD) $(EMBPERLLDFLAGS) $(EMBPERLLIBS) + rm_r.o: rm_r.c + $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o rm_r.o $(srcdir)/rm_r.c + +@@ -75,7 +75,7 @@ + $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o syslog-fac.o $(srcdir)/syslog-fac.c + + md-mx-ctrl: md-mx-ctrl.o +- $(CC) $(CFLAGS) -o md-mx-ctrl md-mx-ctrl.o $(LIBS_WITHOUT_PTHREAD) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o md-mx-ctrl md-mx-ctrl.o $(LIBS_WITHOUT_PTHREAD) + + md-mx-ctrl.o: md-mx-ctrl.c + $(CC) $(CFLAGS) $(DEFS) $(MINCLUDE) -c -o md-mx-ctrl.o $(srcdir)/md-mx-ctrl.c +@@ -99,7 +99,7 @@ + $(CC) $(CFLAGS) $(DEFS) $(MINCLUDE) -c -o mimedefang-multiplexor.o $(srcdir)/mimedefang-multiplexor.c + + mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o +- $(CC) $(CFLAGS) $(PTHREAD_FLAG) -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o $(LDFLAGS) -lmilter $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(PTHREAD_FLAG) -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o syslog-fac.o dynbuf.o milter_cap.o gen_id.o $(LDFLAGS) -lmilter $(LIBS) + + mimedefang.o: mimedefang.c mimedefang.h + $(CC) $(CFLAGS) $(PTHREAD_FLAG) $(DEFS) $(MINCLUDE) -c -o mimedefang.o $(srcdir)/mimedefang.c diff --git a/mail-filter/mimedefang/metadata.xml b/mail-filter/mimedefang/metadata.xml index 6ada641e57c2..c38fa00ff26e 100644 --- a/mail-filter/mimedefang/metadata.xml +++ b/mail-filter/mimedefang/metadata.xml @@ -2,7 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <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> diff --git a/mail-filter/mimedefang/mimedefang-2.72.ebuild b/mail-filter/mimedefang/mimedefang-2.72.ebuild new file mode 100644 index 000000000000..b9291bc62c47 --- /dev/null +++ b/mail-filter/mimedefang/mimedefang-2.72.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/mimedefang/mimedefang-2.72.ebuild,v 1.1 2011/09/21 05:55:34 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}"/${P}-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/* +} |