-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
65 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*.byte | ||
*.native | ||
*.cma | ||
_build | ||
rawlink.install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## 0.5 (2017-04-16) | ||
|
||
* Convert to topkg | ||
|
||
## 0.4 (2016-12-17) | ||
|
||
* Convert to ppx | ||
|
||
## 0.3 (2015-08-30) | ||
|
||
* Fix fd leak in bpf_open | ||
* Fix linux send function | ||
|
||
## 0.2 (2015-08-28) | ||
|
||
* Fix to bpf_split_buf | ||
|
||
## 0.1 (2015-10-09) | ||
|
||
* Initial release |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
true: debug, bin_annot, strict_sequence | ||
true: package(cstruct), package(cstruct.ppx) | ||
true: package(lwt.unix), package(lwt.ppx), ppopt(-lwt-debug) | ||
true: color(auto), debug, bin_annot, strict_sequence | ||
true: package(cstruct cstruct.ppx lwt.unix lwt.ppx) | ||
true: use_rawlink_stubs | ||
|
||
"lib": include | ||
<*.byte>: linkdep(rawlink_stubs.o), custom | ||
<*.native>: linkdep(rawlink_stubs.o) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Rawlink | ||
Lwt_rawlink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
opam-version: "1.2" | ||
name: "rawlink" | ||
version: "0.4" | ||
maintainer: "Christiano F. Haesbaert <[email protected]>" | ||
authors: "Christiano F. Haesbaert <[email protected]>" | ||
license: "ISC" | ||
homepage: "https://github.com/haesbaert/rawlink" | ||
bug-reports: "https://github.com/haesbaert/rawlink/issues" | ||
license: "ISC" | ||
dev-repo: "https://github.com/haesbaert/rawlink.git" | ||
build: ["sh" "build.sh"] | ||
doc: "https://haesbaert.github.io/rawlink/api" | ||
build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" ] | ||
depends: [ | ||
"ocamlfind" {build} | ||
"topkg" {build} | ||
"lwt" {>= "2.4.7"} | ||
"cstruct" {>= "1.9"} | ||
"ocamlbuild" {build} | ||
] | ||
depexts: [[ ["alpine"] ["linux-headers"] ]] | ||
available: [ocaml-version >= "4.02.3"] | ||
available: [ocaml-version >= "4.03.0"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
version = "0.4" | ||
version = "%%VERSION_NUM%%" | ||
description = "Rawlink is a portable interface to BPF/AF_SOCKET" | ||
requires = "unix lwt.unix lwt cstruct cstruct.ppx" | ||
archive(byte) = "rawlink.cma" | ||
plugin(byte) = "rawlink.cma" | ||
archive(byte, plugin) = "rawlink.cma" | ||
archive(native) = "rawlink.cmxa" | ||
archive(native, plugin) = "rawlink.cmxs" | ||
plugin(native) = "rawlink.cmxs" | ||
exists_if = "rawlink.cma" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env ocaml | ||
#use "topfind" | ||
#require "topkg" | ||
open Topkg | ||
|
||
let () = | ||
let opams = | ||
[ Pkg.opam_file "opam" ~lint_deps_excluding:(Some ["ppx_tools" ; "ppx_sexp_conv"]) ] | ||
in | ||
Pkg.describe ~opams "rawlink" @@ fun _ -> | ||
Ok [ | ||
Pkg.clib "lib/librawlink_stubs.clib"; | ||
Pkg.mllib "lib/rawlink.mllib"; | ||
]; |
This file was deleted.
Oops, something went wrong.