Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/conf-bpftool/conf-bpftool.0.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ available: [ os = "linux" ]
depexts: [
[ "linux-tools-common" ] {os-distribution = "ubuntu"}
[ "bpftool" ] {os-distribution = "debian"}
[ "bpftool" ] {os-family = "fedora"}
[ "bpftool" ] {os-family = "fedora"}
[ "bpftools" ] {os-distribution = "nixos"}
[ "bpftool" ] {os-distribution = "alpine"}
]
flags: conf
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
11 changes: 6 additions & 5 deletions packages/libbpf/libbpf.0.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
# eBPF features by kernel version https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md
# Fix to kernel >= 6.1 to provide bound BPF map types
available: [ os = "linux" &
(( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
|( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
|( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
|( os-distribution = "nixos" & os-version >= "23.05" )) # Linux 6.1 & Libbpf 1.1.0
]
(( os-distribution = "debian" & os-version >= "12" ) # Linux 6.1 & Libbpf 1.1.0
|( os-distribution = "ubuntu" & os-version >= "23.04" ) # Linux 6.2 & Libbpf 1.1.0
|( os-family = "fedora" & os-version >= "38" ) # Linux 6.2 & Libbpf 1.1.0
|( os-distribution = "nixos" & os-version >= "23.05" ) # Linux 6.1 & Libbpf 1.1.0
|( os-distribution = "alpine" & os-version >= "3.18")) # Linux 6.1 & Libbpf 1.2.2
]
url {
src:
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
Expand Down