$PREFIX/go14. Go 1.5 is going to be released soon, and it will depend on an existing installation of Go 1.4 to compile. So let's provide one.
15 lines
773 B
Go
15 lines
773 B
Go
$NetBSD: patch-src_crypto_x509_root__unix.go,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
|
|
|
|
Also look for the right path for the SSL certificate repository on NetBSD.
|
|
https://github.com/golang/go/issues/9285
|
|
|
|
--- src/crypto/x509/root_unix.go.orig 2014-12-11 01:18:10.000000000 +0000
|
|
+++ src/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
|
|
"/etc/pki/tls/cacert.pem", // OpenELEC
|