summaryrefslogtreecommitdiff
path: root/homebrew/netsnmp
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/netsnmp
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/netsnmp')
-rw-r--r--homebrew/netsnmp/.beer22
-rw-r--r--homebrew/netsnmp/.make.sh-auto3
-rw-r--r--homebrew/netsnmp/_metadata/description1
-rw-r--r--homebrew/netsnmp/_metadata/homepage1
-rw-r--r--homebrew/netsnmp/_metadata/name1
-rw-r--r--homebrew/netsnmp/_metadata/version1
-rwxr-xr-xhomebrew/netsnmp/download.sh1
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/netsnmp/.beer b/homebrew/netsnmp/.beer
new file mode 100644
index 000000000..b46e635b0
--- /dev/null
+++ b/homebrew/netsnmp/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "NetSnmp",
+ "description": "Implements SNMP v1, v2c, and v3, using IPv4 and IPv6",
+ "url": "https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.8/net-snmp-5.8.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.net-snmp.org/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(var/\"db/net-snmp\").mkpath",
+ "(var/\"log\").mkpath"
+ ],
+ "version": "5.8",
+ "file": "net-snmp.rb"
+} \ No newline at end of file
diff --git a/homebrew/netsnmp/.make.sh-auto b/homebrew/netsnmp/.make.sh-auto
new file mode 100644
index 000000000..e8bfb7e06
--- /dev/null
+++ b/homebrew/netsnmp/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+(var/"db/net-snmp").mkpath
+(var/"log").mkpath
diff --git a/homebrew/netsnmp/_metadata/description b/homebrew/netsnmp/_metadata/description
new file mode 100644
index 000000000..a9dd00ea3
--- /dev/null
+++ b/homebrew/netsnmp/_metadata/description
@@ -0,0 +1 @@
+Implements SNMP v1, v2c, and v3, using IPv4 and IPv6
diff --git a/homebrew/netsnmp/_metadata/homepage b/homebrew/netsnmp/_metadata/homepage
new file mode 100644
index 000000000..27933b463
--- /dev/null
+++ b/homebrew/netsnmp/_metadata/homepage
@@ -0,0 +1 @@
+http://www.net-snmp.org/
diff --git a/homebrew/netsnmp/_metadata/name b/homebrew/netsnmp/_metadata/name
new file mode 100644
index 000000000..d9c1115f2
--- /dev/null
+++ b/homebrew/netsnmp/_metadata/name
@@ -0,0 +1 @@
+NetSnmp
diff --git a/homebrew/netsnmp/_metadata/version b/homebrew/netsnmp/_metadata/version
new file mode 100644
index 000000000..3659ea2fa
--- /dev/null
+++ b/homebrew/netsnmp/_metadata/version
@@ -0,0 +1 @@
+5.8
diff --git a/homebrew/netsnmp/download.sh b/homebrew/netsnmp/download.sh
new file mode 100755
index 000000000..4ba1cf749
--- /dev/null
+++ b/homebrew/netsnmp/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.8/net-snmp-5.8.tar.gz \ No newline at end of file