summaryrefslogtreecommitdiff
path: root/homebrew/silk
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/silk')
-rw-r--r--homebrew/silk/.beer43
-rw-r--r--homebrew/silk/.make.sh-auto6
-rw-r--r--homebrew/silk/_metadata/description1
-rw-r--r--homebrew/silk/_metadata/homepage1
-rw-r--r--homebrew/silk/_metadata/name1
-rw-r--r--homebrew/silk/_metadata/version1
-rwxr-xr-xhomebrew/silk/download.sh1
7 files changed, 54 insertions, 0 deletions
diff --git a/homebrew/silk/.beer b/homebrew/silk/.beer
new file mode 100644
index 000000000..182a904dc
--- /dev/null
+++ b/homebrew/silk/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Silk",
+ "description": "Collection of traffic analysis tools",
+ "url": "https://tools.netsa.cert.org/releases/silk-3.17.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://tools.netsa.cert.org/silk/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "glib",
+ "build-depend": false
+ },
+ {
+ "depend": "libfixbuf",
+ "build-depend": false
+ },
+ {
+ "depend": "yaf",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--disable-dependency-tracking",
+ "--mandir=#{man}",
+ "--enable-ipv6",
+ "--enable-data-rootdir=#{var}/silk",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "(var/\"silk\").mkpath"
+ ],
+ "version": "3.17.2",
+ "file": "silk.rb"
+} \ No newline at end of file
diff --git a/homebrew/silk/.make.sh-auto b/homebrew/silk/.make.sh-auto
new file mode 100644
index 000000000..547af1466
--- /dev/null
+++ b/homebrew/silk/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --disable-dependency-tracking --mandir=#{man} --enable-ipv6 --enable-data-rootdir=#{var}/silk ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+(var/"silk").mkpath
diff --git a/homebrew/silk/_metadata/description b/homebrew/silk/_metadata/description
new file mode 100644
index 000000000..b61af1d9e
--- /dev/null
+++ b/homebrew/silk/_metadata/description
@@ -0,0 +1 @@
+Collection of traffic analysis tools
diff --git a/homebrew/silk/_metadata/homepage b/homebrew/silk/_metadata/homepage
new file mode 100644
index 000000000..d9566e8c6
--- /dev/null
+++ b/homebrew/silk/_metadata/homepage
@@ -0,0 +1 @@
+https://tools.netsa.cert.org/silk/
diff --git a/homebrew/silk/_metadata/name b/homebrew/silk/_metadata/name
new file mode 100644
index 000000000..802303efd
--- /dev/null
+++ b/homebrew/silk/_metadata/name
@@ -0,0 +1 @@
+Silk
diff --git a/homebrew/silk/_metadata/version b/homebrew/silk/_metadata/version
new file mode 100644
index 000000000..7290025ec
--- /dev/null
+++ b/homebrew/silk/_metadata/version
@@ -0,0 +1 @@
+3.17.2
diff --git a/homebrew/silk/download.sh b/homebrew/silk/download.sh
new file mode 100755
index 000000000..e482d922d
--- /dev/null
+++ b/homebrew/silk/download.sh
@@ -0,0 +1 @@
+wget https://tools.netsa.cert.org/releases/silk-3.17.2.tar.gz \ No newline at end of file