Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
From: Hilko Bengen <bengen@debian.org>
|
||||
Date: Wed, 27 Apr 2011 00:18:42 +0200
|
||||
Subject: Patched out SSL2 support since it is no longer supported by OpenSSL.
|
||||
|
||||
Now that openssl has dropped SSLv2 support we need to patch it out.
|
||||
Patch picked up from debian patchseries 5.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
---
|
||||
mailx.1 | 2 +-
|
||||
openssl.c | 4 +---
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/mailx.1 b/mailx.1
|
||||
index 417ea04..a02e430 100644
|
||||
--- a/mailx.1
|
||||
+++ b/mailx.1
|
||||
@@ -3575,7 +3575,7 @@ Only applicable if SSL/TLS support is built using OpenSSL.
|
||||
.TP
|
||||
.B ssl-method
|
||||
Selects a SSL/TLS protocol version;
|
||||
-valid values are `ssl2', `ssl3', and `tls1'.
|
||||
+valid values are `ssl3', and `tls1'.
|
||||
If unset, the method is selected automatically,
|
||||
if possible.
|
||||
.TP
|
||||
diff --git a/openssl.c b/openssl.c
|
||||
index b4e33fc..44fe4e5 100644
|
||||
--- a/openssl.c
|
||||
+++ b/openssl.c
|
||||
@@ -216,9 +216,7 @@ ssl_select_method(const char *uhp)
|
||||
|
||||
cp = ssl_method_string(uhp);
|
||||
if (cp != NULL) {
|
||||
- if (equal(cp, "ssl2"))
|
||||
- method = SSLv2_client_method();
|
||||
- else if (equal(cp, "ssl3"))
|
||||
+ if (equal(cp, "ssl3"))
|
||||
method = SSLv3_client_method();
|
||||
else if (equal(cp, "tls1"))
|
||||
method = TLSv1_client_method();
|
||||
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_HEIRLOOM_MAILX
|
||||
bool "heirloom-mailx"
|
||||
# uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Heirloom mailx (previously known as nail) is a mail user
|
||||
agent for Unix systems.
|
||||
|
||||
It can be used as a command-line mail reader, but also more
|
||||
importantly on embedded systems, as a mail composition
|
||||
program and SMTP client, in order to send e-mail from shell
|
||||
scripts. It supports SMTP authentication (login, plain,
|
||||
cram-md5), SMTPS, MIME encoding of attachements, and more.
|
||||
|
||||
http://heirloom.sourceforge.net/mailx.html
|
||||
|
||||
comment "heirloom-mailx needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/h/heirloom-mailx/heirloom-mailx_12.5-3.dsc
|
||||
sha256 015ba4209135867f37a0245d22235a392b8bbed956913286b887c2e2a9a421ad heirloom-mailx_12.5.orig.tar.gz
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# heirloom-mailx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HEIRLOOM_MAILX_VERSION = 12.5
|
||||
HEIRLOOM_MAILX_SOURCE = heirloom-mailx_$(HEIRLOOM_MAILX_VERSION).orig.tar.gz
|
||||
HEIRLOOM_MAILX_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/h/heirloom-mailx
|
||||
HEIRLOOM_MAILX_LICENSE = BSD-4c, Bellcore (base64), OpenVision (imap_gssapi), RSA Data Security (md5), Network Working Group (hmac), MPLv1.1 (nss)
|
||||
HEIRLOOM_MAILX_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
HEIRLOOM_MAILX_DEPENDENCIES += openssl
|
||||
endif
|
||||
|
||||
define HEIRLOOM_MAILX_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) $(SHELL) ./makeconfig)
|
||||
endef
|
||||
|
||||
# -fPIC is needed to build with NIOS2 toolchains.
|
||||
define HEIRLOOM_MAILX_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -fPIC" \
|
||||
-C $(@D)
|
||||
endef
|
||||
|
||||
define HEIRLOOM_MAILX_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
PREFIX=/usr \
|
||||
UCBINSTALL=$(INSTALL) \
|
||||
STRIP=/bin/true \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user