summaryrefslogtreecommitdiff
path: root/homebrew/ntopng
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ntopng')
-rw-r--r--homebrew/ntopng/.beer85
-rw-r--r--homebrew/ntopng/.make.sh-auto5
-rw-r--r--homebrew/ntopng/_metadata/description1
-rw-r--r--homebrew/ntopng/_metadata/homepage1
-rw-r--r--homebrew/ntopng/_metadata/name1
-rw-r--r--homebrew/ntopng/_metadata/version1
-rwxr-xr-xhomebrew/ntopng/download.sh1
7 files changed, 95 insertions, 0 deletions
diff --git a/homebrew/ntopng/.beer b/homebrew/ntopng/.beer
new file mode 100644
index 000000000..0e24e1091
--- /dev/null
+++ b/homebrew/ntopng/.beer
@@ -0,0 +1,85 @@
+{
+ "name": "Ntopng",
+ "description": "Next generation version of the original ntop",
+ "url": "https://github.com/ntop/ntopng/archive/3.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.ntop.org/products/traffic-analysis/ntop/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "gnutls",
+ "build-depend": true
+ },
+ {
+ "depend": "json-glib",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "zeromq",
+ "build-depend": true
+ },
+ {
+ "depend": "geoip",
+ "build-depend": false
+ },
+ {
+ "depend": "json-c",
+ "build-depend": false
+ },
+ {
+ "depend": "libmaxminddb",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "mysql-client",
+ "build-depend": false
+ },
+ {
+ "depend": "redis",
+ "build-depend": false
+ },
+ {
+ "depend": "rrdtool",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "nDPI",
+ "url": "https://github.com/ntop/nDPI/archive/2.6.tar.gz"
+ },
+ {
+ "name": "nDPI",
+ "url": "https://github.com/ntop/nDPI.git"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "resource(\"nDPI\").stage do",
+ "system \"./autogen.sh\"",
+ "system \"make\"",
+ "(buildpath/\"nDPI\").install Dir[\"*\"]"
+ ],
+ "version": "3.8",
+ "file": "ntopng.rb"
+} \ No newline at end of file
diff --git a/homebrew/ntopng/.make.sh-auto b/homebrew/ntopng/.make.sh-auto
new file mode 100644
index 000000000..1716140ab
--- /dev/null
+++ b/homebrew/ntopng/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+resource("nDPI").stage do
+./autogen.sh
+make
+(buildpath/"nDPI").install Dir["*"]
diff --git a/homebrew/ntopng/_metadata/description b/homebrew/ntopng/_metadata/description
new file mode 100644
index 000000000..f1ff9616a
--- /dev/null
+++ b/homebrew/ntopng/_metadata/description
@@ -0,0 +1 @@
+Next generation version of the original ntop
diff --git a/homebrew/ntopng/_metadata/homepage b/homebrew/ntopng/_metadata/homepage
new file mode 100644
index 000000000..96417c383
--- /dev/null
+++ b/homebrew/ntopng/_metadata/homepage
@@ -0,0 +1 @@
+https://www.ntop.org/products/traffic-analysis/ntop/
diff --git a/homebrew/ntopng/_metadata/name b/homebrew/ntopng/_metadata/name
new file mode 100644
index 000000000..ee813fc40
--- /dev/null
+++ b/homebrew/ntopng/_metadata/name
@@ -0,0 +1 @@
+Ntopng
diff --git a/homebrew/ntopng/_metadata/version b/homebrew/ntopng/_metadata/version
new file mode 100644
index 000000000..cc1923a40
--- /dev/null
+++ b/homebrew/ntopng/_metadata/version
@@ -0,0 +1 @@
+3.8
diff --git a/homebrew/ntopng/download.sh b/homebrew/ntopng/download.sh
new file mode 100755
index 000000000..881854d1c
--- /dev/null
+++ b/homebrew/ntopng/download.sh
@@ -0,0 +1 @@
+wget https://github.com/ntop/ntopng/archive/3.8.tar.gz \ No newline at end of file