1 |
commit: 4940211893ecb31cf4057477e01cb28e391be129 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 16 21:53:34 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 21:53:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49402118 |
7 |
|
8 |
mail-filter/mapson: bump to 3.3.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
mail-filter/mapson/Manifest | 1 + |
14 |
mail-filter/mapson/mapson-3.3.1.ebuild | 53 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/mail-filter/mapson/Manifest b/mail-filter/mapson/Manifest |
18 |
index 77ada6c52e0..0bbcc99dc50 100644 |
19 |
--- a/mail-filter/mapson/Manifest |
20 |
+++ b/mail-filter/mapson/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST mapson-3.3.1.tar.gz 553101 BLAKE2B 5100029e4b650b63cf868de48d9c709ac9fa8dcf773adb9ab70061756604116d69a20421d96ca769e19047efbe806cfc63432269cc83133f7f7f54f71b627d45 SHA512 07ecfdd2f9857a8b3818d065e4c342fda5089b77074ea153f9a380fe655716a214ff06f79eebe768b2470724e11a6ee819c1e457a47670c07537d6fd226dc1db |
23 |
DIST mapson-3.3.tar.gz 421820 BLAKE2B e12c358113452a426cd5b55b945b77a303b595362064f6c84fe8bd8799502dd72872ca46cf54ce04022c3d27be52a849e337ae149521ce6ca35e990be73c1e98 SHA512 208d3b21d59689465a5c46619a53b3342c3ca96575d681b9ad01b1b6ffa05f05f56ab6e7ae38a8b2161e3f8d42b90b559baf8ff9db4ab4c83238d7adcb645fd0 |
24 |
|
25 |
diff --git a/mail-filter/mapson/mapson-3.3.1.ebuild b/mail-filter/mapson/mapson-3.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4735517e167 |
28 |
--- /dev/null |
29 |
+++ b/mail-filter/mapson/mapson-3.3.1.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="A challenge/response-based white-list spam filter" |
39 |
+HOMEPAGE="http://mapson.sourceforge.net/" |
40 |
+SRC_URI="mirror://sourceforge/mapson/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86" |
45 |
+IUSE="debug" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ acct-user/mail |
49 |
+ virtual/mta |
50 |
+" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${PN}-3.3-respect-AR.patch |
55 |
+) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ econf $(use_with debug) |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ emake DESTDIR="${ED}" install |
68 |
+ |
69 |
+ dodoc AUTHORS INSTALL NEWS README |
70 |
+ doman doc/mapson.1 |
71 |
+ |
72 |
+ docinto html |
73 |
+ dodoc doc/mapson.html |
74 |
+ |
75 |
+ insinto /etc/mapson |
76 |
+ newins sample-config mapson.config |
77 |
+ |
78 |
+ insinto /usr/share/mapson |
79 |
+ newins sample-challenge-template challenge-template |
80 |
+ |
81 |
+ rm -f "${ED}"/etc/sample-config || die |
82 |
+ rm -f "${ED}"/usr/share/{mapson.html,sample-challenge-template} || die |
83 |
+} |