go: update to 1.9.2

This commit is contained in:
Radostan Riedel 2017-11-03 15:12:31 +01:00 committed by Radostan Riedel
parent fa8f13d74e
commit 82d863eaf4
2 changed files with 10 additions and 10 deletions

View File

@ -17,8 +17,8 @@
################################################################################
PKG_NAME="go"
PKG_VERSION="1.7.5"
PKG_SHA256="7af80c99d9e8a52e53d6a617a20332a8602b1a4eca9cbf3d829e1d43e688f6ba"
PKG_VERSION="1.9.2"
PKG_SHA256="5fb19c45d5230a7c2380232c9fb5b7e8d6f45015003f63b1485f78c20f96bce4"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="https://golang.org"

View File

@ -1,11 +1,11 @@
diff -Naur a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
--- a/src/crypto/x509/root_unix.go 2016-04-19 16:27:35.000000000 -0700
+++ b/src/crypto/x509/root_unix.go 2016-04-22 01:21:02.884977461 -0700
@@ -13,6 +13,7 @@
var certDirectories = []string{
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
"/system/etc/security/cacerts", // Android
diff -Naur go-1.9.2.orig/src/crypto/x509/root_unix.go go-1.9.2/src/crypto/x509/root_unix.go
--- go-1.9.2.orig/src/crypto/x509/root_unix.go 2017-11-03 14:58:53.655965257 +0100
+++ go-1.9.2/src/crypto/x509/root_unix.go 2017-11-03 14:59:16.923786983 +0100
@@ -19,6 +19,7 @@
"/usr/local/share/certs", // FreeBSD
"/etc/pki/tls/certs", // Fedora/RHEL
"/etc/openssl/certs", // NetBSD
+ "/etc/ssl", // LibreELEC
}
func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
const (