summaryrefslogtreecommitdiff
path: root/lang/go
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-01-31 10:17:27 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-01-31 10:17:27 +0000
commit85dcfcdcfa945dd2336957895e54e3b9f79d8c53 (patch)
tree1474edf17254bd0c1c245f95683e85f8271455e6 /lang/go
parent4320d8cb965128cf41bf46644c517991b77356be (diff)
downloadpkgsrc-85dcfcdcfa945dd2336957895e54e3b9f79d8c53.tar.gz
Add the correct path for SSL certificates that mozilla-rootcerts uses.
PR pkg/50690.
Diffstat (limited to 'lang/go')
-rw-r--r--lang/go/Makefile3
-rw-r--r--lang/go/distinfo3
-rw-r--r--lang/go/patches/patch-src_crypto_x509_root__bsd.go10
3 files changed, 14 insertions, 2 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile
index 958cdc744c1..eecf039da13 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.37 2016/01/16 09:43:44 fhajny Exp $
+# $NetBSD: Makefile,v 1.38 2016/01/31 10:17:27 bsiegert Exp $
.include "version.mk"
DISTNAME= go${GO_VERSION}.src
PKGNAME= go-${GO_VERSION}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://storage.googleapis.com/golang/
diff --git a/lang/go/distinfo b/lang/go/distinfo
index c942f139455..5e6325f38b1 100644
--- a/lang/go/distinfo
+++ b/lang/go/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2016/01/16 09:43:44 fhajny Exp $
+$NetBSD: distinfo,v 1.32 2016/01/31 10:17:27 bsiegert Exp $
SHA1 (go1.5.3.src.tar.gz) = c17563a84df8aefb6a1e703a42f1e2842615e4a6
RMD160 (go1.5.3.src.tar.gz) = fa1fc2af054371d766523c310eee3b3204de63b3
@@ -7,4 +7,5 @@ Size (go1.5.3.src.tar.gz) = 12057623 bytes
SHA1 (patch-lib_time_update.bash) = bcf565b97ae7898a9e5cef7686fe42c69bc0bba1
SHA1 (patch-misc_io_clangwrap.sh) = cd91c47ba0fe7b6eb8009dd261c0c26c7d581c29
SHA1 (patch-src_cmd_go_pkg.go) = ccc470577951bd00741c39229599c0c06be52d0a
+SHA1 (patch-src_crypto_x509_root__bsd.go) = 0eca1eafa967268ae9b224be4aeda347ebc91901
SHA1 (patch-src_syscall_syscall__solaris.go) = 436371947897dcba574a6dfecc6bbcd04f6e25b2
diff --git a/lang/go/patches/patch-src_crypto_x509_root__bsd.go b/lang/go/patches/patch-src_crypto_x509_root__bsd.go
new file mode 100644
index 00000000000..683403666d6
--- /dev/null
+++ b/lang/go/patches/patch-src_crypto_x509_root__bsd.go
@@ -0,0 +1,10 @@
+$NetBSD: patch-src_crypto_x509_root__bsd.go,v 1.1 2016/01/31 10:17:27 bsiegert Exp $
+
+--- src/crypto/x509/root_bsd.go.orig 2016-01-13 19:47:00.000000000 +0000
++++ src/crypto/x509/root_bsd.go
+@@ -11,4 +11,5 @@ var certFiles = []string{
+ "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
+ "/etc/ssl/cert.pem", // OpenBSD
+ "/etc/openssl/certs/ca-certificates.crt", // NetBSD
++ "/etc/ssl/certs/ca-certificates.crt", // NetBSD
+ }