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