pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

boringssl: modernize package, install shared libraries



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri May 10 08:36:13 2024 +0200
Changeset:	6bf6fd5fb5a203a8539762e87a2a948d8de545db

Modified Files:
	boringssl/Makefile
	boringssl/PLIST
	boringssl/distinfo
Added Files:
	boringssl/go-modules.mk

Log Message:
boringssl: modernize package, install shared libraries

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6bf6fd5fb5a203a8539762e87a2a948d8de545db

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 boringssl/Makefile      | 12 ++++--------
 boringssl/PLIST         |  4 ++--
 boringssl/distinfo      | 45 +++++++++++++++++++++++++++++++++++++++++++++
 boringssl/go-modules.mk | 17 +++++++++++++++++
 4 files changed, 68 insertions(+), 10 deletions(-)

diffs:
diff --git a/boringssl/Makefile b/boringssl/Makefile
index 40b80bd914..ccaa78ef04 100644
--- a/boringssl/Makefile
+++ b/boringssl/Makefile
@@ -11,15 +11,11 @@ LICENSE=	openssl
 
 WRKSRC=		${WRKDIR}/boringssl
 
-.include "../../lang/go/version.mk"
-
-TOOL_DEPENDS+=	${GO_PACKAGE_DEP}
-
 USE_TOOLS+=		cmake perl
 USE_LANGUAGES+=		c gnu++11
-USE_CMAKE=		yes
 TEST_TARGET=		run_tests
 CMAKE_INSTALL_PREFIX=	${PREFIX}/boringssl
+CMAKE_ARGS+=		-DBUILD_SHARED_LIBS=ON
 
 CFLAGS+=	-D_XOPEN_SOURCE=600 -D_NETBSD_SOURCE
 
@@ -30,7 +26,7 @@ SUBST_STAGE.go=		pre-configure
 SUBST_FILES.go=		CMakeLists.txt
 SUBST_SED.go=		-e '/find_program.GO_EXECUTABLE/s,go,${GO},'
 
-post-extract:
-	${RUN} mkdir -p ${WRKDIR}/build
-
+.include "go-modules.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/boringssl/PLIST b/boringssl/PLIST
index 65e92401af..97ffb49e02 100644
--- a/boringssl/PLIST
+++ b/boringssl/PLIST
@@ -82,5 +82,5 @@ boringssl/include/openssl/x509v3.h
 boringssl/lib/cmake/OpenSSL/OpenSSLConfig.cmake
 boringssl/lib/cmake/OpenSSL/OpenSSLTargets-noconfig.cmake
 boringssl/lib/cmake/OpenSSL/OpenSSLTargets.cmake
-boringssl/lib/libcrypto.a
-boringssl/lib/libssl.a
+boringssl/lib/libcrypto.so
+boringssl/lib/libssl.so
diff --git a/boringssl/distinfo b/boringssl/distinfo
index c8efb24c38..d3ce347957 100644
--- a/boringssl/distinfo
+++ b/boringssl/distinfo
@@ -3,3 +3,48 @@ $NetBSD: distinfo,v 1.2 2016/12/21 13:38:16 joerg Exp $
 BLAKE2s (boringssl-20220419.tar.gz) = c3693b8b5d710205c70f9fb4759f1d6357df1cdb7b05484c472b30f52f3d52c9
 SHA512 (boringssl-20220419.tar.gz) = f717abf2f9b76bd22a858352a5893828cd42595bd77a8e9ee3608b631dbe3cdb286809b8b46d365601b88fd0ab760c402830d9a4d80792455f6dbfa7821d3cdb
 Size (boringssl-20220419.tar.gz) = 30876058 bytes
+BLAKE2s (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.mod) = b0afa54a55d2fa2670f39531631d9a2bf15bd4dc0511ab5856361f950f16a319
+SHA512 (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.mod) = 36d6474a79deda7b8749681b46e682e0440d07b3e8930279c66a45c0d42a6f2c6dd75b7bc7c3cc1ef50cdeff988442630af904ff0f58bb2def5f49040ade16cc
+Size (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.mod) = 247 bytes
+BLAKE2s (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.zip) = 2ddf68711fdce2d74e44961d9794a82c0b457c4461fa946f6448017b4357f171
+SHA512 (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.zip) = 6494794aff8498860f5af522d4a4921278c6aed6e7ce6bef3c8cfeabfb78810e932b66d47746a2bd416c538d5a277ccb82cab45a479b37fd0484dbe44cc78825
+Size (golang.org_x_crypto_@v_v0.0.0-20210513164829-c07d793c2f9a.zip) = 1874670 bytes
+BLAKE2s (golang.org_x_net_@v_v0.0.0-20210226172049-e18ecbb05110.mod) = a2c15b99f803c8fec2304237e4f8b2e0588019bb634ed05eeac951521b68d811
+SHA512 (golang.org_x_net_@v_v0.0.0-20210226172049-e18ecbb05110.mod) = f8ad754f922057fe78b5497cc77089a5eedc774800b2728a3ccd74cc82d83ba1ff00cc2d28110d5535623b733af7e34616f2fe127e68a936b9551395487ec146
+Size (golang.org_x_net_@v_v0.0.0-20210226172049-e18ecbb05110.mod) = 179 bytes
+BLAKE2s (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.mod) = 67c46d62b6a52e559ee389bd92343628a1c0ed0f76288a28ed4d25ce72bc4804
+SHA512 (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.mod) = a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5
+Size (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.mod) = 179 bytes
+BLAKE2s (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.zip) = 9bd8a6c90172ed8da71df4f33a0730f4670ac4f349d9020c4b62eaf8bfd50327
+SHA512 (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.zip) = acea0db53572e8a5fb06af5a06c7cbf0f7ce91733275a8676595b0b03fd1ebd6ed6cd9f86dbdbbeae0cd7ce20599f2f954e6ef62a791354887da3ddef5b1d023
+Size (golang.org_x_net_@v_v0.0.0-20210614182718-04defd469f4e.zip) = 1566909 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20201119102817-f84b799fce68.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.mod) = 6b2b0a0ac9d77adff84f1aab70cc38a4dcf14418c326fcb2dde80f104fb41e9f
+SHA512 (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.mod) = 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+Size (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.zip) = 16b877695260b6f5707ea559acdee0e59e3ddf882abb99c1c3bc706d773ac970
+SHA512 (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.zip) = 688cea2be2bf0c765846365d52f47ea7204d84c4ed65638005942132d9512df9a3fd66d179af8c01c86d317c628422591d9536be800b299f1bdf9d1e5f5aca28
+Size (golang.org_x_sys_@v_v0.0.0-20210423082822-04245dca01da.zip) = 1691282 bytes
+BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = ea6d2006c1c11da8c2174212a63865a04dec1775f98210c17f3a0cb8d4a1a80f
+SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
+Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.mod) = 95 bytes
+BLAKE2s (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 589b6eb654aba7bc8013335ded196de3cc21dccf4805e83602cbef73de8bf376
+SHA512 (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 267fab133c0ae306a1f484d17a9c3bc7bafb1ae77df3412ea4047de34a940b6425524a93b7b41d010cbf32160482fa3a370f93654e4ff73b6d11e45463bc185a
+Size (golang.org_x_term_@v_v0.0.0-20201126162022-7de9c90e9dd1.zip) = 23281 bytes
+BLAKE2s (golang.org_x_text_@v_v0.3.3.mod) = 70f5179544ccad4f13f0825e55a41b11a7dd38266aada468eb391ab115a3458e
+SHA512 (golang.org_x_text_@v_v0.3.3.mod) = f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+Size (golang.org_x_text_@v_v0.3.3.mod) = 97 bytes
+BLAKE2s (golang.org_x_text_@v_v0.3.6.mod) = 70f5179544ccad4f13f0825e55a41b11a7dd38266aada468eb391ab115a3458e
+SHA512 (golang.org_x_text_@v_v0.3.6.mod) = f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+Size (golang.org_x_text_@v_v0.3.6.mod) = 97 bytes
+BLAKE2s (golang.org_x_text_@v_v0.3.6.zip) = 69be66dc29ab6f4991a241f3c3fb8636bdfe4e41e4da4879f54ed0203f6599e1
+SHA512 (golang.org_x_text_@v_v0.3.6.zip) = 494d58f2bc02819ec24d8e55f668a06694568e63bc4b41064a7e44aefcb2778c74983fc9126b50277845da8e6739e83fc1334aed989981e8e53b869878803d17
+Size (golang.org_x_text_@v_v0.3.6.zip) = 8610726 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = d276ed1711a2da66e71b05357b06093eb7c33e7f00c194ff6386deb7b0676fca
+SHA512 (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
+Size (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.mod) = 26 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.zip) = 8bd5eab563e49e1c35cf9713eb0527ea1418429048da9fdd22b331dbd6bade4b
+SHA512 (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.zip) = 4312878e308561593166cefcae3119e6c4ef9460edbb0a799cac0bd2f992528ffb26fb6d25f05f2ba5e39c47b4ce65f174258db36ef966c6bf5dad2e01d2578a
+Size (golang.org_x_tools_@v_v0.0.0-20180917221912-90fa682c2a6e.zip) = 2687668 bytes
diff --git a/boringssl/go-modules.mk b/boringssl/go-modules.mk
new file mode 100644
index 0000000000..bc9b6ceb62
--- /dev/null
+++ b/boringssl/go-modules.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+GO_MODULE_FILES+=	golang.org/x/crypto/@v/v0.0.0-20210513164829-c07d793c2f9a.mod
+GO_MODULE_FILES+=	golang.org/x/crypto/@v/v0.0.0-20210513164829-c07d793c2f9a.zip
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210226172049-e18ecbb05110.mod
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210614182718-04defd469f4e.mod
+GO_MODULE_FILES+=	golang.org/x/net/@v/v0.0.0-20210614182718-04defd469f4e.zip
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210423082822-04245dca01da.mod
+GO_MODULE_FILES+=	golang.org/x/sys/@v/v0.0.0-20210423082822-04245dca01da.zip
+GO_MODULE_FILES+=	golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
+GO_MODULE_FILES+=	golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.zip
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.3.mod
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.6.mod
+GO_MODULE_FILES+=	golang.org/x/text/@v/v0.3.6.zip
+GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.mod
+GO_MODULE_FILES+=	golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.zip


Home | Main Index | Thread Index | Old Index