mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCHv1] openssl: version bump to 1.1.1a
@ 2019-01-08 13:45 Oliver Graute
  2019-01-09 12:31 ` Denis OSTERLAND
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Graute @ 2019-01-08 13:45 UTC (permalink / raw)
  To: ptxdist, oliver.graute; +Cc: Oliver Graute

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-09 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 13:45 [ptxdist] [PATCHv1] openssl: version bump to 1.1.1a Oliver Graute
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox