pkgsrc-WIP-changes archive

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

go-bin: stage update to 1.22.10



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Dec 15 20:13:24 2024 +0100
Changeset:	b12cdd1bba388fcf63e6450c4041b775449f3ee5

Modified Files:
	Makefile
Added Files:
	go-bin/DESCR
	go-bin/Makefile
	go-bin/distinfo

Log Message:
go-bin: stage update to 1.22.10

It seems too close to the beginning of the pkgsrc freeze to commit this.

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

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

diffstat:
 Makefile        |   2 +
 go-bin/DESCR    |   2 +
 go-bin/Makefile | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 go-bin/distinfo |  38 ++++++++++++++++
 4 files changed, 181 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c2761742a1..5ab6faa557 100644
--- a/Makefile
+++ b/Makefile
@@ -1316,6 +1316,7 @@ SUBDIR+=	gnuradio-monolithic
 SUBDIR+=	gnutls-guile
 SUBDIR+=	go-astilectron
 SUBDIR+=	go-atomic
+SUBDIR+=	go-bin
 SUBDIR+=	go-bindata
 SUBDIR+=	go-bindata-assetfs
 SUBDIR+=	go-clir
@@ -1352,6 +1353,7 @@ SUBDIR+=	go-shellescape
 SUBDIR+=	go-tail
 SUBDIR+=	go-uilive
 SUBDIR+=	go-upspin
+SUBDIR+=	go124
 SUBDIR+=	goattracker
 SUBDIR+=	godura
 SUBDIR+=	goldendict
diff --git a/go-bin/DESCR b/go-bin/DESCR
new file mode 100644
index 0000000000..b99196527f
--- /dev/null
+++ b/go-bin/DESCR
@@ -0,0 +1,2 @@
+Golang binaries from upstream, or built by pkgsrc developers
+for targets where no upstream distribution is available.
diff --git a/go-bin/Makefile b/go-bin/Makefile
new file mode 100644
index 0000000000..3a65a24a6b
--- /dev/null
+++ b/go-bin/Makefile
@@ -0,0 +1,139 @@
+# $NetBSD: Makefile,v 1.22 2024/08/03 19:28:29 bsiegert Exp $
+
+PKGNAME=	go-bin-1.22.10
+CATEGORIES=	lang
+MASTER_SITES=	https://dl.google.com/go/
+
+MAINTAINER=	tnn%NetBSD.org@localhost
+HOMEPAGE=	https://golang.org/
+COMMENT=	Bootstrap toolchain for lang/go*
+LICENSE=	modified-bsd
+
+NO_BUILD=	yes
+PLIST_SRC=	${WRKDIR}/PLIST_DYNAMIC
+USE_LANGUAGES=	# none
+USE_TOOLS+=	pax perl:run bash:run
+WRKSRC=		${WRKDIR}/go
+
+.include "../../lang/go/go-vars.mk"
+
+REPLACE_PERL+=			src/*/*.pl src/*/*/*.pl
+REPLACE_PERL+=			src/net/http/cgi/testdata/test.cgi
+REPLACE_BASH+=			*/*.bash */*/*.bash */*/*/*.bash */*/*/*/*.bash
+REPLACE_BASH+=			*/*/*/*/*/*/*.bash */*/*/*/*/*/*/*.bash
+REPLACE_BASH+=			*/*/*.sh */*/*/*.sh */*/*/*/*.sh */*/*/*/*/*/*/*.sh
+REPLACE_BASH+=			misc/arm/a misc/wasm/go_js_wasm_exec
+REPLACE_BASH+=			misc/wasm/go_wasip1_wasm_exec
+CHECK_INTERPRETER_SKIP+=	*/*.rc
+CHECK_PORTABILITY_SKIP+=	misc/ios/clangwrap.sh
+CHECK_SHLIBS_SUPPORTED=		no
+CHECK_RELRO_SUPPORTED=		no
+
+.include "../../mk/bsd.prefs.mk"
+
+ONLY_FOR_PLATFORM+=		Darwin-*-x86_64
+DIST.darwin-amd64=		go${PKGVERSION_NOREV}.darwin-amd64.tar.gz
+.if ${MACHINE_PLATFORM:MDarwin-*-x86_64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.darwin-amd64}
+EXTRACT_ONLY+=			${DIST.darwin-amd64}
+.endif
+
+ONLY_FOR_PLATFORM+=		Darwin-*-aarch64
+DIST.darwin-arm64=		go${PKGVERSION_NOREV}.darwin-arm64.tar.gz
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.darwin-arm64}
+EXTRACT_ONLY+=			${DIST.darwin-arm64}
+.endif
+
+ONLY_FOR_PLATFORM+=		FreeBSD-*-i386
+DIST.freebsd-386=		go${PKGVERSION_NOREV}.freebsd-386.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-i386} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.freebsd-386}
+EXTRACT_ONLY+=			${DIST.freebsd-386}
+.endif
+
+ONLY_FOR_PLATFORM+=		FreeBSD-*-x86_64
+DIST.freebsd-amd64=		go${PKGVERSION_NOREV}.freebsd-amd64.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-x86_64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.freebsd-amd64}
+EXTRACT_ONLY+=			${DIST.freebsd-amd64}
+.endif
+
+ONLY_FOR_PLATFORM+=		FreeBSD-*-*arm*
+DIST.freebsd-arm=		go${PKGVERSION_NOREV}.freebsd-arm.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-*arm*} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.freebsd-arm}
+EXTRACT_ONLY+=			${DIST.freebsd-arm}
+.endif
+
+ONLY_FOR_PLATFORM+=		FreeBSD-*-aarch64
+DIST.freebsd-arm64=		go${PKGVERSION_NOREV}.freebsd-arm64.tar.gz
+.if ${MACHINE_PLATFORM:MFreeBSD-*-aarch64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.freebsd-arm64}
+EXTRACT_ONLY+=			${DIST.freebsd-arm64}
+.endif
+
+ONLY_FOR_PLATFORM+=		Linux-*-i386
+DIST.linux-386=			go${PKGVERSION_NOREV}.linux-386.tar.gz
+.if ${MACHINE_PLATFORM:MLinux-*-i386} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.linux-386}
+EXTRACT_ONLY+=			${DIST.linux-386}
+.endif
+
+ONLY_FOR_PLATFORM+=		Linux-*-x86_64
+DIST.linux-amd64=		go${PKGVERSION_NOREV}.linux-amd64.tar.gz
+.if ${MACHINE_PLATFORM:MLinux-*-x86_64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.linux-amd64}
+EXTRACT_ONLY+=			${DIST.linux-amd64}
+.endif
+
+ONLY_FOR_PLATFORM+=		Linux-*-*arm*
+DIST.linux-armv6l=		go${PKGVERSION_NOREV}.linux-armv6l.tar.gz
+.if ${MACHINE_PLATFORM:MLinux-*-*arm*} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.linux-armv6l}
+EXTRACT_ONLY+=			${DIST.linux-armv6l}
+.endif
+
+ONLY_FOR_PLATFORM+=		Linux-*-aarch64
+DIST.linux-arm64=		go${PKGVERSION_NOREV}.linux-arm64.tar.gz
+.if ${MACHINE_PLATFORM:MLinux-*-aarch64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.linux-arm64}
+EXTRACT_ONLY+=			${DIST.linux-arm64}
+.endif
+
+ONLY_FOR_PLATFORM+=		NetBSD-*-aarch64
+DIST.netbsd-arm64=		go${PKGVERSION_NOREV}.netbsd-arm64.tar.gz
+.if ${MACHINE_PLATFORM:MNetBSD-*-aarch64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.netbsd-arm64}
+EXTRACT_ONLY+=			${DIST.netbsd-arm64}
+.endif
+
+ONLY_FOR_PLATFORM+=		SunOS-*-x86_64
+DIST.illumos-amd64=		go1.21.8.illumos-amd64.tar.gz
+SITES.${DIST.illumos-amd64}=	https://us-central.manta.mnx.io/pkgsrc/public/pkg-bootstraps/
+.if ${MACHINE_PLATFORM:MSunOS-*-x86_64} || make(distinfo) || make(mdi)
+DISTFILES+=			${DIST.illumos-amd64}
+EXTRACT_ONLY+=			${DIST.illumos-amd64}
+.endif
+
+INSTALLATION_DIRS+=	go-bin
+
+do-install:
+	cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/go-bin
+#
+# Removing the signatures is required to operate inside a chroot, but breaks
+# running them outside.  We're left with no choice but to make it configurable
+# by the user.
+#
+.if ${MACHINE_PLATFORM:MDarwin-*-*} && defined(DARWIN_CHROOTED)
+	for f in ${DESTDIR}${PREFIX}/go-bin/bin/* \
+		 ${DESTDIR}${PREFIX}/go-bin/pkg/tool/darwin_*/*; do \
+		/usr/bin/codesign --remove-signature $$f; \
+	done
+.endif
+
+post-install:
+	cd ${DESTDIR}${PREFIX} && find go-bin -type f -print	\
+	    > ${WRKDIR}/PLIST_DYNAMIC
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-bin/distinfo b/go-bin/distinfo
new file mode 100644
index 0000000000..da7eeda26c
--- /dev/null
+++ b/go-bin/distinfo
@@ -0,0 +1,38 @@
+$NetBSD: distinfo,v 1.11 2024/08/03 19:28:29 bsiegert Exp $
+
+BLAKE2s (go1.21.8.illumos-amd64.tar.gz) = 0ab3f65f885c763f0c3074b7cf67c09edd9ec72af46f95db62bed35ce4dcf198
+SHA512 (go1.21.8.illumos-amd64.tar.gz) = cc11c4f50a9a85439cba0aca1c952dce55be06c86fc2665e0d00874e249db00c06d95b73fe5393369e1371a37db088be34dd4e27294c3fb58ee495ba457884ef
+Size (go1.21.8.illumos-amd64.tar.gz) = 104642821 bytes
+BLAKE2s (go1.22.10.darwin-amd64.tar.gz) = 9da7aa0ad630546f47d679525c8743d732babce6a9a79ffb6d31ab8825dcadde
+SHA512 (go1.22.10.darwin-amd64.tar.gz) = ca158d3bf15f47efbfef6bb84c282fdb85381c038be4b97ce56345c361114080060c85a4b99d3788a66c6305a4b9fb8400758a8dd6d0acfe6e0c4a7bf78ebbe0
+Size (go1.22.10.darwin-amd64.tar.gz) = 70356121 bytes
+BLAKE2s (go1.22.10.darwin-arm64.tar.gz) = 10128f6d5c4d31393e0ef6ef8b4b6f4ab1eaa872d3f592dc5016a932d64c71e8
+SHA512 (go1.22.10.darwin-arm64.tar.gz) = bed1eef1a88646c31b75d60019720150efd64956d4524414a93042b3d3a485f80d38545422f4c2246c8a7ae922fbcfca0f3184f0ce79b11411d3f491b1784242
+Size (go1.22.10.darwin-arm64.tar.gz) = 67318680 bytes
+BLAKE2s (go1.22.10.freebsd-386.tar.gz) = 3a8982646067f476742e844f7edb0aa36c064abcdab773fd81e6e5ef0291447e
+SHA512 (go1.22.10.freebsd-386.tar.gz) = 3307d630d1facf6ca5f101383b723f7dca1db7f958e324a41a54900807a737cbd5fe4b2df19ae5d4add035be31d6dd6dcee2041339b0a8e6c999a927f61e7a1f
+Size (go1.22.10.freebsd-386.tar.gz) = 66776162 bytes
+BLAKE2s (go1.22.10.freebsd-amd64.tar.gz) = 97bad0508b3af0d7f6be336b7ae88c909f528676ac4bc2edbcef5749c1533983
+SHA512 (go1.22.10.freebsd-amd64.tar.gz) = e0ea23d70c744bb66556399ae64ab7992370d8b170d3bd1da0d42a072e5ac2eff0a83250ed2a4a244e8b1ee17520add3bcda87e4178a8ea57324e4cea2d25229
+Size (go1.22.10.freebsd-amd64.tar.gz) = 68841032 bytes
+BLAKE2s (go1.22.10.freebsd-arm.tar.gz) = a2c4386b1338d0a3f7dff37af501e5992483e388aba2e44ca992d4b9d910c24a
+SHA512 (go1.22.10.freebsd-arm.tar.gz) = 66204d8c27fe0b7bd2066d32e89879c4418c3a224e4dd5ef79d14c86b9df5b3a11057eb9c11dae4233d9d0948f3e0220682e45741bfb48f5338ade58a5d44214
+Size (go1.22.10.freebsd-arm.tar.gz) = 66983536 bytes
+BLAKE2s (go1.22.10.freebsd-arm64.tar.gz) = 610663c77d65f0ee6abe136dceeb11cea71fcc66b2097a2a089640351b4b0577
+SHA512 (go1.22.10.freebsd-arm64.tar.gz) = f36c614ab5a689f46a186f10449b2d6775fa475f15a316798650fc0b87f72ac73e7b21343eec536056e2a61bb4612f2272dd8077f87a9b30ef31a7281220bcc2
+Size (go1.22.10.freebsd-arm64.tar.gz) = 65730465 bytes
+BLAKE2s (go1.22.10.linux-386.tar.gz) = 5d6a286551b826520745df7a5bc58b74a986eaf0b0e55d1ca8319c6e438bbefd
+SHA512 (go1.22.10.linux-386.tar.gz) = f2b6f0d11d3aaa3930d7b1f68481e05f4cab9ae730ccb4e28fba3711d3ba3e4420fcbf17ecf7efd713f86497e0edd2c2fee1b60463fb2a7573af51ed14ad268a
+Size (go1.22.10.linux-386.tar.gz) = 66993711 bytes
+BLAKE2s (go1.22.10.linux-amd64.tar.gz) = d66cf4ec205addfd7fd6ffcfda6a8638ebff68eb0fba2362d8736ec990611da8
+SHA512 (go1.22.10.linux-amd64.tar.gz) = d5edf034e782585c39da88013d32fa1a8e7f028d6f46927dc124cfcef8631d95fd81a4b1683d6788b3bae30ce770842220fd6e4fde0ab949e538bd3342f5ef16
+Size (go1.22.10.linux-amd64.tar.gz) = 68991036 bytes
+BLAKE2s (go1.22.10.linux-arm64.tar.gz) = c1b04cf327be37881d3db0fa6d31a2640396da8e643394ae313f88c859b9606b
+SHA512 (go1.22.10.linux-arm64.tar.gz) = f7c9a1ce02ceaeb9ea657be26b6d18f91e528988a9e9770f028158d0601d2c26bd8e41f71e08e8857a74a01a16336ce6bd68fa7dfb82cb84b2016c3ca3341ced
+Size (go1.22.10.linux-arm64.tar.gz) = 65923835 bytes
+BLAKE2s (go1.22.10.linux-armv6l.tar.gz) = e4aedec542de7d815ab030e21cd6b6929588e670f8cfd3b5f8a97d1fefb8dc9d
+SHA512 (go1.22.10.linux-armv6l.tar.gz) = 26f9b2e4281e730ada65cff5edcc1c0d60a5e82ba2cd2cedc576e0851c462642ffdc16f73c407b1b9643a4c0ed9fff90a3954ce7201f68132155e54cd8e4a0f0
+Size (go1.22.10.linux-armv6l.tar.gz) = 67377685 bytes
+BLAKE2s (go1.22.10.netbsd-arm64.tar.gz) = 3810aa8fa32416c2e00e33aaab6b21101f8195ff13458edf663c2510bc50d03b
+SHA512 (go1.22.10.netbsd-arm64.tar.gz) = 2cd7e4aeba6b4eddcc72a5b7565e2001a2d824b775fe4d8e5adbc2ba3121da1b68c5c31013f9a16ca6f47872ad32bbdb9fdedfb3d5c2aa8c2df3ebc9dd3bb492
+Size (go1.22.10.netbsd-arm64.tar.gz) = 65648630 bytes


Home | Main Index | Thread Index | Old Index