Ports/rsync: Update rsync to version 3.2.7

The openssl and lz4 dependencies have been added for the Clang build,
and have been disabled for the GNU build. The openssl library is not
detected correctly, and the lz4 library doesn't build on the GNU build.
This commit is contained in:
EWouters 2023-09-02 00:44:25 +02:00 committed by Jelle Raaijmakers
parent 737362e566
commit c56fe70d3a
Notes: sideshowbarker 2024-07-17 02:35:27 +09:00
2 changed files with 15 additions and 3 deletions

View file

@ -276,7 +276,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`readline`](readline/) | GNU Readline Library | 8.2 | https://tiswww.case.edu/php/chet/readline/rltop.html |
| [`RetroArch`](RetroArch/) | RetroArch | 1.12.0 | https://www.retroarch.com |
| [`RISCVEmu`](RISCVEmu/) | A Basic C++ RISC-V Emulator | ad8ad6a | https://github.com/IdanHo/RISCVEmu |
| [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ |
| [`rsync`](rsync/) | rsync | 3.2.7 | https://rsync.samba.org/ |
| [`rubberband`](rubberband/) | Rubberband | 3.3.0 | https://breakfastquay.com/rubberband/ |
| [`ruby`](ruby/) | Ruby | 3.2.2 | https://www.ruby-lang.org/ |
| [`rvvm`](rvvm/) | RVVM - The RISC-V Virtual Machine | 0.5 | https://github.com/LekKit/RVVM |

View file

@ -1,11 +1,23 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='rsync'
version='3.1.3'
version='3.2.7'
useconfigure='true'
use_fresh_config_sub='true'
files=(
"https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz#55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
"https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz#4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb"
)
configopts=(
"--target=${SERENITY_ARCH}-pc-serenity"
'--disable-xxhash'
)
if [ "${SERENITY_TOOLCHAIN}" = 'Clang' ]; then
depends=(
'lz4'
'openssl'
)
else
configopts+=(
'--disable-lz4'
'--disable-openssl'
)
fi