]> git.pld-linux.org Git - packages/golang.git/commitdiff
up to 1.18 auto/th/golang-1.18-1
authorJan Palus <atler@pld-linux.org>
Sun, 20 Mar 2022 15:23:42 +0000 (16:23 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 20 Mar 2022 15:23:42 +0000 (16:23 +0100)
0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
ca-certs.patch
golang.spec

index 422ca2b75ad013b63ef52a21f2c08e5118b11e52..0447995b3797307a5f7f140ba3c3e357b7eaea56 100644 (file)
@@ -29,7 +29,7 @@ index 76d5524124..e81ace5f64 100644
 -      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())
+               panic("cannot load America/Los_Angeles for testing: " + err.Error() + "; you may want to use -tags=timetzdata")
        }
 @@ -21,8 +23,9 @@ func initTestingZone() {
  var OrigZoneSources = zoneSources
index 6a723ba8f86dba5dba2f121b36a5cb7369f97e6d..84a54f8e858103bd5ca7c10492aa2b180abbe1dc 100644 (file)
@@ -1,8 +1,8 @@
 --- golang-1.6/src/crypto/x509/root_linux.go~  2016-02-17 22:35:21.000000000 +0200
 +++ golang-1.6/src/crypto/x509/root_linux.go   2016-04-05 13:04:44.231441583 +0300
 @@ -11,6 +11,7 @@
- // Possible directories with certificate files; stop after successfully
- // reading at least one file from a directory.
+ // Possible directories with certificate files; all will be read.
  var certDirectories = []string{
 +      "/etc/openssl/certs",           // PLD Linux
        "/etc/ssl/certs",               // SLES10/SLES11, https://golang.org/issue/12139
index 650fd3ba2d479a18b9557f754783ecfbe8888b09..bc310a3481e1e0bce95a2aa438fc47cc3d12b659 100644 (file)
 Summary:       Go compiler and tools
 Summary(pl.UTF-8):     Kompilator języka Go i narzędzia
 Name:          golang
-Version:       1.17.7
+Version:       1.18
 Release:       1
 # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
 License:       BSD and Public Domain
 Group:         Development/Languages
 # Source0Download: https://golang.org/dl/
 Source0:       https://storage.googleapis.com/golang/go%{version}.src.tar.gz
-# Source0-md5: 063999612df20d2f9b5777fb60eb2f82
+# Source0-md5: da8a439a13865ad0d298a703e70e7ee5
 Patch0:                ca-certs.patch
 Patch1:                0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
 URL:           https://golang.org/
This page took 0.510046 seconds and 4 git commands to generate.