summaryrefslogtreecommitdiff
path: root/Ports/rsync
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-01-08 17:02:29 +0330
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-01-16 10:32:50 +0330
commitcdd6d68b2ab56554e5ebcb61f0977534153530f1 (patch)
treea2b3363a79e143bc9b251349c8f72c351add8a71 /Ports/rsync
parent87630c5fd58a3f292f13c06d5a48a7e7835a7aa1 (diff)
downloadserenity-cdd6d68b2ab56554e5ebcb61f0977534153530f1.zip
Ports: Remove some config.sub patches and download a fresh one if needed
All of these patches did the same thing, which is already in upstream config.sub. With this change, we need only add `use_fresh_config_sub=true` to the package.sh file. Note that this is not done automatically in case the port has a modified config.sub file.
Diffstat (limited to 'Ports/rsync')
-rwxr-xr-xPorts/rsync/package.sh1
-rw-r--r--Ports/rsync/patches/config.sub.patch12
2 files changed, 1 insertions, 12 deletions
diff --git a/Ports/rsync/package.sh b/Ports/rsync/package.sh
index 8b9c68210b..7e43ca890d 100755
--- a/Ports/rsync/package.sh
+++ b/Ports/rsync/package.sh
@@ -2,6 +2,7 @@
port=rsync
version=3.1.3
useconfigure="true"
+use_fresh_config_sub="true"
files="https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz rsync-${version}.tar.gz 55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
auth_type=sha256
configopts=("--target=${SERENITY_ARCH}-pc-serenity")
diff --git a/Ports/rsync/patches/config.sub.patch b/Ports/rsync/patches/config.sub.patch
deleted file mode 100644
index 62f138e3a3..0000000000
--- a/Ports/rsync/patches/config.sub.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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.
- ;;