1 |
commit: 5e77557d288da65ec44b45c9fa33c5a778e9cf55 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 29 07:24:12 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 29 07:24:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e77557d |
7 |
|
8 |
mail-filter/opendmarc: version bump, add dep on HTTP-Message, bug #614174 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
mail-filter/opendmarc/Manifest | 1 + |
13 |
mail-filter/opendmarc/opendmarc-1.3.2.ebuild | 54 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/mail-filter/opendmarc/Manifest b/mail-filter/opendmarc/Manifest |
17 |
index c05ad3bd58c..ea905278aa6 100644 |
18 |
--- a/mail-filter/opendmarc/Manifest |
19 |
+++ b/mail-filter/opendmarc/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST opendmarc-1.1.3.tar.gz 586574 SHA256 4f9511ebd8cefb6e5a4d836f6285a1b6e4d682daec79fdba9fc7925b5f4fcfca SHA512 30de56b6da1665e0ed68484702bfcfcbd0b65275053818c807c16dea26f0e014a0484dc9d5ed6d1405628ea22a61082f13cecf66714a414139f612c51a294086 WHIRLPOOL 7364dfd213fb05f1d58eecb940a95eb1328b78204c0a12a341a0a6cdf48aa8c638b0e4e4ed0c7fa51e72fb11ab68da386050124741a8215c4aec788b7da0d8b2 |
22 |
DIST opendmarc-1.3.0.tar.gz 640017 SHA256 43547c5bcd440e1a50109063ba1d07bd5b1b9af89f7491e063fe0788a1af13e8 SHA512 c685cae0e02a72b797f24a28b9965f8745f165a3ce3a8f3f2e0167ebf6121e92389990870271204ca02b06703f4ad98c6d343345478040f7fc4013b1ce331b03 WHIRLPOOL 80d9720c1e52c4d9d7f35a89d58075108b5011f0c4fdafc24733a648eb926c0373f617e3cdb76bc1ea19ff8074d4b63425fb06129849ec521f861d28cea83295 |
23 |
DIST opendmarc-1.3.1.tar.gz 640151 SHA256 a0c0cf74de68454cbdce16a3095b96e70fc16614325052ea230878d1ca64da6b SHA512 0be11540bc26bd3b3e6cc9817bc379a5d290b63ef16c5d3559bf96b241ad6628bea7a9daeb468afac855bc16be16676f722b3c1d468ea82c8d8364e8a8137226 WHIRLPOOL 2a892d1dbe46ec9fb3fd5aad3b5f38046c9f4be6a5ee6dcdf4e0f03cd09b663243844010db0d328fef361a0615284256ba649714a79ecc9970797aa01101631d |
24 |
+DIST opendmarc-1.3.2.tar.gz 593448 SHA256 213c4b01a9ff5dcdf331f7bd1dd6a382077abbf8ee9111852f2101ec917c2ffb SHA512 6045fb7d2be8f0ffdeca07324857d92908a41c6792749017c2fcc1058f05f55317b1919c67c780827dd7094ec8fff2e1fa4aeb5bab7ff7461537957af2652748 WHIRLPOOL b94ff550815ef2a0e377d60f7226f79cbb35b889a1685a4fa0087bfb6e8b132cae87a7448b7bf6bade82f5b711d5020c22d85eae55a15ace4e8ea5ada83d2712 |
25 |
|
26 |
diff --git a/mail-filter/opendmarc/opendmarc-1.3.2.ebuild b/mail-filter/opendmarc/opendmarc-1.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0e47fc1dc99 |
29 |
--- /dev/null |
30 |
+++ b/mail-filter/opendmarc/opendmarc-1.3.2.ebuild |
31 |
@@ -0,0 +1,54 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit user |
38 |
+ |
39 |
+DESCRIPTION="Open source DMARC implementation " |
40 |
+HOMEPAGE="http://www.trusteddomain.org/opendmarc/" |
41 |
+SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~x86 ~x86-fbsd" |
46 |
+IUSE="spf" |
47 |
+ |
48 |
+DEPEND="dev-perl/DBI |
49 |
+ || ( mail-filter/libmilter mail-mta/sendmail )" |
50 |
+RDEPEND="${DEPEND} |
51 |
+ dev-perl/HTTP-Message |
52 |
+ dev-perl/Switch |
53 |
+ spf? ( mail-filter/libspf2 )" |
54 |
+ |
55 |
+pkg_setup() { |
56 |
+ enewgroup milter |
57 |
+ enewuser milter -1 -1 /var/lib/milter milter |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ econf \ |
62 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
63 |
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
64 |
+ $(use_with spf) |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ default |
69 |
+ |
70 |
+ newinitd "${FILESDIR}"/opendmarc.initd opendmarc |
71 |
+ newconfd "${FILESDIR}"/opendmarc.confd opendmarc |
72 |
+ |
73 |
+ dodir /etc/opendmarc |
74 |
+ dodir /var/run/opendmarc |
75 |
+ fowners milter:milter /var/run/opendmarc |
76 |
+ |
77 |
+ # create config file |
78 |
+ sed \ |
79 |
+ -e 's:^# UserID .*$:UserID milter:' \ |
80 |
+ -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \ |
81 |
+ -e '/^# Socket /s:^# ::' \ |
82 |
+ "${S}"/opendmarc/opendmarc.conf.sample \ |
83 |
+ > "${ED}"/etc/opendmarc/opendmarc.conf \ |
84 |
+ || die |
85 |
+} |