summaryrefslogtreecommitdiff
path: root/homebrew/ucspitcp
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/ucspitcp
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/ucspitcp')
-rw-r--r--homebrew/ucspitcp/.beer27
-rw-r--r--homebrew/ucspitcp/.make.sh-auto8
-rw-r--r--homebrew/ucspitcp/_metadata/description1
-rw-r--r--homebrew/ucspitcp/_metadata/homepage1
-rw-r--r--homebrew/ucspitcp/_metadata/name1
-rw-r--r--homebrew/ucspitcp/_metadata/version1
-rwxr-xr-xhomebrew/ucspitcp/download.sh1
-rwxr-xr-xhomebrew/ucspitcp/patches.sh1
8 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/ucspitcp/.beer b/homebrew/ucspitcp/.beer
new file mode 100644
index 000000000..bfb3191c9
--- /dev/null
+++ b/homebrew/ucspitcp/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "UcspiTcp",
+ "description": "Tools for building TCP client-server applications",
+ "url": "https://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz",
+ "mirror": null,
+ "homepage": "https://cr.yp.to/ucspi-tcp.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/homebrew/patches/2b3e4da/ucspi-tcp/patch-0.88-ipv6.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "(buildpath/\"conf-home\").unlink",
+ "(buildpath/\"conf-home\").write prefix",
+ "system \"make\"",
+ "bin.mkpath",
+ "system \"make\", \"setup\"",
+ "system \"make\", \"check\"",
+ "share.install prefix/\"man\""
+ ],
+ "version": "0.88",
+ "file": "ucspi-tcp.rb"
+} \ No newline at end of file
diff --git a/homebrew/ucspitcp/.make.sh-auto b/homebrew/ucspitcp/.make.sh-auto
new file mode 100644
index 000000000..2de2d9a4a
--- /dev/null
+++ b/homebrew/ucspitcp/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+(buildpath/"conf-home").unlink
+(buildpath/"conf-home").write prefix
+make
+bin.mkpath
+make setup
+make check
+share.install prefix/"man"
diff --git a/homebrew/ucspitcp/_metadata/description b/homebrew/ucspitcp/_metadata/description
new file mode 100644
index 000000000..3a3584d79
--- /dev/null
+++ b/homebrew/ucspitcp/_metadata/description
@@ -0,0 +1 @@
+Tools for building TCP client-server applications
diff --git a/homebrew/ucspitcp/_metadata/homepage b/homebrew/ucspitcp/_metadata/homepage
new file mode 100644
index 000000000..fd9e3cea3
--- /dev/null
+++ b/homebrew/ucspitcp/_metadata/homepage
@@ -0,0 +1 @@
+https://cr.yp.to/ucspi-tcp.html
diff --git a/homebrew/ucspitcp/_metadata/name b/homebrew/ucspitcp/_metadata/name
new file mode 100644
index 000000000..bf19dd8d8
--- /dev/null
+++ b/homebrew/ucspitcp/_metadata/name
@@ -0,0 +1 @@
+UcspiTcp
diff --git a/homebrew/ucspitcp/_metadata/version b/homebrew/ucspitcp/_metadata/version
new file mode 100644
index 000000000..d0d70ba18
--- /dev/null
+++ b/homebrew/ucspitcp/_metadata/version
@@ -0,0 +1 @@
+0.88
diff --git a/homebrew/ucspitcp/download.sh b/homebrew/ucspitcp/download.sh
new file mode 100755
index 000000000..a352ead09
--- /dev/null
+++ b/homebrew/ucspitcp/download.sh
@@ -0,0 +1 @@
+wget https://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz \ No newline at end of file
diff --git a/homebrew/ucspitcp/patches.sh b/homebrew/ucspitcp/patches.sh
new file mode 100755
index 000000000..cf9cc1099
--- /dev/null
+++ b/homebrew/ucspitcp/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/homebrew/patches/2b3e4da/ucspi-tcp/patch-0.88-ipv6.diff