Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/openssl security/openssl: Make compatible wit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7bd0d9f54d6
branches: trunk
changeset: 435987:a7bd0d9f54d6
user: sjmulder <sjmulder%pkgsrc.org@localhost>
date: Wed Jul 22 20:41:30 2020 +0000
description:
security/openssl: Make compatible with Apple Silicon
diffstat:
security/openssl/Makefile | 3 +-
security/openssl/distinfo | 3 +-
security/openssl/patches/patch-Configurations_10-main.conf | 22 ++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs (58 lines):
diff -r 3e03c5e0d755 -r a7bd0d9f54d6 security/openssl/Makefile
--- a/security/openssl/Makefile Wed Jul 22 19:26:45 2020 +0000
+++ b/security/openssl/Makefile Wed Jul 22 20:41:30 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.261 2020/07/13 11:35:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.262 2020/07/22 20:41:30 sjmulder Exp $
DISTNAME= openssl-1.1.1g
PKGREVISION= 2
@@ -39,6 +39,7 @@
# specify it manually and call the Configure script directly.
OPENSSL_HOST.SunOS-i386= solaris-x86-gcc
OPENSSL_HOST.SunOS-x86_64= solaris64-x86_64-gcc
+OPENSSL_HOST.Darwin-aarch64= darwin64-arm64-cc
.if defined(OPENSSL_HOST.${OPSYS}-${MACHINE_ARCH})
CONFIG_SHELL= ${PERL5}
diff -r 3e03c5e0d755 -r a7bd0d9f54d6 security/openssl/distinfo
--- a/security/openssl/distinfo Wed Jul 22 19:26:45 2020 +0000
+++ b/security/openssl/distinfo Wed Jul 22 20:41:30 2020 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.143 2020/07/10 10:04:54 hauke Exp $
+$NetBSD: distinfo,v 1.144 2020/07/22 20:41:30 sjmulder Exp $
SHA1 (openssl-1.1.1g.tar.gz) = b213a293f2127ec3e323fb3cfc0c9807664fd997
RMD160 (openssl-1.1.1g.tar.gz) = 427b7b12c06715ad1c95d3ff5e38055c6bb66c1d
SHA512 (openssl-1.1.1g.tar.gz) = 01e3d0b1bceeed8fb066f542ef5480862001556e0f612e017442330bbd7e5faee228b2de3513d7fc347446b7f217e27de1003dc9d7214d5833b97593f3ec25ab
Size (openssl-1.1.1g.tar.gz) = 9801502 bytes
+SHA1 (patch-Configurations_10-main.conf) = d27643187e0b71041f47a9a7c7eec811f7539085
SHA1 (patch-Configurations_shared-info.pl) = 0e835f6e343b5d05ef9a0e6ef2a195201262d15c
SHA1 (patch-Configurations_unix-Makefile.tmpl) = d58376dfc8cbb4c7d98ca64093759f173eac73da
SHA1 (patch-Configure) = 479f1bc826f7721f6b44d6b5a6cf460432924bf2
diff -r 3e03c5e0d755 -r a7bd0d9f54d6 security/openssl/patches/patch-Configurations_10-main.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openssl/patches/patch-Configurations_10-main.conf Wed Jul 22 20:41:30 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-Configurations_10-main.conf,v 1.1 2020/07/22 20:41:30 sjmulder Exp $
+
+Add support for Apple Silicon. Imported from open pull request:
+https://github.com/openssl/openssl/pull/12369
+
+--- Configurations/10-main.conf.orig 2020-04-21 12:22:39.000000000 +0000
++++ Configurations/10-main.conf
+@@ -1557,6 +1557,14 @@ my %targets = (
+ bn_ops => "SIXTY_FOUR_BIT_LONG",
+ perlasm_scheme => "macosx",
+ },
++ "darwin64-arm64-cc" => {
++ inherit_from => [ "darwin-common", asm("aarch64_asm") ],
++ CFLAGS => add("-Wall"),
++ cflags => add("-arch arm64"),
++ lib_cppflags => add("-DL_ENDIAN"),
++ bn_ops => "SIXTY_FOUR_BIT_LONG",
++ perlasm_scheme => "ios64",
++ },
+
+ ##### GNU Hurd
+ "hurd-x86" => {
Home |
Main Index |
Thread Index |
Old Index