From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de, oliver.graute@gmail.com
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: [ptxdist] [PATCHv1] openssl: version bump to 1.1.1a
Date: Tue, 8 Jan 2019 14:45:51 +0100 [thread overview]
Message-ID: <1546955151-27112-1-git-send-email-oliver.graute@neuhaus.de> (raw)
this patch bump openssl to LTS version 1.1.1a
Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
first try to get LTS openssl into ptxdist
- added debian-armel to Configurations/10-main.conf for compiling on arm
- dropped the other patches, are these still necessary?
.../openssl-1.1.1a/0001-added-debian-armel.patch | 41 ++++++++++++++++++++++
patches/openssl-1.1.1a/series | 1 +
rules/openssl.make | 10 +++---
3 files changed, 47 insertions(+), 5 deletions(-)
create mode 100644 patches/openssl-1.1.1a/0001-added-debian-armel.patch
create mode 100644 patches/openssl-1.1.1a/series
diff --git a/patches/openssl-1.1.1a/0001-added-debian-armel.patch b/patches/openssl-1.1.1a/0001-added-debian-armel.patch
new file mode 100644
index 0000000..567a405
--- /dev/null
+++ b/patches/openssl-1.1.1a/0001-added-debian-armel.patch
@@ -0,0 +1,41 @@
+From 3144929533150f6c5cb1d3e4e915fd3e9556af5d Mon Sep 17 00:00:00 2001
+From: Oliver Graute <oliver.graute@neuhaus.de>
+Date: Tue, 8 Jan 2019 13:17:55 +0100
+Subject: [PATCH] openssl: added debian-armel to Configuration
+
+added target debian-armel to 10-main.conf
+
+---
+ Configurations/10-main.conf | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
+index 5cf345d..5f1bdfe 100644
+--- a/Configurations/10-main.conf
++++ b/Configurations/10-main.conf
+@@ -627,6 +627,22 @@ my %targets = (
+ shared_extension => ".so",
+ },
+
++ "debian-armel" => {
++ inherit_from => [ "linux-generic32", asm("armv4_asm") ],
++ CC => "gcc",
++ CFLAGS => "",
++ cflags => "-g -O2 -Wformat -Werror=format-security " . "-Wa,--noexecstack -Wall",
++ cppflags => threads("-D_REENTRANT"),
++ lib_cppflags => "-DL_ENDIAN",
++ ex_libs => add("-ldl"),
++ bn_ops => "BN_LLONG RC4_CHAR
++ RC4_CHUNK DES_INT DES_UNROLL BF_PTR",
++ dso_scheme => "dlfcn",
++ shared_target => "linux-shared",
++ shared_cflag => "-fPIC",
++ shared_extension => ".so",
++ },
++
+ ####
+ #### Variety of LINUX:-)
+ ####
+--
+1.9.1
+
diff --git a/patches/openssl-1.1.1a/series b/patches/openssl-1.1.1a/series
new file mode 100644
index 0000000..d11a458
--- /dev/null
+++ b/patches/openssl-1.1.1a/series
@@ -0,0 +1 @@
+0001-added-debian-armel.patch
diff --git a/rules/openssl.make b/rules/openssl.make
index d514077..0ace6c3 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -18,10 +18,10 @@ PACKAGES-$(PTXCONF_OPENSSL) += openssl
#
# Paths and names
#
-OPENSSL_BASE := 1.0.2
-OPENSSL_BUGFIX := q
+OPENSSL_BASE := 1.1.1
+OPENSSL_BUGFIX := a
OPENSSL_VERSION := $(OPENSSL_BASE)$(OPENSSL_BUGFIX)
-OPENSSL_MD5 := 7563e1ce046cb21948eeb6ba1a0eb71c
+OPENSSL_MD5 := 963deb2272d6be7d4c2458afd2517b73
OPENSSL := openssl-$(OPENSSL_VERSION)
OPENSSL_SUFFIX := tar.gz
OPENSSL_URL := \
@@ -74,7 +74,7 @@ endif
OPENSSL_CONF_OPT := \
--prefix=/usr \
--openssldir=/usr/lib/ssl \
- --install_prefix=$(OPENSSL_PKGDIR) \
+ DESTDIR=$(OPENSSL_PKGDIR) \
shared
OPENSSL_INSTALL_OPT := \
@@ -106,7 +106,7 @@ ifdef PTXCONF_OPENSSL_BIN
endif
@$(call install_alternative, openssl, 0, 0, 0644, \
- /usr/lib/ssl/openssl.cnf)
+ /apps/openssl.cnf)
@$(call install_lib, openssl, 0, 0, 0644, libssl)
@$(call install_lib, openssl, 0, 0, 0644, libcrypto)
--
1.9.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2019-01-09 10:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-08 13:45 Oliver Graute [this message]
2019-01-09 12:31 ` Denis OSTERLAND
2019-01-09 13:23 ` Ladislav Michl
2019-01-09 13:27 ` Oliver Graute
2019-01-09 14:14 ` Michael Olbrich
2019-01-09 14:23 ` Oliver Graute
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546955151-27112-1-git-send-email-oliver.graute@neuhaus.de \
--to=oliver.graute@gmail.com \
--cc=oliver.graute@neuhaus.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox