summaryrefslogtreecommitdiff
path: root/homebrew/silk
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/silk
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/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