Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, net-misc/sslwrap/files/, net-misc/sslwrap/
Date: Sat, 20 Apr 2019 23:27:02
Message-Id: 1555746885.6c9e5fa0b776f255f45809a6e408f0cef630398d.mgorny@gentoo
1 commit: 6c9e5fa0b776f255f45809a6e408f0cef630398d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 20 07:54:45 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 20 07:54:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9e5fa0
7
8 net-misc/sslwrap: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/674524
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-misc/sslwrap/Manifest | 1 -
14 net-misc/sslwrap/files/sslwrap-2.0.6-build.patch | 147 -----------------------
15 net-misc/sslwrap/metadata.xml | 5 -
16 net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild | 34 ------
17 profiles/package.mask | 2 -
18 5 files changed, 189 deletions(-)
19
20 diff --git a/net-misc/sslwrap/Manifest b/net-misc/sslwrap/Manifest
21 deleted file mode 100644
22 index 8566a876440..00000000000
23 --- a/net-misc/sslwrap/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST sslwrap-2.0.6.tar.gz 21170 BLAKE2B ccebd7e10ba54eee80fca77da07864694ba4c087393420b310b51dae772df8165032d86562a3f68b1be471ae7e34e186ee35e67423a09e6b57e83c8787608cc8 SHA512 627c25bdf45245f9b3e8d03272fc46a0ef8d1c356e2b7990898b07267c2bbb28efd13d5ca97d330ce7369eedd2d20b5fa781f2e1a00ac732407e06d0b3a8890d
27
28 diff --git a/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch b/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch
29 deleted file mode 100644
30 index a797c00b152..00000000000
31 --- a/net-misc/sslwrap/files/sslwrap-2.0.6-build.patch
32 +++ /dev/null
33 @@ -1,147 +0,0 @@
34 -http://bugs.gentoo.org/34151
35 -http://bugs.gentoo.org/146828
36 -http://bugs.gentoo.org/335001
37 -
38 ---- apps.h
39 -+++ apps.h
40 -@@ -65,9 +65,9 @@
41 - #include "../e_os.h"
42 - #endif
43 -
44 --#include OPENSSL"buffer.h"
45 --#include OPENSSL"bio.h"
46 --#include OPENSSL"crypto.h"
47 -+#include "openssl/buffer.h"
48 -+#include "openssl/bio.h"
49 -+#include "openssl/crypto.h"
50 - /*#include "progs.h"*/
51 -
52 - #ifdef WIN16
53 ---- Makefile
54 -+++ Makefile
55 -@@ -1,28 +1,9 @@
56 --
57 - SRC = s_server.c s_socket.c s_cb.c
58 --
59 --# For Solaris2.6
60 --#EXTLIBS = -lxnet
61 --
62 --# Debug/Optimizations
63 --#OPT = -g
64 --OPT = -O2
65 --
66 --# Define
67 -+LIBS = `pkg-config --libs openssl`
68 - OPENSSL="\"openssl/\""
69 --#OPENSSL=""
70 -
71 --all :
72 -- gcc -o sslwrap ${SRC} ${OPT} -DFLAT_INC -DOPENSSL=${OPENSSL} \
73 -- -L/usr/local/ssl/lib -lssl -lcrypto \
74 -- -I/usr/local/ssl/include \
75 -- ${EXTLIBS}
76 -+all:
77 -+ $(CC) $(LDFLAGS) $(CFLAGS) -o sslwrap ${SRC} -DFLAT_INC -DOPENSSL=${OPENSSL} ${LIBS}
78 -
79 - clean:
80 - rm -f sslwrap *.o *~
81 --
82 --
83 --
84 --
85 --
86 --
87 ---- s_cb.c
88 -+++ s_cb.c
89 -@@ -63,9 +63,9 @@
90 - #include "apps.h"
91 - #undef NON_MAIN
92 - #undef USE_SOCKETS
93 --#include OPENSSL"err.h"
94 --#include OPENSSL"x509.h"
95 --#include OPENSSL"ssl.h"
96 -+#include "openssl/err.h"
97 -+#include "openssl/x509.h"
98 -+#include "openssl/ssl.h"
99 - #include "s_apps.h"
100 -
101 - int verify_depth=0;
102 ---- s_server.c
103 -+++ s_server.c
104 -@@ -121,14 +117,14 @@
105 - #ifdef WIN16
106 - #define APPS_WIN16
107 - #endif
108 --#include OPENSSL"lhash.h"
109 --#include OPENSSL"bn.h"
110 -+#include "openssl/lhash.h"
111 -+#include "openssl/bn.h"
112 - #define USE_SOCKETS
113 - #include "apps.h"
114 --#include OPENSSL"err.h"
115 --#include OPENSSL"pem.h"
116 --#include OPENSSL"x509.h"
117 --#include OPENSSL"ssl.h"
118 -+#include "err.h"
119 -+#include "openssl/pem.h"
120 -+#include "openssl/x509.h"
121 -+#include "openssl/ssl.h"
122 - #include "s_apps.h"
123 -
124 - #ifndef NOPROTO
125 -@@ -468,7 +464,7 @@
126 -
127 - if (bugs) SSL_CTX_set_options(ctx,SSL_OP_ALL);
128 - if (hack) SSL_CTX_set_options(ctx,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG);
129 -- if (hack) SSL_CTX_set_options(ctx,SSL_OP_NON_EXPORT_FIRST);
130 -+ if (hack) SSL_CTX_set_options(ctx,SSL_OP_CIPHER_SERVER_PREFERENCE);
131 -
132 - if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback);
133 -
134 -@@ -622,7 +618,7 @@
135 - #endif /*NO_EXEC*/
136 - }
137 -
138 -- if ((buf=malloc(BUFSIZZ)) == NULL)
139 -+ if ((buf=CRYPTO_malloc(BUFSIZZ,__FILE__,__LINE__)) == NULL)
140 - {
141 - BIO_printf(bio_err,"out of memory\n");
142 - goto err;
143 -@@ -729,7 +725,7 @@
144 - if (buf != NULL)
145 - {
146 - memset(buf,0,BUFSIZZ);
147 -- free(buf);
148 -+ CRYPTO_free(buf);
149 - }
150 -
151 - return(ret);
152 ---- s_socket.c
153 -+++ s_socket.c
154 -@@ -67,7 +67,7 @@
155 - #undef USE_SOCKETS
156 - #undef NON_MAIN
157 - #include "s_apps.h"
158 --#include OPENSSL"ssl.h"
159 -+#include "openssl/ssl.h"
160 -
161 - #ifndef NOPROTO
162 - static struct hostent *GetHostByName(char *name);
163 -@@ -305,7 +305,7 @@
164 - return(0);
165 - }
166 - i=(*cb)(name,sock, sock);
167 -- if (name != NULL) free(name);
168 -+ if (name != NULL) CRYPTO_free(name);
169 - SHUTDOWN(sock);
170 - if (i < 0)
171 - {
172 -@@ -410,7 +410,7 @@
173 - }
174 - else
175 - {
176 -- if ((*host=(char *)malloc(strlen(h1->h_name)+1)) == NULL)
177 -+ if ((*host=(char *)CRYPTO_malloc(strlen(h1->h_name)+1,__FILE__,__LINE__)) == NULL)
178 - {
179 - perror("Malloc");
180 - return(0);
181
182 diff --git a/net-misc/sslwrap/metadata.xml b/net-misc/sslwrap/metadata.xml
183 deleted file mode 100644
184 index 6f49eba8f49..00000000000
185 --- a/net-misc/sslwrap/metadata.xml
186 +++ /dev/null
187 @@ -1,5 +0,0 @@
188 -<?xml version="1.0" encoding="UTF-8"?>
189 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
190 -<pkgmetadata>
191 -<!-- maintainer-needed -->
192 -</pkgmetadata>
193
194 diff --git a/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild b/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild
195 deleted file mode 100644
196 index 60999760436..00000000000
197 --- a/net-misc/sslwrap/sslwrap-2.0.6-r2.ebuild
198 +++ /dev/null
199 @@ -1,34 +0,0 @@
200 -# Copyright 1999-2012 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=5
204 -inherit eutils toolchain-funcs
205 -
206 -DESCRIPTION="TSL/SSL - Port Wrapper"
207 -HOMEPAGE="http://www.rickk.com/sslwrap/index.htm"
208 -SRC_URI="http://www.rickk.com/${PN}/${PN}.tar.gz -> ${P}.tar.gz"
209 -
210 -LICENSE="SSLeay"
211 -SLOT="0"
212 -KEYWORDS="~amd64 x86"
213 -IUSE=""
214 -
215 -RDEPEND="dev-libs/openssl:0"
216 -DEPEND="${RDEPEND}
217 - virtual/pkgconfig"
218 -
219 -S=${WORKDIR}/${PN}${PV//.}
220 -
221 -pkg_setup() {
222 - tc-export CC
223 -}
224 -
225 -src_prepare() {
226 - epatch "${FILESDIR}"/${P}-build.patch
227 -}
228 -
229 -src_install() {
230 - dosbin ${PN}
231 - dodoc README
232 - dohtml -r .
233 -}
234
235 diff --git a/profiles/package.mask b/profiles/package.mask
236 index 740da127d94..f0b62702d9f 100644
237 --- a/profiles/package.mask
238 +++ b/profiles/package.mask
239 @@ -626,7 +626,6 @@ x11-libs/hippo-canvas
240 # net-mail/up-imapproxy: #674234, last commits in 2016, also #643898
241 # net-mail/uw-imap: #678606, last upstream release in 2011
242 # net-mail/uw-mailutils: #674174, same as uw-imap
243 -# net-misc/sslwrap: #674524, last updated upstream in 2000
244 #
245 # Removal in 30 days.
246 app-crypt/keynote
247 @@ -650,7 +649,6 @@ net-mail/qpopper
248 net-mail/up-imapproxy
249 net-mail/uw-imap
250 net-mail/uw-mailutils
251 -net-misc/sslwrap
252
253 # Miroslav Šulc <fordfrog@g.o> (19 Mar 2019)
254 # Depends on >=virtual/{jdk,jre}-11 which is masked