mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-21 21:51:57 +02:00
dev-lang/go-bootstrap: update to 1.18.6
Update dev-lang/go-bootstrap to 1.18.6, by syncing with Gentoo commit 1b3154a4473deedaf3d1deb978f9a19739ac03af. This is necessary because Go >= 1.20 requires go-bootstrap to be at least 1.17.13. Drop unnecessary Flatcar patches from go-bootstrap, and move the ebuild from coreos-overlay to portage-stable.
This commit is contained in:
parent
73bf57ac22
commit
57fbd63a3b
@ -1,2 +0,0 @@
|
||||
DIST go-linux-amd64-bootstrap.tbz 48722911 SHA256 0ab0842fb1f6cc6f10a85f225ff1a2b9e5e4b38128a7136d0c1896819421a986 SHA512 ce4dbc979b63a4612f4a8f7e7a6c5247e11bbc3a2d62ab0537a1b405ec8ab22f153012421d2240a7d6a4f91a79bb3f1370454f9e843fac43b99757c17134e5b7 WHIRLPOOL a94d0e0a1c44e3385d23f8973d15e6ef041450a3578c38987f158c4f9f231d315bc5204539d9dc7322cc9ecb96b7618b22d023f906474e1348c5d666792dff58
|
||||
DIST go-linux-arm64-bootstrap.tbz 45369354 SHA256 810c998e6701580fe0f26d46c5796eefce648e252ff9d6d761304e60556b7fc0 SHA512 3f64869430c03efa77796ed74d07a337e2a205802485605cbdd67778a08e5ce041ce3925b7a5cca0a6b4ad24ab70e07ee54091b010f67ec7370a985022f5a21e WHIRLPOOL f6f470081d5f23c190310280aaf7454a4f58fe4e7545bbd219046711f8d27ce97cc5f5f1c207e777067d1f6332e4b3f2c819b178e899d21c2d5d1d466a42cc37
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit coreos-go-utils
|
||||
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
SRC_URI="amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap.tbz )
|
||||
"
|
||||
|
||||
KEYWORDS="-* amd64 arm64"
|
||||
|
||||
DESCRIPTION="Version of go compiler used for bootstrapping"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
# Disable all QA_* checks since these are pre-built binaries.
|
||||
QA_PREBUILT="usr/lib/go-bootstrap/*"
|
||||
|
||||
# Test data is never executed so don't check link dependencies.
|
||||
REQUIRES_EXCLUDE="/usr/lib/go-bootstrap/src/debug/elf/testdata/*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped. The test data objects should also be left alone and unstripped.
|
||||
STRIP_MASK="*.a /usr/lib/go-bootstrap/src/*"
|
||||
|
||||
S="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib/go-bootstrap
|
||||
exeinto /usr/lib/go-bootstrap/bin
|
||||
doexe bin/*
|
||||
|
||||
insopts -m0644 -p # preserve timestamps
|
||||
insinto /usr/lib/go-bootstrap
|
||||
doins -r lib pkg src
|
||||
fperms -R +x /usr/lib/go-bootstrap/pkg/tool
|
||||
}
|
10
sdk_container/src/third_party/portage-stable/dev-lang/go-bootstrap/Manifest
vendored
Normal file
10
sdk_container/src/third_party/portage-stable/dev-lang/go-bootstrap/Manifest
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
DIST go-darwin-amd64-bootstrap-1.18.6.tbz 145727291 BLAKE2B 3fa2efac8ff4b8527a946875af9bd5a2214bb97a7ec0cf24486b25eca964a19c47d8a5fd0c163efdeb24cd11eb3246eb3886b687a0009e96fdc9f5580c8e227c SHA512 b5b91d230ea80e852c251bc884327c398141962ea93a2e776f0d506a754e5006a47c429fc2fd019631cf5b82c1734c092af00b5260e4a41f05f00d7e59412a41
|
||||
DIST go-linux-386-bootstrap-1.18.6.tbz 142678990 BLAKE2B 9dfd44ee127d822a91f48ecedb898583dfc7428e023b9adf78e2d44bfaef3d6126d2c87e455c3020dd71e23cef26fe683176037a07ba9e5931e8ce2979b90bcb SHA512 4d8ada5b623a9e804ac0a0fa47d0bc2551431114f8d7998d79037f9db6f6a091228e09a79c51b8ee0223970c00183a408aba2bb71aaf634ab92428022aebc35c
|
||||
DIST go-linux-amd64-bootstrap-1.18.6.tbz 143005294 BLAKE2B fdb4f31824b2cc37a9e96c6a77371543186636de5f4ab13468f2b9ee9bff84fdcd863b29340d48e85bb1ff15c4b03127997a08a631d959c14fe8e80fe713bebc SHA512 ffd31e523c1c3a576c67b623c99c96eec2598056a344c575d2fcf33e64fc84ed80cd54f35eb252754fa2d13ff2d25290ee5946433ce54557592e1a7d299bb4eb
|
||||
DIST go-linux-arm-bootstrap-1.18.6.tbz 138008731 BLAKE2B a8bd1af70bfd6a74699f59c1700232b09087b567f052a61feae6a91680d89a3fb864c59d8970c0fa45f922188fec6b7232ce141b9031463d9449ff923914deba SHA512 c2e3bb0bfba0ac094172786ee24f6432f2add9827da07a56651b88551a556be4650a081ada3ea2f9b39094761c7c2541e3d37df287b6632418ffb86e25e8856a
|
||||
DIST go-linux-arm64-bootstrap-1.18.6.tbz 135780283 BLAKE2B bda7bdd6cabd7627f64606cfefcf2696e48daac60149ee842d869a422171e65ee29557d3a0dfe8f34d56106622a5e4e0949c8e9f812b52f25fb13f74355466b4 SHA512 88421b37b0a9eac61f9d27534bc5f306b7ada4d31abd5b5d6fa6c44e2b743550297067f0dfd22a74497569d9d6e28d37697c55d66d4cc100db58f5d8bce676f4
|
||||
DIST go-linux-ppc64-bootstrap-1.18.6.tbz 136492180 BLAKE2B 7aea27604839360161c1c2e668b733842c7cee4636cd3321fce51a793081f6d273a1231045570aa9bd7892df4c66227cfeec0c8174aff4514c98e93520bd14f2 SHA512 69188b5d42b446ad815eab4d1a094a38dd06d9a265f4a005500a132ba1bbbc3f50424188594c3f9dfde0e2a4aa2339639dd6c6d52d9b846dc5c450225648e541
|
||||
DIST go-linux-ppc64le-bootstrap-1.18.6.tbz 136068938 BLAKE2B 262d253af2bb34fac1edede10b1a3508a434f185f1ac2e449c297b7ea92b44a5d9864a53b0f314fb63340c7d3a594bd429c73ff9f911f29ba6cc43e0932c10f8 SHA512 38e65e691bf8e8acda56f4f77b4d4e2bb76f5b9f036c927e2f5b3172fd08176f68c93e7740e34b42188b1b9ce41d5f3c1af7c24a2016d86dc07432cebd288c4d
|
||||
DIST go-linux-riscv64-bootstrap-1.18.6.tbz 140059606 BLAKE2B 427042a724e31c13455161ce362c336a36ed35d703621a45b08789611dc59e077bbb925271e065fa2224be41273b07cd837823676a3d1e5580fd214ef202bbba SHA512 d3e034e875ee29796b1843d4c484d5fbb92f57d9c11a1563793b4faf51d54b3dcdb7b864cfcc0cf6032bfaf7fc271c2109a019eadc1c8bbf016574bbfeb2fd74
|
||||
DIST go-linux-s390x-bootstrap-1.18.6.tbz 138788800 BLAKE2B 6dda205707b28f875515ed5659a2c021044fba3ec5542c6a297187d030bcdb9412c1e860f6f73e28b2db7d468e679665adae81afef856cb1f29501356f3bb4c3 SHA512 ec07ed7191f823faa08cfed0b5bc0e4898cdb15f7d41b4399ad1b6fee09314ac107d8339e9cd66afd1a3c5ce85dc14e76e440d699b728ee3354ce442c6f17d79
|
||||
DIST go-solaris-amd64-bootstrap-1.18.6.tbz 141998723 BLAKE2B f64902f2407e8873ecd0e4a441653bed69d8ef1cea6fb91e9e3a5a1b42db0df8409642f65184a8b875a450516268da03f166486884b7ac6fd7de8609efe61013 SHA512 77bc6f7d3656a6bb0a7bd2eb3eac0cb29eb1f897587eac681ebabb94305906cd0f5d3ffda43248c65d98f78afa3acb4e1c5b49cfcc729626378fbe7cf9eb79e8
|
39
sdk_container/src/third_party/portage-stable/dev-lang/go-bootstrap/go-bootstrap-1.18.6.ebuild
vendored
Normal file
39
sdk_container/src/third_party/portage-stable/dev-lang/go-bootstrap/go-bootstrap-1.18.6.ebuild
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Bootstrap package for dev-lang/go"
|
||||
HOMEPAGE="https://golang.org"
|
||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
||||
SRC_URI="
|
||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap-${PV}.tbz )
|
||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap-${PV}.tbz )
|
||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap-${PV}.tbz )
|
||||
ppc64? (
|
||||
big-endian? ( ${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap-${PV}.tbz )
|
||||
!big-endian? ( ${BOOTSTRAP_DIST}/go-linux-ppc64le-bootstrap-${PV}.tbz )
|
||||
)
|
||||
riscv? ( ${BOOTSTRAP_DIST}/go-linux-riscv64-bootstrap-${PV}.tbz )
|
||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-bootstrap-${PV}.tbz )
|
||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap-${PV}.tbz )
|
||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap-${PV}.tbz )
|
||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-bootstrap-${PV}.tbz )
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 arm arm64 ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
IUSE="big-endian"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
dodir /usr/lib
|
||||
mv go-*-bootstrap "${ED}/usr/lib/go-bootstrap" || die
|
||||
|
||||
# testdata directories are not needed on the installed system
|
||||
rm -fr $(find "${ED}"/usr/lib/go-bootstrap -iname testdata -type d -print)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user