summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-05-03 16:07:09 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-28 15:52:17 +0100
commit802e03ea959a193bcc4dc772feae82e894823cac (patch)
treeaec68ed04168335bdf0da06f084f9bd7e69cd2f2 /meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch
parent477b194ec2fe50c495a208c38f14b680c9929660 (diff)
downloadpoky-802e03ea959a193bcc4dc772feae82e894823cac.tar.gz
mailx: remove the recipe
This recipe was carried only for LSB compatibility, with upstream being defunct for a long time; if there is a need for a modern, supported implementation of mail/mailx, then s-nail (http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/) should be used. (From OE-Core rev: 0b44f399ce98c61353b30143c205831c1403626f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch')
-rw-r--r--meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch b/meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch
deleted file mode 100644
index 6bad433ea6..0000000000
--- a/meta/recipes-extended/mailx/files/0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From: Hilko Bengen <bengen@debian.org>
2Date: Wed, 27 Apr 2011 00:18:42 +0200
3Subject: Patched out SSL2 support since it is no longer supported by OpenSSL.
4
5This patch is taken from
6ftp://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5-5.debian.tar.xz
7
8Upstream-Status: Inappropriate [upstream is dead]
9---
10 mailx.1 | 2 +-
11 openssl.c | 4 +---
12 2 files changed, 2 insertions(+), 4 deletions(-)
13
14diff --git a/mailx.1 b/mailx.1
15index 417ea04..a02e430 100644
16--- a/mailx.1
17+++ b/mailx.1
18@@ -3575,7 +3575,7 @@ Only applicable if SSL/TLS support is built using OpenSSL.
19 .TP
20 .B ssl-method
21 Selects a SSL/TLS protocol version;
22-valid values are `ssl2', `ssl3', and `tls1'.
23+valid values are `ssl3', and `tls1'.
24 If unset, the method is selected automatically,
25 if possible.
26 .TP
27diff --git a/openssl.c b/openssl.c
28index b4e33fc..44fe4e5 100644
29--- a/openssl.c
30+++ b/openssl.c
31@@ -216,9 +216,7 @@ ssl_select_method(const char *uhp)
32
33 cp = ssl_method_string(uhp);
34 if (cp != NULL) {
35- if (equal(cp, "ssl2"))
36- method = SSLv2_client_method();
37- else if (equal(cp, "ssl3"))
38+ if (equal(cp, "ssl3"))
39 method = SSLv3_client_method();
40 else if (equal(cp, "tls1"))
41 method = TLSv1_client_method();