Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc add lang/go-bin
details: https://anonhg.NetBSD.org/pkgsrc/rev/66029fd0cc28
branches: trunk
changeset: 430655:66029fd0cc28
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat May 02 20:07:31 2020 +0000
description:
add lang/go-bin
Golang binaries from upstream, or built by pkgsrc developers
for targets where no upstream distribution is available.
diffstat:
doc/CHANGES-2020 | 3 +-
lang/Makefile | 3 +-
lang/go-bin/DESCR | 2 +
lang/go-bin/Makefile | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++
lang/go-bin/distinfo | 26 ++++++++++++++++
5 files changed, 114 insertions(+), 2 deletions(-)
diffs (153 lines):
diff -r 597d7eeb8664 -r 66029fd0cc28 doc/CHANGES-2020
--- a/doc/CHANGES-2020 Sat May 02 19:32:59 2020 +0000
+++ b/doc/CHANGES-2020 Sat May 02 20:07:31 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.2710 2020/05/02 18:09:06 tsutsui Exp $
+$NetBSD: CHANGES-2020,v 1.2711 2020/05/02 20:07:31 tnn Exp $
Changes to the packages collection and infrastructure in 2020:
@@ -3996,3 +3996,4 @@
Updated x11/ruby-gtksourceview2 to 3.4.2 [tsutsui 2020-05-02]
Updated x11/ruby-gtksourceview3 to 3.4.2 [tsutsui 2020-05-02]
Updated x11/ruby-vte to 3.4.2 [tsutsui 2020-05-02]
+ Added lang/go-bin version 1.14.2 [tnn 2020-05-02]
diff -r 597d7eeb8664 -r 66029fd0cc28 lang/Makefile
--- a/lang/Makefile Sat May 02 19:32:59 2020 +0000
+++ b/lang/Makefile Sat May 02 20:07:31 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.556 2020/04/27 04:23:14 taca Exp $
+# $NetBSD: Makefile,v 1.557 2020/05/02 20:07:31 tnn Exp $
#
COMMENT= Programming languages
@@ -96,6 +96,7 @@
SUBDIR+= gnat_util
SUBDIR+= gnucobol
SUBDIR+= go
+SUBDIR+= go-bin
SUBDIR+= go-hcl
SUBDIR+= go110
SUBDIR+= go113
diff -r 597d7eeb8664 -r 66029fd0cc28 lang/go-bin/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-bin/DESCR Sat May 02 20:07:31 2020 +0000
@@ -0,0 +1,2 @@
+Golang binaries from upstream, or built by pkgsrc developers
+for targets where no upstream distribution is available.
diff -r 597d7eeb8664 -r 66029fd0cc28 lang/go-bin/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-bin/Makefile Sat May 02 20:07:31 2020 +0000
@@ -0,0 +1,82 @@
+# $NetBSD: Makefile,v 1.1 2020/05/02 20:07:31 tnn Exp $
+
+PKGNAME= go-bin-1.14.2
+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
+
+REPLACE_PERL+= src/*/*.pl src/*/*/*.pl
+REPLACE_PERL+= src/net/http/cgi/testdata/test.cgi
+REPLACE_BASH+= */*.bash */*/*.bash */*/*/*.bash
+REPLACE_BASH+= */*/*.sh */*/*/*.sh
+REPLACE_BASH+= misc/arm/a misc/wasm/go_js_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 !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo)
+DISTFILES+= ${DIST.darwin-amd64}
+EXTRACT_ONLY+= ${DIST.darwin-amd64}
+.endif
+
+ONLY_FOR_PLATFORM+= Linux-*-i386
+DIST.linux-386= go${PKGVERSION_NOREV}.linux-386.tar.gz
+.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo)
+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 !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo)
+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 !empty(MACHINE_PLATFORM:MLinux-*-*arm*) || make(distinfo)
+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 !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo)
+DISTFILES+= ${DIST.linux-arm64}
+EXTRACT_ONLY+= ${DIST.linux-arm64}
+.endif
+
+ONLY_FOR_PLATFORM+= NetBSD-*-aarch64
+DIST.netbsd-arm64= go1.14.2.netbsd-arm64.tar.gz
+SITES.${DIST.netbsd-arm64}= https://cdn.NetBSD.org/pub/pkgsrc/misc/tnn/golang-aarch64/
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo)
+DISTFILES+= ${DIST.netbsd-arm64}
+EXTRACT_ONLY+= ${DIST.netbsd-arm64}
+.endif
+
+INSTALLATION_DIRS+= go-bin
+
+do-install:
+ cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/go-bin
+
+post-install:
+ cd ${DESTDIR}${PREFIX} && find go-bin -type f -print \
+ > ${WRKDIR}/PLIST_DYNAMIC
+
+.include "../../mk/bsd.pkg.mk"
diff -r 597d7eeb8664 -r 66029fd0cc28 lang/go-bin/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/go-bin/distinfo Sat May 02 20:07:31 2020 +0000
@@ -0,0 +1,26 @@
+$NetBSD: distinfo,v 1.1 2020/05/02 20:07:31 tnn Exp $
+
+SHA1 (go1.14.2.darwin-amd64.tar.gz) = f7e5201a2e2928c6da2df231bd0776f5bbd6bd36
+RMD160 (go1.14.2.darwin-amd64.tar.gz) = 58e46896bb087e0193d3dd7a93d6e5f6dd7c551f
+SHA512 (go1.14.2.darwin-amd64.tar.gz) = 99a7584df26d0269bd5fd550a022fece0daccf2325289ec70dbdcf6a8082b4d7bfdc38ec861ec9f1d0cf4dc52d830a38e6e3c41e4a95f7f2318cc1d41803f597
+Size (go1.14.2.darwin-amd64.tar.gz) = 125040726 bytes
+SHA1 (go1.14.2.linux-386.tar.gz) = 214833103587f58e13b42b7ae970db17fdd80d01
+RMD160 (go1.14.2.linux-386.tar.gz) = 3374d14dba2eeeb1f7f869e9cc13a5a4b1a7b8b4
+SHA512 (go1.14.2.linux-386.tar.gz) = e7bd127665f0a69f66345cd91f1df35a5eb914403fd1d653ad4cbb5fef3e31b3b33e6c4a5f2d9c08f8c59eb7775e7fdf0a8dd3d6fb0fa67cc67d52e1d7835e34
+Size (go1.14.2.linux-386.tar.gz) = 104851976 bytes
+SHA1 (go1.14.2.linux-amd64.tar.gz) = ebef065e4d35572af5b03e2be957a9c6c5063b38
+RMD160 (go1.14.2.linux-amd64.tar.gz) = 0f9fd1e202ce63b910aeb6b244e8d51ae69220f1
+SHA512 (go1.14.2.linux-amd64.tar.gz) = 41d71c2254ad6f441eec15824fb7fc2b5edbd3fc8786774ae182216981ded7854efc9650b5f6378463da5dfcc5bcaaf3b829e2a30d5fda1276e0e9d7a8d48d8f
+Size (go1.14.2.linux-amd64.tar.gz) = 123658438 bytes
+SHA1 (go1.14.2.linux-arm64.tar.gz) = 15a508023a06e9a348897ffd47d4c2b23d5e6a76
+RMD160 (go1.14.2.linux-arm64.tar.gz) = 7709e1fdbe44e396b8688e7a453952c87a0aa348
+SHA512 (go1.14.2.linux-arm64.tar.gz) = c0aae993e75bc40594017aa7912d306a36e728da25f82a7c8c604647c4fbc4ca28c071aa58371b637555f17f534e532e201c1afd07b69411708fd47bb20cc916
+Size (go1.14.2.linux-arm64.tar.gz) = 101012554 bytes
+SHA1 (go1.14.2.linux-armv6l.tar.gz) = 8a1e0cf6c7b7743cd3a63c33ae2d86a9f88c203f
+RMD160 (go1.14.2.linux-armv6l.tar.gz) = 4e6fb97d294490dc62c775bea7f62510e6e574a9
+SHA512 (go1.14.2.linux-armv6l.tar.gz) = 2325e93cb67195ffa61bb9a5371434f082bc7552f7f1f6039aec6a5989463b5c00df55f11a6ab46b44cac3daa25beea96163d60cf5f58ed46b07e65ea02eb8c8
+Size (go1.14.2.linux-armv6l.tar.gz) = 101770334 bytes
+SHA1 (go1.14.2.netbsd-arm64.tar.gz) = 806421eb16a4b02a640da45f7209c47b6cba3daa
+RMD160 (go1.14.2.netbsd-arm64.tar.gz) = 9f8b1c91f906db09f1031a5008d50cf4fedf5a3f
+SHA512 (go1.14.2.netbsd-arm64.tar.gz) = d3750a3092118e05aa9b4a0a59ae2d49950d0c259a92b54c230d98e239725acd240556643ce7019a5d1ea3ecd1ccc37fc6bcc4e8b7a9a0f32d347f4daa4dccbf
+Size (go1.14.2.netbsd-arm64.tar.gz) = 123662640 bytes
Home |
Main Index |
Thread Index |
Old Index