aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/tlsdate/libressl-no-sslv3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-03 11:30:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-03 12:54:53 +0000
commitf7c341d2053e1464d878b5eea665685ba7b2e9af (patch)
treee58076987ec5157a5b3c9b516da431bd0103834f /unmaintained/tlsdate/libressl-no-sslv3.patch
parentf9c714f96e25f8440023fbbbff0ef6c5103bb9af (diff)
downloadaports-f7c341d2053e1464d878b5eea665685ba7b2e9af.tar.bz2
aports-f7c341d2053e1464d878b5eea665685ba7b2e9af.tar.xz
main/tlsdate: move to unmaintained
seems like its dead upstream
Diffstat (limited to 'unmaintained/tlsdate/libressl-no-sslv3.patch')
-rw-r--r--unmaintained/tlsdate/libressl-no-sslv3.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/unmaintained/tlsdate/libressl-no-sslv3.patch b/unmaintained/tlsdate/libressl-no-sslv3.patch
new file mode 100644
index 0000000000..f4d7ffbb57
--- /dev/null
+++ b/unmaintained/tlsdate/libressl-no-sslv3.patch
@@ -0,0 +1,57 @@
+--- a/src/tlsdate.c.orig 2016-03-30 23:41:39.121031885 +0200
++++ b/src/tlsdate.c 2016-03-30 23:41:49.442032351 +0200
+@@ -88,7 +88,7 @@
+ " [-n|--dont-set-clock]\n"
+ " [-H|--host] [hostname|ip]\n"
+ " [-p|--port] [port number]\n"
+- " [-P|--protocol] [sslv23|sslv3|tlsv1]\n"
++ " [-P|--protocol] [sslv23|tlsv1]\n"
+ " [-C|--certcontainer] [dirname|filename]\n"
+ " [-v|--verbose]\n"
+ " [-V|--showtime] [human|raw]\n"
+--- a/man/tlsdate.1.orig 2016-03-30 23:42:18.100033647 +0200
++++ b/man/tlsdate.1 2016-03-30 23:42:35.659034441 +0200
+@@ -5,7 +5,7 @@
+ .SH NAME
+ tlsdate \- secure parasitic rdate replacement
+ .SH SYNOPSIS
+-.B tlsdate [\-hnvVstlw] [\-H [hostname]] [\-p [port]] [\-P [sslv23|sslv3|tlsv1]] \
++.B tlsdate [\-hnvVstlw] [\-H [hostname]] [\-p [port]] [\-P [sslv23|tlsv1]] \
+ [\-\-certdir [dirname]] [\-x [\-\-proxy] proxy\-type://proxyhost:proxyport]
+ .SH DESCRIPTION
+ .B tlsdate
+@@ -30,7 +30,7 @@
+ Do not set the system clock to the time of the remote server
+ .IP "\-p | \-\-port [port]"
+ Set remote port (default: '443')
+-.IP "\-P | \-\-protocol [sslv23|sslv3|tlsv1]"
++.IP "\-P | \-\-protocol [sslv23|tlsv1]"
+ Set protocol to use when communicating with server (default: 'tlsv1')
+ .IP "\-C | \-\-certdir [dirname]"
+ Set the local directory where certificates are located
+--- a/src/tlsdate-helper-plan9.c.orig 2016-03-30 23:43:12.577036110 +0200
++++ b/src/tlsdate-helper-plan9.c 2016-03-30 23:43:32.403037006 +0200
+@@ -978,10 +978,6 @@
+ {
+ verb ("V: using SSLv23_client_method()\n");
+ ctx = SSL_CTX_new(SSLv23_client_method());
+- } else if (0 == strcmp("sslv3", protocol))
+- {
+- verb ("V: using SSLv3_client_method()\n");
+- ctx = SSL_CTX_new(SSLv3_client_method());
+ } else if (0 == strcmp("tlsv1", protocol))
+ {
+ verb ("V: using TLSv1_client_method()\n");
+--- a/src/tlsdate-helper.c.orig 2016-03-30 23:33:02.056008510 +0200
++++ b/src/tlsdate-helper.c 2016-03-30 23:34:46.400013227 +0200
+@@ -1133,10 +1133,6 @@
+ {
+ verb ("V: using SSLv23_client_method()");
+ ctx = SSL_CTX_new(SSLv23_client_method());
+- } else if (0 == strcmp("sslv3", protocol))
+- {
+- verb ("V: using SSLv3_client_method()");
+- ctx = SSL_CTX_new(SSLv3_client_method());
+ } else if (0 == strcmp("tlsv1", protocol))
+ {
+ verb ("V: using TLSv1_client_method()");