1 |
commit: 4662fe1e4967a48f12e818c5a5b8f74305738610 |
2 |
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de> |
3 |
AuthorDate: Sat Jan 25 17:57:57 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 25 18:02:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4662fe1e |
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-r4.ebuild | 186 ------------------------------ |
14 |
1 file changed, 186 deletions(-) |
15 |
|
16 |
diff --git a/mail-mta/netqmail/netqmail-1.06-r4.ebuild b/mail-mta/netqmail/netqmail-1.06-r4.ebuild |
17 |
deleted file mode 100644 |
18 |
index 520694626f7..00000000000 |
19 |
--- a/mail-mta/netqmail/netqmail-1.06-r4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,186 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-GENQMAIL_PV=20080406 |
28 |
-QMAIL_SPP_PV=0.42 |
29 |
- |
30 |
-QMAIL_TLS_PV=20070417 |
31 |
-QMAIL_TLS_F=${PN}-1.05-tls-smtpauth-${QMAIL_TLS_PV}.patch |
32 |
-QMAIL_TLS_CVE=vu555316.patch |
33 |
- |
34 |
-QMAIL_BIGTODO_PV=103 |
35 |
-QMAIL_BIGTODO_F=big-todo.${QMAIL_BIGTODO_PV}.patch |
36 |
- |
37 |
-QMAIL_LARGE_DNS='qmail-103.patch' |
38 |
- |
39 |
-inherit eutils qmail |
40 |
- |
41 |
-DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent" |
42 |
-HOMEPAGE=" |
43 |
- http://netqmail.org |
44 |
- https://cr.yp.to/qmail.html |
45 |
- http://qmail.org |
46 |
-" |
47 |
-SRC_URI="mirror://qmail/${P}.tar.gz |
48 |
- https://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F} |
49 |
- https://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS} |
50 |
- http://inoa.net/qmail-tls/${QMAIL_TLS_CVE} |
51 |
- !vanilla? ( |
52 |
- highvolume? ( mirror://qmail/${QMAIL_BIGTODO_F} ) |
53 |
- qmail-spp? ( mirror://sourceforge/qmail-spp/${QMAIL_SPP_F} ) |
54 |
- ssl? ( http://shupp.org/patches/${QMAIL_TLS_F} ) |
55 |
- ) |
56 |
-" |
57 |
- |
58 |
-LICENSE="public-domain" |
59 |
-SLOT="0" |
60 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86" |
61 |
-IUSE="authcram gencertdaily highvolume libressl +pop3 qmail-spp ssl vanilla" |
62 |
-REQUIRED_USE='vanilla? ( !ssl !qmail-spp !highvolume )' |
63 |
-RESTRICT="test" |
64 |
- |
65 |
-DEPEND=" |
66 |
- !mail-mta/qmail |
67 |
- acct-group/nofiles |
68 |
- acct-group/qmail |
69 |
- acct-user/alias |
70 |
- acct-user/qmaild |
71 |
- acct-user/qmaill |
72 |
- acct-user/qmailp |
73 |
- acct-user/qmailq |
74 |
- acct-user/qmailr |
75 |
- acct-user/qmails |
76 |
- net-mail/queue-repair |
77 |
- ssl? ( |
78 |
- !libressl? ( dev-libs/openssl:0= ) |
79 |
- libressl? ( dev-libs/libressl:= ) |
80 |
- ) |
81 |
- sys-apps/gentoo-functions |
82 |
- sys-apps/groff |
83 |
-" |
84 |
-RDEPEND=" |
85 |
- !mail-mta/courier |
86 |
- !mail-mta/esmtp |
87 |
- !mail-mta/exim |
88 |
- !mail-mta/mini-qmail |
89 |
- !mail-mta/msmtp[mta] |
90 |
- !mail-mta/nullmailer |
91 |
- !mail-mta/postfix |
92 |
- !mail-mta/qmail-ldap |
93 |
- !mail-mta/sendmail |
94 |
- !<mail-mta/ssmtp-2.64-r2 |
95 |
- !>=mail-mta/ssmtp-2.64-r2[mta] |
96 |
- >=sys-apps/ucspi-tcp-0.88-r17 |
97 |
- ssl? ( >=sys-apps/ucspi-ssl-0.70-r1 ) |
98 |
- virtual/daemontools |
99 |
- >=net-mail/dot-forward-0.71-r3 |
100 |
- virtual/checkpassword |
101 |
- authcram? ( >=net-mail/cmd5checkpw-0.30 ) |
102 |
- ${DEPEND} |
103 |
-" |
104 |
- |
105 |
-pkg_setup() { |
106 |
- if [[ -n "${QMAIL_PATCH_DIR}" ]]; then |
107 |
- eerror |
108 |
- eerror "The QMAIL_PATCH_DIR variable for custom patches" |
109 |
- eerror "has been removed from ${PN}. If you need custom patches" |
110 |
- eerror "you should create a copy of this ebuild in an overlay." |
111 |
- eerror |
112 |
- die "QMAIL_PATCH_DIR is not supported anymore" |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-src_unpack() { |
117 |
- genqmail_src_unpack |
118 |
- use qmail-spp && qmail_spp_src_unpack |
119 |
- |
120 |
- unpack ${P}.tar.gz |
121 |
-} |
122 |
- |
123 |
-src_prepare() { |
124 |
- epatch "${FILESDIR}"/${PV}-exit.patch |
125 |
- epatch "${FILESDIR}"/${PV}-readwrite.patch |
126 |
- epatch "${DISTDIR}"/${QMAIL_LARGE_DNS} |
127 |
- epatch "${FILESDIR}"/${PV}-fbsd-utmpx.patch |
128 |
- |
129 |
- ht_fix_file Makefile* |
130 |
- |
131 |
- if ! use vanilla; then |
132 |
- if use ssl; then |
133 |
- # This patch contains relative paths and needs to be cleaned up. |
134 |
- sed 's~^--- ../../~--- ~g' \ |
135 |
- < "${DISTDIR}"/${QMAIL_TLS_F} \ |
136 |
- > "${T}"/${QMAIL_TLS_F} || die |
137 |
- epatch "${T}"/${QMAIL_TLS_F} |
138 |
- epatch "${DISTDIR}"/${QMAIL_TLS_CVE} |
139 |
- fi |
140 |
- use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F} |
141 |
- |
142 |
- if use qmail-spp; then |
143 |
- if use ssl; then |
144 |
- epatch "${QMAIL_SPP_S}"/qmail-spp-smtpauth-tls-20060105.diff |
145 |
- else |
146 |
- epatch "${QMAIL_SPP_S}"/netqmail-spp.diff |
147 |
- fi |
148 |
- cd "${WORKDIR}" || die |
149 |
- epatch "${FILESDIR}"/genqmail-20080406-ldflags.patch |
150 |
- cd - || die |
151 |
- fi |
152 |
- fi |
153 |
- |
154 |
- cd "${WORKDIR}" || die |
155 |
- epatch "${FILESDIR}"/use-new-path-for-functions.sh.patch |
156 |
- cd - || die |
157 |
- |
158 |
- qmail_src_postunpack |
159 |
- |
160 |
- # Fix bug #33818 but for netqmail (Bug 137015) |
161 |
- if ! use authcram; then |
162 |
- einfo "Disabled CRAM_MD5 support" |
163 |
- sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die |
164 |
- else |
165 |
- einfo "Enabled CRAM_MD5 support" |
166 |
- fi |
167 |
-} |
168 |
- |
169 |
-src_compile() { |
170 |
- qmail_src_compile |
171 |
- use qmail-spp && qmail_spp_src_compile |
172 |
-} |
173 |
- |
174 |
-src_install() { |
175 |
- qmail_src_install |
176 |
-} |
177 |
- |
178 |
-pkg_postinst() { |
179 |
- qmail_queue_setup |
180 |
- qmail_rootmail_fixup |
181 |
- qmail_tcprules_build |
182 |
- |
183 |
- qmail_config_notice |
184 |
- qmail_supervise_config_notice |
185 |
- elog |
186 |
- elog "If you are looking for documentation, check those links:" |
187 |
- elog "https://wiki.gentoo.org/wiki/Virtual_mail_hosting_with_qmail" |
188 |
- elog " -- qmail/vpopmail Virtual Mail Hosting System Guide" |
189 |
- elog "http://www.lifewithqmail.com/" |
190 |
- elog " -- Life with qmail" |
191 |
- elog |
192 |
-} |
193 |
- |
194 |
-pkg_preinst() { |
195 |
- qmail_tcprules_fixup |
196 |
-} |
197 |
- |
198 |
-pkg_config() { |
199 |
- # avoid some weird locale problems |
200 |
- export LC_ALL=C |
201 |
- |
202 |
- qmail_config_fast |
203 |
- qmail_tcprules_config |
204 |
- qmail_tcprules_build |
205 |
- |
206 |
- use ssl && qmail_ssl_generate |
207 |
-} |