Compare commits

...

154 Commits

Author SHA1 Message Date
Jakub Čajka 27a8ad3859
Rebase to go1.15.5
Security fix for CVE-2020-28362, CVE-2020-28367 and CVE-2020-28366
Resolves: BZ#1897342, BZ#1897636, BZ#1897644, BZ#1897647
2020-11-14 08:55:50 +01:00
Jakub Čajka c88a8dfff5
Rebase to go1.15.4
Resolves BZ#1895189
2020-11-06 16:34:38 +01:00
Jakub Čajka 61730a32f4
Rebase to go1.15.3
Resolves: BZ#1888443
2020-10-15 13:41:00 +02:00
Jakub Čajka d7ab797463
Rebase to go1.15.2
Resolves: BZ#1877565
2020-09-10 12:57:26 +02:00
Jakub Čajka fb39d90765
Rebase to go1.15.1
Security fix for CVE-2020-24553
Resolves: BZ#1874858, BZ#1866892
2020-09-04 15:43:41 +02:00
Jakub Čajka d3aa981e83
Rebase to go1.15 proper
Resolves: BZ#1859241, BZ#1866892
2020-08-12 10:33:11 +02:00
Jakub Čajka dac586c9c7
Rebase to go1.15rc1
Security fix for CVE-2020-16845
Resolves: BZ#1867101
Related: BZ#1859241
2020-08-10 12:04:23 +02:00
Fedora Release Engineering e8c1f5c4a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 20:57:54 +00:00
Jakub Čajka 132cf34fe6
Rebase to go1.15rc1
Related: BZ#1859241
2020-07-27 10:26:48 +02:00
Jakub Čajka a3e201c572
Rebase to go1.15beta1 2020-07-20 18:36:44 +02:00
Jakub Čajka 6db1c7a908
Rebase to go1.14.6
Security fix for CVE-2020-14040 and CVE-2020-15586
Resolves: BZ#1842708, BZ#1856957, BZ#1853653
2020-07-20 10:27:10 +02:00
Alejandro Sáez 0cb15e561e Add patch that fixes issue in ppc64le
Fix: https://golang.org/issue/39991
Add sources
2020-07-14 14:48:03 +02:00
Jakub Čajka 91d21a3bde
It is FALGS 2020-07-03 08:31:27 +02:00
Jakub Čajka ea99ebaff6
Workaround tests failures on aarch64 2020-07-02 21:35:44 +02:00
Alejandro Sáez ecf8f72447 Rebase to go1.14.4
Related: BZ#1842708
2020-07-02 18:30:16 +00:00
Jakub Čajka fde02715d5
Add new sources and BZ 2020-05-21 08:37:26 +02:00
Álex Sáez 8716ef4de3 Rebase to go1.14.3 2020-05-18 19:59:24 +02:00
Jakub Čajka aa89c2b0f2
Rebase to go1.14.2
Resolves: BZ#1815282
2020-04-20 13:34:36 +02:00
Neal Gompa 1f08860197 Fix building on older than EL8
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2020-04-18 13:26:06 -04:00
Jakub Čajka 4487a1b142
Rebase to go1.14 proper
Resolves: BZ#1792475
2020-02-26 15:26:46 +01:00
Jakub Čajka 9f5b8dce35
Rebase to go1.14rc1 2020-02-06 13:40:49 +01:00
Fedora Release Engineering 4751ecad2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 23:13:43 +00:00
Jakub Čajka fd2a3fb06e
Rebase to go1.14beta1
Resolves: BZ#1792475
2020-01-21 10:24:40 +01:00
Jakub Čajka fbfc80f071
Rebase to go1.13.6 2020-01-13 22:15:11 +01:00
Jakub Čajka 1524937377
Rebase to go1.13.5 2019-12-05 13:39:28 +01:00
Neal Gompa a522b09638 Fix date for changelog entry
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2019-12-04 09:05:11 -05:00
Neal Gompa 50defcc683 Small fixes to the spec and tighten up the file list
Signed-off-by: Neal Gompa <ngompa@datto.com>
2019-12-02 11:27:25 -05:00
Jakub Čajka f445d76353
Rebase to go1.13.4
Resolves: BZ#1767673
2019-11-01 16:38:39 +01:00
Jakub Čajka 069e0f1f5f
Rebase to go1.13.3
Fix for CVE-2019-17596
Resolves: BZ#1755639, BZ#1763312
2019-10-21 16:20:13 +02:00
Jakub Čajka 151fe9ed9a Rebase to go1.13.1
Fix for CVE-2019-16276
Resolves: BZ#1755970

Signed-off-by: Jakub Čajka <jcajka@redhat.com>
2019-09-30 08:57:44 +02:00
Jakub Čajka 25a05dd355 Back to go1.13 tls1.3 behavior
Signed-off-by: Jakub Čajka <jcajka@redhat.com>
2019-09-05 13:52:39 +02:00
Jakub Čajka 8f7b389463 Rebase to go1.13 2019-09-04 13:26:49 +02:00
Jakub Čajka e45411af09 Rebase to 1.13rc2
Do not enable tls1.3 by default
Related: BZ#1737471
2019-09-03 17:26:29 +02:00
Jakub Čajka af8d391cb2 Actually fix CVE-2019-9514 and CVE-2019-9512 2019-08-28 12:37:49 +02:00
Jakub Čajka 081d5ff6f2 Rebase to 1.13rc1
Fix for CVE-2019-14809, CVE-2019-9514 and CVE-2019-9512
Resolves: BZ#1741816, BZ#1741827 and BZ#1743131
2019-08-26 12:09:05 +02:00
Jakub Čajka 0e633c63ed Fix ICE affecting aarch64
Resolves: BZ#1735290
2019-08-02 10:42:35 +02:00
Fedora Release Engineering 140a7e1b44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 04:35:33 +00:00
Jakub Čajka 29d5602b19 De-configure sumdb and go proxy 2019-07-24 01:35:09 +02:00
Jakub Čajka f80e5ff991 Rebase to 1.13beta1
Related: BZ#1732118
2019-07-24 00:27:11 +02:00
Jakub Čajka a94ffe83e5 Rebase to 1.12.7
Resolves: BZ#1728056
2019-07-09 16:38:56 +02:00
Jakub Čajka 6c0cf70db5 Rebase to go1.12.6
Resolvse: BZ#1719483
2019-06-12 16:09:25 +02:00
Jakub Čajka a562f38c65 Rebase to go1.12.5
Resolves: BZ#1707187
2019-05-07 14:22:33 +02:00
Jakub Čajka f344d3da25 Rebase to 1.12.2
Resolves: BZ#1688996
2019-04-08 10:49:18 +02:00
Jakub Čajka 9985c0a473 Fixup changelog 2019-04-01 09:59:04 +02:00
Jakub Čajka ef14b33215 Rebase to 1.12.1
Fix CVE-2019-9741
Use weak deps for SCM deps
Resolves: BZ#1688233
2019-03-15 09:53:03 +01:00
Tim Landscheidt ff7ebd7613 Fix requirement for %preun (instead of %postun) scriptlet 2019-03-12 19:01:55 +00:00
Jakub Čajka c74b6b6cb8 Rebase to go1.12 proper
Resolves:  BZ#1680040
2019-02-27 21:29:49 +01:00
Jakub Čajka 73766cf515 Rebase to go1.12rc1 2019-02-18 10:08:01 +01:00
Fedora Release Engineering e3e1bdbf46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 23:34:32 +00:00
Jakub Čajka 8ae8c86871 Fix for CVE-2019-6486 2019-01-29 12:52:29 +01:00
Jakub Čajka bc69b83b00 Rebase to go1.12beta2 2019-01-11 13:33:12 +01:00
Jakub Čajka 50b7643bf7 Rebase to go1.11.4
Fix for CVE-2018-16875, CVE-2018-16874 and CVE-2018-16873
Resolves: BZ#1659290, BZ#1659289, BZ#1659288
2019-01-02 11:50:21 +01:00
Jakub Čajka b86284b4f3 Rebase to 1.11.2 2018-11-05 15:16:56 +01:00
Jakub Čajka eb7ec5ddc1 Rebase to 1.11.1 2018-10-06 15:39:01 +02:00
Jakub Čajka 3014b94569 Rebase to 1.11 release 2018-08-27 16:21:42 +02:00
Jakub Čajka f1f6f5d515 Rebase to go1.11rc2
Reduce size of bin package
2018-08-23 11:20:46 +02:00
Jakub Čajka a273a5236a Rebase to go 1.11rc1 2018-08-14 14:48:38 +02:00
Jakub Čajka c45c363337 Rebase to go 1.11beta3 2018-08-06 12:28:08 +02:00
Jakub Čajka 4043bb182d Turn on back DWARF compression by default
Use less memory on 32bit targets during build
2018-07-27 15:36:47 +02:00
Jakub Čajka 62f2ae0511 Rebase to 1.11beta2 2018-07-20 10:14:54 +02:00
Jakub Čajka 75f7f03cb6 Turn off DWARF compression by default as it is not supported by rpm/debuginfo 2018-07-18 14:00:27 +02:00
Fedora Release Engineering 72a9f2e921 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 03:12:06 +00:00
Jakub Čajka 19d1adeab4 Rebase to go1.11beta1 2018-07-10 21:46:22 +02:00
Jakub Čajka c333e76e86 Rebase to 1.10.3 2018-06-11 09:04:52 +02:00
Jakub Čajka 6caa43c106 Rebase to 1.10.2
Patch clean up
2018-05-03 11:11:48 +02:00
Jakub Čajka 66a92c4de7 Rebase to 1.10.1
Resolves: BZ#1562270
2018-04-04 10:10:28 +02:00
Jakub Čajka 2389428bde Fix CVE-2018-7187
Resolves: BZ#1546386, BZ#1546388
2018-03-03 11:26:41 +01:00
Jakub Čajka e8abe4385f Add dependency on scm tools so go get works out of box in minimal envs 2018-02-21 13:11:15 +01:00
Jakub Čajka 639f9ab37f Rebase to 1.10 2018-02-21 13:01:34 +01:00
Jakub Čajka 5f45ed12c2 Rebase to 1.10rc2
Fix CVE-2018-6574
Resolves: BZ#1543561, BZ#1543562
2018-02-09 13:49:40 +01:00
Fedora Release Engineering 13bb238b09 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 13:48:58 +00:00
Jakub Čajka 63e3cb4201 Rebase to 1.10rc1 2018-01-27 09:34:18 +01:00
Jakub Čajka 77baa559ba Rebase to 1.10beta2 2018-01-12 12:47:23 +01:00
Jakub Čajka d37b3b5006 Rebase to 1.10beta1
Drop verbose patch as most of it is now implemented by bootstrap tool and is easily toggled by passing -v flag to make.bash
2018-01-09 12:59:49 +01:00
Jakub Čajka 4bc73c764a Add bundled provides 2017-12-06 12:22:23 +01:00
Jakub Čajka b65272222a Temporalily ignore test failures on 32bit intel and aarch64 2017-11-23 16:28:44 +01:00
Jakub Čajka 315b776905 Rebase to 1.9.2
execute correctly pie tests
allow to ignore tests via bcond
reduce size of golang package
2017-11-07 13:42:51 +01:00
Jakub Čajka 920ea39083 add bcond for bootstraping 2017-10-12 15:52:28 +02:00
Jakub Čajka 387b897724 Use corect version 2017-10-06 13:17:08 +02:00
Jakub Čajka ceb83a748c fix CVE-2017-15041 and CVE-2017-15042 2017-10-06 13:12:30 +02:00
Jakub Čajka 903219bc93 Bump to release version 2017-09-15 13:25:24 +02:00
Fedora Release Engineering cb0891bb70 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 22:14:37 +00:00
Fedora Release Engineering 494a6d19c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 11:03:59 +00:00
Jakub Čajka 9941f71a57 Mention upstream issue in s390x-ignore... patch 2017-07-13 12:39:15 +02:00
Jakub Čajka c2d0ceffa4 Merge branch 'master' of ssh://pkgs.fedoraproject.org/golang 2017-07-12 17:43:58 +02:00
Jakub Čajka 3cc854f423 Improved s390x patch 2017-07-12 17:26:26 +02:00
Petr Písař c7375398e7 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:32:33 +02:00
Jakub Čajka 5767354120 Bump to 1.9beta2
Workaround build failure on s390x
2017-07-12 13:38:36 +02:00
Jakub Čajka 45041c89fe bump to 1.8.3
fix for CVE-2017-8932
make possible to use 31bit OID in ASN1
Resolves: BZ#1454978, BZ#14551
2017-05-26 14:45:09 +02:00
Jakub Čajka 0a43a1cbaf fix uint64 constant codegen on s390x
Resolves: BZ#1441078
2017-04-21 14:56:13 +02:00
Jakub Čajka 1344685ff3 Revert: Final modularity bootstrap 2017-04-12 12:28:20 +02:00
Jakub Čajka 5706a3480e Final modularity bootstrap 2017-04-12 12:20:02 +02:00
Jakub Čajka ab6ee497cb Revert: modularity bootstrap 2017-04-12 10:29:49 +02:00
Jakub Čajka 29646808b3 Modularity bootstrap :) 2017-04-12 10:26:16 +02:00
Vincent Batts d83d5139a6
Revert "spec: hard code the bootstrap for a modularity build"
This reverts commit 63fbc71112.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-11 10:14:48 -04:00
Vincent Batts 63fbc71112
spec: hard code the bootstrap for a modularity build
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-11 10:13:43 -04:00
Jakub Čajka 749ec62908 bump to Go 1.8.1
Resolves: BZ#1440345
2017-04-11 10:41:35 +02:00
Jakub Čajka a1ca3c96e0 avoid possibly stale packages due to chacha test file not being test file 2017-02-24 13:41:35 +01:00
Jakub Čajka 1bf7308023 Bump to released 1.8
Ignore ppc64 tests failure for time beeing, haven't managed to reproduce localy
2017-02-20 15:50:48 +01:00
Fedora Release Engineering 7dabca5bf2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 11:37:38 +00:00
Jakub Čajka b881112930 make possible to override default traceback level at build time
add sub-package race containing std lib built with -race enabled
Related: BZ#1411242
2017-01-31 15:11:25 +01:00
Jakub Čajka 100fcef237 rebase to go1.8rc3
Resolves: BZ#1411242
2017-01-27 11:39:40 +01:00
Jakub Cajka 0dbd49fdd7 Resolves: BZ#1404679
expose IfInfomsg.X__ifi_pad on s390x
2017-01-20 14:51:16 +01:00
Jakub Čajka 66c8bd8593 Bump to 1.7.4
Resolves: BZ#1400732
2016-12-02 12:06:39 +01:00
Tom Callaway 85dfe17917 re-enable the NIST P-224 curve 2016-11-17 16:08:36 -05:00
Jakub Čajka 663103c2f1 Resolves: BZ#1387067 - golang-1.7.3 is available
added fix for tests failing with latest tzdata
2016-10-20 12:21:38 +02:00
Jakub Čajka d978616527 fix link failure due to relocation overflows on PPC64X 2016-09-23 17:48:07 +02:00
Jakub Čajka 8bda509c5f rebase to 1.7.1
Resolves: BZ#1374103
2016-09-08 17:54:31 +02:00
Jakub Čajka 1fe9869398 update to released version 2016-08-26 12:22:53 +02:00
Jakub Čajka 6896a58aa3 Obsolete golang-vet and golang-cover from golang-googlecode-tools package vet/cover binaries are provided by golang-bin rpm (thanks to jchaloup) 2016-08-08 10:38:08 +02:00
Jakub Čajka cf2fb88587 rebase to go1.7rc5
Resolves: BZ#1342090
2016-08-03 13:47:09 +02:00
Fedora Release Engineering 00c920284f - https://fedoraproject.org/wiki/Changes/golang1.7 2016-07-21 12:33:14 +00:00
Jakub Čajka d36359a723 rebase to 1.7rc2
added s390x build
improved shared lib packaging
Resolves: bz1357602 - CVE-2016-5386
Resolves: bz1342090, bz1342090
2016-07-20 09:32:37 +02:00
Jakub Čajka 04b972ebf4 Rebase to 1.6.2 2016-04-26 17:36:25 +02:00
Jakub Čajka b2c2028475 rebase to 1.6.1
Resolves: bz1324344 - CVE-2016-3959
Resolves: bz1324951 - prelink is gone, /etc/prelink.conf.d/* is no longer used
Resolves: bz1326366 - wrong epoll_event struct for ppc64le/ppc64
2016-04-13 14:44:04 +02:00
Jakub Čajka 263126ff1b Resolves: bz1304701 - rebase to go1.6 release
Resolves: bz1304591 - fix possible stack miss-alignment in callCgoMmap
2016-02-22 16:02:43 +01:00
Dennis Gilmore 30a817d62b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 22:43:43 +00:00
Jakub Čajka f031dfde9c disabled cgo and external linking on ppc64 2016-01-29 12:25:12 +01:00
Jakub Čajka d40cd88359 Resolves bz1292640, rebase to pre-release 1.6
bootstrap for PowerPC
fix rpmlint errors/warning
2016-01-28 14:38:35 +01:00
Jakub Čajka 672b8a1217 rebase to 1.5.3
resolves bz1293451, CVE-2015-8618
2016-01-14 15:13:23 +01:00
Jakub Čajka 85525165e1 Fix bz number from previous commit, should be bz1290543 2015-12-14 14:16:07 +01:00
Jakub Čajka 8b92652b24 bz1290472 Accept x509 certs with negative serial 2015-12-11 12:51:16 +01:00
Jakub Čajka c524af8454 Rebase to 1.5.2(bz1288263)
Spec file clean up
Added basic build options
2015-12-08 17:28:38 +01:00
Vincent Batts ee2b299486 bz1271709 fix from upstream 2015-10-19 20:32:59 -04:00
Vincent Batts c127d6af98 update to go1.5.1 2015-09-09 10:34:27 -04:00
Vincent Batts a68f1b0499 bz1258166: actually remove the macros file .. 2015-09-04 10:07:14 -04:00
Vincent Batts 286f73c812 changelog 2015-09-03 10:38:28 -04:00
Vincent Batts 34fd651dfb bz1258166 remove srpm macros, for go-srpm-macros 2015-09-03 10:36:52 -04:00
Vincent Batts 418a760bf8 adding x86_64 only shared objects 2015-08-27 17:29:16 -04:00
Vincent Batts 7782fc08ed gdb runtime path fix 2015-08-27 14:13:04 -04:00
Vincent Batts 12a31f1822 more test fixes, and holding back on shared objects 2015-08-26 14:55:29 -04:00
Vincent Batts 1a6adea6fb *: fix hostname again, and testdata paths 2015-08-25 15:29:59 -04:00
Vincent Batts 32abaed9de more changelog message 2015-08-25 14:14:36 -04:00
Vincent Batts baf0278ae3 Merge branch 'master' of ssh://pkgs.fedoraproject.org/golang 2015-08-25 14:12:21 -04:00
Vincent Batts 3cb3b22c16 fix zoneinfo test and cleanup others
the find for tests files needed improving.

Also fix the hostname // net-tools requirement
2015-08-25 14:10:59 -04:00
Vincent Batts 01341969cc adding first class gopath URL
bz1166611
2015-08-25 14:03:03 -04:00
Vincent Batts 9297305de1 go1.5 supports shared objects
Now we'll provide the libstd.so for all of golang's stdlib. This way,
libraries and binaries can link against it and have a better security
update story.
2015-08-25 13:50:08 -04:00
Peter Robinson b869aad629 Enable aarch64 2015-08-23 20:49:44 +01:00
Peter Robinson 79fd860ddc Add pcre-devel for tests
fannkuch-parallel
Package libpcre was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpcre.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpcre' found
2015-08-23 20:46:46 +01:00
Peter Robinson 19dca7ffd3 Drop incorrect change for hostname location. The hostname binary moved place in Fedora 17 as part of the usr move feature and /bin is symlinked to /usr/bin. Just specify the actualy proper package name instead of a specific binary path.
Cleanup sources file just to include the current source. Please use "fedpkg new-sources"
command to properly upload sources. Otherwise each time a build is done, or even
"fedpra srpm" or "fedpkg prep" it downloads all the sources specified in the file
2015-08-23 20:46:18 +01:00
Vincent Batts 0d13e2d904 update to go1.5 2015-08-20 22:05:16 +00:00
Vincent Batts 03b73e2ea5 fixing sources reference 2015-08-06 17:22:56 -04:00
Vincent Batts 831ba34f74 updating to go1.5rc1 2015-08-06 15:48:15 -04:00
Vincent Batts f2f58b5244 tar fix from upstream 2015-08-04 15:51:06 -04:00
Vincent Batts 9fc0bc41c8 updating to go1.5beta3 2015-07-30 11:27:23 -04:00
Vincent Batts 78d9b3d3ac add the patch .. 2015-07-30 11:01:17 -04:00
Vincent Batts c1bee09f56 increase ELFRESERVE (bz1248071) 2015-07-30 10:47:32 -04:00
Vincent Batts bb5db89cf5 fix the prerelease versioning 2015-07-29 10:48:47 -04:00
Vincent Batts 6da96f9716 bump release 2015-07-17 16:46:03 -04:00
Vincent Batts 0eec149c76 adding test output, but not failing on it for now 2015-07-17 16:45:01 -04:00
Vincent Batts 2ecad653a5 update to go1.5beta2 2015-07-17 11:02:40 -04:00
Vincent Batts beda572475 fixes missed on initial push of 1.5beta1 2015-07-17 09:39:21 -04:00
Vincent Batts 8d165dfe19 updating go1.5beta1
* updating existing patches
* adding a couple of test patches needed for beta1
* TODO enable %check again
* SO MUCH CLEANUP now that OS and ARCH bootstrapping is not needed
2015-07-16 14:36:06 -04:00
Dennis Gilmore 7dc03d1101 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 09:16:23 +00:00
14 changed files with 1161 additions and 793 deletions

78
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.rpm
/go1.1.1.src.tar.gz
/go1.1.2.src.tar.gz
/go1.2.1.src.tar.gz
@ -16,4 +17,81 @@
/go1.4beta1.src.tar.gz
/go1.4rc1.src.tar.gz
/go1.4rc2.src.tar.gz
/go1.5beta1.src.tar.gz
/golang-19087:a15f344a9efa-xattrs.tar
/go1.5beta2.src.tar.gz
/go1.5beta3.src.tar.gz
/go1.5rc1.src.tar.gz
/go1.5.src.tar.gz
/go1.5.1.src.tar.gz
/go1.5.2.src.tar.gz
/Mark.Twain-Tom.Sawyer.txt.bz2
/go1.5.3.src.tar.gz
/go1.6rc1.src.tar.gz
/go1.6.src.tar.gz
/go1.6.1.src.tar.gz
/go1.6.2.src.tar.gz
/go1.7rc2.src.tar.gz
/go1.7rc5.src.tar.gz
/go1.7.src.tar.gz
/go1.7.1.src.tar.gz
/go1.7.3.src.tar.gz
/go1.7.4.src.tar.gz
/go1.8rc3.src.tar.gz
/go1.8.src.tar.gz
/go1.8.1.src.tar.gz
/go1.8.3.src.tar.gz
/go1.9beta2.src.tar.gz
/go1.9.src.tar.gz
/go1.9.1.src.tar.gz
/go1.9.2.src.tar.gz
/go1.10beta1.src.tar.gz
/go1.10beta2.src.tar.gz
/go1.10rc1.src.tar.gz
/go1.10rc2.src.tar.gz
/go1.10.src.tar.gz
/go1.10.1.src.tar.gz
/go1.10.2.src.tar.gz
/go1.10.3.src.tar.gz
/go1.11beta1.src.tar.gz
/go1.11beta2.src.tar.gz
/go1.11beta3.src.tar.gz
/go1.11rc1.src.tar.gz
/go1.11rc2.src.tar.gz
/go1.11.src.tar.gz
/go1.11.1.src.tar.gz
/go1.11.2.src.tar.gz
/go1.11.4.src.tar.gz
/go1.12beta2.src.tar.gz
/go1.12rc1.src.tar.gz
/go1.12.src.tar.gz
/go1.12.1.src.tar.gz
/go1.12.2.src.tar.gz
/go1.12.5.src.tar.gz
/go1.12.6.src.tar.gz
/go1.12.7.src.tar.gz
/go1.13beta1.src.tar.gz
/go1.13rc1.src.tar.gz
/go1.13rc2.src.tar.gz
/go1.13.src.tar.gz
/go1.13.1.src.tar.gz
/go1.13.3.src.tar.gz
/go1.13.4.src.tar.gz
/go1.13.5.src.tar.gz
/go1.13.6.src.tar.gz
/go1.14beta1.src.tar.gz
/go1.14rc1.src.tar.gz
/go1.14.src.tar.gz
/go1.14.2.src.tar.gz
/go1.14.3.src.tar.gz
/go1.14.4.src.tar.gz
/go1.14.6.src.tar.gz
/go1.15beta1.src.tar.gz
/go1.15rc1.src.tar.gz
/go1.15rc2.src.tar.gz
/go1.15.src.tar.gz
/go1.15.1.src.tar.gz
/go1.15.2.src.tar.gz
/go1.15.3.src.tar.gz
/go1.15.4.src.tar.gz
/go1.15.5.src.tar.gz

View File

@ -0,0 +1,88 @@
From edce31a2904846ae74e3c011f2cf5fddc963459e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com>
Date: Thu, 22 Mar 2018 12:07:32 +0100
Subject: [PATCH 1/3] Don't use the bundled tzdata at runtime, except for the
internal test suite
---
src/time/internal_test.go | 7 +++++--
src/time/zoneinfo_test.go | 3 ++-
src/time/zoneinfo_unix.go | 2 --
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/time/internal_test.go b/src/time/internal_test.go
index 76d5524124..e81ace5f64 100644
--- a/src/time/internal_test.go
+++ b/src/time/internal_test.go
@@ -4,13 +4,15 @@
package time
+import "runtime"
+
func init() {
// force US/Pacific for time zone tests
ForceUSPacificForTesting()
}
func initTestingZone() {
- z, err := loadLocation("America/Los_Angeles", zoneSources[len(zoneSources)-1:])
+ z, err := loadLocation("America/Los_Angeles", zoneSources)
if err != nil {
panic("cannot load America/Los_Angeles for testing: " + err.Error())
}
@@ -21,8 +23,9 @@ func initTestingZone() {
var OrigZoneSources = zoneSources
func forceZipFileForTesting(zipOnly bool) {
- zoneSources = make([]string, len(OrigZoneSources))
+ zoneSources = make([]string, len(OrigZoneSources)+1)
copy(zoneSources, OrigZoneSources)
+ zoneSources = append(zoneSources, runtime.GOROOT()+"/lib/time/zoneinfo.zip")
if zipOnly {
zoneSources = zoneSources[len(zoneSources)-1:]
}
diff --git a/src/time/zoneinfo_test.go b/src/time/zoneinfo_test.go
index 7a55d4f618..6063ca1195 100644
--- a/src/time/zoneinfo_test.go
+++ b/src/time/zoneinfo_test.go
@@ -8,6 +8,7 @@ import (
"fmt"
"os"
"reflect"
+ "runtime"
"testing"
"time"
)
@@ -128,7 +129,7 @@ func TestLoadLocationFromTZData(t *testing.T) {
t.Fatal(err)
}
- tzinfo, err := time.LoadTzinfo(locationName, time.OrigZoneSources[len(time.OrigZoneSources)-1])
+ tzinfo, err := time.LoadTzinfo(locationName, runtime.GOROOT()+"/lib/time/zoneinfo.zip")
if err != nil {
t.Fatal(err)
}
diff --git a/src/time/zoneinfo_unix.go b/src/time/zoneinfo_unix.go
index 88313aa0ed..d9596115ef 100644
--- a/src/time/zoneinfo_unix.go
+++ b/src/time/zoneinfo_unix.go
@@ -12,7 +12,6 @@
package time
import (
- "runtime"
"syscall"
)
@@ -22,7 +21,6 @@ var zoneSources = []string{
"/usr/share/zoneinfo/",
"/usr/share/lib/zoneinfo/",
"/usr/lib/locale/TZ/",
- runtime.GOROOT() + "/lib/time/zoneinfo.zip",
}
func initLocal() {
--
2.14.3

View File

@ -0,0 +1,41 @@
From 817407fc2d6a861e65086388766f58082d38bc0b Mon Sep 17 00:00:00 2001
From: Michael Munday <munday@ca.ibm.com>
Date: Tue, 17 Jan 2017 11:33:38 -0500
Subject: [PATCH 2/3] syscall: expose IfInfomsg.X__ifi_pad on s390x
Exposing this field on s390x improves compatibility with the other
linux architectures, all of which already expose it.
Fixes #18628 and updates #18632.
Change-Id: I08e8e1eb705f898cd8822f8bee0d61ce11d514b5
---
src/syscall/ztypes_linux_s390x.go | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/syscall/ztypes_linux_s390x.go b/src/syscall/ztypes_linux_s390x.go
index 63c4a83b19..b5894255df 100644
--- a/src/syscall/ztypes_linux_s390x.go
+++ b/src/syscall/ztypes_linux_s390x.go
@@ -449,12 +449,12 @@ type RtAttr struct {
}
type IfInfomsg struct {
- Family uint8
- _ uint8
- Type uint16
- Index int32
- Flags uint32
- Change uint32
+ Family uint8
+ X__ifi_pad uint8
+ Type uint16
+ Index int32
+ Flags uint32
+ Change uint32
}
type IfAddrmsg struct {
--
2.14.3

View File

@ -0,0 +1,54 @@
From b38cd2374c2395f5a77802ef8ea3d7ac5b8a86ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com>
Date: Mon, 27 May 2019 15:12:53 +0200
Subject: [PATCH 3/3] cmd/go: disable Google's proxy and sumdb
---
src/cmd/go/internal/cfg/cfg.go | 10 +++++-----
src/cmd/go/testdata/script/mod_sumdb_golang.txt | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go
index 61dc6bdda6..e8658dc56c 100644
--- a/src/cmd/go/internal/cfg/cfg.go
+++ b/src/cmd/go/internal/cfg/cfg.go
@@ -245,11 +245,11 @@ var (
GOPPC64 = envOr("GOPPC64", fmt.Sprintf("%s%d", "power", objabi.GOPPC64))
GOWASM = envOr("GOWASM", fmt.Sprint(objabi.GOWASM))
- GOPROXY = envOr("GOPROXY", "https://proxy.golang.org,direct")
- GOSUMDB = envOr("GOSUMDB", "sum.golang.org")
- GOPRIVATE = Getenv("GOPRIVATE")
- GONOPROXY = envOr("GONOPROXY", GOPRIVATE)
- GONOSUMDB = envOr("GONOSUMDB", GOPRIVATE)
+ GOPROXY = envOr("GOPROXY", "direct")
+ GOSUMDB = envOr("GOSUMDB", "off")
+ GOPRIVATE = Getenv("GOPRIVATE")
+ GONOPROXY = envOr("GONOPROXY", GOPRIVATE)
+ GONOSUMDB = envOr("GONOSUMDB", GOPRIVATE)
GOINSECURE = Getenv("GOINSECURE")
)
diff --git a/src/cmd/go/testdata/script/mod_sumdb_golang.txt b/src/cmd/go/testdata/script/mod_sumdb_golang.txt
index 40a07fc7e9..50436e32d7 100644
--- a/src/cmd/go/testdata/script/mod_sumdb_golang.txt
+++ b/src/cmd/go/testdata/script/mod_sumdb_golang.txt
@@ -2,12 +2,12 @@
env GOPROXY=
env GOSUMDB=
go env GOPROXY
-stdout '^https://proxy.golang.org,direct$'
+stdout '^direct$'
go env GOSUMDB
-stdout '^sum.golang.org$'
+stdout '^off$'
env GOPROXY=https://proxy.golang.org
go env GOSUMDB
-stdout '^sum.golang.org$'
+stdout '^off$'
# download direct from github
[!net] skip
--
2.21.0

7
fedora.go Normal file
View File

@ -0,0 +1,7 @@
// +build rpm_crashtraceback
package runtime
func init() {
setTraceback("crash")
}

View File

@ -1,19 +0,0 @@
Index: go/include/u.h
===================================================================
--- go.orig/include/u.h
+++ go/include/u.h
@@ -38,10 +38,13 @@ extern "C" {
# define __MAKECONTEXT_V2_SOURCE 1
# endif
#endif
+#if defined __linux__ || defined __GNU__ || defined __GLIBC__
+#define _DEFAULT_SOURCE 1
+#else
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
-#define _DEFAULT_SOURCE 1 /* glibc > 2.19 */
#define _SVID_SOURCE 1
+#endif
#if !defined(__APPLE__) && !defined(__OpenBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1

View File

@ -1,172 +0,0 @@
Index: go/api/go1.txt
===================================================================
--- go.orig/api/go1.txt
+++ go/api/go1.txt
@@ -412,7 +412,6 @@ pkg crypto/ecdsa, type PublicKey struct,
pkg crypto/ecdsa, type PublicKey struct, embedded elliptic.Curve
pkg crypto/elliptic, func GenerateKey(Curve, io.Reader) ([]uint8, *big.Int, *big.Int, error)
pkg crypto/elliptic, func Marshal(Curve, *big.Int, *big.Int) []uint8
-pkg crypto/elliptic, func P224() Curve
pkg crypto/elliptic, func P256() Curve
pkg crypto/elliptic, func P384() Curve
pkg crypto/elliptic, func P521() Curve
Index: go/src/crypto/ecdsa/ecdsa_test.go
===================================================================
--- go.orig/src/crypto/ecdsa/ecdsa_test.go
+++ go/src/crypto/ecdsa/ecdsa_test.go
@@ -33,7 +33,6 @@ func testKeyGeneration(t *testing.T, c e
}
func TestKeyGeneration(t *testing.T) {
- testKeyGeneration(t, elliptic.P224(), "p224")
if testing.Short() {
return
}
@@ -63,7 +62,6 @@ func testSignAndVerify(t *testing.T, c e
}
func TestSignAndVerify(t *testing.T) {
- testSignAndVerify(t, elliptic.P224(), "p224")
if testing.Short() {
return
}
@@ -129,8 +127,6 @@ func TestVectors(t *testing.T) {
parts := strings.SplitN(line, ",", 2)
switch parts[0] {
- case "P-224":
- pub.Curve = elliptic.P224()
case "P-256":
pub.Curve = elliptic.P256()
case "P-384":
Index: go/src/crypto/elliptic/bottombits.go
===================================================================
--- /dev/null
+++ go/src/crypto/elliptic/bottombits.go
@@ -0,0 +1,14 @@
+
+// Copyright 2012 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package elliptic
+
+const bottom12Bits = 0xfff
+const bottom28Bits = 0xfffffff
+
+const two31p3 = 1<<31 + 1<<3
+const two31m3 = 1<<31 - 1<<3
+const two31m15m3 = 1<<31 - 1<<15 - 1<<3
+
Index: go/src/crypto/elliptic/elliptic.go
===================================================================
--- go.orig/src/crypto/elliptic/elliptic.go
+++ go/src/crypto/elliptic/elliptic.go
@@ -326,7 +326,6 @@ var p384 *CurveParams
var p521 *CurveParams
func initAll() {
- initP224()
initP256()
initP384()
initP521()
Index: go/src/crypto/elliptic/elliptic_test.go
===================================================================
--- go.orig/src/crypto/elliptic/elliptic_test.go
+++ go/src/crypto/elliptic/elliptic_test.go
@@ -1,3 +1,5 @@
+// +build ignore
+
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
Index: go/src/crypto/elliptic/p224.go
===================================================================
--- go.orig/src/crypto/elliptic/p224.go
+++ go/src/crypto/elliptic/p224.go
@@ -1,3 +1,5 @@
+// +build ignore
+
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
@@ -183,10 +185,6 @@ func p224Add(out, a, b *p224FieldElement
}
}
-const two31p3 = 1<<31 + 1<<3
-const two31m3 = 1<<31 - 1<<3
-const two31m15m3 = 1<<31 - 1<<15 - 1<<3
-
// p224ZeroModP31 is 0 mod p where bit 31 is set in all limbs so that we can
// subtract smaller amounts without underflow. See the section "Subtraction" in
// [1] for reasoning.
@@ -215,9 +213,6 @@ const two63m35m19 = 1<<63 - 1<<35 - 1<<1
// "Subtraction" in [1] for why.
var p224ZeroModP63 = [8]uint64{two63p35, two63m35, two63m35, two63m35, two63m35m19, two63m35, two63m35, two63m35}
-const bottom12Bits = 0xfff
-const bottom28Bits = 0xfffffff
-
// p224Mul computes *out = a*b
//
// a[i] < 2**29, b[i] < 2**30 (or vice versa)
Index: go/src/crypto/elliptic/p224_test.go
===================================================================
--- go.orig/src/crypto/elliptic/p224_test.go
+++ go/src/crypto/elliptic/p224_test.go
@@ -1,3 +1,5 @@
+// +build ignore
+
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
Index: go/src/crypto/x509/x509.go
===================================================================
--- go.orig/src/crypto/x509/x509.go
+++ go/src/crypto/x509/x509.go
@@ -306,9 +306,6 @@ func getPublicKeyAlgorithmFromOID(oid as
// RFC 5480, 2.1.1.1. Named Curve
//
-// secp224r1 OBJECT IDENTIFIER ::= {
-// iso(1) identified-organization(3) certicom(132) curve(0) 33 }
-//
// secp256r1 OBJECT IDENTIFIER ::= {
// iso(1) member-body(2) us(840) ansi-X9-62(10045) curves(3)
// prime(1) 7 }
@@ -321,7 +318,6 @@ func getPublicKeyAlgorithmFromOID(oid as
//
// NB: secp256r1 is equivalent to prime256v1
var (
- oidNamedCurveP224 = asn1.ObjectIdentifier{1, 3, 132, 0, 33}
oidNamedCurveP256 = asn1.ObjectIdentifier{1, 2, 840, 10045, 3, 1, 7}
oidNamedCurveP384 = asn1.ObjectIdentifier{1, 3, 132, 0, 34}
oidNamedCurveP521 = asn1.ObjectIdentifier{1, 3, 132, 0, 35}
@@ -329,8 +325,6 @@ var (
func namedCurveFromOID(oid asn1.ObjectIdentifier) elliptic.Curve {
switch {
- case oid.Equal(oidNamedCurveP224):
- return elliptic.P224()
case oid.Equal(oidNamedCurveP256):
return elliptic.P256()
case oid.Equal(oidNamedCurveP384):
@@ -343,8 +337,6 @@ func namedCurveFromOID(oid asn1.ObjectId
func oidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool) {
switch curve {
- case elliptic.P224():
- return oidNamedCurveP224, true
case elliptic.P256():
return oidNamedCurveP256, true
case elliptic.P384():
@@ -1371,7 +1363,7 @@ func signingParamsForPrivateKey(priv int
pubType = ECDSA
switch priv.Curve {
- case elliptic.P224(), elliptic.P256():
+ case elliptic.P256():
hashFunc = crypto.SHA256
sigAlgo.Algorithm = oidSignatureECDSAWithSHA256
case elliptic.P384():

View File

@ -1,19 +0,0 @@
Index: go/src/make.bash
===================================================================
--- go.orig/src/make.bash
+++ go/src/make.bash
@@ -161,12 +161,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOH
# CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however,
# use the host compiler, CC, from `cmd/dist/dist env` instead.
CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
- "$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
+ "$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std
echo
fi
echo "# Building packages and commands for $GOOS/$GOARCH."
-CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
+CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std
echo
rm -f "$GOTOOLDIR"/go_bootstrap

View File

@ -1,11 +0,0 @@
--- src/os/os_test.go.orig 2014-02-20 13:14:45.543644182 -0600
+++ src/os/os_test.go 2014-02-20 13:14:55.934813622 -0600
@@ -854,7 +854,7 @@
t.Fatal(err)
}
defer r.Close()
- p, err := StartProcess("/bin/hostname", []string{"hostname"}, &ProcAttr{Files: []*File{nil, w, Stderr}})
+ p, err := StartProcess("/usr/bin/hostname", []string{"hostname"}, &ProcAttr{Files: []*File{nil, w, Stderr}})
if err != nil {
t.Fatal(err)
}

View File

@ -1 +1 @@
add-auto-load-safe-path /usr/lib/golang/src/pkg/runtime/runtime-gdb.py
add-auto-load-safe-path /usr/lib/golang/src/runtime/runtime-gdb.py

View File

@ -1,3 +0,0 @@
# there are ELF files in src which are testdata and shouldn't be modified
-b /usr/lib/golang/src
-b /usr/lib64/golang/src

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
# Where to set GOPATH for builds. Like:
# export GOPATH=$(pwd)/_build:%{gopath}
%gopath %{_datadir}/gocode
# for use like:
# ExclusiveArch: %{go_arches}
%go_arches %{ix86} x86_64 %{arm}

View File

@ -1,2 +1 @@
d76dc07e475b2905b5fec1cf319b6356 golang-19087:a15f344a9efa-xattrs.tar
907f85c8fa765d31f7f955836fec4049 go1.4.2.src.tar.gz
SHA512 (go1.15.5.src.tar.gz) = 8e1d71f628d364b949b1e124af8950a563bbe9d9ae73b94c66af6ce029f67c26e2654556c0c118d0bc8566af52a7e9ed736b4667bbef7ccdab2bd338c43e6eb4