summaryrefslogtreecommitdiff
path: root/homebrew/lrzsz
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/lrzsz
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/lrzsz')
-rw-r--r--homebrew/lrzsz/.beer43
-rw-r--r--homebrew/lrzsz/.make.sh-auto6
-rw-r--r--homebrew/lrzsz/_metadata/description1
-rw-r--r--homebrew/lrzsz/_metadata/homepage1
-rw-r--r--homebrew/lrzsz/_metadata/name1
-rw-r--r--homebrew/lrzsz/_metadata/version1
-rwxr-xr-xhomebrew/lrzsz/download.sh1
-rwxr-xr-xhomebrew/lrzsz/patches.sh5
8 files changed, 59 insertions, 0 deletions
diff --git a/homebrew/lrzsz/.beer b/homebrew/lrzsz/.beer
new file mode 100644
index 000000000..ea550f460
--- /dev/null
+++ b/homebrew/lrzsz/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Lrzsz",
+ "description": "Tools for zmodem/xmodem/ymodem file transfer",
+ "url": "https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz",
+ "mirror": "https://dl.bintray.com/homebrew/mirror/lrzsz-0.12.20.tar.gz",
+ "homepage": "https://www.ohse.de/uwe/software/lrzsz.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-man-lsz.diff",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-po-Makefile.in.in.diff",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-src-Makefile.in.diff",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/ed7e89d/comms/lrzsz/files/patch-zglobal.h.diff",
+ "strip": "0"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-CVE-2018-10195.diff",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--mandir=#{man}\",",
+ "\"--disable-nls\"",
+ "system \"make\"",
+ "bin.install \"src/lrz\", \"src/lsz\"",
+ "system \"make\", \"install\"",
+ "bin.install_symlink \"lrz\" => \"rz\", \"lsz\" => \"sz\""
+ ],
+ "version": "0.12.20",
+ "file": "lrzsz.rb"
+} \ No newline at end of file
diff --git a/homebrew/lrzsz/.make.sh-auto b/homebrew/lrzsz/.make.sh-auto
new file mode 100644
index 000000000..68859782d
--- /dev/null
+++ b/homebrew/lrzsz/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-nls
+make
+bin.install "src/lrz", "src/lsz"
+make DESTDIR=${PKG_DEST} install
+bin.install_symlink "lrz" => "rz", "lsz" => "sz"
diff --git a/homebrew/lrzsz/_metadata/description b/homebrew/lrzsz/_metadata/description
new file mode 100644
index 000000000..b92520251
--- /dev/null
+++ b/homebrew/lrzsz/_metadata/description
@@ -0,0 +1 @@
+Tools for zmodem/xmodem/ymodem file transfer
diff --git a/homebrew/lrzsz/_metadata/homepage b/homebrew/lrzsz/_metadata/homepage
new file mode 100644
index 000000000..779568a4b
--- /dev/null
+++ b/homebrew/lrzsz/_metadata/homepage
@@ -0,0 +1 @@
+https://www.ohse.de/uwe/software/lrzsz.html
diff --git a/homebrew/lrzsz/_metadata/name b/homebrew/lrzsz/_metadata/name
new file mode 100644
index 000000000..4c679c1c0
--- /dev/null
+++ b/homebrew/lrzsz/_metadata/name
@@ -0,0 +1 @@
+Lrzsz
diff --git a/homebrew/lrzsz/_metadata/version b/homebrew/lrzsz/_metadata/version
new file mode 100644
index 000000000..c018e4506
--- /dev/null
+++ b/homebrew/lrzsz/_metadata/version
@@ -0,0 +1 @@
+0.12.20
diff --git a/homebrew/lrzsz/download.sh b/homebrew/lrzsz/download.sh
new file mode 100755
index 000000000..997ebdfa0
--- /dev/null
+++ b/homebrew/lrzsz/download.sh
@@ -0,0 +1 @@
+wget https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz || wget https://dl.bintray.com/homebrew/mirror/lrzsz-0.12.20.tar.gz \ No newline at end of file
diff --git a/homebrew/lrzsz/patches.sh b/homebrew/lrzsz/patches.sh
new file mode 100755
index 000000000..9543214e1
--- /dev/null
+++ b/homebrew/lrzsz/patches.sh
@@ -0,0 +1,5 @@
+wget https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-man-lsz.diff
+wget https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-po-Makefile.in.in.diff
+wget https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-src-Makefile.in.diff
+wget https://raw.githubusercontent.com/macports/macports-ports/ed7e89d/comms/lrzsz/files/patch-zglobal.h.diff
+wget https://raw.githubusercontent.com/macports/macports-ports/2319730/comms/lrzsz/files/patch-CVE-2018-10195.diff