Gentoo Archives: gentoo-commits

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