Skip to content

Commit

Permalink
openssl-1.1: update to 1.1.1zb-p2
Browse files Browse the repository at this point in the history
Switched to https://github.com/kzalewski/openssl-1.1.1 for security update backported from OpenSSL 3.
OpenSSL no longer provide free security update to OpenSSL 1.1.1 after 1.1.1w.
  • Loading branch information
stdmnpkg committed Feb 13, 2025
1 parent 864eea5 commit 385c228
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
2 changes: 1 addition & 1 deletion runtime-cryptography/openssl-1.1/autobuild/build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fi
abinfo "Running Configure ..."
"$SRCDIR"/Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
shared zlib ${ARCH_OPTS}\
"-Wa,--noexecstack ${CPPFLAGS} ${CFLAGS}"
"-Wa,--noexecstack -Wno-implicit-function-declaration ${CPPFLAGS} ${CFLAGS}"

abinfo "Building binaries ..."
make depend
Expand Down
3 changes: 0 additions & 3 deletions runtime-cryptography/openssl-1.1/autobuild/patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 7bc94b7861c09c5307af4dfcfdb6a3439b4d37bc Mon Sep 17 00:00:00 2001
From: Student Main <[email protected]>
Date: Wed, 12 Feb 2025 13:27:40 +0800
Subject: [PATCH] patch Configure for loongson3

---
Configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configure b/Configure
index 78cc15d..d6484d5 100755
--- a/Configure
+++ b/Configure
@@ -1248,7 +1248,7 @@ if ($target =~ /linux.*-mips/ && !$disabled{asm}
# minimally required architecture flags for assembly modules
my $value;
$value = '-mips2' if ($target =~ /mips32/);
- $value = '-mips3' if ($target =~ /mips64/);
+ $value = '-mips64r2' if ($target =~ /mips64/);
unshift @{$config{cflags}}, $value;
unshift @{$config{cxxflags}}, $value if $config{CXX};
}
--
2.48.1

9 changes: 5 additions & 4 deletions runtime-cryptography/openssl-1.1/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VER=1.1.1w
SRCS="tbl::https://openssl.org/source/openssl-$VER.tar.gz"
CHKSUMS="sha256::cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8"
CHKUPDATE="anitya::id=2566"
UPSTREAM_VER=1.1.1zb_p2
VER=${UPSTREAM_VER/_/-}
SRCS="git::commit=tags/$UPSTREAM_VER::https://github.com/kzalewski/openssl-1.1.1.git"
CHKSUMS="SKIP"
#TODO: add anitya

0 comments on commit 385c228

Please sign in to comment.