summaryrefslogtreecommitdiff
path: root/Ports/rsync
diff options
context:
space:
mode:
authorEd Rochenski <edrochenski@bytedown.com>2020-05-01 22:35:01 -0400
committerAndreas Kling <kling@serenityos.org>2020-05-02 14:12:07 +0200
commitca1d11b180a4e992d678a1c39dddd423ca134fe3 (patch)
treed1a90e3d57586991f75732ff9c144cddb421c623 /Ports/rsync
parent861eb8d295bc9fc7093f10b332a058c3db06943b (diff)
downloadserenity-ca1d11b180a4e992d678a1c39dddd423ca134fe3.zip
Ports: Added rsync port
Diffstat (limited to 'Ports/rsync')
-rwxr-xr-xPorts/rsync/package.sh7
-rw-r--r--Ports/rsync/patches/config.sub.diff12
2 files changed, 19 insertions, 0 deletions
diff --git a/Ports/rsync/package.sh b/Ports/rsync/package.sh
new file mode 100755
index 0000000000..9a8c265617
--- /dev/null
+++ b/Ports/rsync/package.sh
@@ -0,0 +1,7 @@
+#!/bin/bash ../.port_include.sh
+port=rsync
+version=3.1.3
+useconfigure="true"
+files="https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz rsync-${version}.tar.gz
+https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz.asc rsync-${version}.tar.gz.asc"
+configopts="--target=i686-pc-serenity" \ No newline at end of file
diff --git a/Ports/rsync/patches/config.sub.diff b/Ports/rsync/patches/config.sub.diff
new file mode 100644
index 0000000000..62f138e3a3
--- /dev/null
+++ b/Ports/rsync/patches/config.sub.diff
@@ -0,0 +1,12 @@
+diff -ru rsync-3.1.3/config.sub rsync-3.1.3-port/config.sub
+--- rsync-3.1.3/config.sub 2013-05-19 18:01:07.000000000 -0400
++++ rsync-3.1.3-port/config.sub 2020-05-01 20:10:00.171268526 -0400
+@@ -1373,7 +1373,7 @@
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
++ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -serenity* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;