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
1 parent
545c1ee
commit 8955e70
Showing
8 changed files
with
50 additions
and
2 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
_build |
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,3 @@ | ||
# v1.0.0 | ||
|
||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# ocaml-conf-netsnmp | ||
OPAM NetSNMP library dependencies | ||
Virtual package relying on net-snmp libs | ||
======================================== | ||
|
||
Virtual package relying on net-snmp system libraries installation. | ||
This package can only install if the net-snmp lib and development packages | ||
are installed on the system. |
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,24 @@ | ||
opam-version: "1.2" | ||
maintainer: "Steve Bleazard <stevebleazard@googlemail.com>" | ||
authors: "Steve Bleazard <stevebleazard@googlemail.com>" | ||
homepage: "https://www.github.com/stevebleazard/ocaml-conf-netsnmp" | ||
bug-reports: "https://www.github.com/stevebleazard/ocaml-conf-netsnmp/issues" | ||
license: "MIT" | ||
dev-repo: "https://www.github.com/stevebleazard/ocaml-conf-netsnmp.git" | ||
|
||
depexts: [ | ||
[["debian"] ["libsnmp-dev"]] | ||
[["ubuntu"] ["libsnmp-dev"]] | ||
[["centos"] ["net-snmp-libs" "net-snmp-devel"]] | ||
[["fedora"] ["net-snmp-libs" "net-snmp-devel"]] | ||
[["opensuse"] ["libsnmp30" "net-snmp-devel"]] | ||
[["alpine"] ["net-snmp-libs" "net-snmp-dev"]] | ||
[["freebsd"] [ ]] | ||
[["openbsd"] [ ]] | ||
] | ||
|
||
build: [ | ||
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include files/test.c"] | ||
] | ||
|
||
available: [ os != "darwin" ] |
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,3 @@ | ||
Virtual package relying on net-snmp system libraries installation. | ||
This package can only install if the net-snmp lib and development packages | ||
are installed on the system. |
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,11 @@ | ||
#include <net-snmp/net-snmp-config.h> | ||
#include <net-snmp/mib_api.h> | ||
|
||
#ifndef NET_SNMP_MIB_API_H | ||
#error "No NetSNMP header" | ||
#endif | ||
|
||
void test(void) | ||
{ | ||
netsnmp_init_mib(); | ||
} |
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 @@ | ||
#use "topfind" | ||
#require "topkg-jbuilder.auto" |