summaryrefslogtreecommitdiff
path: root/homebrew/darkstat
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/darkstat')
-rw-r--r--homebrew/darkstat/.beer32
-rw-r--r--homebrew/darkstat/.make.sh-auto3
-rw-r--r--homebrew/darkstat/_metadata/description1
-rw-r--r--homebrew/darkstat/_metadata/homepage1
-rw-r--r--homebrew/darkstat/_metadata/name1
-rw-r--r--homebrew/darkstat/_metadata/version1
-rwxr-xr-xhomebrew/darkstat/download.sh1
-rwxr-xr-xhomebrew/darkstat/patches.sh1
8 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/darkstat/.beer b/homebrew/darkstat/.beer
new file mode 100644
index 000000000..d07257bd9
--- /dev/null
+++ b/homebrew/darkstat/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Darkstat",
+ "description": "Network traffic analyzer",
+ "url": "https://unix4lyfe.org/darkstat/darkstat-3.0.719.tar.bz2",
+ "mirror": null,
+ "homepage": "https://unix4lyfe.org/darkstat/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/442ce4a5/darkstat/clock_gettime.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"autoreconf\", \"-iv\" if build.head?",
+ "system \"./configure\", \"--disable-debug\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.0.719",
+ "file": "darkstat.rb"
+} \ No newline at end of file
diff --git a/homebrew/darkstat/.make.sh-auto b/homebrew/darkstat/.make.sh-auto
new file mode 100644
index 000000000..abf08b27d
--- /dev/null
+++ b/homebrew/darkstat/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/darkstat/_metadata/description b/homebrew/darkstat/_metadata/description
new file mode 100644
index 000000000..b1abe8525
--- /dev/null
+++ b/homebrew/darkstat/_metadata/description
@@ -0,0 +1 @@
+Network traffic analyzer
diff --git a/homebrew/darkstat/_metadata/homepage b/homebrew/darkstat/_metadata/homepage
new file mode 100644
index 000000000..c6010b49f
--- /dev/null
+++ b/homebrew/darkstat/_metadata/homepage
@@ -0,0 +1 @@
+https://unix4lyfe.org/darkstat/
diff --git a/homebrew/darkstat/_metadata/name b/homebrew/darkstat/_metadata/name
new file mode 100644
index 000000000..eeb8ef9b3
--- /dev/null
+++ b/homebrew/darkstat/_metadata/name
@@ -0,0 +1 @@
+Darkstat
diff --git a/homebrew/darkstat/_metadata/version b/homebrew/darkstat/_metadata/version
new file mode 100644
index 000000000..f8a46a116
--- /dev/null
+++ b/homebrew/darkstat/_metadata/version
@@ -0,0 +1 @@
+3.0.719
diff --git a/homebrew/darkstat/download.sh b/homebrew/darkstat/download.sh
new file mode 100755
index 000000000..f06b3c151
--- /dev/null
+++ b/homebrew/darkstat/download.sh
@@ -0,0 +1 @@
+wget https://unix4lyfe.org/darkstat/darkstat-3.0.719.tar.bz2 \ No newline at end of file
diff --git a/homebrew/darkstat/patches.sh b/homebrew/darkstat/patches.sh
new file mode 100755
index 000000000..8f4e7cd3d
--- /dev/null
+++ b/homebrew/darkstat/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/442ce4a5/darkstat/clock_gettime.patch