Commit Graph

165 Commits

Author SHA256 Message Date
Jordi Massaguer
f4a0ff5be5 Accepting request 509364 from home:jordimassaguerpla:branch:enable_gcc6_for_sle12_and_fix_s390x
- Simplify all the "ifdef suse_version" by removing versions which
  have reach eol (13.* 42.1 sle11*)

- Add gcc6-go.patch for sle12 and leap42.x and use binutils-gold
  except for s390x/s390
  Remove gcc5-go.patch cause we use gcc6 for sle12 and leap42.x and
  gcc7 for newer versions (factory)

OBS-URL: https://build.opensuse.org/request/show/509364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=290
2017-07-12 10:30:13 +00:00
Thomas Hipp
a413509243 Accepting request 504529 from devel:ARM:Factory
- build with binutils-gold on aarch64, which is hardcoded to
 be used for shared linking due to bugs in BFD binutils

OBS-URL: https://build.opensuse.org/request/show/504529
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=288
2017-06-23 10:42:38 +00:00
Jordi Massaguer
e7a4fb8731 Accepting request 501351 from home:thipp:branch:devel:languages:go
Fix changelog

OBS-URL: https://build.opensuse.org/request/show/501351
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=286
2017-06-07 09:20:50 +00:00
Jordi Massaguer
1f52f557fd Accepting request 500676 from home:thipp:branches:devel:languages:go
- Build with gcc-7 on Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/500676
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=285
2017-06-06 09:09:32 +00:00
Jordi Massaguer
702364f488 Accepting request 498928 from home:thipp:branch:devel:languages:go
- Minor update to go1.8.3

OBS-URL: https://build.opensuse.org/request/show/498928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=284
2017-05-29 11:00:01 +00:00
Thomas Hipp
7757a088fd Accepting request 497883 from home:jordimassaguerpla:branch:d:l:g:fix_update_alternatives
fix update-alternatives usage

OBS-URL: https://build.opensuse.org/request/show/497883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=283
2017-05-24 11:06:00 +00:00
Jordi Massaguer
0a35006c8a Accepting request 491619 from home:thipp:branch:devel:languages:go
- Update to go1.8.1

OBS-URL: https://build.opensuse.org/request/show/491619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=282
2017-04-27 15:07:49 +00:00
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
99125744fb Accepting request 487860 from home:jordimassaguerpla:branch:dlg:fix_go_bin:go
- Do not set GOBIN. If GOBIN is unset, by default go assumes GOPATH/bin.
  This way, the user can change GOPATH without the need to change GOBIN.
  fix bsc#1026658

OBS-URL: https://build.opensuse.org/request/show/487860
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=280
2017-04-21 08:34:52 +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
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
5f9c89a0d5 fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=268
2016-09-22 11:16:02 +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
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
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
Thomas Boerger
43d708ff61 Accepting request 317879 from home:Andreas_Schwab:Factory
- macros.go: fix missing quotes in %goinstall (bsc#939067)

OBS-URL: https://build.opensuse.org/request/show/317879
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=223
2015-07-22 10:53:59 +00:00
Marguerite Su
4b3ef0c06c Accepting request 316079 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/316079
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=222
2015-07-12 10:36:33 +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
7408dc73c9 Accepting request 315121 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/315121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=220
2015-07-05 15:39:29 +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
Flavio Castelli
2df9b3e74a - Fix building of all the Go packages under devel:languages:go. The
%goprep macro contained some unescaped lines, causing go install to
  attempt the installation of the build artifacts outside of the
  buildroot.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=213
2015-04-08 09:01:18 +00:00
Marguerite Su
6381ba7c33 Accepting request 293719 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/293719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=212
2015-03-30 15:23:46 +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