1 |
commit: 1923c2250dc49aaddc4df7e0602fc1aa03f887d7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 08:14:48 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 08:14:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1923c225 |
7 |
|
8 |
mail-client/nail: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/676008 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
mail-client/nail/Manifest | 1 - |
14 |
mail-client/nail/files/nail-12.4-debian.patch | 56 ------------ |
15 |
mail-client/nail/files/nail-12.4-openssl-1.patch | 72 --------------- |
16 |
mail-client/nail/metadata.xml | 23 ----- |
17 |
mail-client/nail/nail-12.4-r3.ebuild | 109 ----------------------- |
18 |
profiles/package.mask | 2 - |
19 |
6 files changed, 263 deletions(-) |
20 |
|
21 |
diff --git a/mail-client/nail/Manifest b/mail-client/nail/Manifest |
22 |
deleted file mode 100644 |
23 |
index 73ea4acc306..00000000000 |
24 |
--- a/mail-client/nail/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST mailx-12.4.tar.bz2 271482 BLAKE2B ad011ef648036f10f800097c56a34cc5b882b808a7886eea86fa3dfc6f5a9a5b4e64e86e9b842384e4f55ce998ee8832176ce7e325c646ac26a187cbf26406a0 SHA512 a0e29972f552bd630ce1a14f70e61661815118520bcd4a00b6cad53f3270d3d08c835ff6982ba8800eb380a5b46f54eb6e60fb7533b5f41c916af45d29605af8 |
28 |
|
29 |
diff --git a/mail-client/nail/files/nail-12.4-debian.patch b/mail-client/nail/files/nail-12.4-debian.patch |
30 |
deleted file mode 100644 |
31 |
index 2fea0b190d2..00000000000 |
32 |
--- a/mail-client/nail/files/nail-12.4-debian.patch |
33 |
+++ /dev/null |
34 |
@@ -1,56 +0,0 @@ |
35 |
---- heirloom-mailx-12.4.orig/getopt.c |
36 |
-+++ heirloom-mailx-12.4/getopt.c |
37 |
-@@ -43,7 +43,7 @@ |
38 |
- char *optarg; |
39 |
- int optind = 1; |
40 |
- int opterr = 1; |
41 |
--int optopt; |
42 |
-+int optoptc; |
43 |
- |
44 |
- static void |
45 |
- error(const char *s, int c) |
46 |
-@@ -69,7 +69,7 @@ |
47 |
- *bp++ = *s++; |
48 |
- while (*msg) |
49 |
- *bp++ = *msg++; |
50 |
-- *bp++ = optopt; |
51 |
-+ *bp++ = optoptc; |
52 |
- *bp++ = '\n'; |
53 |
- write(2, buf, bp - buf); |
54 |
- ac_free(buf); |
55 |
-@@ -101,13 +101,13 @@ |
56 |
- } |
57 |
- curp = &argv[optind][1]; |
58 |
- } |
59 |
-- optopt = curp[0] & 0377; |
60 |
-+ optoptc = curp[0] & 0377; |
61 |
- while (optstring[0]) { |
62 |
- if (optstring[0] == ':') { |
63 |
- optstring++; |
64 |
- continue; |
65 |
- } |
66 |
-- if ((optstring[0] & 0377) == optopt) { |
67 |
-+ if ((optstring[0] & 0377) == optoptc) { |
68 |
- if (optstring[1] == ':') { |
69 |
- if (curp[1] != '\0') { |
70 |
- optarg = (char *)&curp[1]; |
71 |
-@@ -127,7 +127,7 @@ |
72 |
- optind++; |
73 |
- optarg = 0; |
74 |
- } |
75 |
-- return optopt; |
76 |
-+ return optoptc; |
77 |
- } |
78 |
- optstring++; |
79 |
- } |
80 |
---- heirloom-mailx-12.4.orig/mailx.1 |
81 |
-+++ heirloom-mailx-12.4/mailx.1 |
82 |
-@@ -3766,7 +3766,7 @@ |
83 |
- .sp |
84 |
- .fi |
85 |
- which might cause |
86 |
--.N mailx |
87 |
-+.B mailx |
88 |
- to respond with, for example: |
89 |
- .nf |
90 |
- .sp |
91 |
|
92 |
diff --git a/mail-client/nail/files/nail-12.4-openssl-1.patch b/mail-client/nail/files/nail-12.4-openssl-1.patch |
93 |
deleted file mode 100644 |
94 |
index 376c4d668e3..00000000000 |
95 |
--- a/mail-client/nail/files/nail-12.4-openssl-1.patch |
96 |
+++ /dev/null |
97 |
@@ -1,72 +0,0 @@ |
98 |
-http://bugs.gentoo.org/328363 |
99 |
-http://repos.archlinux.org/wsvn/community/mailx-heirloom/trunk/mailx-heirloom-openssl-1.0.patch |
100 |
- |
101 |
---- openssl.c |
102 |
-+++ openssl.c |
103 |
-@@ -105,7 +105,7 @@ |
104 |
- static void ssl_load_verifications(struct sock *sp); |
105 |
- static void ssl_certificate(struct sock *sp, const char *uhp); |
106 |
- static enum okay ssl_check_host(const char *server, struct sock *sp); |
107 |
--static int smime_verify(struct message *m, int n, STACK *chain, |
108 |
-+static int smime_verify(struct message *m, int n, STACK_OF(X509) *chain, |
109 |
- X509_STORE *store); |
110 |
- static EVP_CIPHER *smime_cipher(const char *name); |
111 |
- static int ssl_password_cb(char *buf, int size, int rwflag, void *userdata); |
112 |
-@@ -308,7 +308,7 @@ |
113 |
- X509 *cert; |
114 |
- X509_NAME *subj; |
115 |
- char data[256]; |
116 |
-- /*GENERAL_NAMES*/STACK *gens; |
117 |
-+ /*GENERAL_NAMES*/STACK_OF(GENERAL_NAMES) *gens; |
118 |
- GENERAL_NAME *gen; |
119 |
- int i; |
120 |
- |
121 |
-@@ -496,7 +496,7 @@ |
122 |
- } |
123 |
- |
124 |
- static int |
125 |
--smime_verify(struct message *m, int n, STACK *chain, X509_STORE *store) |
126 |
-+smime_verify(struct message *m, int n, STACK_OF(X509) *chain, X509_STORE *store) |
127 |
- { |
128 |
- struct message *x; |
129 |
- char *cp, *sender, *to, *cc, *cnttype; |
130 |
-@@ -505,7 +505,8 @@ |
131 |
- off_t size; |
132 |
- BIO *fb, *pb; |
133 |
- PKCS7 *pkcs7; |
134 |
-- STACK *certs, *gens; |
135 |
-+ STACK_OF(X509) *certs; |
136 |
-+ STACK_OF(GENERAL_NAMES) *gens; |
137 |
- X509 *cert; |
138 |
- X509_NAME *subj; |
139 |
- char data[LINESIZE]; |
140 |
-@@ -614,7 +615,7 @@ |
141 |
- { |
142 |
- int *msgvec = vp, *ip; |
143 |
- int ec = 0; |
144 |
-- STACK *chain = NULL; |
145 |
-+ STACK_OF(X509) *chain = NULL; |
146 |
- X509_STORE *store; |
147 |
- char *ca_dir, *ca_file; |
148 |
- |
149 |
-@@ -687,7 +688,7 @@ |
150 |
- X509 *cert; |
151 |
- PKCS7 *pkcs7; |
152 |
- BIO *bb, *yb; |
153 |
-- STACK *certs; |
154 |
-+ STACK_OF(X509) *certs; |
155 |
- EVP_CIPHER *cipher; |
156 |
- |
157 |
- certfile = expand((char *)certfile); |
158 |
-@@ -950,9 +951,9 @@ |
159 |
- off_t size; |
160 |
- BIO *fb, *pb; |
161 |
- PKCS7 *pkcs7; |
162 |
-- STACK *certs; |
163 |
-+ STACK_OF(X509) *certs; |
164 |
- X509 *cert; |
165 |
-- STACK *chain = NULL; |
166 |
-+ STACK_OF(X509) *chain = NULL; |
167 |
- enum okay ok = OKAY; |
168 |
- |
169 |
- message_number = n; |
170 |
|
171 |
diff --git a/mail-client/nail/metadata.xml b/mail-client/nail/metadata.xml |
172 |
deleted file mode 100644 |
173 |
index 438edf383cb..00000000000 |
174 |
--- a/mail-client/nail/metadata.xml |
175 |
+++ /dev/null |
176 |
@@ -1,23 +0,0 @@ |
177 |
-<?xml version="1.0" encoding="UTF-8"?> |
178 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
179 |
-<pkgmetadata> |
180 |
- <!-- maintainer-needed --> |
181 |
- <use> |
182 |
- <flag name="net"> |
183 |
- Enable support for network protocols (POP, IMAP and SMTP). If you |
184 |
- only need to send mail with the local Transport Agent, disabling |
185 |
- this will get you support for only /usr/sbin/sendmail call. |
186 |
- </flag> |
187 |
- <flag name="ssl"> |
188 |
- If network is enabled, this adds support for S/MIME and |
189 |
- SSL/TLS-powered protocols through <pkg>dev-libs/openssl</pkg>. |
190 |
- </flag> |
191 |
- <flag name="kerberos"> |
192 |
- If network is enabled, this adds support for GSSAPI login on IMAP |
193 |
- through <pkg>virtual/krb5</pkg>. |
194 |
- </flag> |
195 |
- </use> |
196 |
- <upstream> |
197 |
- <remote-id type="sourceforge">heirloom</remote-id> |
198 |
- </upstream> |
199 |
-</pkgmetadata> |
200 |
|
201 |
diff --git a/mail-client/nail/nail-12.4-r3.ebuild b/mail-client/nail/nail-12.4-r3.ebuild |
202 |
deleted file mode 100644 |
203 |
index 6cd0f0c264b..00000000000 |
204 |
--- a/mail-client/nail/nail-12.4-r3.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,109 +0,0 @@ |
207 |
-# Copyright 1999-2017 Gentoo Foundation |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI="5" |
211 |
- |
212 |
-inherit eutils toolchain-funcs |
213 |
- |
214 |
-HOMEPAGE="http://heirloom.sourceforge.net/" |
215 |
-DESCRIPTION="an enhanced mailx-compatible mail client" |
216 |
-LICENSE="BSD" |
217 |
- |
218 |
-MY_PN="mailx" |
219 |
-MY_P="${MY_PN}-${PV}" |
220 |
-SRC_URI="mirror://sourceforge/project/heirloom/heirloom-${MY_PN}/${PV}/${MY_P}.tar.bz2" |
221 |
-SLOT="0" |
222 |
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
223 |
-IUSE="libressl ssl net kerberos" |
224 |
- |
225 |
-RDEPEND=" |
226 |
- net? ( |
227 |
- ssl? ( |
228 |
- !libressl? ( dev-libs/openssl:0 ) |
229 |
- libressl? ( dev-libs/libressl ) |
230 |
- ) |
231 |
- kerberos? ( virtual/krb5 ) |
232 |
- ) |
233 |
- !mail-client/mailx |
234 |
- !net-mail/mailutils |
235 |
-" |
236 |
-DEPEND="${RDEPEND}" |
237 |
- |
238 |
-S=${WORKDIR}/${MY_P} |
239 |
- |
240 |
-undef() { |
241 |
- sed -i -e "/$1/s:#define:#undef:" config.h || die |
242 |
-} |
243 |
- |
244 |
-droplib() { |
245 |
- sed -i -e "/$1/s:^:#:" LIBS || die |
246 |
-} |
247 |
- |
248 |
-src_prepare() { |
249 |
- epatch "${FILESDIR}"/${P}-debian.patch \ |
250 |
- "${FILESDIR}"/${P}-openssl-1.patch |
251 |
- # Do not strip the binary |
252 |
- sed -i -e '/STRIP/d' Makefile |
253 |
-} |
254 |
- |
255 |
-src_configure() { |
256 |
- # Build config.h and LIBS, neccesary to tweak the config |
257 |
- # use -j1 because it will produce bogus output otherwise |
258 |
- emake -j1 config.h LIBS || die |
259 |
- |
260 |
- # Logic to 'configure' the package |
261 |
- |
262 |
- if ! use ssl || ! use net ; then |
263 |
- undef 'USE_\(OPEN\)\?SSL' |
264 |
- droplib -lssl |
265 |
- fi |
266 |
- |
267 |
- if ! use kerberos || ! use net ; then |
268 |
- undef 'USE_GSSAPI' |
269 |
- droplib -lgssapi_krb5 |
270 |
- fi |
271 |
- |
272 |
- if ! use net ; then |
273 |
- undef 'HAVE_SOCKETS' |
274 |
- fi |
275 |
-} |
276 |
- |
277 |
-src_compile() { |
278 |
- # No configure script to check for and set this |
279 |
- tc-export CC |
280 |
- |
281 |
- emake \ |
282 |
- CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \ |
283 |
- PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc \ |
284 |
- SENDMAIL="${EPREFIX}/usr/sbin/sendmail" \ |
285 |
- MAILSPOOL='/var/spool/mail' \ |
286 |
- || die "emake failed" |
287 |
-} |
288 |
- |
289 |
-src_install () { |
290 |
- # Use /usr/sbin/sendmail by default and provide an example |
291 |
- cat <<- EOSMTP >> nail.rc |
292 |
- |
293 |
- # Use the local sendmail (/usr/sbin/sendmail) binary by default. |
294 |
- # (Uncomment the following line to use a SMTP server) |
295 |
- #set smtp=localhost |
296 |
- |
297 |
- # Ask for CC: list too. |
298 |
- set askcc |
299 |
- EOSMTP |
300 |
- |
301 |
- emake DESTDIR="${D}" \ |
302 |
- UCBINSTALL=$(type -p install) \ |
303 |
- PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc install \ |
304 |
- || die |
305 |
- |
306 |
- dodoc AUTHORS README || die |
307 |
- |
308 |
- dodir /bin |
309 |
- dosym ../usr/bin/mailx /bin/mail || die |
310 |
- dosym mailx /usr/bin/mail || die |
311 |
- dosym mailx /usr/bin/Mail || die |
312 |
- |
313 |
- dosym mailx.1 /usr/share/man/man1/mail.1 || die |
314 |
- dosym mailx.1 /usr/share/man/man1/Mail.1 || die |
315 |
-} |
316 |
|
317 |
diff --git a/profiles/package.mask b/profiles/package.mask |
318 |
index 4b5fc873608..a4e1026813c 100644 |
319 |
--- a/profiles/package.mask |
320 |
+++ b/profiles/package.mask |
321 |
@@ -609,14 +609,12 @@ x11-libs/hippo-canvas |
322 |
# dev-util/skipfish: #675124, last upstream commit in 2012 |
323 |
# dev-util/wsta: #674004, no fix upstream, also #631610, #674526 |
324 |
# games-util/gtkevemon: #675988, upstream API shut down |
325 |
-# mail-client/nail: #676008, last commit in 2010, also #508480 |
326 |
# |
327 |
# Removal in 30 days. |
328 |
app-crypt/keynote |
329 |
dev-util/skipfish |
330 |
dev-util/wsta |
331 |
games-util/gtkevemon |
332 |
-mail-client/nail |
333 |
|
334 |
# Miroslav Šulc <fordfrog@g.o> (19 Mar 2019) |
335 |
# Depends on >=virtual/{jdk,jre}-11 which is masked |