summaryrefslogtreecommitdiff
path: root/homebrew/fragroute/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/fragroute/.beer')
-rw-r--r--homebrew/fragroute/.beer48
1 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/fragroute/.beer b/homebrew/fragroute/.beer
new file mode 100644
index 000000000..6ec0ebaa6
--- /dev/null
+++ b/homebrew/fragroute/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Fragroute",
+ "description": "Intercepts, modifies and rewrites egress traffic for a specified host",
+ "url": "https://www.monkey.org/~dugsong/fragroute/fragroute-1.2.tar.gz",
+ "mirror": "https://mirrorservice.org/sites/ftp.wiretapped.net/pub/security/packet-construction/fragroute-1.2.tar.gz",
+ "homepage": "https://www.monkey.org/~dugsong/fragroute/",
+ "depends": [
+ {
+ "depend": "libdnet",
+ "build-depend": false
+ },
+ {
+ "depend": "libevent",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/2f5cab626/fragroute/configure.patch",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/2f5cab626/fragroute/fragroute.c.patch",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/2f5cab626/fragroute/pcaputil.c.patch",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--sysconfdir=#{etc}",
+ "--with-libevent=#{Formula[\"libevent\"].opt_prefix}",
+ "--with-libdnet=#{Formula[\"libdnet\"].opt_prefix}",
+ "]",
+ "args << \"--with-libpcap=#{MacOS.sdk_path}/usr\" unless MacOS::CLT.installed?",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.2",
+ "file": "fragroute.rb"
+} \ No newline at end of file