1 |
commit: 4b5d96d364e5ac739200de819b12f19d9429f0f3 |
2 |
Author: orbea <orbea <AT> riseup <DOT> net> |
3 |
AuthorDate: Sun Jul 3 02:55:53 2022 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Sun Jul 3 17:47:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=4b5d96d3 |
7 |
|
8 |
net-misc/socat: Remove package |
9 |
|
10 |
Works with libress-3.5.x and socat-1.7.4.3::gentoo. |
11 |
|
12 |
Signed-off-by: orbea <orbea <AT> riseup.net> |
13 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
14 |
|
15 |
net-misc/socat/Manifest | 1 - |
16 |
.../socat/files/socat-1.7.3.0-filan-build.patch | 30 --- |
17 |
net-misc/socat/files/socat-1.7.3.1-stddef_h.patch | 38 --- |
18 |
.../socat/files/socat-1.7.3.4-fno-common.patch | 24 -- |
19 |
.../socat/files/socat-2.0.0_beta9-libressl.patch | 267 --------------------- |
20 |
net-misc/socat/metadata.xml | 15 -- |
21 |
net-misc/socat/socat-2.0.0_beta9.ebuild | 75 ------ |
22 |
7 files changed, 450 deletions(-) |
23 |
|
24 |
diff --git a/net-misc/socat/Manifest b/net-misc/socat/Manifest |
25 |
deleted file mode 100644 |
26 |
index c4bcde4..0000000 |
27 |
--- a/net-misc/socat/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1 +0,0 @@ |
30 |
-DIST socat-2.0.0-b9.tar.bz2 516673 BLAKE2B 808c8821b89ae2463074f87915dfae10f82b66ac6cd0b6ff56ab18f57c704e5a2a3ce76650152dccce41e4bd00e3a937948d4ade0a915b1f0e917c7543c6fc31 SHA512 f728bd634feeeacd2f0e4020c1c6aafdadaef3ba9da818d9ae1195e9f48fb693b2bea8dbbb208af8daddd8d6405217113d5ce31d05c2e9b27f5d2fba6b1cc834 |
31 |
|
32 |
diff --git a/net-misc/socat/files/socat-1.7.3.0-filan-build.patch b/net-misc/socat/files/socat-1.7.3.0-filan-build.patch |
33 |
deleted file mode 100644 |
34 |
index 861c673..0000000 |
35 |
--- a/net-misc/socat/files/socat-1.7.3.0-filan-build.patch |
36 |
+++ /dev/null |
37 |
@@ -1,30 +0,0 @@ |
38 |
-From aae2ea107b543fa908956f2fdcdf6db684e4a2e6 Mon Sep 17 00:00:00 2001 |
39 |
-From: Mike Frysinger <vapier@××××××××.org> |
40 |
-Date: Fri, 24 Apr 2015 23:06:37 -0400 |
41 |
-Subject: [PATCH] filan: fix depend list |
42 |
- |
43 |
-The link line contains more objects than the depend line; sync them like |
44 |
-procan does. Otherwise, parallel builds randomly fail. |
45 |
---- |
46 |
- Makefile.in | 5 +++-- |
47 |
- 1 file changed, 3 insertions(+), 2 deletions(-) |
48 |
- |
49 |
-diff --git a/Makefile.in b/Makefile.in |
50 |
-index f2a6edb..0c00459 100644 |
51 |
---- a/Makefile.in |
52 |
-+++ b/Makefile.in |
53 |
-@@ -118,8 +118,9 @@ PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysut |
54 |
- procan: $(PROCAN_OBJS) |
55 |
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(PROCAN_OBJS) $(CLIBS) |
56 |
- |
57 |
--filan: filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o |
58 |
-- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o $(CLIBS) |
59 |
-+FILAN_OBJS=filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o |
60 |
-+filan: $(FILAN_OBJS) |
61 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(FILAN_OBJS) $(CLIBS) |
62 |
- |
63 |
- libxio.a: $(XIOOBJS) $(UTLOBJS) |
64 |
- $(AR) r $@ $(XIOOBJS) $(UTLOBJS) |
65 |
--- |
66 |
-2.3.5 |
67 |
- |
68 |
|
69 |
diff --git a/net-misc/socat/files/socat-1.7.3.1-stddef_h.patch b/net-misc/socat/files/socat-1.7.3.1-stddef_h.patch |
70 |
deleted file mode 100644 |
71 |
index c914a81..0000000 |
72 |
--- a/net-misc/socat/files/socat-1.7.3.1-stddef_h.patch |
73 |
+++ /dev/null |
74 |
@@ -1,38 +0,0 @@ |
75 |
-When disabling OpenSSL support, nestlex.c still needs stddef.h which is |
76 |
-magically included through the OpenSSL headers otherwise. |
77 |
- |
78 |
---- a/configure.in |
79 |
-+++ b/configure.in |
80 |
-@@ -61,7 +61,7 @@ |
81 |
- AC_CHECK_HEADERS(inttypes.h) |
82 |
- AC_HEADER_SYS_WAIT |
83 |
- AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/param.h sys/ioctl.h sys/time.h syslog.h unistd.h) |
84 |
--AC_CHECK_HEADERS(pwd.h grp.h stdint.h sys/types.h poll.h sys/poll.h sys/socket.h sys/uio.h sys/stat.h netdb.h sys/un.h) |
85 |
-+AC_CHECK_HEADERS(pwd.h grp.h stddef.h stdint.h sys/types.h poll.h sys/poll.h sys/socket.h sys/uio.h sys/stat.h netdb.h sys/un.h) |
86 |
- AC_CHECK_HEADERS(pty.h) |
87 |
- AC_CHECK_HEADERS(netinet/in.h netinet/in_systm.h) |
88 |
- AC_CHECK_HEADERS(netinet/ip.h, [], [], [AC_INCLUDES_DEFAULT |
89 |
---- a/config.h.in |
90 |
-+++ b/config.h.in |
91 |
-@@ -189,6 +189,9 @@ |
92 |
- /* Define if you have the <grp.h> header file. */ |
93 |
- #undef HAVE_GRP_H |
94 |
- |
95 |
-+/* Define if you have the <stddef.h> header file. */ |
96 |
-+#undef HAVE_STDDEF_H |
97 |
-+ |
98 |
- /* Define if you have the <stdint.h> header file. */ |
99 |
- #undef HAVE_STDINT_H |
100 |
- |
101 |
---- a/sysincludes.h |
102 |
-+++ b/sysincludes.h |
103 |
-@@ -51,6 +51,9 @@ |
104 |
- #if HAVE_SYS_TIME_H |
105 |
- #include <sys/time.h> /* select(); OpenBSD: struct timespec */ |
106 |
- #endif |
107 |
-+#if HAVE_STDDEF_H |
108 |
-+#include <stddef.h> |
109 |
-+#endif |
110 |
- #if HAVE_STDINT_H |
111 |
- #include <stdint.h> /* uint8_t */ |
112 |
- #endif |
113 |
|
114 |
diff --git a/net-misc/socat/files/socat-1.7.3.4-fno-common.patch b/net-misc/socat/files/socat-1.7.3.4-fno-common.patch |
115 |
deleted file mode 100644 |
116 |
index a7dcf71..0000000 |
117 |
--- a/net-misc/socat/files/socat-1.7.3.4-fno-common.patch |
118 |
+++ /dev/null |
119 |
@@ -1,24 +0,0 @@ |
120 |
---- a/filan.c |
121 |
-+++ b/filan.c |
122 |
-@@ -30,7 +30,9 @@ |
123 |
- |
124 |
- /* dirty workaround so we dont get an error on AIX when being linked with |
125 |
- libwrap */ |
126 |
-+#if _AIX |
127 |
- int allow_severity, deny_severity; |
128 |
-+#endif |
129 |
- |
130 |
- /* global variables for configuring filan */ |
131 |
- bool filan_followsymlinks; |
132 |
---- a/procan.c |
133 |
-+++ b/procan.c |
134 |
-@@ -21,7 +21,9 @@ |
135 |
- |
136 |
- /* dirty workaround so we dont get an error on AIX when getting linked with |
137 |
- libwrap */ |
138 |
-+#if _AIX |
139 |
- int allow_severity, deny_severity; |
140 |
-+#endif |
141 |
- |
142 |
- |
143 |
- int procan(FILE *outfile) { |
144 |
|
145 |
diff --git a/net-misc/socat/files/socat-2.0.0_beta9-libressl.patch b/net-misc/socat/files/socat-2.0.0_beta9-libressl.patch |
146 |
deleted file mode 100644 |
147 |
index 535297c..0000000 |
148 |
--- a/net-misc/socat/files/socat-2.0.0_beta9-libressl.patch |
149 |
+++ /dev/null |
150 |
@@ -1,267 +0,0 @@ |
151 |
-From fbb0cc3b65a2ead522019fb461ae520371cc3ede Mon Sep 17 00:00:00 2001 |
152 |
-From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@×××××××××.sk> |
153 |
-Date: Mon, 6 Jun 2016 18:41:30 +0200 |
154 |
-Subject: [PATCH] Support compiling with LibreSSL 2.4.0 |
155 |
- |
156 |
-This patch checks for macros OPENSSL_NO_COMP, OPENSSL_NO_EGD, and |
157 |
-if disables those features if they are. |
158 |
- |
159 |
-Also add ifdef for HAVE_SSLv3_{client/server}_method in sslcls.c, |
160 |
-since these were removed from LibreSSL 2.4.0. |
161 |
---- |
162 |
- sslcls.c | 8 +++++++- |
163 |
- sslcls.h | 4 +++- |
164 |
- xio-openssl.c | 24 ++++++++++++++++++------ |
165 |
- xio-openssl.h | 4 +++- |
166 |
- xioopts.c | 8 ++++++-- |
167 |
- xioopts.h | 4 +++- |
168 |
- 6 files changed, 40 insertions(+), 12 deletions(-) |
169 |
- |
170 |
-diff --git a/sslcls.c b/sslcls.c |
171 |
-index ea4c303..5011ef2 100644 |
172 |
---- a/sslcls.c |
173 |
-+++ b/sslcls.c |
174 |
-@@ -55,6 +55,7 @@ const SSL_METHOD *sycSSLv2_server_method(void) { |
175 |
- } |
176 |
- #endif |
177 |
- |
178 |
-+#if HAVE_SSLv3_client_method |
179 |
- const SSL_METHOD *sycSSLv3_client_method(void) { |
180 |
- const SSL_METHOD *result; |
181 |
- Debug("SSLv3_client_method()"); |
182 |
-@@ -62,7 +63,9 @@ const SSL_METHOD *sycSSLv3_client_method(void) { |
183 |
- Debug1("SSLv3_client_method() -> %p", result); |
184 |
- return result; |
185 |
- } |
186 |
-+#endif |
187 |
- |
188 |
-+#if HAVE_SSLv3_server_method |
189 |
- const SSL_METHOD *sycSSLv3_server_method(void) { |
190 |
- const SSL_METHOD *result; |
191 |
- Debug("SSLv3_server_method()"); |
192 |
-@@ -70,6 +73,7 @@ const SSL_METHOD *sycSSLv3_server_method(void) { |
193 |
- Debug1("SSLv3_server_method() -> %p", result); |
194 |
- return result; |
195 |
- } |
196 |
-+#endif |
197 |
- |
198 |
- const SSL_METHOD *sycSSLv23_client_method(void) { |
199 |
- const SSL_METHOD *result; |
200 |
-@@ -347,6 +351,7 @@ void sycSSL_free(SSL *ssl) { |
201 |
- return; |
202 |
- } |
203 |
- |
204 |
-+#ifndef OPENSSL_NO_EGD |
205 |
- int sycRAND_egd(const char *path) { |
206 |
- int result; |
207 |
- Debug1("RAND_egd(\"%s\")", path); |
208 |
-@@ -354,6 +359,7 @@ int sycRAND_egd(const char *path) { |
209 |
- Debug1("RAND_egd() -> %d", result); |
210 |
- return result; |
211 |
- } |
212 |
-+#endif |
213 |
- |
214 |
- DH *sycPEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u) { |
215 |
- DH *result; |
216 |
-@@ -391,7 +397,7 @@ int sycFIPS_mode_set(int onoff) { |
217 |
- } |
218 |
- #endif /* WITH_FIPS */ |
219 |
- |
220 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
221 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
222 |
- const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl) { |
223 |
- const COMP_METHOD *result; |
224 |
- Debug1("SSL_get_current_compression(%p)", ssl); |
225 |
-diff --git a/sslcls.h b/sslcls.h |
226 |
-index 152fe5b..9fd8ef2 100644 |
227 |
---- a/sslcls.h |
228 |
-+++ b/sslcls.h |
229 |
-@@ -49,7 +49,9 @@ X509 *sycSSL_get_peer_certificate(SSL *ssl); |
230 |
- int sycSSL_shutdown(SSL *ssl); |
231 |
- void sycSSL_CTX_free(SSL_CTX *ctx); |
232 |
- void sycSSL_free(SSL *ssl); |
233 |
-+#ifndef OPENSSL_NO_EGD |
234 |
- int sycRAND_egd(const char *path); |
235 |
-+#endif |
236 |
- |
237 |
- DH *sycPEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u); |
238 |
- |
239 |
-@@ -57,7 +59,7 @@ BIO *sycBIO_new_file(const char *filename, const char *mode); |
240 |
- |
241 |
- int sycFIPS_mode_set(int onoff); |
242 |
- |
243 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
244 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
245 |
- const COMP_METHOD *sycSSL_get_current_compression(SSL *ssl); |
246 |
- const COMP_METHOD *sycSSL_get_current_expansion(SSL *ssl); |
247 |
- const char *sycSSL_COMP_get_name(const COMP_METHOD *comp); |
248 |
-diff --git a/xio-openssl.c b/xio-openssl.c |
249 |
-index c7f283c..38dc20d 100644 |
250 |
---- a/xio-openssl.c |
251 |
-+++ b/xio-openssl.c |
252 |
-@@ -181,9 +181,11 @@ const struct optdesc opt_openssl_key = { "openssl-key", "key", |
253 |
- const struct optdesc opt_openssl_dhparam = { "openssl-dhparam", "dh", OPT_OPENSSL_DHPARAM, GROUP_OPENSSL, PH_SPEC, TYPE_FILENAME, OFUNC_SPEC }; |
254 |
- const struct optdesc opt_openssl_cafile = { "openssl-cafile", "cafile", OPT_OPENSSL_CAFILE, GROUP_OPENSSL, PH_SPEC, TYPE_FILENAME, OFUNC_SPEC }; |
255 |
- const struct optdesc opt_openssl_capath = { "openssl-capath", "capath", OPT_OPENSSL_CAPATH, GROUP_OPENSSL, PH_SPEC, TYPE_FILENAME, OFUNC_SPEC }; |
256 |
-+#ifndef OPENSSL_NO_EGD |
257 |
- const struct optdesc opt_openssl_egd = { "openssl-egd", "egd", OPT_OPENSSL_EGD, GROUP_OPENSSL, PH_SPEC, TYPE_FILENAME, OFUNC_SPEC }; |
258 |
-+#endif |
259 |
- const struct optdesc opt_openssl_pseudo = { "openssl-pseudo", "pseudo", OPT_OPENSSL_PSEUDO, GROUP_OPENSSL, PH_SPEC, TYPE_BOOL, OFUNC_SPEC }; |
260 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
261 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
262 |
- const struct optdesc opt_openssl_compress = { "openssl-compress", "compress", OPT_OPENSSL_COMPRESS, GROUP_OPENSSL, PH_SPEC, TYPE_STRING, OFUNC_SPEC }; |
263 |
- #endif |
264 |
- #if WITH_FIPS |
265 |
-@@ -220,7 +222,7 @@ int xio_reset_fips_mode(void) { |
266 |
- static void openssl_conn_loginfo(SSL *ssl) { |
267 |
- Notice1("SSL connection using %s", SSL_get_cipher(ssl)); |
268 |
- |
269 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
270 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
271 |
- { |
272 |
- const COMP_METHOD *comp, *expansion; |
273 |
- |
274 |
-@@ -786,7 +788,7 @@ int _xioopen_openssl_listen(struct single *xfd, |
275 |
- #endif /* WITH_LISTEN */ |
276 |
- |
277 |
- |
278 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
279 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
280 |
- /* In OpenSSL 0.9.7 compression methods could be added using |
281 |
- * SSL_COMP_add_compression_method(3), but the implemntation is not compatible |
282 |
- * with the standard (RFC3749). |
283 |
-@@ -857,8 +859,10 @@ int |
284 |
- char *opt_dhparam = NULL; /* file name of DH params */ |
285 |
- char *opt_cafile = NULL; /* certificate authority file */ |
286 |
- char *opt_capath = NULL; /* certificate authority directory */ |
287 |
-+#ifndef OPENSSL_NO_EGD |
288 |
- char *opt_egd = NULL; /* entropy gathering daemon socket path */ |
289 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
290 |
-+#endif |
291 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
292 |
- char *opt_compress = NULL; /* compression method */ |
293 |
- #endif |
294 |
- bool opt_pseudo = false; /* use pseudo entropy if nothing else */ |
295 |
-@@ -875,9 +879,11 @@ int |
296 |
- retropt_string(opts, OPT_OPENSSL_CAPATH, &opt_capath); |
297 |
- retropt_string(opts, OPT_OPENSSL_KEY, &opt_key); |
298 |
- retropt_string(opts, OPT_OPENSSL_DHPARAM, &opt_dhparam); |
299 |
-+#ifndef OPENSSL_NO_EGD |
300 |
- retropt_string(opts, OPT_OPENSSL_EGD, &opt_egd); |
301 |
-+#endif |
302 |
- retropt_bool(opts,OPT_OPENSSL_PSEUDO, &opt_pseudo); |
303 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
304 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
305 |
- retropt_string(opts, OPT_OPENSSL_COMPRESS, &opt_compress); |
306 |
- #endif |
307 |
- #if WITH_FIPS |
308 |
-@@ -1010,9 +1016,11 @@ int |
309 |
- } |
310 |
- } |
311 |
- |
312 |
-+#ifndef OPENSSL_NO_EGD |
313 |
- if (opt_egd) { |
314 |
- sycRAND_egd(opt_egd); |
315 |
- } |
316 |
-+#endif |
317 |
- |
318 |
- if (opt_pseudo) { |
319 |
- long int randdata; |
320 |
-@@ -1124,7 +1132,7 @@ int |
321 |
- } |
322 |
- #endif /* !defined(EC_KEY) */ |
323 |
- |
324 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
325 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
326 |
- if (opt_compress) { |
327 |
- int result; |
328 |
- result = openssl_setup_compression(*ctx, opt_compress); |
329 |
-@@ -1238,7 +1246,11 @@ static int openssl_SSL_ERROR_SSL(int level, const char *funcname) { |
330 |
- if (e == ((ERR_LIB_RAND<<24)| |
331 |
- (RAND_F_SSLEAY_RAND_BYTES<<12)| |
332 |
- (RAND_R_PRNG_NOT_SEEDED)) /*0x24064064*/) { |
333 |
-+#ifdef OPENSSL_NO_EGD |
334 |
-+ Error("too few entropy; use option \"pseudo\""); |
335 |
-+#else |
336 |
- Error("too few entropy; use options \"egd\" or \"pseudo\""); |
337 |
-+#endif |
338 |
- stat = STAT_NORETRY; |
339 |
- } else { |
340 |
- Msg2(level, "%s(): %s", funcname, ERR_error_string(e, buf)); |
341 |
-diff --git a/xio-openssl.h b/xio-openssl.h |
342 |
-index 62586fc..f10ee0c 100644 |
343 |
---- a/xio-openssl.h |
344 |
-+++ b/xio-openssl.h |
345 |
-@@ -21,9 +21,11 @@ extern const struct optdesc opt_openssl_key; |
346 |
- extern const struct optdesc opt_openssl_dhparam; |
347 |
- extern const struct optdesc opt_openssl_cafile; |
348 |
- extern const struct optdesc opt_openssl_capath; |
349 |
-+#ifndef OPENSSL_NO_EGD |
350 |
- extern const struct optdesc opt_openssl_egd; |
351 |
-+#endif |
352 |
- extern const struct optdesc opt_openssl_pseudo; |
353 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
354 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
355 |
- extern const struct optdesc opt_openssl_compress; |
356 |
- #endif |
357 |
- #if WITH_FIPS |
358 |
-diff --git a/xioopts.c b/xioopts.c |
359 |
-index 6c231f4..9a56298 100644 |
360 |
---- a/xioopts.c |
361 |
-+++ b/xioopts.c |
362 |
-@@ -303,7 +303,7 @@ const struct optname optionnames[] = { |
363 |
- #if WITH_EXT2 && defined(EXT2_COMPR_FL) |
364 |
- IF_ANY ("compr", &opt_ext2_compr) |
365 |
- #endif |
366 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
367 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
368 |
- IF_OPENSSL("compress", &opt_openssl_compress) |
369 |
- #endif |
370 |
- #ifdef TCP_CONN_ABORT_THRESHOLD /* HP_UX */ |
371 |
-@@ -419,7 +419,9 @@ const struct optname optionnames[] = { |
372 |
- #ifdef ECHOPRT |
373 |
- IF_TERMIOS("echoprt", &opt_echoprt) |
374 |
- #endif |
375 |
-+#ifndef OPENSSL_NO_EGD |
376 |
- IF_OPENSSL("egd", &opt_openssl_egd) |
377 |
-+#endif |
378 |
- IF_ANY ("end-close", &opt_end_close) |
379 |
- IF_TERMIOS("eof", &opt_veof) |
380 |
- IF_TERMIOS("eol", &opt_veol) |
381 |
-@@ -1062,11 +1064,13 @@ const struct optname optionnames[] = { |
382 |
- IF_OPENSSL("openssl-certificate", &opt_openssl_certificate) |
383 |
- IF_OPENSSL("openssl-cipherlist", &opt_openssl_cipherlist) |
384 |
- IF_OPENSSL("openssl-commonname", &opt_openssl_commonname) |
385 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
386 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
387 |
- IF_OPENSSL("openssl-compress", &opt_openssl_compress) |
388 |
- #endif |
389 |
- IF_OPENSSL("openssl-dhparam", &opt_openssl_dhparam) |
390 |
-+#ifndef OPENSSL_NO_EGD |
391 |
- IF_OPENSSL("openssl-egd", &opt_openssl_egd) |
392 |
-+#endif |
393 |
- #if WITH_FIPS |
394 |
- IF_OPENSSL("openssl-fips", &opt_openssl_fips) |
395 |
- #endif |
396 |
-diff --git a/xioopts.h b/xioopts.h |
397 |
-index 2a165f5..37d6883 100644 |
398 |
---- a/xioopts.h |
399 |
-+++ b/xioopts.h |
400 |
-@@ -478,11 +478,13 @@ enum e_optcode { |
401 |
- OPT_OPENSSL_CERTIFICATE, |
402 |
- OPT_OPENSSL_CIPHERLIST, |
403 |
- OPT_OPENSSL_COMMONNAME, |
404 |
--#if OPENSSL_VERSION_NUMBER >= 0x00908000L |
405 |
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L && !defined(OPENSSL_NO_COMP) |
406 |
- OPT_OPENSSL_COMPRESS, |
407 |
- #endif |
408 |
- OPT_OPENSSL_DHPARAM, |
409 |
-+#ifndef OPENSSL_NO_EGD |
410 |
- OPT_OPENSSL_EGD, |
411 |
-+#endif |
412 |
- OPT_OPENSSL_FIPS, |
413 |
- OPT_OPENSSL_KEY, |
414 |
- OPT_OPENSSL_METHOD, |
415 |
--- |
416 |
-2.7.3 |
417 |
- |
418 |
|
419 |
diff --git a/net-misc/socat/metadata.xml b/net-misc/socat/metadata.xml |
420 |
deleted file mode 100644 |
421 |
index b367792..0000000 |
422 |
--- a/net-misc/socat/metadata.xml |
423 |
+++ /dev/null |
424 |
@@ -1,15 +0,0 @@ |
425 |
-<?xml version="1.0" encoding="UTF-8"?> |
426 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
427 |
-<pkgmetadata> |
428 |
- <maintainer type="person"> |
429 |
- <email>sam@g.o</email> |
430 |
- <name>Sam James</name> |
431 |
- </maintainer> |
432 |
- <maintainer type="project"> |
433 |
- <email>netmon@g.o</email> |
434 |
- <name>Gentoo network monitoring and analysis project</name> |
435 |
- </maintainer> |
436 |
- <upstream> |
437 |
- <remote-id type="cpe">cpe:/a:dest-unreach:socat</remote-id> |
438 |
- </upstream> |
439 |
-</pkgmetadata> |
440 |
|
441 |
diff --git a/net-misc/socat/socat-2.0.0_beta9.ebuild b/net-misc/socat/socat-2.0.0_beta9.ebuild |
442 |
deleted file mode 100644 |
443 |
index 6c03a36..0000000 |
444 |
--- a/net-misc/socat/socat-2.0.0_beta9.ebuild |
445 |
+++ /dev/null |
446 |
@@ -1,75 +0,0 @@ |
447 |
-# Copyright 1999-2021 Gentoo Authors |
448 |
-# Distributed under the terms of the GNU General Public License v2 |
449 |
- |
450 |
-EAPI=7 |
451 |
- |
452 |
-inherit autotools flag-o-matic toolchain-funcs |
453 |
- |
454 |
-MY_P=${P/_beta/-b} |
455 |
-DESCRIPTION="Multipurpose relay (SOcket CAT)" |
456 |
-HOMEPAGE="http://www.dest-unreach.org/socat/ https://repo.or.cz/socat.git" |
457 |
-SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2" |
458 |
-S="${WORKDIR}/${MY_P}" |
459 |
- |
460 |
-LICENSE="GPL-2" |
461 |
-SLOT="0" |
462 |
-KEYWORDS="" |
463 |
-IUSE="ssl readline ipv6 tcpd" |
464 |
- |
465 |
-DEPEND=" |
466 |
- ssl? ( dev-libs/openssl:0= ) |
467 |
- readline? ( sys-libs/readline:= ) |
468 |
- tcpd? ( sys-apps/tcp-wrappers ) |
469 |
-" |
470 |
-RDEPEND="${DEPEND}" |
471 |
- |
472 |
-# Tests are a large bash script |
473 |
-# Hard to disable individual tests needing network or privileges |
474 |
-RESTRICT=" |
475 |
- test |
476 |
- ssl? ( readline? ( bindist ) ) |
477 |
-" |
478 |
- |
479 |
-DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY ) |
480 |
- |
481 |
-PATCHES=( |
482 |
- "${FILESDIR}"/${PN}-1.7.3.0-filan-build.patch |
483 |
- "${FILESDIR}"/${PN}-1.7.3.1-stddef_h.patch |
484 |
- "${FILESDIR}"/${PN}-1.7.3.4-fno-common.patch |
485 |
- "${FILESDIR}"/${PN}-2.0.0_beta9-libressl.patch |
486 |
-) |
487 |
- |
488 |
-pkg_setup() { |
489 |
- # bug #587740 |
490 |
- if use readline && use ssl; then |
491 |
- elog "You are enabling both readline and openssl USE flags, the licenses" |
492 |
- elog "for these packages conflict. You may not be able to legally" |
493 |
- elog "redistribute the resulting binary." |
494 |
- fi |
495 |
-} |
496 |
- |
497 |
-src_prepare() { |
498 |
- default |
499 |
- |
500 |
- touch doc/${PN}.1 || die |
501 |
- |
502 |
- eautoreconf |
503 |
-} |
504 |
- |
505 |
-src_configure() { |
506 |
- filter-flags -Wall '-Wno-error*' #293324 |
507 |
- tc-export AR |
508 |
- |
509 |
- econf \ |
510 |
- $(use_enable ssl openssl) \ |
511 |
- $(use_enable readline) \ |
512 |
- $(use_enable ipv6 ip6) \ |
513 |
- $(use_enable tcpd libwrap) |
514 |
-} |
515 |
- |
516 |
-src_install() { |
517 |
- default |
518 |
- |
519 |
- docinto html |
520 |
- dodoc doc/*.html doc/*.css |
521 |
-} |