mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-09 03:11:49 +01:00
Merge pull request #393 from crawford/go
dev-lang/go: moved to coreos-overlay
This commit is contained in:
commit
b629acb3ad
@ -1,276 +0,0 @@
|
|||||||
# ChangeLog for dev-lang/go
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/ChangeLog,v 1.71 2015/04/08 12:57:46 zlogene Exp $
|
|
||||||
|
|
||||||
08 Apr 2015; Mikle Kolyada <zlogene@gentoo.org> go-1.4.2.ebuild:
|
|
||||||
x86 stable wrt bug #543666
|
|
||||||
|
|
||||||
18 Mar 2015; William Hubbs <williamh@gentoo.org> go-1.4.2.ebuild:
|
|
||||||
amd64 stable for #543666
|
|
||||||
|
|
||||||
*go-1.4.2 (18 Feb 2015)
|
|
||||||
|
|
||||||
18 Feb 2015; William Hubbs <williamh@gentoo.org> +go-1.4.2.ebuild:
|
|
||||||
version bump
|
|
||||||
|
|
||||||
18 Feb 2015; William Hubbs <williamh@gentoo.org> -go-1.3.3.ebuild,
|
|
||||||
-go-1.4.ebuild:
|
|
||||||
remove old versions
|
|
||||||
|
|
||||||
17 Feb 2015; Markus Meier <maekke@gentoo.org> go-1.4.1.ebuild:
|
|
||||||
arm stable, bug #539280
|
|
||||||
|
|
||||||
10 Feb 2015; Agostino Sarubbo <ago@gentoo.org> go-1.4.1.ebuild:
|
|
||||||
Stable for x86, wrt bug #539280
|
|
||||||
|
|
||||||
08 Feb 2015; Agostino Sarubbo <ago@gentoo.org> go-1.4.1.ebuild:
|
|
||||||
Stable for amd64, wrt bug #539280
|
|
||||||
|
|
||||||
20 Jan 2015; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
Add a dependency on dev-lang/go-bootstrap for #536960. For now, we can build
|
|
||||||
our own bootstrap compiler, so we dont
|
|
||||||
|
|
||||||
*go-1.4.1 (16 Jan 2015)
|
|
||||||
|
|
||||||
16 Jan 2015; William Hubbs <williamh@gentoo.org> +go-1.4.1.ebuild:
|
|
||||||
version bump for #536754.
|
|
||||||
|
|
||||||
08 Jan 2015; Markus Meier <maekke@gentoo.org> go-1.4.ebuild:
|
|
||||||
arm stable, bug #534656
|
|
||||||
|
|
||||||
04 Jan 2015; William Hubbs <williamh@gentoo.org> go-1.4.ebuild:
|
|
||||||
amd64 stable wrt #534656
|
|
||||||
|
|
||||||
31 Dec 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
Install README.md instead of README for bug #533994
|
|
||||||
|
|
||||||
13 Dec 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
migrate the live ebuild to git instead of mercurial to follow upstream
|
|
||||||
|
|
||||||
12 Dec 2014; William Hubbs <williamh@gentoo.org> go-1.3.3.ebuild,
|
|
||||||
go-1.4.ebuild, go-9999.ebuild:
|
|
||||||
fix references to upstream issues
|
|
||||||
|
|
||||||
11 Dec 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
sync live ebuild
|
|
||||||
|
|
||||||
11 Dec 2014; William Hubbs <williamh@gentoo.org> go-1.4.ebuild:
|
|
||||||
Fix #532246 -- remove all optional support for editors, plugins, IDES, etc.
|
|
||||||
|
|
||||||
*go-1.4 (11 Dec 2014)
|
|
||||||
|
|
||||||
11 Dec 2014; Patrick Lauer <patrick@gentoo.org> +go-1.4.ebuild:
|
|
||||||
Bump
|
|
||||||
|
|
||||||
21 Nov 2014; Tim Harder <radhermit@gentoo.org> go-1.3.3.ebuild:
|
|
||||||
Rename zsh-completion to gentoo-zsh-completions.
|
|
||||||
|
|
||||||
03 Nov 2014; Fabian Groffen <grobian@gentoo.org> go-1.3.3.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
Darwin: make sure we build with GCC by default instead of Clang, bug #528076
|
|
||||||
|
|
||||||
24 Oct 2014; Michał Górny <mgorny@gentoo.org> go-1.3.3.ebuild:
|
|
||||||
Alias additional commands for bash-completion, bug #526240.
|
|
||||||
|
|
||||||
17 Oct 2014; William Hubbs <williamh@gentoo.org> -go-1.3.1.ebuild,
|
|
||||||
-go-1.3.ebuild:
|
|
||||||
remove old versions wrt bug #523848
|
|
||||||
|
|
||||||
17 Oct 2014; Mikle Kolyada <zlogene@gentoo.org> go-1.3.3.ebuild:
|
|
||||||
arm stable wrt bug #523848
|
|
||||||
|
|
||||||
12 Oct 2014; Mikle Kolyada <zlogene@gentoo.org> go-1.3.3.ebuild:
|
|
||||||
x86 stable wrt bug #523848
|
|
||||||
|
|
||||||
12 Oct 2014; William Hubbs <williamh@gentoo.org> go-1.3.3.ebuild:
|
|
||||||
amd64 stable wrt #523848
|
|
||||||
|
|
||||||
*go-1.3.3 (07 Oct 2014)
|
|
||||||
|
|
||||||
07 Oct 2014; William Hubbs <williamh@gentoo.org> +go-1.3.3.ebuild:
|
|
||||||
version bump
|
|
||||||
|
|
||||||
28 Aug 2014; Michał Górny <mgorny@gentoo.org> go-1.3.1.ebuild:
|
|
||||||
Remove USE=bash-completion, install the completion file unconditionally
|
|
||||||
following the Council decision.
|
|
||||||
|
|
||||||
15 Aug 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
sync live ebuild
|
|
||||||
|
|
||||||
*go-1.3.1 (15 Aug 2014)
|
|
||||||
|
|
||||||
15 Aug 2014; William Hubbs <williamh@gentoo.org> +go-1.3.1.ebuild:
|
|
||||||
version bump for #519892.
|
|
||||||
|
|
||||||
14 Aug 2014; William Hubbs <williamh@gentoo.org> -go-1.2.ebuild:
|
|
||||||
remove old version
|
|
||||||
|
|
||||||
14 Aug 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> go-1.3.ebuild:
|
|
||||||
x86 stable wrt bug #517432
|
|
||||||
|
|
||||||
04 Aug 2014; Fabian Groffen <grobian@gentoo.org> go-1.3.ebuild:
|
|
||||||
Marked ~x86-macos
|
|
||||||
|
|
||||||
29 Jul 2014; Markus Meier <maekke@gentoo.org> go-1.3.ebuild:
|
|
||||||
arm stable, bug #517432
|
|
||||||
|
|
||||||
18 Jul 2014; William Hubbs <williamh@gentoo.org> go-1.3.ebuild:
|
|
||||||
stable on amd64 for bug #517432
|
|
||||||
|
|
||||||
18 Jul 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
install editors document to point people to the go wiki page about editor and
|
|
||||||
shell support
|
|
||||||
|
|
||||||
17 Jul 2014; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
remove editor and shell support use flags for bug #516070
|
|
||||||
|
|
||||||
22 Jun 2014; William Hubbs <william@gentoo.org> -go-1.2.2.ebuild:
|
|
||||||
remove old
|
|
||||||
|
|
||||||
*go-1.3 (19 Jun 2014)
|
|
||||||
|
|
||||||
19 Jun 2014; Patrick Lauer <patrick@gentoo.org> +go-1.3.ebuild:
|
|
||||||
Bump
|
|
||||||
|
|
||||||
*go-1.2.2 (05 Jun 2014)
|
|
||||||
|
|
||||||
05 Jun 2014; Patrick Lauer <patrick@gentoo.org> +go-1.2.2.ebuild:
|
|
||||||
Bump
|
|
||||||
|
|
||||||
28 Mar 2014; Fabian Groffen <grobian@gentoo.org> go-1.2.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
Fix for Prefix, marked ~x64-macos
|
|
||||||
|
|
||||||
11 Feb 2014; William Hubbs <williamh@gentoo.org> go-1.2.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
add ~amd64-fbsd for bug #494418
|
|
||||||
|
|
||||||
11 Feb 2014; William Hubbs <williamh@gentoo.org>
|
|
||||||
-files/go-1.1.1-no-Werror.patch, -files/go-1.1.2-no-Werror.patch,
|
|
||||||
-go-1.1.2.ebuild:
|
|
||||||
remove old versions
|
|
||||||
|
|
||||||
31 Jan 2014; Markus Meier <maekke@gentoo.org> go-1.2.ebuild:
|
|
||||||
arm stable, bug #499278
|
|
||||||
|
|
||||||
28 Jan 2014; William Hubbs <williamh@gentoo.org> go-1.2.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
Fix strip mask for *bsd for #494418, thanks to Uta Satoh.
|
|
||||||
|
|
||||||
25 Jan 2014; William Hubbs <williamh@gentoo.org> go-1.2.ebuild:
|
|
||||||
amd64 and x86 stable wrt #499278
|
|
||||||
|
|
||||||
17 Dec 2013; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
sync live ebuild
|
|
||||||
|
|
||||||
16 Dec 2013; Naohiro Aota <naota@gentoo.org> go-1.2.ebuild:
|
|
||||||
Add ~x86-fbsd. #494418
|
|
||||||
|
|
||||||
*go-1.2 (14 Dec 2013)
|
|
||||||
|
|
||||||
14 Dec 2013; William Hubbs <williamh@gentoo.org>
|
|
||||||
+files/go-1.2-no-Werror.patch, +go-1.2.ebuild:
|
|
||||||
version bump for #493088.
|
|
||||||
|
|
||||||
28 Oct 2013; William Hubbs <williamh@gentoo.org> -go-1.1.1.ebuild:
|
|
||||||
remove old version
|
|
||||||
|
|
||||||
23 Oct 2013; William Hubbs <williamh@gentoo.org> go-1.1.2.ebuild:
|
|
||||||
amd64 and x86 stable for #487112, approved by ago.
|
|
||||||
|
|
||||||
20 Oct 2013; Markus Meier <maekke@gentoo.org> go-1.1.2.ebuild:
|
|
||||||
arm stable, bug #487112
|
|
||||||
|
|
||||||
15 Aug 2013; William Hubbs <williamh@gentoo.org>
|
|
||||||
-files/go-1.1-no-Werror.patch, -go-1.1.ebuild:
|
|
||||||
remove old version
|
|
||||||
|
|
||||||
*go-1.1.2 (15 Aug 2013)
|
|
||||||
|
|
||||||
15 Aug 2013; William Hubbs <williamh@gentoo.org>
|
|
||||||
+files/go-1.1.2-no-Werror.patch, +go-1.1.2.ebuild:
|
|
||||||
version bump for #480842
|
|
||||||
|
|
||||||
06 Aug 2013; William Hubbs <williamh@gentoo.org> go-1.1.1.ebuild:
|
|
||||||
Stable for x86 wrt #476564
|
|
||||||
|
|
||||||
14 Jul 2013; Agostino Sarubbo <ago@gentoo.org> go-1.1.1.ebuild:
|
|
||||||
Stable for arm, wrt bug #476564
|
|
||||||
|
|
||||||
13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> go-1.1.1.ebuild:
|
|
||||||
Stable for amd64, wrt bug #476564
|
|
||||||
|
|
||||||
*go-1.1.1 (14 Jun 2013)
|
|
||||||
|
|
||||||
14 Jun 2013; William Hubbs <williamh@gentoo.org> +go-1.1.1.ebuild,
|
|
||||||
+files/go-1.1.1-no-Werror.patch:
|
|
||||||
version bump for #473150
|
|
||||||
|
|
||||||
20 May 2013; William Hubbs <williamh@gentoo.org>
|
|
||||||
-files/go-1.0.3-hardened.patch, -files/go-1.0.3-no-Werror.patch,
|
|
||||||
-go-1.0.3.ebuild:
|
|
||||||
remove old version
|
|
||||||
|
|
||||||
20 May 2013; William Hubbs <williamh@gentoo.org> go-1.1.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
fix QA_MULTILIB_PATHS for bug #463546, thanks to Peter Volkov <pva@gentoo.org>
|
|
||||||
|
|
||||||
*go-1.1 (17 May 2013)
|
|
||||||
|
|
||||||
17 May 2013; William Hubbs <williamh@gentoo.org> +go-1.1.ebuild,
|
|
||||||
go-9999.ebuild, +files/go-1.1-no-Werror.patch:
|
|
||||||
version bump for bug #469762. Also sync live ebuild.
|
|
||||||
|
|
||||||
16 Apr 2013; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
sync live ebuild
|
|
||||||
|
|
||||||
16 Apr 2013; William Hubbs <williamh@gentoo.org> ChangeLog:
|
|
||||||
Add tool directory to QA_MULTILIB_PATHS for #463546
|
|
||||||
|
|
||||||
16 Apr 2013; William Hubbs <williamh@gentoo.org> go-1.0.3.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
repoman fixes
|
|
||||||
|
|
||||||
16 Apr 2013; William Hubbs <williamh@gentoo.org> ChangeLog:
|
|
||||||
Add patch to remove -Werror for #465046 thanks to Ryan Hill.
|
|
||||||
Remove go-1.0.2 since it is an old version.
|
|
||||||
|
|
||||||
*go-1.0.3 (29 Oct 2012)
|
|
||||||
|
|
||||||
29 Oct 2012; William Hubbs <williamh@gentoo.org> +go-1.0.3.ebuild,
|
|
||||||
+files/go-1.0.3-hardened.patch, go-9999.ebuild:
|
|
||||||
version bump and sync live ebuild
|
|
||||||
|
|
||||||
14 Sep 2012; Markus Meier <maekke@gentoo.org> go-1.0.2.ebuild:
|
|
||||||
add ~arm, bug #416133
|
|
||||||
|
|
||||||
01 Sep 2012; William Hubbs <williamh@gentoo.org> go-1.0.2.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
Fix arm5 detection thanks to Markus Meier.
|
|
||||||
|
|
||||||
*go-1.0.2 (30 Jul 2012)
|
|
||||||
|
|
||||||
30 Jul 2012; William Hubbs <williamh@gentoo.org> +go-1.0.2.ebuild,
|
|
||||||
+files/go-1.0.2-hardened.patch, go-9999.ebuild:
|
|
||||||
Version bump and sync live ebuild.
|
|
||||||
This also includes a patch from upstream to add the pax flags header to
|
|
||||||
binaries.
|
|
||||||
|
|
||||||
12 Jun 2012; William Hubbs <williamh@gentoo.org> go-1.0.1.ebuild,
|
|
||||||
go-9999.ebuild:
|
|
||||||
Add optional depend on gvim for bug #419957 thanks to
|
|
||||||
michel.boaventura@gmail.com.
|
|
||||||
|
|
||||||
16 May 2012; William Hubbs <williamh@gentoo.org> go-9999.ebuild:
|
|
||||||
sync live ebuild and test repoman commit
|
|
||||||
|
|
||||||
*go-9999 (15 May 2012)
|
|
||||||
*go-1.0.1 (15 May 2012)
|
|
||||||
|
|
||||||
15 May 2012; William Hubbs <williamh@gentoo.org> +go-1.0.1.ebuild,
|
|
||||||
+files/go-1.0.1-hardened.patch, +go-9999.ebuild, +metadata.xml:
|
|
||||||
Initial commit for bug #342505.
|
|
||||||
I would like to thank johnny@9souldier.org for the initial report and
|
|
||||||
ebuild. Also, I would like to thank powerman-asdf@yandex.ru for the
|
|
||||||
original hardened patch and everyone else who worked with me on the bug
|
|
||||||
so we could get this into the tree.
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
|
||||||
Hash: SHA256
|
|
||||||
|
|
||||||
AUX go-1.2-no-Werror.patch 230 SHA256 65d38b9485da2ff9417a2c44a81b6e52cc9bd2727b27e7add10d48a63805d4a3 SHA512 3cf139723e6ff0cbf7aaf76295fe4208f2062f2d4086e36d05cad83919217b5355e0e79b0b515a06a578389301bd07b062cb58b98fc0f9e4badf190cd1c34826 WHIRLPOOL 589b081bccf4afa015abe615c9d14b05ee2d2562b9473f8587456cfa8205a20483298f987d6bcf02630d17c2fbf3cc461e246ecc8e7602a89fc975ff3eefe172
|
|
||||||
DIST go1.4.1.src.tar.gz 10921282 SHA256 3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3 SHA512 47cbd67cdca8d67e8d09fee6d9a9fd5ddfa65f59413bd583c83b27c598f7b1b23e51e894888c10202bada560a16758eb847bff963d77726724aefecaea5cf644 WHIRLPOOL 0e63fce9674204c79dafad2daea1b8e097370ae7a5b5ee0e463235925cec4a3e74fa0980de8fe6fa1adbc072c2921cef494c5eafe251fe4e26a0f1586bd217e0
|
|
||||||
DIST go1.4.2.src.tar.gz 10921896 SHA256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b SHA512 cda1a29d4418875dffaf3324004ddae8e1bbb573f7668e6e0c03d8b61284f4db7fca244c181f2859f8ccdd3db6391fb21e0d98a1a9fc15096c15883249d48a9c WHIRLPOOL d06c27f6ff3a6499a6c7cb3c5eccd53eb588896c4d837e1fe9855c22ee3caa5cc48fd68cbeceff105b7c47fafbbf0eb3dc28ee3af7196692c5bf18511c6760ef
|
|
||||||
EBUILD go-1.4.1.ebuild 3119 SHA256 4f99cd82cf5d8a5c4679581b48b72d63123f65585f2e2613856b5c93a1d71d7f SHA512 2c470523ee309c90b6bb02cadef9631e6643ae82378ba693875d64cfe197b12629fa4c02e82ff8df5a857629c030781d1b9acf54cc7787dca42e2c12dcff005d WHIRLPOOL 2583ec1ad14d3c15f8ff8701e9ef603946c31f9ac3da14aef8ba211593f2fb0a0a5a72a352a70ee973768a24d8af33dbf1d9293487d6039e6f4bb85a7d4ca833
|
|
||||||
EBUILD go-1.4.2.ebuild 3144 SHA256 36a45248a205f2846007db7ccec1b4f6ee998608f1b28f5183cfa09c7a576163 SHA512 c67a4c23deb2d163aca12df7851c408ab3c4020ea7e69c60db628d83140f57ef4c1b9b6adfdcdd571f6a91e08aca3868cd05549bb96ce4c9eaffbabdc835f221 WHIRLPOOL 32389fbcc61446f097281c11490f7f82f6132533299239dc19865ebd9592b209690751a5e6432ca3fcbcc4300ab61aa06121341121973da6b31f9009739ce111
|
|
||||||
EBUILD go-9999.ebuild 3234 SHA256 ad9893c5d54c2f57d21d0bff5d3f6e64bd3da8d6143210aabd50d357b6e18643 SHA512 be0865822bdfc4a0f544ffb129ca144f1575a1966e393a444b003c6c46643cd19155f15e68b8c84cb23d05a54d3a5ec3dfe3ac571c32ee38fe4b754e2b0e85c6 WHIRLPOOL 5f03d19f3c4ab79021947fc6a443888d2bc18fcdafa8c5d5ae4260d0dff186b10e747fc83815441c1b33865b4a77b6cbce7b39fcaea1091019b3f6c8e4fa7dc3
|
|
||||||
MISC ChangeLog 9032 SHA256 f6cfac14f129bee59cbcacad674e7149740a1346538255277f73fa02718d62af SHA512 5b104bb7b6ad852e96e46b93aa16f32a92f5b527ba5642e01cee0f951817eda76ba043151c944c91cbc3dbe1ef189daf3c9ee82bb5604c24c4ac406316f3e15a WHIRLPOOL 6fe910c5d4bbe754209bd77e03be8838c7e43734a84abcaa8235dc5f67d23b1d44121993834aa9988945917cdf8a08118aa0a340ed9b32cd509073648432a168
|
|
||||||
MISC metadata.xml 448 SHA256 d53ad6b454d72353e0308a91a989a1a3345ae97c0199748dee1862576ad4476a SHA512 0c5fb551437353e87f87c91e576ef224b770f686700150c19e7f34e6903ba26910293bb74db9732a220006b873113662464646dd96e61503e4aa90cc84e14f75 WHIRLPOOL b3846a0fad8844ad7ec961b512cb12a9d588bfac28b2dc53798399ac8628ccbf6c06c5666b03eabef05b0acb0cea04d563252eaaa893341c5b3fe59475ffdab5
|
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2
|
|
||||||
|
|
||||||
iJwEAQEIAAYFAlUlJWMACgkQG9wOWsQutdaecQQAz1YOJqWxHLjzDI90o1zYn9WO
|
|
||||||
pVmMavBNyXSQV5DX1MhP3IJA2FpzxGwD7tMv3jsx0RKSxrSYtVapJ5r2IJWOjmJE
|
|
||||||
4KdpL3F7Bvzr+HvbBFUE1cCEhdqE5IdOR1GBuu2Sg9MEmWvhlJqeaiF4PJ5Acu+I
|
|
||||||
Drt7itDk7Ma+Mvc1BMg=
|
|
||||||
=vDzQ
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
--- a/src/cmd/dist/build.c
|
|
||||||
+++ b/src/cmd/dist/build.c
|
|
||||||
@@ -384,7 +384,6 @@ static char *proto_gccargs[] = {
|
|
||||||
"-Wno-switch",
|
|
||||||
"-Wno-comment",
|
|
||||||
"-Wno-missing-field-initializers",
|
|
||||||
- "-Werror",
|
|
||||||
"-fno-common",
|
|
||||||
"-ggdb",
|
|
||||||
"-pipe",
|
|
||||||
@ -1,120 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.4.1.ebuild,v 1.4 2015/02/17 21:03:49 maekke Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
|
||||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
|
||||||
KEYWORDS="-* amd64 arm x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="http://www.golang.org"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
|
||||||
# stripped.
|
|
||||||
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a /usr/lib/go/pkg/darwin*/*.a"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_prepare()
|
|
||||||
{
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
epatch "${FILESDIR}"/${PN}-1.2-no-Werror.patch
|
|
||||||
fi
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile()
|
|
||||||
{
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="$(pwd)"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
if [[ $CTARGET = armv5* ]]
|
|
||||||
then
|
|
||||||
export GOARM=5
|
|
||||||
fi
|
|
||||||
tc-export CC
|
|
||||||
|
|
||||||
cd src
|
|
||||||
./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test()
|
|
||||||
{
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash --no-rebuild --banner || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install()
|
|
||||||
{
|
|
||||||
dobin bin/*
|
|
||||||
dodoc AUTHORS CONTRIBUTORS PATENTS README
|
|
||||||
|
|
||||||
dodir /usr/lib/go
|
|
||||||
insinto /usr/lib/go
|
|
||||||
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
doins -r doc include lib pkg src
|
|
||||||
fperms -R +x /usr/lib/go/pkg/tool
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst()
|
|
||||||
{
|
|
||||||
has_version '<dev-lang/go-1.4' &&
|
|
||||||
export had_support_files=true ||
|
|
||||||
export had_support_files=false
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst()
|
|
||||||
{
|
|
||||||
# If the go tool sees a package file timestamped older than a dependancy it
|
|
||||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
|
||||||
# packages for every build we need to fix the timestamps. The compiler and
|
|
||||||
# linker are also checked - so we need to fix them too.
|
|
||||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
|
||||||
tref="usr/lib/go/pkg/*/runtime.a"
|
|
||||||
find "${EROOT}"usr/lib/go -type f \
|
|
||||||
-exec touch -r "${EROOT}"${tref} {} \;
|
|
||||||
eend $?
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
|
||||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
|
||||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $had_support_files; then
|
|
||||||
ewarn
|
|
||||||
ewarn "All editor support, IDE support, shell completion"
|
|
||||||
ewarn "support, etc has been removed from the go package"
|
|
||||||
ewarn "upstream."
|
|
||||||
ewarn "For more information on which support is available, see"
|
|
||||||
ewarn "the following URL:"
|
|
||||||
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
@ -1,121 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.4.2.ebuild,v 1.3 2015/04/08 12:57:46 zlogene Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
|
||||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
|
||||||
KEYWORDS="-* amd64 ~arm x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="http://www.golang.org"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
|
||||||
# stripped.
|
|
||||||
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a /usr/lib/go/pkg/darwin*/*.a"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_prepare()
|
|
||||||
{
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
sed -i -e 's#"-Werror",##g' src/cmd/dist/build.c ||
|
|
||||||
die "sed failed"
|
|
||||||
fi
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile()
|
|
||||||
{
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="$(pwd)"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
if [[ $CTARGET = armv5* ]]
|
|
||||||
then
|
|
||||||
export GOARM=5
|
|
||||||
fi
|
|
||||||
tc-export CC
|
|
||||||
|
|
||||||
cd src
|
|
||||||
./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test()
|
|
||||||
{
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash --no-rebuild --banner || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install()
|
|
||||||
{
|
|
||||||
dobin bin/*
|
|
||||||
dodoc AUTHORS CONTRIBUTORS PATENTS README
|
|
||||||
|
|
||||||
dodir /usr/lib/go
|
|
||||||
insinto /usr/lib/go
|
|
||||||
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
doins -r doc include lib pkg src
|
|
||||||
fperms -R +x /usr/lib/go/pkg/tool
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst()
|
|
||||||
{
|
|
||||||
has_version '<dev-lang/go-1.4' &&
|
|
||||||
export had_support_files=true ||
|
|
||||||
export had_support_files=false
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst()
|
|
||||||
{
|
|
||||||
# If the go tool sees a package file timestamped older than a dependancy it
|
|
||||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
|
||||||
# packages for every build we need to fix the timestamps. The compiler and
|
|
||||||
# linker are also checked - so we need to fix them too.
|
|
||||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
|
||||||
tref="usr/lib/go/pkg/*/runtime.a"
|
|
||||||
find "${EROOT}"usr/lib/go -type f \
|
|
||||||
-exec touch -r "${EROOT}"${tref} {} \;
|
|
||||||
eend $?
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
|
||||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
|
||||||
elog "Release notes are located at http://golang.org/doc/go1.4"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $had_support_files; then
|
|
||||||
ewarn
|
|
||||||
ewarn "All editor support, IDE support, shell completion"
|
|
||||||
ewarn "support, etc has been removed from the go package"
|
|
||||||
ewarn "upstream."
|
|
||||||
ewarn "For more information on which support is available, see"
|
|
||||||
ewarn "the following URL:"
|
|
||||||
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
@ -1,122 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-9999.ebuild,v 1.25 2015/01/20 04:02:26 williamh Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
|
||||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
|
||||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="http://www.golang.org"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-bootstrap-1.4.1"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
|
||||||
# stripped.
|
|
||||||
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a /usr/lib/go/pkg/darwin*/*.a"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_prepare()
|
|
||||||
{
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
sed -i -e 's/"-Werror",//g' src/cmd/dist/build.go ||
|
|
||||||
die 'sed failed'
|
|
||||||
fi
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile()
|
|
||||||
{
|
|
||||||
export GOROOT_BOOTSTRAP="${EPREFIX}"/usr/lib/go1.4
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="$(pwd)"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
if [[ $CTARGET = armv5* ]]
|
|
||||||
then
|
|
||||||
export GOARM=5
|
|
||||||
fi
|
|
||||||
tc-export CC
|
|
||||||
|
|
||||||
cd src
|
|
||||||
./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test()
|
|
||||||
{
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash --no-rebuild --banner || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install()
|
|
||||||
{
|
|
||||||
dobin bin/*
|
|
||||||
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
|
|
||||||
|
|
||||||
dodir /usr/lib/go
|
|
||||||
insinto /usr/lib/go
|
|
||||||
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
doins -r doc include lib pkg src
|
|
||||||
fperms -R +x /usr/lib/go/pkg/tool
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst()
|
|
||||||
{
|
|
||||||
has_version '<dev-lang/go-1.4' &&
|
|
||||||
export had_support_files=true ||
|
|
||||||
export had_support_files=false
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst()
|
|
||||||
{
|
|
||||||
# If the go tool sees a package file timestamped older than a dependancy it
|
|
||||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
|
||||||
# packages for every build we need to fix the timestamps. The compiler and
|
|
||||||
# linker are also checked - so we need to fix them too.
|
|
||||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
|
||||||
tref="usr/lib/go/pkg/*/runtime.a"
|
|
||||||
find "${EROOT}"usr/lib/go -type f \
|
|
||||||
-exec touch -r "${EROOT}"${tref} {} \;
|
|
||||||
eend $?
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
|
||||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
|
||||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $had_support_files; then
|
|
||||||
ewarn
|
|
||||||
ewarn "All editor support, IDE support, shell completion"
|
|
||||||
ewarn "support, etc has been removed from the go package"
|
|
||||||
ewarn "upstream."
|
|
||||||
ewarn "For more information on which support is available, see"
|
|
||||||
ewarn "the following URL:"
|
|
||||||
ewarn "https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer>
|
|
||||||
<email>williamh@gentoo.org</email>
|
|
||||||
<name>William Hubbs</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
Go is a new systems programming language developped at google by
|
|
||||||
Rob Pike. It has garbage collection, coroutines, communication
|
|
||||||
channels and a clean syntax.
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user