Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/netqmail/
Date: Fri, 04 Oct 2019 04:38:34
Message-Id: 1570163881.f1bbdec070723bd8f9e2d52bb4d788ab26ebe839.juippis@gentoo
1 commit: f1bbdec070723bd8f9e2d52bb4d788ab26ebe839
2 Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
3 AuthorDate: Tue Oct 1 17:28:21 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 4 04:38:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bbdec0
7
8 mail-mta/netqmail: clean old
9
10 Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
11 Closes: https://github.com/gentoo/gentoo/pull/13118
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 mail-mta/netqmail/netqmail-1.06-r2.ebuild | 176 ---------------------------
15 mail-mta/netqmail/netqmail-1.06-r6.ebuild | 195 ------------------------------
16 2 files changed, 371 deletions(-)
17
18 diff --git a/mail-mta/netqmail/netqmail-1.06-r2.ebuild b/mail-mta/netqmail/netqmail-1.06-r2.ebuild
19 deleted file mode 100644
20 index d0a6074fd8f..00000000000
21 --- a/mail-mta/netqmail/netqmail-1.06-r2.ebuild
22 +++ /dev/null
23 @@ -1,176 +0,0 @@
24 -# Copyright 1999-2019 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=5
28 -
29 -GENQMAIL_PV=20080406
30 -QMAIL_SPP_PV=0.42
31 -
32 -QMAIL_TLS_PV=20070417
33 -QMAIL_TLS_F=${PN}-1.05-tls-smtpauth-${QMAIL_TLS_PV}.patch
34 -QMAIL_TLS_CVE=vu555316.patch
35 -
36 -QMAIL_BIGTODO_PV=103
37 -QMAIL_BIGTODO_F=big-todo.${QMAIL_BIGTODO_PV}.patch
38 -
39 -QMAIL_LARGE_DNS='qmail-103.patch'
40 -
41 -inherit eutils qmail
42 -
43 -DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent"
44 -HOMEPAGE="
45 - http://netqmail.org
46 - https://cr.yp.to/qmail.html
47 - http://qmail.org
48 -"
49 -SRC_URI="mirror://qmail/${P}.tar.gz
50 - https://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}
51 - https://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS}
52 - http://inoa.net/qmail-tls/${QMAIL_TLS_CVE}
53 - !vanilla? (
54 - highvolume? ( mirror://qmail/${QMAIL_BIGTODO_F} )
55 - qmail-spp? ( mirror://sourceforge/qmail-spp/${QMAIL_SPP_F} )
56 - ssl? ( http://shupp.org/patches/${QMAIL_TLS_F} )
57 - )
58 -"
59 -
60 -LICENSE="public-domain"
61 -SLOT="0"
62 -KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86"
63 -IUSE="authcram gencertdaily highvolume qmail-spp ssl vanilla"
64 -REQUIRED_USE='vanilla? ( !ssl !qmail-spp !highvolume )'
65 -RESTRICT="test"
66 -
67 -DEPEND="
68 - !mail-mta/qmail
69 - acct-group/nofiles
70 - acct-group/qmail
71 - acct-user/alias
72 - acct-user/qmaild
73 - acct-user/qmaill
74 - acct-user/qmailp
75 - acct-user/qmailq
76 - acct-user/qmailr
77 - acct-user/qmails
78 - net-mail/queue-repair
79 - ssl? ( dev-libs/openssl:0= )
80 - sys-apps/groff
81 -"
82 -RDEPEND="
83 - !mail-mta/courier
84 - !mail-mta/esmtp
85 - !mail-mta/exim
86 - !mail-mta/mini-qmail
87 - !mail-mta/msmtp[mta]
88 - !mail-mta/nullmailer
89 - !mail-mta/postfix
90 - !mail-mta/qmail-ldap
91 - !mail-mta/sendmail
92 - !<mail-mta/ssmtp-2.64-r2
93 - !>=mail-mta/ssmtp-2.64-r2[mta]
94 - >=sys-apps/ucspi-tcp-0.88-r17
95 - ssl? ( >=sys-apps/ucspi-ssl-0.70-r1 )
96 - virtual/daemontools
97 - >=net-mail/dot-forward-0.71-r3
98 - virtual/checkpassword
99 - authcram? ( >=net-mail/cmd5checkpw-0.30 )
100 - ${DEPEND}
101 -"
102 -
103 -pkg_setup() {
104 - if [[ -n "${QMAIL_PATCH_DIR}" ]]; then
105 - eerror
106 - eerror "The QMAIL_PATCH_DIR variable for custom patches"
107 - eerror "has been removed from ${PN}. If you need custom patches"
108 - eerror "you should create a copy of this ebuild in an overlay."
109 - eerror
110 - die "QMAIL_PATCH_DIR is not supported anymore"
111 - fi
112 -}
113 -
114 -src_unpack() {
115 - genqmail_src_unpack
116 - use qmail-spp && qmail_spp_src_unpack
117 -
118 - unpack ${P}.tar.gz
119 -}
120 -
121 -src_prepare() {
122 - epatch "${FILESDIR}"/${PV}-exit.patch
123 - epatch "${FILESDIR}"/${PV}-readwrite.patch
124 - epatch "${DISTDIR}"/${QMAIL_LARGE_DNS}
125 - epatch "${FILESDIR}"/${PV}-fbsd-utmpx.patch
126 -
127 - ht_fix_file Makefile*
128 -
129 - if ! use vanilla; then
130 - # This patch contains relative paths and needs to be cleaned up.
131 - sed 's~^--- ../../~--- ~g' \
132 - <"${DISTDIR}"/${QMAIL_TLS_F} \
133 - >"${T}"/${QMAIL_TLS_F}
134 - use ssl && epatch "${T}"/${QMAIL_TLS_F}
135 - use ssl && epatch "${DISTDIR}"/${QMAIL_TLS_CVE}
136 - use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F}
137 -
138 - if use qmail-spp; then
139 - if use ssl; then
140 - epatch "${QMAIL_SPP_S}"/qmail-spp-smtpauth-tls-20060105.diff
141 - else
142 - epatch "${QMAIL_SPP_S}"/netqmail-spp.diff
143 - fi
144 - cd "${WORKDIR}"
145 - epatch "${FILESDIR}"/genqmail-20080406-ldflags.patch
146 - cd -
147 - fi
148 - fi
149 -
150 - qmail_src_postunpack
151 -
152 - # Fix bug #33818 but for netqmail (Bug 137015)
153 - if ! use authcram; then
154 - einfo "Disabled CRAM_MD5 support"
155 - sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c
156 - else
157 - einfo "Enabled CRAM_MD5 support"
158 - fi
159 -}
160 -
161 -src_compile() {
162 - qmail_src_compile
163 - use qmail-spp && qmail_spp_src_compile
164 -}
165 -
166 -src_install() {
167 - qmail_src_install
168 -}
169 -
170 -pkg_postinst() {
171 - qmail_queue_setup
172 - qmail_rootmail_fixup
173 - qmail_tcprules_build
174 -
175 - qmail_config_notice
176 - qmail_supervise_config_notice
177 - elog
178 - elog "If you are looking for documentation, check those links:"
179 - elog "https://wiki.gentoo.org/wiki/Virtual_mail_hosting_with_qmail"
180 - elog " -- qmail/vpopmail Virtual Mail Hosting System Guide"
181 - elog "http://www.lifewithqmail.com/"
182 - elog " -- Life with qmail"
183 - elog
184 -}
185 -
186 -pkg_preinst() {
187 - qmail_tcprules_fixup
188 -}
189 -
190 -pkg_config() {
191 - # avoid some weird locale problems
192 - export LC_ALL=C
193 -
194 - qmail_config_fast
195 - qmail_tcprules_config
196 - qmail_tcprules_build
197 -
198 - use ssl && qmail_ssl_generate
199 -}
200
201 diff --git a/mail-mta/netqmail/netqmail-1.06-r6.ebuild b/mail-mta/netqmail/netqmail-1.06-r6.ebuild
202 deleted file mode 100644
203 index 196164f97d7..00000000000
204 --- a/mail-mta/netqmail/netqmail-1.06-r6.ebuild
205 +++ /dev/null
206 @@ -1,195 +0,0 @@
207 -# Copyright 1999-2019 Gentoo Authors
208 -# Distributed under the terms of the GNU General Public License v2
209 -
210 -EAPI=6
211 -
212 -GENQMAIL_PV=20080406
213 -QMAIL_SPP_PV=0.42
214 -
215 -QMAIL_TLS_PV=20190114
216 -QMAIL_TLS_F=${PN}-1.05-tls-smtpauth-${QMAIL_TLS_PV}.patch
217 -QMAIL_TLS_CVE=vu555316.patch
218 -
219 -QMAIL_BIGTODO_PV=103
220 -QMAIL_BIGTODO_F=big-todo.${QMAIL_BIGTODO_PV}.patch
221 -
222 -QMAIL_LARGE_DNS='qmail-103.patch'
223 -
224 -QMAIL_SMTPUTF8='qmail-smtputf8.patch'
225 -
226 -inherit qmail
227 -
228 -DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent"
229 -HOMEPAGE="
230 - http://netqmail.org
231 - https://cr.yp.to/qmail.html
232 - http://qmail.org
233 -"
234 -SRC_URI="mirror://qmail/${P}.tar.gz
235 - https://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}
236 - https://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS}
237 - !vanilla? (
238 - highvolume? ( mirror://qmail/${QMAIL_BIGTODO_F} )
239 - qmail-spp? ( mirror://sourceforge/qmail-spp/${QMAIL_SPP_F} )
240 - ssl? (
241 - https://mirror.alexh.name/qmail/netqmail/${QMAIL_TLS_F}
242 - http://inoa.net/qmail-tls/${QMAIL_TLS_CVE}
243 - https://arnt.gulbrandsen.priv.no/qmail/qmail-smtputf8.patch
244 - )
245 - )
246 -"
247 -
248 -LICENSE="public-domain"
249 -SLOT="0"
250 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
251 -IUSE="authcram gencertdaily highvolume libressl qmail-spp ssl vanilla"
252 -REQUIRED_USE='vanilla? ( !ssl !qmail-spp !highvolume )'
253 -RESTRICT="test"
254 -
255 -DEPEND="
256 - !mail-mta/qmail
257 - acct-group/nofiles
258 - acct-group/qmail
259 - acct-user/alias
260 - acct-user/qmaild
261 - acct-user/qmaill
262 - acct-user/qmailp
263 - acct-user/qmailq
264 - acct-user/qmailr
265 - acct-user/qmails
266 - net-mail/queue-repair
267 - ssl? (
268 - !libressl? ( >=dev-libs/openssl-1.1:0= )
269 - libressl? ( dev-libs/libressl:= )
270 - )
271 - sys-apps/gentoo-functions
272 - sys-apps/groff
273 - net-dns/libidn2
274 -"
275 -RDEPEND="
276 - !mail-mta/courier
277 - !mail-mta/esmtp
278 - !mail-mta/exim
279 - !mail-mta/mini-qmail
280 - !mail-mta/msmtp[mta]
281 - !mail-mta/nullmailer
282 - !mail-mta/postfix
283 - !mail-mta/qmail-ldap
284 - !mail-mta/sendmail
285 - !<mail-mta/ssmtp-2.64-r2
286 - !>=mail-mta/ssmtp-2.64-r2[mta]
287 - >=sys-apps/ucspi-tcp-0.88-r17
288 - ssl? ( >=sys-apps/ucspi-ssl-0.70-r1 )
289 - virtual/daemontools
290 - >=net-mail/dot-forward-0.71-r3
291 - virtual/checkpassword
292 - authcram? ( >=net-mail/cmd5checkpw-0.30 )
293 - ${DEPEND}
294 -"
295 -
296 -pkg_setup() {
297 - if [[ -n "${QMAIL_PATCH_DIR}" ]]; then
298 - eerror
299 - eerror "The QMAIL_PATCH_DIR variable for custom patches"
300 - eerror "has been removed from ${PN}. If you need custom patches"
301 - eerror "see 'user patches' in the portage manual."
302 - eerror
303 - die "QMAIL_PATCH_DIR is not supported anymore"
304 - fi
305 -}
306 -
307 -src_unpack() {
308 - genqmail_src_unpack
309 - use qmail-spp && qmail_spp_src_unpack
310 -
311 - unpack ${P}.tar.gz
312 -}
313 -
314 -src_prepare() {
315 - epatch "${FILESDIR}"/${PV}-exit.patch
316 - epatch "${FILESDIR}"/${PV}-readwrite.patch
317 - epatch "${DISTDIR}"/${QMAIL_LARGE_DNS}
318 - epatch "${FILESDIR}"/${PV}-fbsd-utmpx.patch
319 -
320 - ht_fix_file Makefile*
321 -
322 - if ! use vanilla; then
323 - if use ssl; then
324 - # This patch contains relative paths and needs to be cleaned up.
325 - sed 's~^--- ../../~--- ~g' \
326 - < "${DISTDIR}"/${QMAIL_TLS_F} \
327 - > "${T}"/${QMAIL_TLS_F} || die
328 - epatch "${T}"/${QMAIL_TLS_F}
329 - epatch "${DISTDIR}"/${QMAIL_TLS_CVE}
330 - fi
331 - use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F}
332 -
333 - if use qmail-spp; then
334 - if use ssl; then
335 - epatch "${QMAIL_SPP_S}"/qmail-spp-smtpauth-tls-20060105.diff
336 - else
337 - epatch "${QMAIL_SPP_S}"/netqmail-spp.diff
338 - fi
339 - cd "${WORKDIR}" || die
340 - epatch "${FILESDIR}"/genqmail-20080406-ldflags.patch
341 - cd - || die
342 - fi
343 - fi
344 -
345 - cd "${WORKDIR}" || die
346 - epatch "${FILESDIR}"/use-new-path-for-functions.sh.patch
347 - use ssl && epatch "${FILESDIR}"/qmail-smtputf8.patch
348 - cd - || die
349 -
350 - qmail_src_postunpack
351 -
352 - # Fix bug #33818 but for netqmail (Bug 137015)
353 - if ! use authcram; then
354 - einfo "Disabled CRAM_MD5 support"
355 - sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die
356 - else
357 - einfo "Enabled CRAM_MD5 support"
358 - fi
359 -
360 - eapply_user
361 -}
362 -
363 -src_compile() {
364 - qmail_src_compile
365 - use qmail-spp && qmail_spp_src_compile
366 -}
367 -
368 -src_install() {
369 - qmail_src_install
370 -}
371 -
372 -pkg_postinst() {
373 - qmail_queue_setup
374 - qmail_rootmail_fixup
375 - qmail_tcprules_build
376 -
377 - qmail_config_notice
378 - qmail_supervise_config_notice
379 - elog
380 - elog "If you are looking for documentation, check those links:"
381 - elog "https://wiki.gentoo.org/wiki/Virtual_mail_hosting_with_qmail"
382 - elog " -- qmail/vpopmail Virtual Mail Hosting System Guide"
383 - elog "http://www.lifewithqmail.com/"
384 - elog " -- Life with qmail"
385 - elog
386 -}
387 -
388 -pkg_preinst() {
389 - qmail_tcprules_fixup
390 -}
391 -
392 -pkg_config() {
393 - # avoid some weird locale problems
394 - export LC_ALL=C
395 -
396 - qmail_config_fast
397 - qmail_tcprules_config
398 - qmail_tcprules_build
399 -
400 - use ssl && qmail_ssl_generate
401 -}