summaryrefslogtreecommitdiff
path: root/homebrew/ctunnel
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ctunnel')
-rw-r--r--homebrew/ctunnel/.beer24
-rw-r--r--homebrew/ctunnel/.make.sh-auto5
-rw-r--r--homebrew/ctunnel/_metadata/description1
-rw-r--r--homebrew/ctunnel/_metadata/homepage1
-rw-r--r--homebrew/ctunnel/_metadata/name1
-rw-r--r--homebrew/ctunnel/_metadata/version1
-rwxr-xr-xhomebrew/ctunnel/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/ctunnel/.beer b/homebrew/ctunnel/.beer
new file mode 100644
index 000000000..a526348c2
--- /dev/null
+++ b/homebrew/ctunnel/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Ctunnel",
+ "description": "Cryptographic or plain tunnels for TCP/UDP connections",
+ "url": "https://www.alienrobotarmy.com/ctunnel/0.7/ctunnel-0.7.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/alienrobotarmy/ctunnel",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"Makefile.cfg\", \"TUNTAP=yes\", \"TUNTAP=no\"",
+ "system \"make\"",
+ "bin.mkpath",
+ "system \"make\", \"-B\", \"install\", \"PREFIX=#{prefix}\""
+ ],
+ "version": "0.7",
+ "file": "ctunnel.rb"
+} \ No newline at end of file
diff --git a/homebrew/ctunnel/.make.sh-auto b/homebrew/ctunnel/.make.sh-auto
new file mode 100644
index 000000000..8bfd34d63
--- /dev/null
+++ b/homebrew/ctunnel/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "Makefile.cfg", "TUNTAP=yes", "TUNTAP=no"
+make
+bin.mkpath
+make -B DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
diff --git a/homebrew/ctunnel/_metadata/description b/homebrew/ctunnel/_metadata/description
new file mode 100644
index 000000000..e2eac0b11
--- /dev/null
+++ b/homebrew/ctunnel/_metadata/description
@@ -0,0 +1 @@
+Cryptographic or plain tunnels for TCP/UDP connections
diff --git a/homebrew/ctunnel/_metadata/homepage b/homebrew/ctunnel/_metadata/homepage
new file mode 100644
index 000000000..b2efbecfc
--- /dev/null
+++ b/homebrew/ctunnel/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/alienrobotarmy/ctunnel
diff --git a/homebrew/ctunnel/_metadata/name b/homebrew/ctunnel/_metadata/name
new file mode 100644
index 000000000..f09bd33e3
--- /dev/null
+++ b/homebrew/ctunnel/_metadata/name
@@ -0,0 +1 @@
+Ctunnel
diff --git a/homebrew/ctunnel/_metadata/version b/homebrew/ctunnel/_metadata/version
new file mode 100644
index 000000000..eb49d7c7f
--- /dev/null
+++ b/homebrew/ctunnel/_metadata/version
@@ -0,0 +1 @@
+0.7
diff --git a/homebrew/ctunnel/download.sh b/homebrew/ctunnel/download.sh
new file mode 100755
index 000000000..788e59e04
--- /dev/null
+++ b/homebrew/ctunnel/download.sh
@@ -0,0 +1 @@
+wget https://www.alienrobotarmy.com/ctunnel/0.7/ctunnel-0.7.tar.gz \ No newline at end of file