Compare commits

...
Sign in to create a new pull request.

207 commits

Author SHA1 Message Date
Dave Dykstra
d3ee7b5be8 restore "--with ignore_tests" rpmbuild option 2024-03-05 20:59:23 -06:00
Dave Dykstra
7c532551cc update to 1.20.12 2024-03-05 14:48:33 -06:00
Dave Dykstra
841b4ab59c skip ppc64le_cgo_inline_plt on el7 2023-11-23 18:05:42 -06:00
Dave Dykstra
c7450dd013 update to 1.20.10-2 2023-11-23 12:22:27 -06:00
Dave Dykstra
08a8fc88bb correct day of week for 1.19.13-1 changelog 2023-11-23 09:04:54 -06:00
Dave Dykstra
890ccf6956 update to 1.20.10 2023-11-23 08:50:15 -06:00
Dave Dykstra
f9bc2c14f1 update to 1.19.13-2 2023-10-16 10:36:28 -05:00
Dave Dykstra
8ab0447772 update to 1.19.10 2023-06-29 16:14:19 -05:00
CentOS Sources
bb5d67c051 import golang-1.19.9-1.module+el8.8.0+18857+fca43658 2023-05-26 09:59:17 -05:00
Dave Dykstra
16ef8a49eb update sources for 1.19.6 2023-05-16 14:53:12 -05:00
Dave Dykstra
63f0792e59 update sources for 1.19.6 2023-05-16 14:52:47 -05:00
CentOS Sources
016b1bee88 import golang-1.19.6-1.module+el8.8.0+18289+edd6c8b6 2023-05-16 14:43:14 -05:00
CentOS Sources
aefc38fc51 import golang-1.19.4-2.module+el8.8.0+17709+252fe516 2023-05-16 14:12:34 -05:00
Dave Dykstra
6185bbaf78 update to 1.18.9 2023-01-25 13:29:28 -06:00
Dave Dykstra
dd6a0d57d2 update to 1.18.4 2022-11-30 14:05:52 -06:00
Dave Dykstra
acaccc33a6 update to 1.17.12-1 2022-08-01 08:55:11 -05:00
CentOS Sources
4b02510214 update to 1.17.10 2022-06-30 15:00:56 -05:00
Dave Dykstra
e9bcd2bace update to 1.17.7 2022-05-10 17:02:49 -05:00
Dave Dykstra
9251645447 only set ExclusiveArch when golang_arches is defined, i.e. not on epel7 2022-01-20 11:28:38 -06:00
Dave Dykstra
4261240af7 allow for empty go_arches 2022-01-20 08:51:39 -06:00
Dave Dykstra
58a0272801 add back providing go-srpm-macros on rhel 7, update to rel 2 2022-01-20 08:19:36 -06:00
Dave Dykstra
5906115b4d do not define ExclusiveArch if %{golang_arches} is not defined 2022-01-18 14:40:57 -06:00
Dave Dykstra
c1995c0bbe update to go 1.16.13, copied from f35 2022-01-18 14:39:46 -06:00
Jakub Čajka
9e9d343133
- Fix crash in VDSO calls on ppc64le 2021-08-05 16:49:09 +02:00
Jakub Čajka
9cc2f33026
Merge branch 'f33' into epel7
Update to go1.15.14
2021-08-05 16:43:28 +02:00
Jakub Čajka
60bb8c5a1e
Update to go1.15.14
Security fix for CVE-2021-34558
2021-07-19 18:23:27 +02:00
Alejandro Sáez
010e6cc156 Update to go1.15.13 2021-06-23 19:31:59 +02:00
Alejandro Sáez
b2a8f76814 Update to go1.15.12 2021-05-10 10:50:21 +02:00
Alejandro Sáez
e15aaec1b1 Update to go1.15.11 2021-04-18 09:15:39 +02:00
Edjunior Machado
65d082e844 Introduce CI gating 2021-02-05 13:25:13 +01:00
Jakub Čajka
643bf673f2
Update to go1.15.8 2021-02-05 13:24:23 +01:00
Jakub Čajka
cd2673fdad
Rebase to go1.15.7
Security fix for CVE-2021-3114 and CVE-2021-3115
Resolves: BZ#1918751, BZ#1918763
2021-01-26 11:04:23 +01:00
Jakub Čajka
dcb04b91c1
Merge branch 'master' into epel7
Security fix for CVE-2020-28362, CVE-2020-28367 and CVE-2020-28366
Resolves: BZ#1897637, BZ#1897645 and BZ#1897648
2020-11-16 15:59:46 +01:00
Jakub Čajka
efeddef8de
Rebase to go1.15.2
Security fix for CVE-2020-24553
Resolves: BZ#1874859
2020-09-15 09:33:03 +02:00
Jakub Čajka
ab2b31c4e1
Merge branch 'master' into el6
Rebase to go1.15
Security fix for CVE-2020-16845 and CVE-2020-14040
Resolves BZ#1867100 and BZ#1853654
2020-08-26 09:59:55 +02:00
Jakub Čajka
771943037f
Merge branch 'f31' into el6
Resolves: BZ#1856956
2020-07-23 13:16:31 +02:00
Jakub Čajka
69ff2bc211
Rebase to go1.13.14
Fix for CVE-2020-14040 and CVE-2020-15586
Resolves: BZ#1853653, BZ#1856957
2020-07-20 14:42:54 +02:00
Jakub Čajka
9f2efcfdc1
Merge branch 'f31' into epel7 2020-05-22 10:51:23 +02:00
Jakub Čajka
3f1710e2eb
New sources 2020-05-20 19:04:42 +02:00
Álex Sáez
62b1543a88 Rebase to go1.13.11 2020-05-18 20:03:09 +02:00
Jakub Čajka
fda3164379
Rebase to go1.13.10 2020-04-20 20:05:49 +02:00
Jakub Čajka
8f8a5ff957
Fix change log 2020-03-31 12:59:40 +02:00
Jakub Čajka
85c5fb262c
Rebase to go1.13.9
Fix for CVE-2020-7919
Resolves: BZ#1808044
2020-03-31 12:57:32 +02:00
Jakub Čajka
b61393bfb6
Merge remote-tracking branch 'origin/f31' into epel7
Rebase to go1.13.6
2020-02-03 12:41:54 +01:00
Jakub Čajka
e508311512
Merge remote-tracking branch 'origin/master' into epel7
Rebase to 1.13.4
2019-11-13 15:03:03 +01:00
Jakub Čajka
b688c00ba0
Fix missing macros... 2019-11-02 20:07:10 +01:00
Jakub Čajka
c4aa731b10
Merge branch 'master' into epel7 2019-10-30 11:52:07 +01:00
Jakub Čajka
480d70a19c
Merge branch 'master' into epel7
Resolves: BZ#1755971
2019-10-05 14:46:23 +02:00
Jakub Čajka
c909a8f70d Merge branch 'master' into epel7
Rebase to go1.13
2019-09-13 14:41:07 +02:00
Jakub Čajka
3af15562d1 Rebase to 1.11.12
Merge branch 'f29' into epel7
2019-08-08 21:07:03 +02:00
Jakub Čajka
c3b72c1a47 Rebase to 1.11.12 2019-07-10 13:10:29 +02:00
Jakub Čajka
3b89fed2fe Rebase to 1.11.11 2019-06-13 10:37:15 +02:00
Jakub Čajka
9ad1b634ea Rebase to go1.11.10 2019-05-16 13:41:31 +02:00
Jakub Čajka
0301e6483a Rebase to 1.11.7 2019-04-08 13:30:59 +02:00
Jakub Čajka
7d97257830 Rebase to 1.11.6
Fix CVE-2019-9741
Fix requirement for %preun (instead of %postun) scriptlet thanks to Tim Landscheidt
Use weak deps for SCM deps
Resolves: BZ#1688233
2019-04-01 13:41:56 +02:00
Jakub Čajka
f7816c011a Merge branch 'f29' into epel7 2019-02-04 13:35:08 +01:00
Jakub Čajka
d0a2453060 Rebase to go1.11.5
Fix for CVE-2019-6486
2019-01-27 12:54:28 +01:00
Jakub Čajka
b9f45a789f Merge branch 'master' into epel7 2019-01-08 15:01:01 +01:00
Jakub Čajka
fc3cecf952 Add ppc64le proper 2018-11-30 14:04:07 +01:00
Jakub Čajka
46137b6f4c Add aarch64 and ppc64le in to the macros file 2018-11-26 11:08:52 +01:00
Jakub Čajka
ebf90baf57 Merge branch 'el6' into epel7 2018-11-23 14:47:07 +01:00
Jakub Čajka
a35b3718c0 Merge branch 'master' into el6
Rebase to 1.11.2
2018-11-23 14:21:44 +01:00
Mohan Boddu
c6f5d788eb Revert "golang is now in RHEL7 optional and Centos7 extras"
Unretirement for https://pagure.io/releng/issue/7919

This reverts commit 65328ffa21.
2018-11-15 14:02:30 -05:00
Jakub Čajka
be0aa0461a Merge branch 'master' into el6
Rebase to 1.11
Ignore test failure on x86_64
2018-10-07 14:46:59 +02:00
Jakub Čajka
34238f3930 Merge branch 'f27' into el6 2018-06-12 16:53:18 +02:00
Jakub Čajka
8547fbcae7 Rebase to 1.9.7 2018-06-11 13:44:48 +02:00
Jakub Čajka
623973606f Merge branch 'f27' into el6 2018-05-10 14:19:02 +02:00
Jakub Čajka
371df34265 Rebase to 1.9.6 2018-05-03 15:17:35 +02:00
Jakub Čajka
a6109823f2 Rebase to 1.9.5 2018-04-03 15:42:14 +02:00
Jakub Čajka
7371bb1d93 Merge branch 'f27' into el6
Rebase to 1.9.4
2018-03-20 13:57:07 +01:00
Jakub Čajka
6e78911a79 Fix CVE-2018-7187
Resolves: BZ#1546386, BZ#1546388
2018-03-04 10:24:11 +01:00
Jakub Čajka
5abf0c8166 Rebase to 1.9.4
Fix CVE-2018-6574
Resolves: BZ#1543561, BZ#1543562
2018-02-09 10:49:08 +01:00
Jakub Čajka
9ca117e19c Rebase to 1.9.3 2018-01-26 10:36:57 +01:00
Jakub Čajka
40390077fd Merge branch 'master' into el6
Rebase to 1.9.2 from f27/f28
2017-11-27 14:42:02 +01:00
Jakub Čajka
55f301f006 Use and apply the patches... 2017-10-13 14:16:44 +02:00
Jakub Čajka
dc8fe7c9ce fix CVE-2017-15041 and CVE-2017-15042 2017-10-13 14:13:08 +02:00
Jakub Čajka
5c3bfeff0a Bump to 1.7.6
Fix for CVE-2017-8932
Resolves: BZ#1455190
2017-06-15 14:21:12 +02:00
Jakub Čajka
e3d5bfee3f Bump to 1.7.4
Resolves: BZ#1400732
2016-12-05 14:21:12 +01:00
Jakub Čajka
45a3692f23 enable back p224 curve(see BZ#1038683) 2016-11-18 11:21:08 +01:00
Jakub Čajka
414707a1eb rebase to go1.7.3
Fix possible relocation overflows on ppc
Fix failing test due to latest tzdata
2016-10-21 12:00:50 +02:00
Jakub Čajka
fd042bef95 rebase to go1.7.1
Resolves: BZ#1293449 - CVE-2015-8618, BZ#1357601 - CVE-2016-5386, BZ#1324345 - CVE-2016-3959, BZ#1376555
2016-09-23 15:46:45 +02:00
Vincent Batts
27c6fb3111 bz1271709 fix from upstream 2015-10-20 18:42:18 -04:00
Vincent Batts
682f928b4c update to go1.5.1 2015-09-11 10:26:00 -04:00
Vincent Batts
0d7b61e3f5 Merge branch 'f22' into el6 2015-09-01 13:43:23 -04:00
Vincent Batts
821a201d20 remove f23-only history 2015-09-01 12:16:22 -04:00
Vincent Batts
ab2af38a0f Merge branch 'f23' into f22 2015-09-01 12:14:23 -04:00
Vincent Batts
93edd60791 Merge branch 'f22' into el6 2015-08-05 16:48:54 -04:00
Vincent Batts
aa501a2cd8 upstream patches for net/http
Fixes: bz1250353 bz1250352 bz1250374
2015-08-05 16:45:13 -04:00
Vincent Batts
6eee324d17 Merge branch 'f20' into el6 2015-03-19 11:16:53 -04:00
Vincent Batts
8350bb0fe4 Merge branch 'f21' into f20 2015-03-19 10:48:35 -04:00
Vincent Batts
65328ffa21 golang is now in RHEL7 optional and Centos7 extras 2015-01-08 10:43:25 -05:00
Vincent Batts
2986c3304e Merge branch 'f20' into el6 2014-10-01 15:58:28 +00:00
Vincent Batts
9de436f47e Merge branch 'master' into f20
Conflicts:
	.gitignore
2014-10-01 15:35:11 +00:00
Vincent Batts
07f7084dbc Merge branch 'master' into epel7 2014-10-01 15:34:28 +00:00
Vincent Batts
8e03a6571d Merge branch 'master' into epel7 2014-10-01 15:15:17 +00:00
Vincent Batts
627516c002 Merge branch 'master' into epel7 2014-09-29 19:14:31 +00:00
Vincent Batts
8b9f2ff413 Merge branch 'f19' into el6
Conflicts:
	golang.spec
2014-09-29 15:34:42 +00:00
Vincent Batts
9d7e13198d Merge branch 'f20' into f19 2014-09-29 15:16:17 +00:00
Vincent Batts
6cc32fc12f Merge branch 'f21' into f20
Conflicts:
	.gitignore
	golang.spec
2014-09-29 15:14:03 +00:00
Vincent Batts
3c45dc2a3a Merge branch 'f20' into el6 2014-08-13 18:51:41 +00:00
Vincent Batts
47ce6d73cf Merge branch 'f20' into f19 2014-08-13 18:51:23 +00:00
Vincent Batts
84033d417e not sure why this %post is not setting the mtime of cgo.a. Making it more explicit 2014-08-13 16:54:12 +00:00
Vincent Batts
33152ba710 touch cgo.a in %post, regardless 2014-08-13 14:32:02 +00:00
Vincent Batts
31e8a62d23 order the deps for the %post to run correctly
Signed-off-by: Vincent Batts <vbatts@redhat.com>
2014-08-13 11:55:03 +00:00
Vincent Batts
3b49f3293c touch cgo.a in a %post
Signed-off-by: Vincent Batts <vbatts@redhat.com>
2014-08-13 01:04:25 +00:00
Vincent Batts
110e264e04 now build file list for pkg rpms too 2014-08-12 20:52:59 +00:00
Vincent Batts
9380b0eceb file list for src tree 2014-08-12 15:01:25 +00:00
Vincent Batts
abfb918aeb more touching 2014-08-11 18:54:30 +00:00
Vincent Batts
d216431587 Merge branch 'f20' into el6 2014-08-11 15:46:46 +00:00
Vincent Batts
1c5a967947 Merge branch 'f20' into f19 2014-08-11 15:46:40 +00:00
Vincent Batts
ea1d7adb97 make golang-src noarch again
Conflicts:
	golang.spec
2014-08-11 15:46:27 +00:00
Vincent Batts
39bf515e07 Merge branch 'f20' into el6 2014-08-11 14:46:03 +00:00
Vincent Batts
230c272aac Merge branch 'f20' into f19 2014-08-11 14:45:49 +00:00
Vincent Batts
ab7a3d0b63 don't just update directories
Conflicts:
	golang.spec
2014-08-11 14:45:35 +00:00
Vincent Batts
60a575aca1 Merge branch 'f20' into el6 2014-08-09 03:21:39 +00:00
Vincent Batts
6ceac592dd Merge branch 'f20' into f19 2014-08-09 03:21:18 +00:00
Vincent Batts
90e73267ad set source directory timestamps during %install 2014-08-08 21:17:23 +00:00
Vincent Batts
d65d3f8a40 Merge branch 'f20' into el6 2014-08-08 17:07:06 +00:00
Vincent Batts
60bb592493 Merge branch 'f20' into f19 2014-08-08 17:06:32 +00:00
Vincent Batts
688fe6aa08 another version constraint on xemacs to not use the broken version of
xemacs-packages-extra
2014-08-08 17:03:30 +00:00
Vincent Batts
27d627a74b Merge branch 'f20' into el6
Conflicts:
	golang.spec
2014-08-07 03:46:47 +00:00
Vincent Batts
c89cd17117 Merge branch 'f20' into f19
Conflicts:
	golang.spec
2014-08-07 03:45:15 +00:00
Vincent Batts
6da1cd966e xemacs version constraint for bz1127518 2014-08-07 03:39:03 +00:00
Vincent Batts
97dd9b460e making the golang-src package arch'ed.
Fixes bz1099206

Conflicts:
	golang.spec
2014-08-06 22:19:46 +00:00
Vincent Batts
c6c5ac57e3 making the golang-src package arch'ed.
Fixes bz1099206

Conflicts:
	golang.spec
2014-08-06 22:18:48 +00:00
Vincent Batts
9abed9ed84 making the golang-src package arch'ed.
Fixes bz1099206

Conflicts:
	golang.spec
2014-08-06 22:16:54 +00:00
Vincent Batts
8712265c7e fix gdb init for safe-paths
bz981356

Conflicts:

	golang.spec
2014-07-15 12:32:07 -04:00
Vincent Batts
73415829c2 fix gdb init for safe-paths
bz981356

Conflicts:

	golang.spec
2014-07-15 12:31:52 -04:00
Vincent Batts
e3554eaea8 fix gdb init for safe-paths
bz981356

Conflicts:

	golang.spec
2014-07-15 12:30:16 -04:00
Vincent Batts
420732b09d cleaning up multiarch builds
bz1105901, bz1101508
2014-07-15 11:35:43 -04:00
Vincent Batts
7c6268c5d6 cleaning up multiarch builds
bz1105901, bz1101508
2014-07-15 11:31:45 -04:00
Vincent Batts
96d7496e05 cleaning up multiarch builds
bz1105901, bz1101508
2014-07-14 17:10:09 -04:00
Vincent Batts
12d61d4672 Merge branch 'master' into epel7 2014-05-21 12:51:03 -04:00
Vincent Batts
d1b8e89d5a Merge branch 'master' into el6 2014-05-21 12:50:55 -04:00
Vincent Batts
412a4623e4 Merge branch 'master' into f19 2014-05-21 12:50:38 -04:00
Vincent Batts
3ab77e50be Merge branch 'master' into f20 2014-05-21 12:50:33 -04:00
Vincent Batts
85310545d9 Merge branch 'master' into epel7 2014-05-20 17:15:39 -04:00
Vincent Batts
204c3459b6 Merge branch 'master' into el6 2014-05-20 17:15:04 -04:00
Vincent Batts
fa35b27c26 Merge branch 'master' into f19 2014-05-20 17:13:25 -04:00
Vincent Batts
f6645a7f86 Merge branch 'master' into f20 2014-05-20 17:12:48 -04:00
Vincent Batts
477679dbcb Merge branch 'master' into epel7 2014-05-20 15:37:38 -04:00
Vincent Batts
df3e55e110 Merge branch 'master' into el6 2014-05-20 15:37:28 -04:00
Vincent Batts
a5ed0429aa Merge branch 'master' into f19 2014-05-20 15:37:22 -04:00
Vincent Batts
eb35b4275b Merge branch 'master' into f20 2014-05-20 15:37:02 -04:00
Vincent Batts
d0e5db2e11 Merge branch 'master' into epel7 2014-05-20 13:16:02 -04:00
Vincent Batts
847040875c Merge branch 'master' into el6 2014-05-20 13:15:33 -04:00
Vincent Batts
b155214884 Merge branch 'master' into f19 2014-05-20 13:15:04 -04:00
Vincent Batts
668c87d6d8 Merge branch 'master' into f20 2014-05-20 13:14:13 -04:00
Vincent Batts
a518e20201 Merge branch 'master' into el6 2014-05-19 16:44:06 -04:00
Vincent Batts
1a89979632 Merge branch 'master' into f19 2014-05-19 16:43:23 -04:00
Vincent Batts
cf91978557 Merge branch 'master' into f20 2014-05-19 16:40:39 -04:00
Vincent Batts
89650786aa Merge branch 'master' into epel7 2014-05-14 09:05:26 -04:00
Vincent Batts
15411c9d44 Merge branch 'master' into f19 2014-05-14 09:04:23 -04:00
Vincent Batts
4ea74e374a Merge branch 'master' into f20 2014-05-14 09:03:31 -04:00
Vincent Batts
81323f3ca5 Merge branch 'master' into el6 2014-05-14 09:02:30 -04:00
Vincent Batts
3dab810ad8 Merge branch 'master' into el6 2014-05-09 08:23:47 -04:00
Vincent Batts
178b1469c1 Merge branch 'master' into f20 2014-05-09 08:22:51 -04:00
Vincent Batts
6e03bb440c Merge branch 'master' into epel7 2014-05-09 08:22:18 -04:00
Vincent Batts
70cefcfce2 Merge branch 'master' into el6 2014-05-09 07:22:08 -04:00
Vincent Batts
a0dbb55483 Merge branch 'master' into f20 2014-05-08 12:39:30 -04:00
Vincent Batts
9cc2b544fe Merge branch 'master' into epel7 2014-05-08 11:41:21 -04:00
Vincent Batts
9b901fa781 Merge branch 'master' into f20 2014-03-26 15:50:09 -04:00
Adam Miller
8b15f6569a Merge branch 'master' into el6
* master:
  update to latest upstream 1.2.1
2014-03-04 10:35:40 -06:00
Adam Miller
8537b89aa8 Merge branch 'master' into epel7
* master:
  update to latest upstream 1.2.1
2014-03-04 10:34:51 -06:00
Adam Miller
46df8a9ba5 Merge branch 'master' into f19
* master:
  update to latest upstream 1.2.1
2014-03-04 10:29:04 -06:00
Adam Miller
3342a8bbe5 Merge branch 'master' into f20
* master:
  update to latest upstream 1.2.1
2014-03-04 10:27:29 -06:00
Adam Miller
3fb2038602 Merge branch 'master' into el6
* master:
  fix BSD/SVID patch, and fix up changelog entry (rpmlint was complaining about invalid date)
  update hostname patch
  fix patchlevel for patch200
  re-order some patches, remove unneeded glibc deprecated macros _BSD_SOURCE and _SVID_SOURCE
2014-02-20 15:06:55 -06:00
Adam Miller
c773818a7b Merge branch 'master' into epel7
* master:
  fix BSD/SVID patch, and fix up changelog entry (rpmlint was complaining about invalid date)
  update hostname patch
  fix patchlevel for patch200
  re-order some patches, remove unneeded glibc deprecated macros _BSD_SOURCE and _SVID_SOURCE
2014-02-20 15:06:43 -06:00
Adam Miller
2e5eb6e3d1 Merge branch 'master' into f19
* master:
  fix BSD/SVID patch, and fix up changelog entry (rpmlint was complaining about invalid date)
  update hostname patch
  fix patchlevel for patch200
  re-order some patches, remove unneeded glibc deprecated macros _BSD_SOURCE and _SVID_SOURCE
2014-02-20 15:06:34 -06:00
Adam Miller
8a8b586b8d Merge branch 'master' into f20
* master:
  fix BSD/SVID patch, and fix up changelog entry (rpmlint was complaining about invalid date)
  update hostname patch
  fix patchlevel for patch200
  re-order some patches, remove unneeded glibc deprecated macros _BSD_SOURCE and _SVID_SOURCE
2014-02-20 15:06:09 -06:00
Adam Miller
bb2aeae6ad Merge branch 'master' into epel7
* master:
  replace f21+ hostname patch that fedpkg import deleted
2014-02-19 10:43:29 -06:00
Adam Miller
9e4e25cf53 Merge branch 'master' into el6
* master:
  replace f21+ hostname patch that fedpkg import deleted
2014-02-19 10:43:23 -06:00
Adam Miller
957169509d Merge branch 'master' into f19
* master:
  replace f21+ hostname patch that fedpkg import deleted
2014-02-19 10:43:17 -06:00
Adam Miller
5253fbfde8 Merge branch 'master' into f20
* master:
  replace f21+ hostname patch that fedpkg import deleted
2014-02-19 10:43:11 -06:00
Adam Miller
b9ac06acb3 Merge branch 'master' into epel7
* master:
  pull in xattr archive/tar from upstream
  Provide 'go'
2014-02-19 10:36:16 -06:00
Adam Miller
52bd3bfa8d Merge branch 'master' into el6
* master:
  pull in xattr archive/tar from upstream
  Provide 'go'
2014-02-19 10:35:50 -06:00
Adam Miller
ba9665b0fe Merge branch 'master' into f19
* master:
  pull in xattr archive/tar from upstream
  Provide 'go'
2014-02-19 10:35:09 -06:00
Adam Miller
ea4af86ffb Merge branch 'master' into f20
* master:
  pull in xattr archive/tar from upstream
  Provide 'go'
2014-02-19 10:33:23 -06:00
Vincent Batts
4604bf724d Merge branch 'master' into f20 2014-01-24 14:04:31 -05:00
Vincent Batts
583f94dcc1 Merge branch 'master' into f19 2014-01-24 14:04:24 -05:00
Vincent Batts
8197a39098 Merge branch 'master' into el6 2014-01-24 14:03:48 -05:00
Vincent Batts
a9a1e214b2 Merge branch 'master' into epel7 2014-01-24 14:02:47 -05:00
Vincent Batts
ea5e86ce3d Merge branch 'master' into f20 2014-01-20 17:31:13 -05:00
Vincent Batts
64f997fc97 Merge branch 'master' into el6 2014-01-20 17:31:05 -05:00
Vincent Batts
a70daa81a8 Merge branch 'master' into f19 2014-01-20 17:30:23 -05:00
Vincent Batts
9a07007520 Merge branch 'master' into epel7 2014-01-16 19:19:09 -05:00
Vincent Batts
2f21c1b8e2 Merge branch 'master' into f20 2013-12-04 10:33:43 -05:00
Vincent Batts
0aff087ed3 Merge branch 'master' into f19 2013-12-04 10:33:38 -05:00
Vincent Batts
5a0728e5a2 Merge branch 'master' into el6 2013-12-04 10:11:20 -05:00
Vincent Batts
d4e31c03ca Merge branch 'master' into f19 2013-11-26 16:06:53 -05:00
Vincent Batts
3d2e2d5e92 Merge branch 'master' into f20 2013-11-26 16:06:10 -05:00
Vincent Batts
766dafab1b Merge branch 'master' into el6 2013-11-26 16:04:22 -05:00
Vincent Batts
80f4cc9e22 Merge branch 'master' into f19
Conflicts:
	golang.spec
2013-11-21 15:43:31 -05:00
Vincent Batts
6dfa9a88bc Merge branch 'master' into f20
Conflicts:
	golang.spec
2013-11-21 14:46:08 -05:00
Vincent Batts
adb88d9b5d Merge branch 'master' into el6 2013-11-21 14:11:32 -05:00
Vincent Batts
866e8dcc93 Merge branch 'master' into el6
Conflicts:
	golang.spec
2013-11-21 14:10:50 -05:00
Vincent Batts
8856b2e166 Merge branch 'master' into el6
Conflicts:
	golang.spec
2013-11-21 14:08:13 -05:00
Adam Miller
f12359b27e fix for BZ#1010271 2013-09-20 10:10:13 -05:00
Adam Miller
e6ff51995e fix for BZ#1010271 2013-09-20 09:59:15 -05:00
Adam Miller
a601655be1 fix for BZ#1010271 2013-09-20 09:49:37 -05:00
Adam Miller
e3f1c1568c no with release bump goodness 2013-09-19 12:17:04 -05:00
Adam Miller
666ac20aad fix glibc meta dep, fix from vbatts 2013-09-19 12:12:54 -05:00
Adam Miller
76d86a9d1a el6 edits 2013-09-19 10:53:46 -05:00
Adam Miller
993b94291e add Requires glibc, because we require libc 2013-09-18 16:34:52 -05:00
Adam Miller
75bcad53e9 fix meta dependency on libc 2013-08-30 10:33:37 -05:00
Adam Miller
79fe1edc90 fix meta dependency on libc 2013-08-30 10:08:14 -05:00
Adam Miller
e275250300 fix changelog in spec file for bad merge 2013-08-27 15:29:15 -05:00
17 changed files with 828 additions and 751 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

107
.gitignore vendored
View file

@ -1,98 +1,9 @@
*.rpm
/go1.1.1.src.tar.gz
/go1.1.2.src.tar.gz
/go1.2.1.src.tar.gz
/go1.2.2.src.tar.gz
/go1.2.src.tar.gz
/go1.3.1.src.tar.gz
/go1.3.2.src.tar.gz
/go1.3.3.src.tar.gz
/go1.3.src.tar.gz
/go1.3beta2.src.tar.gz
/go1.3rc1.src.tar.gz
/go1.3rc2.src.tar.gz
/go1.4.1.src.tar.gz
/go1.4.2.src.tar.gz
/go1.4.src.tar.gz
/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
/go1.15.6.src.tar.gz
*.README
rhel8-*
bodhi*
/go1.19.13-2-openssl-fips.tar.gz
/go1.19.13.tar.gz
/go1.20.10-1-openssl-fips.tar.gz
/go1.20.10.tar.gz
/go1.20.12.tar.gz
/go1.20.12-1-openssl-fips.tar.gz

View file

@ -1,88 +0,0 @@
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

@ -1,41 +0,0 @@
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

@ -1,54 +0,0 @@
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

View file

@ -0,0 +1,288 @@
diff --git a/src/crypto/internal/backend/nobackend.go b/src/crypto/internal/backend/nobackend.go
index 5f258a2..5dbbc42 100644
--- a/src/crypto/internal/backend/nobackend.go
+++ b/src/crypto/internal/backend/nobackend.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || static
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl static
package backend
diff --git a/src/crypto/internal/boring/goboringcrypto.h b/src/crypto/internal/boring/goboringcrypto.h
index d6d99b1..f2fe332 100644
--- a/src/crypto/internal/boring/goboringcrypto.h
+++ b/src/crypto/internal/boring/goboringcrypto.h
@@ -1,4 +1,5 @@
// Copyright 2017 The Go Authors. All rights reserved.
+// +build !static
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
diff --git a/src/crypto/internal/boring/syso/syso.go b/src/crypto/internal/boring/syso/syso.go
index b338754..db5ea1e 100644
--- a/src/crypto/internal/boring/syso/syso.go
+++ b/src/crypto/internal/boring/syso/syso.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build boringcrypto
+//go:build boringcrypto && !static
// This package only exists with GOEXPERIMENT=boringcrypto.
// It provides the actual syso file.
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
index 079fc3c..e826d0b 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/aes.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
index 0b61e79..94d0c98 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdh.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
index afec529..d822152 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/ecdsa.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h b/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
index 6d6a562..17cc314 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/goopenssl.h
@@ -1,4 +1,5 @@
// Copyright 2017 The Go Authors. All rights reserved.
+// +build !static
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
index ae40b93..17bc075 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hkdf.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
index 6f00177..f466b18 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/hmac.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
index 7c0b5d6..262af07 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/notboring.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl
-// +build !linux !cgo android cmd_go_bootstrap msan no_openssl
+//go:build !linux || !cgo || android || cmd_go_bootstrap || msan || no_openssl || static
+// +build !linux !cgo android cmd_go_bootstrap msan no_openssl static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
index d49194d..ff15054 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
index 2349db1..57fbb04 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_ecdsa_signature.c
@@ -1,4 +1,5 @@
// +build linux
+// +build !static
// +build !android
// +build !no_openssl
// +build !cmd_go_bootstrap
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
index 4379019..5034c46 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_evp.c
@@ -1,4 +1,5 @@
// +build linux
+// +build !static
// +build !android
// +build !no_openssl
// +build !cmd_go_bootstrap
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
index 49d40a7..3b3dbf8 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_lock_setup.c
@@ -1,4 +1,5 @@
// +build linux
+// +build !static
// +build !android
// +build !no_openssl
// +build !cmd_go_bootstrap
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
index 7eb645e..1c3225a 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_aead_gcm.c
@@ -1,4 +1,5 @@
// This file contains a port of the BoringSSL AEAD interface.
+// +build !static
// +build linux
// +build !android
// +build !no_openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
index df4ebe3..876393b 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_ctr128.c
@@ -1,4 +1,5 @@
// +build linux
+// +build !static
// +build !android
// +build !no_openssl
// +build !cmd_go_bootstrap
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
index 2eedd5b..04510d3 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_evp_md5_sha1.c
@@ -1,4 +1,5 @@
// This file contains a backport of the EVP_md5_sha1 method.
+// +build !static
// +build linux
// +build !android
// +build !no_openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
index 362d9e5..bebafef 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_hmac.c
@@ -1,4 +1,5 @@
// This file contains HMAC portability wrappers.
+// +build !static
// +build linux
// +build !android
// +build !no_openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
index 2824147..8bc1d85 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_port_rsa.c
@@ -1,4 +1,5 @@
// This file contains RSA portability wrappers.
+// +build !static
// +build linux
// +build !android
// +build !no_openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
index 22bd865..b7aa26b 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/openssl_stub_rand.c
@@ -1,4 +1,5 @@
// +build linux
+// +build !static
// +build !android
// +build !no_openssl
// +build !cmd_go_bootstrap
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
index b3668b8..dcdae70 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rand.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
index 915c840..8623d9d 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/rsa.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl
diff --git a/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go b/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
index 0b55ced..57309c0 100644
--- a/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
+++ b/src/vendor/github.com/golang-fips/openssl-fips/openssl/sha.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl
-// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl
+//go:build linux && !android && !cmd_go_bootstrap && !msan && !no_openssl && !static
+// +build linux,!android,!cmd_go_bootstrap,!msan,!no_openssl,!static
package openssl

View file

@ -0,0 +1,13 @@
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 9f26606..2408505 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -1259,7 +1259,7 @@ func (t *tester) registerCgoTests() {
} else {
panic("unknown linkmode with static build: " + linkmode)
}
- gt.tags = append(gt.tags, "static")
+ gt.tags = append(gt.tags, "static", "no_openssl")
}
t.registerTest("cgo:"+name, "../misc/cgo/test", gt, opts...)

View file

@ -0,0 +1,160 @@
From 63dd776220bb3a443e6b5c0766a389ec33dc4b69 Mon Sep 17 00:00:00 2001
From: "Paul E. Murphy" <murp@ibm.com>
Date: Wed, 16 Nov 2022 14:53:39 -0600
Subject: [PATCH] [release-branch.go1.18] cmd/link/internal/ppc64: fix
trampoline reuse distance calculation
If a compatible trampoline has been inserted by a previously laid
function in the same section, and is known to be sufficiently close,
it can be reused.
When testing if the trampoline can be reused, the addend of the direct
call should be ignored. It is already encoded in the trampoline. If the
addend is non-zero, and the target sufficiently far away, and just
beyond direct call reach, this may cause the trampoline to be
incorrectly reused.
This was observed on go1.17.13 and openshift-installer commit f3c53b382
building in release mode with the following error:
github.com/aliyun/alibaba-cloud-sdk-go/services/cms.(*Client).DescribeMonitoringAgentAccessKeyWithChan.func1: direct call too far: runtime.duffzero+1f0-tramp0-1 -2000078
Fixes #56833
Change-Id: I54af957302506d4e3cd5d3121542c83fe980e912
Reviewed-on: https://go-review.googlesource.com/c/go/+/451415
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/451916
Reviewed-by: Joedian Reid <joedian@golang.org>
---
.../testdata/script/trampoline_reuse_test.txt | 100 ++++++++++++++++++
src/cmd/link/internal/ppc64/asm.go | 5 +-
2 files changed, 103 insertions(+), 2 deletions(-)
create mode 100644 src/cmd/go/testdata/script/trampoline_reuse_test.txt
diff --git a/src/cmd/go/testdata/script/trampoline_reuse_test.txt b/src/cmd/go/testdata/script/trampoline_reuse_test.txt
new file mode 100644
index 0000000000000..bca897c16d054
--- /dev/null
+++ b/src/cmd/go/testdata/script/trampoline_reuse_test.txt
@@ -0,0 +1,100 @@
+# Verify PPC64 does not reuse a trampoline which is too far away.
+# This tests an edge case where the direct call relocation addend should
+# be ignored when computing the distance from the direct call to the
+# already placed trampoline
+[short] skip
+[!ppc64] [!ppc64le] skip
+[aix] skip
+
+# Note, this program does not run. Presumably, 'DWORD $0' is simpler to
+# assembly 2^26 or so times.
+#
+# We build something which should be laid out as such:
+#
+# bar.Bar
+# main.Func1
+# bar.Bar+400-tramp0
+# main.BigAsm
+# main.Func2
+# bar.Bar+400-tramp1
+#
+# bar.Bar needs to be placed far enough away to generate relocations
+# from main package calls. and main.Func1 and main.Func2 are placed
+# a bit more than the direct call limit apart, but not more than 0x400
+# bytes beyond it (to verify the reloc calc).
+
+go build
+
+-- go.mod --
+
+module foo
+
+go 1.19
+
+-- main.go --
+
+package main
+
+import "foo/bar"
+
+func Func1()
+
+func main() {
+ Func1()
+ bar.Bar2()
+}
+
+-- foo.s --
+
+TEXT main·Func1(SB),0,$0-0
+ CALL bar·Bar+0x400(SB)
+ CALL main·BigAsm(SB)
+// A trampoline will be placed here to bar.Bar
+
+// This creates a gap sufficiently large to prevent trampoline reuse
+#define NOP64 DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0;
+#define NOP256 NOP64 NOP64 NOP64 NOP64
+#define NOP2S10 NOP256 NOP256 NOP256 NOP256
+#define NOP2S12 NOP2S10 NOP2S10 NOP2S10 NOP2S10
+#define NOP2S14 NOP2S12 NOP2S12 NOP2S12 NOP2S12
+#define NOP2S16 NOP2S14 NOP2S14 NOP2S14 NOP2S14
+#define NOP2S18 NOP2S16 NOP2S16 NOP2S16 NOP2S16
+#define NOP2S20 NOP2S18 NOP2S18 NOP2S18 NOP2S18
+#define NOP2S22 NOP2S20 NOP2S20 NOP2S20 NOP2S20
+#define NOP2S24 NOP2S22 NOP2S22 NOP2S22 NOP2S22
+#define BIGNOP NOP2S24 NOP2S24
+TEXT main·BigAsm(SB),0,$0-0
+ // Fill to the direct call limit so Func2 must generate a new trampoline.
+ // As the implicit trampoline above is just barely unreachable.
+ BIGNOP
+ MOVD $main·Func2(SB), R3
+
+TEXT main·Func2(SB),0,$0-0
+ CALL bar·Bar+0x400(SB)
+// Another trampoline should be placed here.
+
+-- bar/bar.s --
+
+#define NOP64 DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0; DWORD $0;
+#define NOP256 NOP64 NOP64 NOP64 NOP64
+#define NOP2S10 NOP256 NOP256 NOP256 NOP256
+#define NOP2S12 NOP2S10 NOP2S10 NOP2S10 NOP2S10
+#define NOP2S14 NOP2S12 NOP2S12 NOP2S12 NOP2S12
+#define NOP2S16 NOP2S14 NOP2S14 NOP2S14 NOP2S14
+#define NOP2S18 NOP2S16 NOP2S16 NOP2S16 NOP2S16
+#define NOP2S20 NOP2S18 NOP2S18 NOP2S18 NOP2S18
+#define NOP2S22 NOP2S20 NOP2S20 NOP2S20 NOP2S20
+#define NOP2S24 NOP2S22 NOP2S22 NOP2S22 NOP2S22
+#define BIGNOP NOP2S24 NOP2S24 NOP2S10
+// A very big not very interesting function.
+TEXT bar·Bar(SB),0,$0-0
+ BIGNOP
+
+-- bar/bar.go --
+
+package bar
+
+func Bar()
+
+func Bar2() {
+}
diff --git a/src/cmd/link/internal/ppc64/asm.go b/src/cmd/link/internal/ppc64/asm.go
index 73c2718a3369f..879adaa965050 100644
--- a/src/cmd/link/internal/ppc64/asm.go
+++ b/src/cmd/link/internal/ppc64/asm.go
@@ -809,8 +809,9 @@ func trampoline(ctxt *ld.Link, ldr *loader.Loader, ri int, rs, s loader.Sym) {
if ldr.SymValue(tramp) == 0 {
break
}
-
- t = ldr.SymValue(tramp) + r.Add() - (ldr.SymValue(s) + int64(r.Off()))
+ // Note, the trampoline is always called directly. The addend of the original relocation is accounted for in the
+ // trampoline itself.
+ t = ldr.SymValue(tramp) - (ldr.SymValue(s) + int64(r.Off()))
// With internal linking, the trampoline can be used if it is not too far.
// With external linking, the trampoline must be in this section for it to be reused.

View file

@ -0,0 +1,13 @@
diff --git a/src/cmd/go/testdata/script/list_std.txt b/src/cmd/go/testdata/script/list_std.txt
index 6ab1bd1..4a00e43 100644
--- a/src/cmd/go/testdata/script/list_std.txt
+++ b/src/cmd/go/testdata/script/list_std.txt
@@ -6,7 +6,7 @@ env GO111MODULE=off
# Listing GOROOT should only find standard packages.
cd $GOROOT/src
go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' ./...
-! stdout .
+stdout _$GOROOT
# Standard packages should include cmd, but not cmd/vendor.
go list ./...

View file

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

3
golang-prelink.conf Normal file
View file

@ -0,0 +1,3 @@
# 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

8
macros.golang Normal file
View file

@ -0,0 +1,8 @@
# 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} aarch64 ppc64le

View file

@ -0,0 +1,15 @@
diff --git a/src/crypto/rsa/pkcs1v15_test.go b/src/crypto/rsa/pkcs1v15_test.go
index 0853178e3a..16eb37734b 100644
--- a/src/crypto/rsa/pkcs1v15_test.go
+++ b/src/crypto/rsa/pkcs1v15_test.go
@@ -247,6 +247,10 @@ func TestVerifyPKCS1v15(t *testing.T) {
}
func TestOverlongMessagePKCS1v15(t *testing.T) {
+ // OpenSSL now returns a random string instead of an error
+ if boring.Enabled() {
+ t.Skip("Not relevant in boring mode")
+ }
ciphertext := decodeBase64("fjOVdirUzFoLlukv80dBllMLjXythIf22feqPrNo0YoIjzyzyoMFiLjAc/Y4krkeZ11XFThIrEvw\nkRiZcCq5ng==")
_, err := DecryptPKCS1v15(nil, rsaPrivateKey, ciphertext)
if err == nil {

View file

@ -0,0 +1,11 @@
--- go-go1.20.10/src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt.O 2023-11-23 18:00:03.852336353 -0600
+++ go-go1.20.10/src/cmd/go/testdata/script/test_ppc64le_cgo_inline_plt.txt 2023-11-23 18:00:23.014888719 -0600
@@ -12,6 +12,8 @@
[!cgo] skip
[!GOARCH:ppc64le] skip
+skip # does not work on el7
+
env CGO_CFLAGS='-fno-plt -O2 -g'
go build -ldflags='-linkmode=internal'

View file

@ -0,0 +1,12 @@
diff --git a/src/crypto/x509/x509_test.go b/src/crypto/x509/x509_test.go
index b1cdabb..09eaace 100644
--- a/src/crypto/x509/x509_test.go
+++ b/src/crypto/x509/x509_test.go
@@ -2993,6 +2993,7 @@ func (bs *brokenSigner) Sign(_ io.Reader, _ []byte, _ crypto.SignerOpts) ([]byte
}
func TestCreateCertificateBrokenSigner(t *testing.T) {
+ t.Skip("TODO Fix me: rhbz#1939923")
template := &Certificate{
SerialNumber: big.NewInt(10),
DNSNames: []string{"example.com"},

View file

@ -1 +1,2 @@
SHA512 (go1.15.6.src.tar.gz) = f20e495204f32170d6554e8f4b64763dae8302a7859005020f650d1d53a5b15de3afbaff28e0b6418287396166c67bdc4c6bee7a0fd7ba8a87bb79b6c1d38326
SHA512 (go1.20.12.tar.gz) = d991638d4aa6705abd5ebb9ef8c9dc648a2b720d194cfc4343e5432d0c2fed264c296f64771673258527ccfaac5183c4e6822b1c13df7ed805b910e4d61dbec5
SHA512 (go1.20.12-1-openssl-fips.tar.gz) = 4befbe4532cfb49e400ad097373cfad63c49ae9dae40d78fd703695ba8b9b29e2f9f6df668dd33b7c8706ddba8e3480aa1e7655dd80727907931797004e25598