Skip to content

Commit aff3532

Browse files
mneumannhannesm
andauthored
Support DragonFly BSD (#39)
* Support DragonFly BSD * DragonFlyBSD: use FreeBSD location --------- Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
1 parent 02acd04 commit aff3532

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

ca-certs.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ build: [
4848
]
4949
tags: ["org:mirage"]
5050
depexts: [
51-
["ca_root_nss"] {os = "freebsd"}
51+
["ca_root_nss"] {os = "freebsd" | os = "dragonfly"}
5252
]
5353
x-maintenance-intent: [ "(latest)" ]

ca-certs.opam.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ build: [
1414
]
1515
tags: ["org:mirage"]
1616
depexts: [
17-
["ca_root_nss"] {os = "freebsd"}
17+
["ca_root_nss"] {os = "freebsd" | os = "dragonfly"}
1818
]
1919
x-maintenance-intent: [ "(latest)" ]

lib/ca_certs.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ let system_trust_anchors () =
101101
let* os = Bos.OS.Cmd.(run_out cmd |> out_string |> success) in
102102
match os with
103103
| "FreeBSD" -> detect_one freebsd_location
104+
| "DragonFly" -> detect_one freebsd_location
104105
| "OpenBSD" -> detect_one openbsd_location
105106
| "Linux" -> detect_list linux_locations
106107
| "Darwin" ->

0 commit comments

Comments
 (0)