[packages/openssl102] Up to 1.0.2u
arekm
arekm at pld-linux.org
Sat Jun 13 01:09:01 CEST 2026
commit fd125fbd027e4d902fe8faf00cebaf83a2f291ee
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jun 13 01:08:34 2026 +0200
Up to 1.0.2u
openssl-asflag.patch | 12 ++++++------
openssl102.spec | 18 +++++++++++++++---
2 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/openssl102.spec b/openssl102.spec
index f1600f9..1d2f0c4 100644
--- a/openssl102.spec
+++ b/openssl102.spec
@@ -25,13 +25,13 @@ Name: openssl102
# 1.0.2 will be LTS release
# Version 1.0.2 will be supported until 2019-12-31.
# https://www.openssl.org/about/releasestrat.html
-Version: 1.0.2p
+Version: 1.0.2u
Release: 1
License: Apache-like
Group: Libraries
%if %{without snap}
Source0: https://www.openssl.org/source/%{orgname}-%{version}.tar.gz
-# Source0-md5: ac5eb30bf5798aa14b1ae6d0e7da58df
+# Source0-md5: cdc2638f789ecc2db2c91488265686c1
%else
Source1: https://github.com/openssl/openssl/archive/OpenSSL_1_0_2-stable/%{orgname}-%{version}-dev.tar.gz
# Source1-md5: 6b846f8a4f55f5ddfa1e0d335241840a
@@ -353,11 +353,23 @@ PERL="%{__perl}" \
v=$(awk -F= '/^VERSION/{print $2}' Makefile)
test "$v" = %{version}%{?with_snap:-dev}
-%{__make} -j1 all rehash %{?with_tests:tests} \
+%{__make} -j1 all rehash \
CC="%{__cc}" \
ASFLAG='$(CFLAG) -Wa,--noexecstack' \
INSTALLTOP=%{_prefix}
+%if %{with tests}
+# test/smime-certs/*.pem shipped with fixed 2013-2023 validity and have expired;
+# regenerate them with upstream's own script (uses the just-built shared libs)
+# so CMS/S/MIME verification runs against valid certs instead of failing.
+( topdir=$(pwd); cd test/smime-certs && LD_LIBRARY_PATH=$topdir sh ./mksmime-certs.sh )
+
+%{__make} -j1 tests \
+ CC="%{__cc}" \
+ ASFLAG='$(CFLAG) -Wa,--noexecstack' \
+ INSTALLTOP=%{_prefix}
+%endif
+
# Rename POD sources of man pages. "openssl-" prefix is added to each
# manpage to avoid potential conflicts with other packages.
diff --git a/openssl-asflag.patch b/openssl-asflag.patch
index aadad1b..e452971 100644
--- a/openssl-asflag.patch
+++ b/openssl-asflag.patch
@@ -1,11 +1,11 @@
---- openssl-1.0.0/Makefile.org.orig 2010-04-10 11:17:55.964995600 +0200
-+++ openssl-1.0.0/Makefile.org 2010-04-10 11:19:41.144993924 +0200
-@@ -178,7 +178,7 @@
-
- BUILDENV= PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)' \
+--- openssl-1.0.2u/Makefile.org.orig
++++ openssl-1.0.2u/Makefile.org
+@@ -208,7 +208,7 @@
+ # same language for uniform treatment.
+ BUILDENV= LC_ALL=C PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)'\
CC='$(CC)' CFLAG='$(CFLAG)' \
- AS='$(CC)' ASFLAG='$(CFLAG) -c' \
+ AS='$(AS)' ASFLAG='$(ASFLAG)' \
AR='$(AR)' NM='$(NM)' RANLIB='$(RANLIB)' \
+ RC='$(RC)' \
CROSS_COMPILE='$(CROSS_COMPILE)' \
- PERL='$(PERL)' ENGDIRS='$(ENGDIRS)' \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/fd125fbd027e4d902fe8faf00cebaf83a2f291ee
More information about the pld-cvs-commit
mailing list