diff options
author | khorben <khorben@pkgsrc.org> | 2014-10-11 16:41:47 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2014-10-11 16:41:47 +0000 |
commit | 46b722640b4e16c162798daa95a1c86f5f0d8bfb (patch) | |
tree | b34bf14998b321333581fbb69aa3643ebc21bc24 | |
parent | ae827bfb5fa422da038a6428decc8d59e80b9566 (diff) | |
download | pkgsrc-46b722640b4e16c162798daa95a1c86f5f0d8bfb.tar.gz |
Also look for the right path for the SSL certificate repository on NetBSD.
Fixes "go get code.google.com/p/..." for me, once security/mozilla-rootcerts
installed and configured (with the default settings).
Bumps PKGREVISION, since the package is modified.
ok bsiegert@
-rw-r--r-- | lang/go/Makefile | 3 | ||||
-rw-r--r-- | lang/go/distinfo | 3 | ||||
-rw-r--r-- | lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go | 14 |
3 files changed, 18 insertions, 2 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile index 3e036238f4b..94c30f23bab 100644 --- a/lang/go/Makefile +++ b/lang/go/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.18 2014/09/26 13:54:28 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2014/10/11 16:41:47 khorben Exp $ VERSION= 1.3.2 DISTNAME= go${VERSION}.src PKGNAME= go-${VERSION} +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= https://storage.googleapis.com/golang/ PATCH_SITES= https://codereview.appspot.com/download/ diff --git a/lang/go/distinfo b/lang/go/distinfo index d55cdaa2deb..f08924104ba 100644 --- a/lang/go/distinfo +++ b/lang/go/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.13 2014/09/26 13:54:28 wiz Exp $ +$NetBSD: distinfo,v 1.14 2014/10/11 16:41:47 khorben Exp $ SHA1 (go1.3.2.src.tar.gz) = 67d3a692588c259f9fe9dca5b80109e5b99271df RMD160 (go1.3.2.src.tar.gz) = d81642869b9f044f98f8386ee936a5872763c4cf Size (go1.3.2.src.tar.gz) = 10049331 bytes SHA1 (patch-src_cmd_go_build.go) = 1ac7a9d77e8061b0f1184ebe59c7600f61da61e2 +SHA1 (patch-src_pkg_crypto_x509_root__unix.go) = 6b7e23a6bcc4977854df79052d06f260ec2c4a71 diff --git a/lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go b/lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go new file mode 100644 index 00000000000..61a5d0adb05 --- /dev/null +++ b/lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go @@ -0,0 +1,14 @@ +$NetBSD: patch-src_pkg_crypto_x509_root__unix.go,v 1.1 2014/10/11 16:41:47 khorben Exp $ + +Also look for the right path for the SSL certificate repository on NetBSD. + +--- src/pkg/crypto/x509/root_unix.go.orig 2014-10-08 19:16:18.000000000 +0000 ++++ src/pkg/crypto/x509/root_unix.go +@@ -13,6 +13,7 @@ var certFiles = []string{ + "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc. + "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL + "/etc/ssl/ca-bundle.pem", // OpenSUSE ++ "/etc/openssl/certs/ca-certificates.crt", // NetBSD + "/etc/ssl/cert.pem", // OpenBSD + "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly + } |