From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/silk/.beer | 43 +++++++++++++++++++++++++++++++++++++ homebrew/silk/.make.sh-auto | 6 ++++++ homebrew/silk/_metadata/description | 1 + homebrew/silk/_metadata/homepage | 1 + homebrew/silk/_metadata/name | 1 + homebrew/silk/_metadata/version | 1 + homebrew/silk/download.sh | 1 + 7 files changed, 54 insertions(+) create mode 100644 homebrew/silk/.beer create mode 100644 homebrew/silk/.make.sh-auto create mode 100644 homebrew/silk/_metadata/description create mode 100644 homebrew/silk/_metadata/homepage create mode 100644 homebrew/silk/_metadata/name create mode 100644 homebrew/silk/_metadata/version create mode 100755 homebrew/silk/download.sh (limited to 'homebrew/silk') 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 -- cgit v1.2.3