1 |
commit: f34b629ac3cba131ba9ea1f924d7b4c85c3b17ea |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 11 20:49:04 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 11 21:18:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34b629a |
7 |
|
8 |
mail-filter/mimedefang: drop old version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781308 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
mail-filter/mimedefang/mimedefang-2.84.ebuild | 75 --------------------------- |
15 |
1 file changed, 75 deletions(-) |
16 |
|
17 |
diff --git a/mail-filter/mimedefang/mimedefang-2.84.ebuild b/mail-filter/mimedefang/mimedefang-2.84.ebuild |
18 |
deleted file mode 100644 |
19 |
index f927bb3e5b4..00000000000 |
20 |
--- a/mail-filter/mimedefang/mimedefang-2.84.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,75 +0,0 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-inherit user |
29 |
- |
30 |
-DESCRIPTION="Antispam, antivirus and other customizable filters for MTAs with Milter support" |
31 |
-HOMEPAGE="http://www.mimedefang.org/" |
32 |
-SRC_URI="http://www.mimedefang.org/static/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2+" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="clamav +poll test" |
38 |
-RESTRICT="!test? ( test )" |
39 |
- |
40 |
-RDEPEND=">=dev-perl/MIME-tools-5.412 |
41 |
- dev-perl/IO-stringy |
42 |
- virtual/perl-MIME-Base64 |
43 |
- dev-perl/Digest-SHA1 |
44 |
- dev-perl/MailTools |
45 |
- dev-perl/Unix-Syslog |
46 |
- clamav? ( app-antivirus/clamav ) |
47 |
- || ( mail-filter/libmilter mail-mta/sendmail )" |
48 |
-DEPEND="${RDEPEND} |
49 |
- test? ( |
50 |
- dev-perl/Test-Class |
51 |
- dev-perl/Test-Most |
52 |
- )" |
53 |
- |
54 |
-pkg_setup() { |
55 |
- enewgroup defang |
56 |
- enewuser defang -1 -1 -1 defang |
57 |
-} |
58 |
- |
59 |
-src_prepare() { |
60 |
- eapply "${FILESDIR}/${PN}-2.72-ldflags.patch" |
61 |
- eapply "${FILESDIR}/${PN}-tests.patch" |
62 |
- eapply_user |
63 |
-} |
64 |
- |
65 |
-src_configure() { |
66 |
- econf \ |
67 |
- --with-user=defang \ |
68 |
- $(use_enable poll) \ |
69 |
- $(use_enable clamav) \ |
70 |
- $(use_enable clamav clamd) |
71 |
-} |
72 |
- |
73 |
-src_install() { |
74 |
- emake DESTDIR="${D}" INSTALL_STRIP_FLAG="" install |
75 |
- |
76 |
- fowners defang:defang /etc/mail/mimedefang-filter |
77 |
- fperms 644 /etc/mail/mimedefang-filter |
78 |
- insinto /etc/mail/ |
79 |
- newins "${S}"/SpamAssassin/spamassassin.cf sa-mimedefang.cf |
80 |
- |
81 |
- keepdir /var/spool/{MD-Quarantine,MIMEDefang} |
82 |
- fowners defang:defang /var/spool/{MD-Quarantine,MIMEDefang} |
83 |
- fperms 700 /var/spool/{MD-Quarantine,MIMEDefang} |
84 |
- |
85 |
- keepdir /var/log/mimedefang |
86 |
- |
87 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
88 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
89 |
- |
90 |
- dodoc -r examples contrib |
91 |
-} |
92 |
- |
93 |
-pkg_postinst() { |
94 |
- elog "You can install Mail::SpamAssassin (mail-filter/spamassassin) and" |
95 |
- elog "HTML::Parser (dev-perl/HTML-Parser) even after installing if you require" |
96 |
- elog "them as they are loaded at run-time." |
97 |
-} |