Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendmarc/
Date: Tue, 28 Apr 2020 05:57:25
Message-Id: 1588053422.eae0fa1836faa9f2224b7f926f575d35c1d9ecda.grobian@gentoo
1 commit: eae0fa1836faa9f2224b7f926f575d35c1d9ecda
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 28 05:57:02 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 05:57:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae0fa18
7
8 mail-filter/opendmarc: cleanup, bug #694968
9
10 Bug: https://bugs.gentoo.org/694968
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 mail-filter/opendmarc/Manifest | 1 -
15 mail-filter/opendmarc/opendmarc-1.1.3.ebuild | 29 -----------
16 mail-filter/opendmarc/opendmarc-1.3.2-r1.ebuild | 63 -----------------------
17 mail-filter/opendmarc/opendmarc-1.3.2-r2.ebuild | 66 -------------------------
18 4 files changed, 159 deletions(-)
19
20 diff --git a/mail-filter/opendmarc/Manifest b/mail-filter/opendmarc/Manifest
21 index 7769c4748e3..fab6b479efb 100644
22 --- a/mail-filter/opendmarc/Manifest
23 +++ b/mail-filter/opendmarc/Manifest
24 @@ -1,2 +1 @@
25 -DIST opendmarc-1.1.3.tar.gz 586574 BLAKE2B a5574aa705db6e5b87a704f3073039d667c9052d1ec907ca9423532f62d52cbdaf7af1680a2179198616f27786940650492ad39c4fdb668c27c5979804471eea SHA512 30de56b6da1665e0ed68484702bfcfcbd0b65275053818c807c16dea26f0e014a0484dc9d5ed6d1405628ea22a61082f13cecf66714a414139f612c51a294086
26 DIST opendmarc-1.3.2.tar.gz 593448 BLAKE2B 80f47a82e38c6cdc5791a695485262c50e9363b81537a52d7af204bd6a830df6eea9e9b6f710b72b7934c3ab7df800def7d4b3e54f53b8908a7f1b42bcea2b2d SHA512 6045fb7d2be8f0ffdeca07324857d92908a41c6792749017c2fcc1058f05f55317b1919c67c780827dd7094ec8fff2e1fa4aeb5bab7ff7461537957af2652748
27
28 diff --git a/mail-filter/opendmarc/opendmarc-1.1.3.ebuild b/mail-filter/opendmarc/opendmarc-1.1.3.ebuild
29 deleted file mode 100644
30 index 63923f17a6d..00000000000
31 --- a/mail-filter/opendmarc/opendmarc-1.1.3.ebuild
32 +++ /dev/null
33 @@ -1,29 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
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 hppa ~ia64 ppc ppc64 sparc x86"
46 -IUSE=""
47 -
48 -DEPEND="dev-perl/DBI
49 - || ( mail-filter/libmilter mail-mta/sendmail )"
50 -RDEPEND="${DEPEND}
51 - dev-perl/Switch"
52 -
53 -src_prepare() {
54 - # fix building with newer glibc, already fixed in later releases, #640012
55 - sed -i -e 's/T_RRSIG/disabled_T_RRSIG/' libopendmarc/opendmarc_dns.c || die
56 -}
57 -
58 -src_configure() {
59 - econf \
60 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
61 - --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
62 -}
63
64 diff --git a/mail-filter/opendmarc/opendmarc-1.3.2-r1.ebuild b/mail-filter/opendmarc/opendmarc-1.3.2-r1.ebuild
65 deleted file mode 100644
66 index 35988944a84..00000000000
67 --- a/mail-filter/opendmarc/opendmarc-1.3.2-r1.ebuild
68 +++ /dev/null
69 @@ -1,63 +0,0 @@
70 -# Copyright 1999-2020 Gentoo Authors
71 -# Distributed under the terms of the GNU General Public License v2
72 -
73 -EAPI=6
74 -
75 -inherit user systemd
76 -
77 -DESCRIPTION="Open source DMARC implementation "
78 -HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
79 -SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz"
80 -
81 -LICENSE="BSD"
82 -SLOT="0"
83 -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~x86"
84 -IUSE="spf +reports"
85 -
86 -DEPEND="reports? ( dev-perl/DBI )
87 - || ( mail-filter/libmilter mail-mta/sendmail )"
88 -RDEPEND="${DEPEND}
89 - reports? (
90 - dev-perl/DBD-mysql
91 - dev-perl/HTTP-Message
92 - dev-perl/Switch
93 - )
94 - spf? ( mail-filter/libspf2 )"
95 -
96 -pkg_setup() {
97 - enewgroup milter
98 - enewuser milter -1 -1 /var/lib/milter milter
99 -}
100 -
101 -src_prepare() {
102 - default
103 - if use !reports ; then
104 - sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die
105 - fi
106 -}
107 -
108 -src_configure() {
109 - econf \
110 - $(use_with spf) \
111 - $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \
112 - $(use_with spf spf2-lib "${EPREFIX}"/usr/lib)
113 -}
114 -
115 -src_install() {
116 - default
117 -
118 - newinitd "${FILESDIR}"/opendmarc.initd opendmarc
119 - newconfd "${FILESDIR}"/opendmarc.confd opendmarc
120 - systemd_dounit "${FILESDIR}/${PN}.service"
121 -
122 - dodir /etc/opendmarc
123 -
124 - # create config file
125 - sed \
126 - -e 's:^# UserID .*$:UserID milter:' \
127 - -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \
128 - -e '/^# Socket /s:^# ::' \
129 - "${S}"/opendmarc/opendmarc.conf.sample \
130 - > "${ED}"/etc/opendmarc/opendmarc.conf \
131 - || die
132 -}
133
134 diff --git a/mail-filter/opendmarc/opendmarc-1.3.2-r2.ebuild b/mail-filter/opendmarc/opendmarc-1.3.2-r2.ebuild
135 deleted file mode 100644
136 index 031cb5289f5..00000000000
137 --- a/mail-filter/opendmarc/opendmarc-1.3.2-r2.ebuild
138 +++ /dev/null
139 @@ -1,66 +0,0 @@
140 -# Copyright 1999-2020 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=6
144 -
145 -inherit user multilib systemd
146 -
147 -DESCRIPTION="Open source DMARC implementation "
148 -HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
149 -SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz"
150 -
151 -LICENSE="BSD"
152 -SLOT="0"
153 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86"
154 -IUSE="spf +reports static-libs"
155 -
156 -DEPEND="reports? ( dev-perl/DBI )
157 - || ( mail-filter/libmilter mail-mta/sendmail )"
158 -RDEPEND="${DEPEND}
159 - reports? (
160 - dev-perl/DBD-mysql
161 - dev-perl/HTTP-Message
162 - dev-perl/Switch
163 - )
164 - spf? ( mail-filter/libspf2 )"
165 -
166 -pkg_setup() {
167 - enewgroup milter
168 - enewuser milter -1 -1 /var/lib/milter milter
169 -}
170 -
171 -src_prepare() {
172 - default
173 - if use !reports ; then
174 - sed -i -e '/^SUBDIRS =/s/reports//' Makefile.in || die
175 - fi
176 -}
177 -
178 -src_configure() {
179 - econf \
180 - $(use_with spf) \
181 - $(use_with spf spf2-include "${EPREFIX}"/usr/include/spf2) \
182 - $(use_with spf spf2-lib "${EPREFIX}"/usr/$(get_libdir)) \
183 - $(use_enable static-libs static)
184 -}
185 -
186 -src_install() {
187 - default
188 -
189 - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.la
190 -
191 - newinitd "${FILESDIR}"/opendmarc.initd opendmarc
192 - newconfd "${FILESDIR}"/opendmarc.confd opendmarc
193 - systemd_dounit "${FILESDIR}/${PN}.service"
194 -
195 - dodir /etc/opendmarc
196 -
197 - # create config file
198 - sed \
199 - -e 's:^# UserID .*$:UserID milter:' \
200 - -e "s:^# PidFile .*:PidFile ${EPREFIX}/var/run/opendmarc/opendmarc.pid:" \
201 - -e '/^# Socket /s:^# ::' \
202 - "${S}"/opendmarc/opendmarc.conf.sample \
203 - > "${ED}"/etc/opendmarc/opendmarc.conf \
204 - || die
205 -}