- Fix OpenSSL support for NetBSD/amd64 (https works fine now) - Fix NetBSD/i386 support (hopefully also works for other ILP32 archs) - Add NetBSD/aarch64 support - Bump revisiondiff -r1.154 -r1.155 pkgsrc/lang/nodejs/Makefile
(rin)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.154 2019/01/31 13:38:49 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.155 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | DISTNAME= node-v10.15.1 | 3 | DISTNAME= node-v10.15.1 | |
4 | PKGREVISION= 1 | |||
4 | 5 | |||
5 | USE_LANGUAGES= c gnu++14 | 6 | USE_LANGUAGES= c gnu++14 | |
6 | 7 | |||
7 | # Stated by the changelog as of 8.2.0 | 8 | # Stated by the changelog as of 8.2.0 | |
8 | GCC_REQD+= 4.9.4 | 9 | GCC_REQD+= 4.9.4 | |
9 | 10 | |||
10 | # Stated by the changelog | 11 | # Stated by the changelog | |
11 | BUILDLINK_API_DEPENDS.libuv+= libuv>=1.23 | 12 | BUILDLINK_API_DEPENDS.libuv+= libuv>=1.23 | |
12 | 13 | |||
13 | # Requires http_parser_set_max_header_size | 14 | # Requires http_parser_set_max_header_size | |
14 | BUILDLINK_API_DEPENDS.http-parser+= http-parser>=2.9.0 | 15 | BUILDLINK_API_DEPENDS.http-parser+= http-parser>=2.9.0 | |
15 | 16 | |||
16 | .include "../../mk/bsd.prefs.mk" | 17 | .include "../../mk/bsd.prefs.mk" |
@@ -1,28 +1,32 @@ | @@ -1,28 +1,32 @@ | |||
1 | $NetBSD: distinfo,v 1.144 2019/01/31 08:46:37 adam Exp $ | 1 | $NetBSD: distinfo,v 1.145 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | SHA1 (node-v10.15.1.tar.gz) = ff5b314bf02dd8ca021567e033b480edc9baebe6 | 3 | SHA1 (node-v10.15.1.tar.gz) = ff5b314bf02dd8ca021567e033b480edc9baebe6 | |
4 | RMD160 (node-v10.15.1.tar.gz) = 5ed37484dacf23c7850012ff06e18c9bd4b9070c | 4 | RMD160 (node-v10.15.1.tar.gz) = 5ed37484dacf23c7850012ff06e18c9bd4b9070c | |
5 | SHA512 (node-v10.15.1.tar.gz) = 5570ff74924235f406186af26e7c5774cad9004f0c417345eb6d3e47d34b8284df004f64ee0c3dc14a84bf152d33f9e7e766aef099fd0172677759fc3309b1de | 5 | SHA512 (node-v10.15.1.tar.gz) = 5570ff74924235f406186af26e7c5774cad9004f0c417345eb6d3e47d34b8284df004f64ee0c3dc14a84bf152d33f9e7e766aef099fd0172677759fc3309b1de | |
6 | Size (node-v10.15.1.tar.gz) = 36328287 bytes | 6 | Size (node-v10.15.1.tar.gz) = 36328287 bytes | |
7 | SHA1 (patch-common.gypi) = de37949f38d9bd39a18b59d59ec74e528bd323ac | 7 | SHA1 (patch-common.gypi) = de37949f38d9bd39a18b59d59ec74e528bd323ac | |
8 | SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f | 8 | SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f | |
9 | SHA1 (patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi) = f92f5547728cf67de5ccfd652f23cc4ab8f5b207 | 9 | SHA1 (patch-deps_openssl_config_archs_linux-elf_asm_openssl-cl.gypi) = f92f5547728cf67de5ccfd652f23cc4ab8f5b207 | |
10 | SHA1 (patch-deps_openssl_config_opensslconf__asm.h) = c43c7732164a107d7a294cac040708970ef0a212 | 10 | SHA1 (patch-deps_openssl_config_bn__conf__asm.h) = a4cf4f0771c96fb09a00b76b25d35000d65ef92f | |
11 | SHA1 (patch-deps_openssl_config_opensslconf__no-asm.h) = 9fd4acc86deb7da00cb501654713dfa2b26f412e | 11 | SHA1 (patch-deps_openssl_config_bn__conf__no-asm.h) = 5b90403407f09f6d28729e2cff8fccc361145d0d | |
12 | SHA1 (patch-deps_openssl_openssl-cl__asm.gypi) = 3254dd37670faa19be8ac51e8195e30cc27ea42f | 12 | SHA1 (patch-deps_openssl_config_dso__conf__asm.h) = ae8285306fd165dc881fd8c6783cf0977d73371a | |
13 | SHA1 (patch-deps_openssl_openssl-cl__no__asm.gypi) = 86592025ab1d04dbef23d1d2725196e5d5b6fc4e | 13 | SHA1 (patch-deps_openssl_config_dso__conf__no-asm.h) = 7ea313e8f9ba74e9de4ea559f6fc993cc0454882 | |
14 | SHA1 (patch-deps_openssl_openssl__asm.gypi) = 8d58f6177cc7b5b58f8ed1a69121da2685195d78 | 14 | SHA1 (patch-deps_openssl_config_opensslconf__asm.h) = e9bb26b66431595d13d4173d3ed5f3e583bd009f | |
15 | SHA1 (patch-deps_openssl_openssl__no__asm.gypi) = 588d5943c1ef24cafd0be182e080d67747a941d2 | 15 | SHA1 (patch-deps_openssl_config_opensslconf__no-asm.h) = 062f0227014df2d6cc45c84c9f348494c2f644e2 | |
16 | SHA1 (patch-deps_openssl_openssl-cl__asm.gypi) = addb5837ea7b8ea2732cd2f5aaa8a24289b1199f | |||
17 | SHA1 (patch-deps_openssl_openssl-cl__no__asm.gypi) = 73368f336dbe500e45f0ba6bbb7656416a27b294 | |||
18 | SHA1 (patch-deps_openssl_openssl__asm.gypi) = b85e1f5a9f862d469afcb36ff6e1ad202bea704a | |||
19 | SHA1 (patch-deps_openssl_openssl__no__asm.gypi) = b549ea34f51e26669a41a64da0db10e92f0d0a99 | |||
16 | SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3 | 20 | SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3 | |
17 | SHA1 (patch-deps_uv_src_unix_netbsd.c) = c19ff4024f828018364793d9dea013c991cfb93f | 21 | SHA1 (patch-deps_uv_src_unix_netbsd.c) = c19ff4024f828018364793d9dea013c991cfb93f | |
18 | SHA1 (patch-deps_v8_src_arm_assembler-arm-inl.h) = 56a5d6539d31e19673ef61cc91f003109c69dc29 | 22 | SHA1 (patch-deps_v8_src_arm_assembler-arm-inl.h) = 56a5d6539d31e19673ef61cc91f003109c69dc29 | |
19 | SHA1 (patch-deps_v8_src_arm_assembler-arm.cc) = f32d5d2a1096f822c813eaf6d02b9348564213f6 | 23 | SHA1 (patch-deps_v8_src_arm_assembler-arm.cc) = f32d5d2a1096f822c813eaf6d02b9348564213f6 | |
20 | SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d | 24 | SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d | |
21 | SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da | 25 | SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da | |
22 | SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 427c7712fc1c2872fc48e593f7ab491c69ee44e3 | 26 | SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 427c7712fc1c2872fc48e593f7ab491c69ee44e3 | |
23 | SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8 | 27 | SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8 | |
24 | SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 0d80cc6587af9220832de112834e9f50242f819f | 28 | SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 0d80cc6587af9220832de112834e9f50242f819f | |
25 | SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = aa84bf1dbaac5808529f6b01502d117c88751649 | 29 | SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = aa84bf1dbaac5808529f6b01502d117c88751649 | |
26 | SHA1 (patch-deps_v8_src_compiler_types.h) = 711cc94535200374104c3cd1f0fbbd00994701a6 | 30 | SHA1 (patch-deps_v8_src_compiler_types.h) = 711cc94535200374104c3cd1f0fbbd00994701a6 | |
27 | SHA1 (patch-deps_v8_src_globals.h) = 6695a381000844ad9837bdbc3edbe9040ec4d5ff | 31 | SHA1 (patch-deps_v8_src_globals.h) = 6695a381000844ad9837bdbc3edbe9040ec4d5ff | |
28 | SHA1 (patch-deps_v8_src_log-utils.h) = 765e4e4af2cb11e38c033174ac92fbb6ee1fd480 | 32 | SHA1 (patch-deps_v8_src_log-utils.h) = 765e4e4af2cb11e38c033174ac92fbb6ee1fd480 |
$NetBSD: patch-deps_openssl_config_bn__conf__asm.h,v 1.1 2019/02/24 12:18:55 rin Exp $
Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs)
--- deps/openssl/config/bn_conf_asm.h.orig 2019-01-29 16:20:45.000000000 +0900
+++ deps/openssl/config/bn_conf_asm.h 2019-02-24 10:23:14.508941933 +0900
@@ -9,9 +9,9 @@
# include "./archs/linux-x32/asm/crypto/include/internal/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__arm__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__)
# include "./archs/linux-armv4/asm/crypto/include/internal/bn_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__)
# include "./archs/linux-aarch64/asm/crypto/include/internal/bn_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/asm/crypto/include/internal/bn_conf.h"
@@ -21,9 +21,10 @@
# include "./archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h"
#elif defined(_WIN32) && defined(_M_X64)
# include "./archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
-# include "./archs/BSD-x86/asm/crypto/include/internal/bn_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
+// XXX missing
+//#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__)
+//# include "./archs/BSD-x86/asm/crypto/include/internal/bn_conf.h"
+#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__)
# include "./archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h"
#elif defined(__sun) && defined(__i386__)
# include "./archs/solaris-x86-gcc/asm/crypto/include/internal/bn_conf.h"
$NetBSD: patch-deps_openssl_config_bn__conf__no-asm.h,v 1.1 2019/02/24 12:18:55 rin Exp $
Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs)
--- deps/openssl/config/bn_conf_no-asm.h.orig 2019-01-29 16:20:45.000000000 +0900
+++ deps/openssl/config/bn_conf_no-asm.h 2019-02-24 10:23:06.960730222 +0900
@@ -9,9 +9,9 @@
# include "./archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__arm__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__)
# include "./archs/linux-armv4/no-asm/crypto/include/internal/bn_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/crypto/include/internal/bn_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/crypto/include/internal/bn_conf.h"
@@ -21,9 +21,10 @@
# include "./archs/VC-WIN32/no-asm/crypto/include/internal/bn_conf.h"
#elif defined(_WIN32) && defined(_M_X64)
# include "./archs/VC-WIN64A/no-asm/crypto/include/internal/bn_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
-# include "./archs/BSD-x86/no-asm/crypto/include/internal/bn_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
+// XXX missing
+//#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__)
+//# include "./archs/BSD-x86/no-asm/crypto/include/internal/bn_conf.h"
+#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__)
# include "./archs/BSD-x86_64/no-asm/crypto/include/internal/bn_conf.h"
#elif defined(__sun) && defined(__i386__)
# include "./archs/solaris-x86-gcc/no-asm/crypto/include/internal/bn_conf.h"
$NetBSD: patch-deps_openssl_config_dso__conf__asm.h,v 1.1 2019/02/24 12:18:55 rin Exp $
Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs)
--- deps/openssl/config/dso_conf_asm.h.orig 2019-02-24 10:37:55.875191472 +0900
+++ deps/openssl/config/dso_conf_asm.h 2019-02-24 10:24:24.895671320 +0900
@@ -9,9 +9,9 @@
# include "./archs/linux-x32/asm/crypto/include/internal/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__arm__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__)
# include "./archs/linux-armv4/asm/crypto/include/internal/dso_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__)
# include "./archs/linux-aarch64/asm/crypto/include/internal/dso_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/asm/crypto/include/internal/dso_conf.h"
@@ -21,9 +21,10 @@
# include "./archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h"
#elif defined(_WIN32) && defined(_M_X64)
# include "./archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
-# include "./archs/BSD-x86/asm/crypto/include/internal/dso_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
+// XXX missing
+//#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__)
+//# include "./archs/BSD-x86/asm/crypto/include/internal/dso_conf.h"
+#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__)
# include "./archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h"
#elif defined(__sun) && defined(__i386__)
# include "./archs/solaris-x86-gcc/asm/crypto/include/internal/dso_conf.h"
$NetBSD: patch-deps_openssl_config_dso__conf__no-asm.h,v 1.1 2019/02/24 12:18:55 rin Exp $
Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs)
--- deps/openssl/config/dso_conf_no-asm.h.orig 2019-01-29 16:20:45.000000000 +0900
+++ deps/openssl/config/dso_conf_no-asm.h 2019-02-24 10:24:59.496934700 +0900
@@ -9,9 +9,9 @@
# include "./archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__arm__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__)
# include "./archs/linux-armv4/no-asm/crypto/include/internal/dso_conf.h"
-#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
+#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__)
# include "./archs/linux-aarch64/no-asm/crypto/include/internal/dso_conf.h"
#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
# include "./archs/darwin-i386-cc/no-asm/crypto/include/internal/dso_conf.h"
@@ -21,9 +21,10 @@
# include "./archs/VC-WIN32/no-asm/crypto/include/internal/dso_conf.h"
#elif defined(_WIN32) && defined(_M_X64)
# include "./archs/VC-WIN64A/no-asm/crypto/include/internal/dso_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
-# include "./archs/BSD-x86/no-asm/crypto/include/internal/dso_conf.h"
-#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
+// XXX missing
+//#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__)
+//# include "./archs/BSD-x86/no-asm/crypto/include/internal/dso_conf.h"
+#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__)
# include "./archs/BSD-x86_64/no-asm/crypto/include/internal/dso_conf.h"
#elif defined(__sun) && defined(__i386__)
# include "./archs/solaris-x86-gcc/no-asm/crypto/include/internal/dso_conf.h"
@@ -1,26 +1,29 @@ | @@ -1,26 +1,29 @@ | |||
1 | $NetBSD: patch-deps_openssl_config_opensslconf__asm.h,v 1.3 2019/01/21 11:00:45 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_config_opensslconf__asm.h,v 1.4 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/config/opensslconf_asm.h.orig 2018-12-26 05:26:13.000000000 +0000 | 5 | --- deps/openssl/config/opensslconf_asm.h.orig 2019-01-29 16:20:45.000000000 +0900 | |
6 | +++ deps/openssl/config/opensslconf_asm.h | 6 | +++ deps/openssl/config/opensslconf_asm.h 2019-02-24 09:05:18.803688546 +0900 | |
7 | @@ -96,7 +96,7 @@ | 7 | @@ -96,9 +96,9 @@ | |
8 | # include "./archs/linux-x32/asm/include/openssl/opensslconf.h" | 8 | # include "./archs/linux-x32/asm/include/openssl/opensslconf.h" | |
9 | #elif defined(OPENSSL_LINUX) && defined(__x86_64__) | 9 | #elif defined(OPENSSL_LINUX) && defined(__x86_64__) | |
10 | # include "./archs/linux-x86_64/asm/include/openssl/opensslconf.h" | 10 | # include "./archs/linux-x86_64/asm/include/openssl/opensslconf.h" | |
11 | -#elif defined(OPENSSL_LINUX) && defined(__arm__) | 11 | -#elif defined(OPENSSL_LINUX) && defined(__arm__) | |
12 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__) | 12 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__) | |
13 | # include "./archs/linux-armv4/asm/include/openssl/opensslconf.h" | 13 | # include "./archs/linux-armv4/asm/include/openssl/opensslconf.h" | |
14 | #elif defined(OPENSSL_LINUX) && defined(__aarch64__) | 14 | -#elif defined(OPENSSL_LINUX) && defined(__aarch64__) | |
15 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__) | |||
15 | # include "./archs/linux-aarch64/asm/include/openssl/opensslconf.h" | 16 | # include "./archs/linux-aarch64/asm/include/openssl/opensslconf.h" | |
17 | #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) | |||
18 | # include "./archs/darwin-i386-cc/asm/include/openssl/opensslconf.h" | |||
16 | @@ -108,9 +108,7 @@ | 19 | @@ -108,9 +108,7 @@ | |
17 | # include "./archs/VC-WIN32/asm/include/openssl/opensslconf.h" | 20 | # include "./archs/VC-WIN32/asm/include/openssl/opensslconf.h" | |
18 | #elif defined(_WIN32) && defined(_M_X64) | 21 | #elif defined(_WIN32) && defined(_M_X64) | |
19 | # include "./archs/VC-WIN64A/asm/include/openssl/opensslconf.h" | 22 | # include "./archs/VC-WIN64A/asm/include/openssl/opensslconf.h" | |
20 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) | 23 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) | |
21 | -# include "./archs/BSD-x86/asm/include/openssl/opensslconf.h" | 24 | -# include "./archs/BSD-x86/asm/include/openssl/opensslconf.h" | |
22 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) | 25 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) | |
23 | +#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__) | 26 | +#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__) | |
24 | # include "./archs/BSD-x86_64/asm/include/openssl/opensslconf.h" | 27 | # include "./archs/BSD-x86_64/asm/include/openssl/opensslconf.h" | |
25 | #elif defined(__sun) && defined(__i386__) | 28 | #elif defined(__sun) && defined(__i386__) | |
26 | # include "./archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h" | 29 | # include "./archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h" |
@@ -1,27 +1,32 @@ | @@ -1,27 +1,32 @@ | |||
1 | $NetBSD: patch-deps_openssl_config_opensslconf__no-asm.h,v 1.2 2019/01/10 13:02:41 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_config_opensslconf__no-asm.h,v 1.3 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/config/opensslconf_no-asm.h.orig 2018-12-10 21:19:03.000000000 +0000 | 5 | --- deps/openssl/config/opensslconf_no-asm.h.orig 2019-01-29 16:20:45.000000000 +0900 | |
6 | +++ deps/openssl/config/opensslconf_no-asm.h | 6 | +++ deps/openssl/config/opensslconf_no-asm.h 2019-02-24 10:26:51.159213732 +0900 | |
7 | @@ -4,7 +4,7 @@ | 7 | @@ -4,9 +4,9 @@ | |
8 | # include "./archs/linux-x32/no-asm/include/openssl/opensslconf.h" | 8 | # include "./archs/linux-x32/no-asm/include/openssl/opensslconf.h" | |
9 | #elif defined(OPENSSL_LINUX) && defined(__x86_64__) | 9 | #elif defined(OPENSSL_LINUX) && defined(__x86_64__) | |
10 | # include "./archs/linux-x86_64/no-asm/include/openssl/opensslconf.h" | 10 | # include "./archs/linux-x86_64/no-asm/include/openssl/opensslconf.h" | |
11 | -#elif defined(OPENSSL_LINUX) && defined(__arm__) | 11 | -#elif defined(OPENSSL_LINUX) && defined(__arm__) | |
12 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__) | 12 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__arm__) | |
13 | # include "./archs/linux-armv4/no-asm/include/openssl/opensslconf.h" | 13 | # include "./archs/linux-armv4/no-asm/include/openssl/opensslconf.h" | |
14 | #elif defined(OPENSSL_LINUX) && defined(__aarch64__) | 14 | -#elif defined(OPENSSL_LINUX) && defined(__aarch64__) | |
15 | +#elif (defined(OPENSSL_LINUX) || defined(__NetBSD__)) && defined(__aarch64__) | |||
15 | # include "./archs/linux-aarch64/no-asm/include/openssl/opensslconf.h" | 16 | # include "./archs/linux-aarch64/no-asm/include/openssl/opensslconf.h" | |
16 | @@ -16,9 +16,9 @@ | 17 | #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__) | |
18 | # include "./archs/darwin-i386-cc/no-asm/include/openssl/opensslconf.h" | |||
19 | @@ -16,9 +16,10 @@ | |||
17 | # include "./archs/VC-WIN32/no-asm/include/openssl/opensslconf.h" | 20 | # include "./archs/VC-WIN32/no-asm/include/openssl/opensslconf.h" | |
18 | #elif defined(_WIN32) && defined(_M_X64) | 21 | #elif defined(_WIN32) && defined(_M_X64) | |
19 | # include "./archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h" | 22 | # include "./archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h" | |
20 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) | 23 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__) | |
21 | +#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__) | 24 | -# include "./archs/BSD-x86/no-asm/include/openssl/opensslconf.h" | |
22 | # include "./archs/BSD-x86/no-asm/include/openssl/opensslconf.h" | |||
23 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) | 25 | -#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__) | |
26 | +// XXX missing | |||
27 | +//#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__i386__) | |||
28 | +//# include "./archs/BSD-x86/no-asm/include/openssl/opensslconf.h" | |||
24 | +#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__) | 29 | +#elif (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__x86_64__) | |
25 | # include "./archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h" | 30 | # include "./archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h" | |
26 | #elif defined(__sun) && defined(__i386__) | 31 | #elif defined(__sun) && defined(__i386__) | |
27 | # include "./archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h" | 32 | # include "./archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h" |
@@ -1,17 +1,30 @@ | @@ -1,17 +1,30 @@ | |||
1 | $NetBSD: patch-deps_openssl_openssl-cl__asm.gypi,v 1.2 2019/01/10 13:02:41 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_openssl-cl__asm.gypi,v 1.3 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/openssl-cl_asm.gypi.orig 2018-12-10 21:19:03.000000000 +0000 | 5 | XXX Change default to linux-elf instead of linux-x86_64 (from FreeBSD ports) | |
6 | +++ deps/openssl/openssl-cl_asm.gypi | 6 | ||
7 | @@ -31,6 +31,10 @@ | 7 | --- deps/openssl/openssl-cl_asm.gypi.orig 2019-01-29 16:20:45.000000000 +0900 | |
8 | +++ deps/openssl/openssl-cl_asm.gypi 2019-02-24 10:28:36.290301337 +0900 | |||
9 | @@ -31,6 +31,12 @@ | |||
8 | 'includes': ['config/archs/linux-elf/asm/openssl-cl.gypi'], | 10 | 'includes': ['config/archs/linux-elf/asm/openssl-cl.gypi'], | |
9 | }, 'target_arch=="x64" and OS=="freebsd"', { | 11 | }, 'target_arch=="x64" and OS=="freebsd"', { | |
10 | 'includes': ['config/archs/BSD-x86_64/asm/openssl-cl.gypi'], | 12 | 'includes': ['config/archs/BSD-x86_64/asm/openssl-cl.gypi'], | |
11 | + }, 'target_arch=="arm" and OS=="netbsd"', { | 13 | + }, 'target_arch=="arm" and OS=="netbsd"', { | |
12 | + 'includes': ['config/archs/linux-armv4/asm/openssl-cl.gypi'], | 14 | + 'includes': ['config/archs/linux-armv4/asm/openssl-cl.gypi'], | |
15 | + }, 'target_arch=="arm64" and OS=="netbsd"', { | |||
16 | + 'includes': ['config/archs/linux-aarch64/asm/openssl-cl.gypi'], | |||
13 | + }, 'target_arch=="x64" and OS=="netbsd"', { | 17 | + }, 'target_arch=="x64" and OS=="netbsd"', { | |
14 | + 'includes': ['config/archs/BSD-x86_64/asm/openssl-cl.gypi'], | 18 | + 'includes': ['config/archs/BSD-x86_64/asm/openssl-cl.gypi'], | |
15 | }, 'target_arch=="x64" and OS=="mac"', { | 19 | }, 'target_arch=="x64" and OS=="mac"', { | |
16 | 'includes': ['config/archs/darwin64-x86_64-cc/asm/openssl-cl.gypi'], | 20 | 'includes': ['config/archs/darwin64-x86_64-cc/asm/openssl-cl.gypi'], | |
17 | }, 'target_arch=="x64" and OS=="solaris"', { | 21 | }, 'target_arch=="x64" and OS=="solaris"', { | |
22 | @@ -41,7 +47,7 @@ | |||
23 | 'includes': ['config/archs/linux-x86_64/asm/openssl-cl.gypi'], | |||
24 | }, { | |||
25 | # Other architectures don't use assembly | |||
26 | - 'includes': ['config/archs/linux-x86_64/asm/openssl-cl.gypi'], | |||
27 | + 'includes': ['config/archs/linux-elf/asm/openssl-cl.gypi'], | |||
28 | }], | |||
29 | ], | |||
30 | } |
@@ -1,17 +1,36 @@ | @@ -1,17 +1,36 @@ | |||
1 | $NetBSD: patch-deps_openssl_openssl-cl__no__asm.gypi,v 1.2 2019/01/10 13:02:41 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_openssl-cl__no__asm.gypi,v 1.3 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/openssl-cl_no_asm.gypi.orig 2018-12-10 21:19:03.000000000 +0000 | 5 | XXX Change default to linux-elf instead of linux-x86_64 (from FreeBSD ports) | |
6 | +++ deps/openssl/openssl-cl_no_asm.gypi | 6 | ||
7 | @@ -31,6 +31,10 @@ | 7 | --- deps/openssl/openssl-cl_no_asm.gypi.orig 2019-01-29 16:20:45.000000000 +0900 | |
8 | +++ deps/openssl/openssl-cl_no_asm.gypi 2019-02-24 10:28:59.344517509 +0900 | |||
9 | @@ -1,4 +1,5 @@ | |||
10 | { | |||
11 | + 'defines': ['OPENSSL_NO_ASM'], | |||
12 | 'conditions': [ | |||
13 | ['target_arch=="ppc" and OS=="aix"', { | |||
14 | 'includes': ['config/archs/aix-gcc/no-asm/openssl-cl.gypi'], | |||
15 | @@ -31,6 +32,12 @@ | |||
8 | 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'], | 16 | 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'], | |
9 | }, 'target_arch=="x64" and OS=="freebsd"', { | 17 | }, 'target_arch=="x64" and OS=="freebsd"', { | |
10 | 'includes': ['config/archs/BSD-x86_64/no-asm/openssl-cl.gypi'], | 18 | 'includes': ['config/archs/BSD-x86_64/no-asm/openssl-cl.gypi'], | |
11 | + }, 'target_arch=="x64" and OS=="netbsd"', { | |||
12 | + 'includes': ['config/archs/BSD-x86_64/no-asm/openssl-cl.gypi'], | |||
13 | + }, 'target_arch=="arm" and OS=="netbsd"', { | 19 | + }, 'target_arch=="arm" and OS=="netbsd"', { | |
14 | + 'includes': ['config/archs/linux-armv4/no-asm/openssl-cl.gypi'], | 20 | + 'includes': ['config/archs/linux-armv4/no-asm/openssl-cl.gypi'], | |
21 | + }, 'target_arch=="arm64" and OS=="netbsd"', { | |||
22 | + 'includes': ['config/archs/linux-aarch64/no-asm/openssl-cl.gypi'], | |||
23 | + }, 'target_arch=="x64" and OS=="netbsd"', { | |||
24 | + 'includes': ['config/archs/BSD-x86_64/no-asm/openssl-cl.gypi'], | |||
15 | }, 'target_arch=="x64" and OS=="mac"', { | 25 | }, 'target_arch=="x64" and OS=="mac"', { | |
16 | 'includes': ['config/archs/darwin64-x86_64-cc/no-asm/openssl-cl.gypi'], | 26 | 'includes': ['config/archs/darwin64-x86_64-cc/no-asm/openssl-cl.gypi'], | |
17 | }, 'target_arch=="x64" and OS=="solaris"', { | 27 | }, 'target_arch=="x64" and OS=="solaris"', { | |
28 | @@ -41,7 +48,7 @@ | |||
29 | 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'], | |||
30 | }, { | |||
31 | # Other architectures don't use assembly | |||
32 | - 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'], | |||
33 | + 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'], | |||
34 | }], | |||
35 | ], | |||
36 | } |
@@ -1,17 +1,30 @@ | @@ -1,17 +1,30 @@ | |||
1 | $NetBSD: patch-deps_openssl_openssl__asm.gypi,v 1.2 2019/01/10 13:02:41 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_openssl__asm.gypi,v 1.3 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/openssl_asm.gypi.orig 2018-12-10 21:19:04.000000000 +0000 | 5 | XXX Change default to linux-elf instead of linux-x86_64 (from FreeBSD ports) | |
6 | +++ deps/openssl/openssl_asm.gypi | 6 | ||
7 | @@ -46,6 +46,10 @@ | 7 | --- deps/openssl/openssl_asm.gypi.orig 2019-01-29 16:20:46.000000000 +0900 | |
8 | +++ deps/openssl/openssl_asm.gypi 2019-02-24 12:11:23.696088048 +0900 | |||
9 | @@ -46,6 +46,12 @@ | |||
8 | 'includes': ['config/archs/linux-elf/asm/openssl.gypi'], | 10 | 'includes': ['config/archs/linux-elf/asm/openssl.gypi'], | |
9 | }, 'target_arch=="x64" and OS=="freebsd"', { | 11 | }, 'target_arch=="x64" and OS=="freebsd"', { | |
10 | 'includes': ['config/archs/BSD-x86_64/asm/openssl.gypi'], | 12 | 'includes': ['config/archs/BSD-x86_64/asm/openssl.gypi'], | |
11 | + }, 'target_arch=="arm" and OS=="netbsd"', { | 13 | + }, 'target_arch=="arm" and OS=="netbsd"', { | |
12 | + 'includes': ['config/archs/linux-armv4/asm/openssl.gypi'], | 14 | + 'includes': ['config/archs/linux-armv4/asm/openssl.gypi'], | |
15 | + }, 'target_arch=="arm64" and OS=="netbsd"', { | |||
16 | + 'includes': ['config/archs/linux-aarch64/asm/openssl.gypi'], | |||
13 | + }, 'target_arch=="x64" and OS=="netbsd"', { | 17 | + }, 'target_arch=="x64" and OS=="netbsd"', { | |
14 | + 'includes': ['config/archs/BSD-x86_64/asm/openssl.gypi'], | 18 | + 'includes': ['config/archs/BSD-x86_64/asm/openssl.gypi'], | |
15 | }, 'target_arch=="x64" and OS=="mac"', { | 19 | }, 'target_arch=="x64" and OS=="mac"', { | |
16 | 'includes': ['config/archs/darwin64-x86_64-cc/asm/openssl.gypi'], | 20 | 'includes': ['config/archs/darwin64-x86_64-cc/asm/openssl.gypi'], | |
17 | }, 'target_arch=="x64" and OS=="solaris"', { | 21 | }, 'target_arch=="x64" and OS=="solaris"', { | |
22 | @@ -75,7 +81,7 @@ | |||
23 | 'includes': ['config/archs/linux-x86_64/asm/openssl.gypi'], | |||
24 | }, { | |||
25 | # Other architectures don't use assembly | |||
26 | - 'includes': ['config/archs/linux-x86_64/asm/openssl.gypi'], | |||
27 | + 'includes': ['config/archs/linux-elf/asm/openssl.gypi'], | |||
28 | }], | |||
29 | ], | |||
30 | } |
@@ -1,17 +1,30 @@ | @@ -1,17 +1,30 @@ | |||
1 | $NetBSD: patch-deps_openssl_openssl__no__asm.gypi,v 1.2 2019/01/10 13:02:41 ryoon Exp $ | 1 | $NetBSD: patch-deps_openssl_openssl__no__asm.gypi,v 1.3 2019/02/24 12:18:55 rin Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD. | 3 | Support NetBSD/arm,aarch64,i386,amd64 (and hopefully other ILP32 archs) | |
4 | 4 | |||
5 | --- deps/openssl/openssl_no_asm.gypi.orig 2018-12-10 21:19:04.000000000 +0000 | 5 | XXX Change default to linux-elf instead of linux-x86_64 (from FreeBSD ports) | |
6 | +++ deps/openssl/openssl_no_asm.gypi | 6 | ||
7 | @@ -32,6 +32,10 @@ | 7 | --- deps/openssl/openssl_no_asm.gypi.orig 2019-01-29 16:20:46.000000000 +0900 | |
8 | +++ deps/openssl/openssl_no_asm.gypi 2019-02-24 10:29:47.246812244 +0900 | |||
9 | @@ -32,6 +32,12 @@ | |||
8 | 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], | 10 | 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], | |
9 | }, 'target_arch=="x64" and OS=="freebsd"', { | 11 | }, 'target_arch=="x64" and OS=="freebsd"', { | |
10 | 'includes': ['config/archs/BSD-x86_64/no-asm/openssl.gypi'], | 12 | 'includes': ['config/archs/BSD-x86_64/no-asm/openssl.gypi'], | |
11 | + }, 'target_arch=="arm" and OS=="netbsd"', { | 13 | + }, 'target_arch=="arm" and OS=="netbsd"', { | |
12 | + 'includes': ['config/archs/linux-armv4/no-asm/openssl.gypi'], | 14 | + 'includes': ['config/archs/linux-armv4/no-asm/openssl.gypi'], | |
15 | + }, 'target_arch=="arm64" and OS=="netbsd"', { | |||
16 | + 'includes': ['config/archs/linux-aarch64/no-asm/openssl.gypi'], | |||
13 | + }, 'target_arch=="x64" and OS=="netbsd"', { | 17 | + }, 'target_arch=="x64" and OS=="netbsd"', { | |
14 | + 'includes': ['config/archs/BSD-x86_64/no-asm/openssl.gypi'], | 18 | + 'includes': ['config/archs/BSD-x86_64/no-asm/openssl.gypi'], | |
15 | }, 'target_arch=="x64" and OS=="mac"', { | 19 | }, 'target_arch=="x64" and OS=="mac"', { | |
16 | 'includes': ['config/archs/darwin64-x86_64-cc/no-asm/openssl.gypi'], | 20 | 'includes': ['config/archs/darwin64-x86_64-cc/no-asm/openssl.gypi'], | |
17 | }, 'target_arch=="x64" and OS=="solaris"', { | 21 | }, 'target_arch=="x64" and OS=="solaris"', { | |
22 | @@ -42,7 +48,7 @@ | |||
23 | 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], | |||
24 | }, { | |||
25 | # Other architectures don't use assembly | |||
26 | - 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], | |||
27 | + 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], | |||
28 | }], | |||
29 | ], | |||
30 | } |