Commit Graph

176 Commits

Author SHA256 Message Date
Thomas Hipp
6c5b24c1e9 Accepting request 491343 from Virtualization:containers
- Remove mercurial build dependency. Mercurial is a version control
  system, like git. We are not using this in the build service to
  get the sources.
- minor update to go1.7.5 because this is required by
  docker-v17.04.00-ce (bsc#1034053) 
  fixes included:
  * go1.7.1 (released 2016/09/07) includes fixes to the compiler, runtime,
    documentation, and the compress/flate, hash/crc32, io, net, net/http,
    path/filepath, reflect, and syscall packages.
    See the Go 1.7.1 milestone on our issue tracker for details:
      https://github.com/golang/go/issues?q=milestone%3AGo1.7.1
  * go1.7.2 was not released. No changelog.
  
  * go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime,
    and the crypto/cipher, crypto/tls, net/http, and strings packages.
    See the Go 1.7.3 milestone on our issue tracker for details:
      https://github.com/golang/go/issues?q=milestone%3AGo1.7.3
  * go1.7.4 (released 2016/12/01) includes two security fixes.
    See the Go 1.7.4 milestone on our issue tracker for details:
      https://github.com/golang/go/issues?q=milestone%3AGo1.7.4
  * go1.7.5 (released 2017/01/26) includes fixes to the compiler, runtime,
    and the crypto/x509 and time packages.
    See the Go 1.7.5 milestone on our issue tracker for details:
      https://github.com/golang/go/issues?q=milestone%3AGo1.7.5
- CVE-2016-5386.patch: fixes bsc#988487 aka https://httpoxy.org/

This fixes: bsc#988487 (CVE-2016-5386), so we remove CVE-2016-5386.patch)
- Enable build for ppc64le on SLE12 (bsc#981432)
- fix bsc#974232: CVE-2016-3959: go: Infinite loop in several big
  integer routines

OBS-URL: https://build.opensuse.org/request/show/491343
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=281
2017-04-27 13:46:53 +00:00
Thomas Hipp
d2db741d15 Accepting request 487626 from home:jordimassaguerpla:branches:d:l:go:go:remove_mercurial_dep
Fixing i586 builds for openSUSE_Leap_42.3 and openSUSE_Leap_42.2 by removing
mercurial. Anyway, mercurial is a version control system, like git. We are not
using this in the build service to get the sources.

OBS-URL: https://build.opensuse.org/request/show/487626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=279
2017-04-13 10:15:21 +00:00
Jordi Massaguer
70834be77e Accepting request 482915 from home:bigironman:branches:devel:languages:go
Enabling arch s390x for bootstrapping with gcc5-go

OBS-URL: https://build.opensuse.org/request/show/482915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=278
2017-03-31 15:16:59 +00:00
Jordi Massaguer
6c7505da54 Accepting request 479045 from home:cyphar:branches:devel:languages:go
- Add a patch to bump _MaxGomaxprocs so that things like Docker and k8s can run
  properly on NUMA machines. Don't bump this number too high. bsc#1028865
  + runtime-bump-MaxGomaxprocs.patch

OBS-URL: https://build.opensuse.org/request/show/479045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=277
2017-03-31 09:53:21 +00:00
Marguerite Su
d127ff8acd Accepting request 449521 from openSUSE:Factory:zSystems
make package build for s390x

OBS-URL: https://build.opensuse.org/request/show/449521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=275
2017-01-24 03:14:16 +00:00
Jordi Massaguer
f6ca88e30c Accepting request 439834 from home:cyphar:branches:devel:languages:go
Finally fix this issue.

- Disable stripping to fix __.PKGDEF issues. bsc#964546
  There is an upstream issue about it as well, with a patch which will
  hopefully make Go more resilient to this issue.

OBS-URL: https://build.opensuse.org/request/show/439834
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=273
2016-11-11 09:09:52 +00:00
Thomas Boerger
7d8b641f97 Accepting request 438672 from home:jordimassaguerpla:branch:d:l:g:fix_factory_build
- Make sure we build go using gcc-go in Factory cause there is no go1.4

OBS-URL: https://build.opensuse.org/request/show/438672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=271
2016-11-04 09:36:35 +00:00
Thomas Boerger
c7282e4f72 Accepting request 431323 from home:jordimassaguerpla:branch:d:l:g:update_go_1_7
- update to go1.7.0 (bsc#996303)
  Most of its changes are in the implementation of the toolchain,
  runtime, and libraries. There is one minor change to the language
  specification.
  The release adds a port to IBM LinuxOne; updates the x86-64 compiler
  back end to generate more efficient code; includes the context package,
  promoted from the x/net subrepository and now used in the standard
  library; and adds support in the testing package for creating
  hierarchies of tests and benchmarks. The release also finalizes
  the vendoring support started in Go 1.5, making it a standard feature. 
  more at: https://golang.org/doc/go1.7
  Review patches: 
    - armv6l.patch
    - fix_certificates_lookup.patch,
    - go-1.5-install-dont-reinstall-stdlibs.patch
    - gcc5-go.patch

OBS-URL: https://build.opensuse.org/request/show/431323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=270
2016-10-07 10:13:54 +00:00
Thomas Boerger
640fc5b0be Accepting request 430381 from home:jordimassaguerpla:go_use_gccgo_for_factory_opensuse
- Reverting to use gcc-go instead of go1.4 for Factory and Leap
  The fallback boostrap method via go1.4 does not work for Factory because
  of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
  Leap will work but we don't have go1.4 in there.

OBS-URL: https://build.opensuse.org/request/show/430381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=269
2016-09-26 09:03:55 +00:00
Jordi Massaguer
2097ece516 Accepting request 429444 from home:jordimassaguerpla:d:l:g:go_update_gcc6
- update to gcc6-go for Factory
- build with gcc-go for aarch64, ppc64le and ppc64, but for x86_64
  always use go1.4, as it should be according to
  https://golang.org/doc/install/source#go14

OBS-URL: https://build.opensuse.org/request/show/429444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=267
2016-09-22 11:06:28 +00:00
Thomas Boerger
f96a74a648 Accepting request 423855 from home:jordimassaguerpla:branch:d:l:g:enable_ppc64le:go
- build ppc64le with gcc-go

OBS-URL: https://build.opensuse.org/request/show/423855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=265
2016-08-31 10:36:41 +00:00
Marguerite Su
7c9ec600ce Accepting request 419350 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/419350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=263
2016-08-15 07:01:11 +00:00
Marguerite Su
99aad9851c Accepting request 415274 from home:jordimassaguerpla:update_go_to_1.6.3_to_fix_httpoxy
- update go go1.6.3 (released 2016/07/17) includes security fixes to the
<code>net/http/cgi</code> package and <code>net/http</code> package when used in
a CGI environment. This release also adds support for macOS Sierra.
See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.6.3">Go
1.6.3 milestone</a> on our issue tracker for details.
This fixes: bsc#988487

OBS-URL: https://build.opensuse.org/request/show/415274
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=261
2016-08-03 02:18:46 +00:00
Marguerite Su
0ce969c219 Accepting request 412123 from home:michel_mno:branches:devel:languages:go
- do not set with_shared for ppc64 (BE) to avoid build error.

OBS-URL: https://build.opensuse.org/request/show/412123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=259
2016-07-22 07:00:19 +00:00
Flavio Castelli
ee2f2c3c67 Accepting request 404423 from devel:ARM:containers
- bootstrap aarch64 even on SLE via gcc5-go

OBS-URL: https://build.opensuse.org/request/show/404423
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=257
2016-07-04 09:15:40 +00:00
Marguerite Su
2438386604 Accepting request 402845 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/402845
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=255
2016-06-17 06:49:40 +00:00
Marguerite Su
bc32890912 Accepting request 401245 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/401245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=253
2016-06-11 08:23:20 +00:00
Jordi Massaguer
871c3dbfda fix bsc#974232: CVE-2016-3959: go: Infinite loop in several big
integer routines
-This line, and those below, will be ignored--

M    go.changes
M    go.spec
A    go1.6.1.src.tar.gz
!    go1.6.src.tar.gz

Diff for working copy: .
Index: go.changes
===================================================================

--- go.changes	(revision e9efaafce311b02be2c69baf7fb414cf)
+++ go.changes	(working copy)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Apr 13 18:00:49 UTC 2016 - jmassaguerpla@suse.com
+
+- fix bsc#974232: CVE-2016-3959: go: Infinite loop in several big
+  integer routines
+
 -------------------------------------------------------------------
 Fri Feb 19 09:27:32 UTC 2016 - jmassaguerpla@suse.com
 

Index: go.spec
===================================================================

--- go.spec	(revision e9efaafce311b02be2c69baf7fb414cf)
+++ go.spec	(working copy)
@@ -28,7 +28,7 @@
 
 %define go_api 1.6
 Name:           go
-Version:        1.6
+Version:        1.6.1
 Release:        0
 Summary:        A compiled, garbage-collected, concurrent programming language
 License:        BSD-3-Clause

Index: go1.6.1.src.tar.gz
===================================================================
Binary file 'go1.6.1.src.tar.gz' added.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=251
2016-04-13 18:06:13 +00:00
Flavio Castelli
d10969cffe Accepting request 360455 from home:jordimassaguerpla:go
- Update to version 1.6
  * On Linux on little-endian 64-bit PowerPC (linux/ppc64le), Go 1.6 now supports cgo with external linking and is roughly feature complete.
  * Vendoring support
  * HTTP2 transparent support
  * fix gc and gccgo incompatibility regarding embedded unexported struct types containing exported fields
  * Linux on 64-bit MIPS and Android on 32-bit x86
  * enforced rules for sharing Go pointers with C
  * new mechanism for template reuse
  * performance improvements
  ... and more!
   see more in https://tip.golang.org/doc/go1.6

OBS-URL: https://build.opensuse.org/request/show/360455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=249
2016-02-19 13:26:44 +00:00
Flavio Castelli
d02418a9db - Update to version 1.5.3:
* CVE-2015-8618: go: Carry propagation in Int.Exp Montgomery code in
    math/big library (bnc#960151)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=247
2016-02-10 21:52:43 +00:00
Flavio Castelli
8162fd1e5e Accepting request 356244 from home:rroevens_UZA:branches:devel:languages:go
Fix SLES12 compilation.

OBS-URL: https://build.opensuse.org/request/show/356244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=246
2016-01-27 10:53:44 +00:00
Marguerite Su
8149213cb8 Accepting request 352800 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/352800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=244
2016-01-10 17:00:48 +00:00
Marguerite Su
6d489c62bf Accepting request 351671 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/351671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=242
2016-01-02 17:32:39 +00:00
Marguerite Su
2e92b42e5b Accepting request 348297 from home:matwey:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/348297
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=240
2015-12-22 14:58:30 +00:00
Marguerite Su
3165a2f6c3 Accepting request 340905 from home:yuyhou:branches:devel:languages:go
- Updated to 1.5.1
 	This release includes bug fixes to the go command,
    the compiler, assembler, and the fmt, net/textproto,
    net/http, and runtime packages.
    https://golang.org/doc/devel/release.html#go1.5.minor

OBS-URL: https://build.opensuse.org/request/show/340905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=238
2015-10-26 12:37:22 +00:00
Marguerite Su
dd99a9e26a Accepting request 336990 from home:mlin7442:try_421
adapt to Leap in order to build

OBS-URL: https://build.opensuse.org/request/show/336990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=236
2015-10-16 13:59:05 +00:00
Marguerite Su
179dd1af8a Accepting request 331063 from devel:ARM:Factory
- go.sh, macros.go, go.spec: add missing bits for aarch64

OBS-URL: https://build.opensuse.org/request/show/331063
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=232
2015-09-15 14:25:01 +00:00
Marguerite Su
79a3ff2e68 Accepting request 330484 from devel:ARM:Factory
- enable build for aarch64
- rediff armv6l.patch

OBS-URL: https://build.opensuse.org/request/show/330484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=230
2015-09-11 09:49:06 +00:00
Marguerite Su
522362eb54 Accepting request 327787 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/327787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=229
2015-08-28 18:35:45 +00:00
Marguerite Su
e4fc063afc Accepting request 325410 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/325410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=228
2015-08-22 18:36:12 +00:00
Marguerite Su
a41b62bc61 Accepting request 325388 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/325388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=227
2015-08-22 14:58:04 +00:00
Marguerite Su
8cba5e3da3 Accepting request 321974 from home:jordimassaguerpla:branches:OBS_Maintained:go
- fix update from 1.3.3
  Update from 1.3.3 was broken in this commit
  https://build.opensuse.org/package/rdiff/devel:languages:go/go?linkrev=base&rev=205
  That commit fixed a dangling symlink in src (src/pkg) by instead
  symlinking src, which broke compatibility.
  This commit fixes it by, instead, symlinking all the files in src.

OBS-URL: https://build.opensuse.org/request/show/321974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=225
2015-08-11 17:46:20 +00:00
Marguerite Su
0ea82e4927 Accepting request 315987 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/315987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=221
2015-07-11 04:32:30 +00:00
Marguerite Su
790ab16324 Accepting request 315119 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/315119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=219
2015-07-05 14:48:36 +00:00
Flavio Castelli
604e4ab669 - Remove fix_certificates_lookup_on_sles11.patch: this is superseded
by fix_certificates.patch
- Add fix_certificates_lookup.patch: force Go to look for certificates only
  in the locations available on openSUSE and SLE. Also ensure certificates
  are found on SLE11 (previous fix_certificates_lookup_on_sles11.patch)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=216
2015-06-11 12:59:49 +00:00
Flavio Castelli
522e74bcb0 Accepting request 311581 from home:flavio_castelli:branches:devel:languages:go
Fix certificate handling on SLE11

OBS-URL: https://build.opensuse.org/request/show/311581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=215
2015-06-11 09:47:42 +00:00
Marguerite Su
1b64742140 Accepting request 292039 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/292039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=210
2015-03-20 13:27:49 +00:00
Marguerite Su
5c0468211b Accepting request 291546 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/291546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=208
2015-03-19 10:21:17 +00:00
Marguerite Su
0a5c2968c8 Accepting request 289811 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/289811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=206
2015-03-07 15:24:28 +00:00
Flavio Castelli
8f5b637e91 Accepting request 288354 from home:matwey:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/288354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=205
2015-03-02 11:14:32 +00:00
Marguerite Su
68735d500f Accepting request 288208 from home:matwey:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/288208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=203
2015-03-01 12:18:56 +00:00
Marguerite Su
945bbbee53 Accepting request 258998 from home:flavio_castelli:branches:devel:languages:go
- Updated to 1.3.3: includes further bug fixes to cgo, the runtime package,s
  and the nacl port.
- Changes associated with release 1.3.2: includes bug fixes to cgo and the
  crypto/tls packages. See the change history for details (bnc#898901 -
  CVE-2014-7189).

OBS-URL: https://build.opensuse.org/request/show/258998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=201
2014-10-31 14:44:00 +00:00
Marguerite Su
2571a74c37 Accepting request 258077 from devel:ARM:Factory
- avoid stripping debuginfo on arm, it fails (and is not necessary)

OBS-URL: https://build.opensuse.org/request/show/258077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=200
2014-10-23 08:44:21 +00:00
Marguerite Su
1f7af9f842 Accepting request 257933 from home:ProhtMeyhet:branches:devel:languages:go
fixed build for armv6.

the problem is with the opensuse build system, not go itself. it seems that under qemu on armv6 the number of unix signals isn't 64 but 63. thus there is an off-by-one error while building and testing. this doesn't happen on my raspberry pi, so it might be a bug in qemu, but i can't be sure. my fix now reduces the constant defining the number of signals by 1, but that of course means signal handling won't be 100% correct.

OBS-URL: https://build.opensuse.org/request/show/257933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=199
2014-10-23 01:40:13 +00:00
cc397ff7d3 Accepting request 252501 from home:cbosdonnat:branches:devel:languages:go
- Revert the /usr/share/go/contrib symlink as it caused problems
  during update. Moved all go sources to /usr/share/go/contrib/src
  instead of /usr/share/go/contrib/src/pkg and created pkg and src
  symlinks in contrib to add it to GOPATH

OBS-URL: https://build.opensuse.org/request/show/252501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=197
2014-09-26 14:25:10 +00:00
62e4e5beca Accepting request 252295 from home:cbosdonnat:branches:devel:languages:go
- Fixed %go_contribsrcdir value
- Copy temporary macros.go as go.macros to avoid it to be built

OBS-URL: https://build.opensuse.org/request/show/252295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=196
2014-09-25 14:44:02 +00:00
Marguerite Su
97bd97a10c Accepting request 251465 from home:jengelh:branches:devel:languages:go
- Do not modify Source: files, because that makes the .src.rpm
  being tied to one specific arch.

OBS-URL: https://build.opensuse.org/request/show/251465
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=195
2014-09-23 14:26:18 +00:00
Marguerite Su
dce2cfd4e4 Accepting request 250058 from home:cbosdonnat:branches:devel:languages:go
- Removed extra src folder in /usr/share/go/contrib: the goal is to
  transform this folder into a proper entry for GOPATH. This folder
  is now linked to %{_libdir}/go/contrib
- go requires gcc to build sources using cgo
- tools-packaging.patch: Allow building cover and vet tools in
  $GOROOT_TARGET/pkg/tool instead of $GOROOT/pkg/tool. This will
  allow building go tools as a separate package

OBS-URL: https://build.opensuse.org/request/show/250058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=194
2014-09-18 09:18:45 +00:00
Tomáš Chvátal
b6df31fd4c Accepting request 246967 from home:jimfunk:branches:devel:languages:go
Update to 1.3.1

OBS-URL: https://build.opensuse.org/request/show/246967
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=189
2014-09-09 14:52:11 +00:00
Tomáš Chvátal
90338d5554 - Fix download url.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=187
2014-08-12 07:43:08 +00:00