this repo has no description

[new release] libbpf (4 packages) (0.1.0)

CHANGES:

- Initial release.

`ocaml_libbpf`:
- [supported](./supported.json) bindings
- high level API's for open/load/attach/teardown

`ocaml_libbpf_maps`:
- high level API's for BPF ring_buffer map

Changed files
+178
packages
conf-bpftool
conf-bpftool.0.1.0
conf-libbpf
conf-libbpf.0.1.0
libbpf
libbpf.0.1.0
libbpf_maps
libbpf_maps.0.1.0
+43
packages/conf-bpftool/conf-bpftool.0.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Virtual package for system installation of bpftool"
+
maintainer: ["Lee Koon Wen"]
+
authors: ["Lee Koon Wen"]
+
license: ["ISC" "BSD-3-Clause"]
+
homepage: "https://github.com/koonwen/ocaml-libbpf"
+
doc: "https://koonwen.github.io/ocaml-libbpf"
+
bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues"
+
depends: [
+
"dune" {>= "3.13"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
+
available: [ os = "linux" ]
+
+
depexts: [
+
[ "linux-tools-common" ] {os-distribution = "ubuntu"}
+
[ "bpftool" ] {os-distribution = "debian"}
+
[ "bpftool" ] {os-distribution = "fedora"}
+
]
+
url {
+
src:
+
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
+
checksum: [
+
"sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe"
+
"sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5"
+
]
+
}
+
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+43
packages/conf-libbpf/conf-libbpf.0.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Virtual package for system installation of libbpf"
+
maintainer: ["Lee Koon Wen"]
+
authors: ["Lee Koon Wen"]
+
license: ["ISC" "BSD-3-Clause"]
+
homepage: "https://github.com/koonwen/ocaml-libbpf"
+
doc: "https://koonwen.github.io/ocaml-libbpf"
+
bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues"
+
depends: [
+
"dune" {>= "3.13"}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
+
available: [ os = "linux" ]
+
+
depexts: [
+
["libbpf-dev"] { os-distribution = "ubuntu" & os-version >= "18.04" }
+
["libbpf-dev"] { os-distribution = "debian" & os-version >= "9.0" }
+
["libbpf-devel"] { os-distribution = "fedora" & os-version >= "38" }
+
]
+
url {
+
src:
+
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
+
checksum: [
+
"sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe"
+
"sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5"
+
]
+
}
+
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+51
packages/libbpf/libbpf.0.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Libbpf bindings"
+
description: "Wrapped libbpf api's for writing BPF user programs in OCaml"
+
maintainer: ["Lee Koon Wen"]
+
authors: ["Lee Koon Wen"]
+
license: ["ISC" "BSD-3-Clause"]
+
tags: ["bindings" "bpf" "libbpf"]
+
homepage: "https://github.com/koonwen/ocaml-libbpf"
+
doc: "https://koonwen.github.io/ocaml-libbpf"
+
bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues"
+
depends: [
+
"ocaml" {>= "4.08"}
+
"dune" {>= "3.13"}
+
"ctypes" {>= "0.22.0"}
+
"ppx_deriving"
+
"ppx_expect"
+
"conf-libbpf"
+
"conf-clang"
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
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-distribution = "fedora" & os-version >= "38" )) # Linux 6.2 & Libbpf 1.1.0
+
]
+
url {
+
src:
+
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
+
checksum: [
+
"sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe"
+
"sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5"
+
]
+
}
+
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"
+41
packages/libbpf_maps/libbpf_maps.0.1.0/opam
···
+
opam-version: "2.0"
+
synopsis: "Libbpf maps API"
+
description: "High level API's for interacting with BPF maps in OCaml"
+
maintainer: ["Lee Koon Wen"]
+
authors: ["Lee Koon Wen"]
+
license: ["ISC" "BSD-3-Clause"]
+
tags: ["bindings" "bpf" "libbpf"]
+
homepage: "https://github.com/koonwen/ocaml-libbpf"
+
doc: "https://koonwen.github.io/ocaml-libbpf"
+
bug-reports: "https://github.com/koonwen/ocaml-libbpf/issues"
+
depends: [
+
"dune" {>= "3.13"}
+
"ctypes" {>= "0.22.0"}
+
"ctypes-foreign" {>= "0.22.0"}
+
"ocaml_libbpf" {= version}
+
"odoc" {with-doc}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"dune"
+
"build"
+
"-p"
+
name
+
"-j"
+
jobs
+
"@install"
+
"@runtest" {with-test}
+
"@doc" {with-doc}
+
]
+
]
+
dev-repo: "git+https://github.com/koonwen/ocaml-libbpf.git"
+
url {
+
src:
+
"https://github.com/koonwen/ocaml-libbpf/releases/download/v0.1.0/libbpf-0.1.0.tbz"
+
checksum: [
+
"sha256=c0b543a2628f4c27d2eaaefb1b8c0cc81ef56a2437de44e540770a9a689ab1fe"
+
"sha512=1ff0b508123c131df16cf53ca43681a9d5b2120ffbb7409e264be11ca37ae74057acc7121d9811fb8eeb5ab224a71d11af50498e28fe367d6a21d29011a937e5"
+
]
+
}
+
x-commit-hash: "c7ac4c7ff9f2aa23c374a619990c0bdd78976102"