Skip to content

Commit

Permalink
Ports/rsync: Update rsync to version 3.2.7
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EWouters authored and gmta committed Oct 12, 2023
1 parent 737362e commit c56fe70
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Ports/AvailablePorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
16 changes: 14 additions & 2 deletions Ports/rsync/package.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c56fe70

Please sign in to comment.