summaryrefslogtreecommitdiff
path: root/homebrew/pwnat
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/pwnat
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/pwnat')
-rw-r--r--homebrew/pwnat/.beer17
-rw-r--r--homebrew/pwnat/.make.sh-auto3
-rw-r--r--homebrew/pwnat/_metadata/description1
-rw-r--r--homebrew/pwnat/_metadata/homepage1
-rw-r--r--homebrew/pwnat/_metadata/name1
-rw-r--r--homebrew/pwnat/_metadata/version1
-rwxr-xr-xhomebrew/pwnat/download.sh1
7 files changed, 25 insertions, 0 deletions
diff --git a/homebrew/pwnat/.beer b/homebrew/pwnat/.beer
new file mode 100644
index 000000000..0c32e46ff
--- /dev/null
+++ b/homebrew/pwnat/.beer
@@ -0,0 +1,17 @@
+{
+ "name": "Pwnat",
+ "description": "Proxy server that works behind a NAT",
+ "url": "https://samy.pl/pwnat/pwnat-0.3-beta.tgz",
+ "mirror": null,
+ "homepage": "https://samy.pl/pwnat/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CC=#{ENV.cc}\", \"CFLAGS=#{ENV.cflags}\", \"LDFLAGS=-lz\"",
+ "bin.install \"pwnat\""
+ ],
+ "version": "0.3",
+ "file": "pwnat.rb"
+} \ No newline at end of file
diff --git a/homebrew/pwnat/.make.sh-auto b/homebrew/pwnat/.make.sh-auto
new file mode 100644
index 000000000..bbc846783
--- /dev/null
+++ b/homebrew/pwnat/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make CC=${PKG_TARG}-clang CFLAGS=${CFLAGS} LDFLAGS=-lz
+bin.install "pwnat"
diff --git a/homebrew/pwnat/_metadata/description b/homebrew/pwnat/_metadata/description
new file mode 100644
index 000000000..78f1eeb52
--- /dev/null
+++ b/homebrew/pwnat/_metadata/description
@@ -0,0 +1 @@
+Proxy server that works behind a NAT
diff --git a/homebrew/pwnat/_metadata/homepage b/homebrew/pwnat/_metadata/homepage
new file mode 100644
index 000000000..68d5db4d8
--- /dev/null
+++ b/homebrew/pwnat/_metadata/homepage
@@ -0,0 +1 @@
+https://samy.pl/pwnat/
diff --git a/homebrew/pwnat/_metadata/name b/homebrew/pwnat/_metadata/name
new file mode 100644
index 000000000..fc2398a17
--- /dev/null
+++ b/homebrew/pwnat/_metadata/name
@@ -0,0 +1 @@
+Pwnat
diff --git a/homebrew/pwnat/_metadata/version b/homebrew/pwnat/_metadata/version
new file mode 100644
index 000000000..be5863417
--- /dev/null
+++ b/homebrew/pwnat/_metadata/version
@@ -0,0 +1 @@
+0.3
diff --git a/homebrew/pwnat/download.sh b/homebrew/pwnat/download.sh
new file mode 100755
index 000000000..a6ac905e2
--- /dev/null
+++ b/homebrew/pwnat/download.sh
@@ -0,0 +1 @@
+wget https://samy.pl/pwnat/pwnat-0.3-beta.tgz \ No newline at end of file