]> Cypherpunks repositories - gostls13.git/commitdiff
all: dragonfly support
authorJoel Sing <jsing@google.com>
Fri, 23 Aug 2013 16:22:52 +0000 (02:22 +1000)
committerJoel Sing <jsing@google.com>
Fri, 23 Aug 2013 16:22:52 +0000 (02:22 +1000)
Enable remaining packages (crypto, mime, path, time) to build on dragonfly.

R=bradfitz
CC=golang-dev
https://golang.org/cl/13190043

src/pkg/crypto/rand/rand_unix.go
src/pkg/crypto/x509/root_unix.go
src/pkg/mime/type_unix.go
src/pkg/path/filepath/path_unix.go
src/pkg/time/sys_unix.go
src/pkg/time/zoneinfo_unix.go

index 18f482472d3bd03e4e43a29f73289a0f55ff6ee3..238ceee557dbcb391cf09e2941186d04af0c5c69 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin freebsd linux netbsd openbsd plan9
+// +build darwin dragonfly freebsd linux netbsd openbsd plan9
 
 // Unix cryptographically secure pseudorandom number
 // generator.
index 1b25a94d08d6c1e85ba665473e74cfcdeb92e3fb..770ca66cd32611ed924283a7aefc03c0a7257b25 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build freebsd linux openbsd netbsd
+// +build dragonfly freebsd linux openbsd netbsd
 
 package x509
 
@@ -14,7 +14,7 @@ var certFiles = []string{
        "/etc/pki/tls/certs/ca-bundle.crt",       // Fedora/RHEL
        "/etc/ssl/ca-bundle.pem",                 // OpenSUSE
        "/etc/ssl/cert.pem",                      // OpenBSD
-       "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD
+       "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
 }
 
 func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) {
index e0050bb958958d9200e910a455ef96a55d34d5a7..713e301cdf27d2a35a7a603f207f861682cd44c4 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd
 
 package mime
 
index cff7b2c65c5f3f9c1ec534c63753d9bdfd53d1c4..d927b342be0bdba869d84684d5e0d32192e9e287 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd
 
 package filepath
 
index 7f69b492c9fdb1536899007515687797690e561a..60a3ce08f906f0587c6f41e91bc6d696d1b1aab1 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd
 
 package time
 
index 2c951a9834bd35873199d1a12e2a9e762f64565b..53b5dc82cb66b7b84623874002cc25bb1c80c8c7 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd
 
 // Parse "zoneinfo" time zone file.
 // This is a fairly standard file format used on OS X, Linux, BSD, Sun, and others.