###############################################################################
name = rsync
-version = 3.1.2
-release = 2
+version = 3.2.1
+release = 1
groups = Applications/Internet
url = http://rsync.samba.org/
autoconf
libacl-devel
libattr-devel
+ lz4-devel
+ openssl-devel
popt-devel
zlib-devel
+ zstd-devel
# Testsuite.
%{bindir}/setfacl
configure_options += \
--without-included-popt \
- --without-included-zlib
-
+ --without-included-zlib \
+ --enable-openssl \
+ --enable-zstd \
+ --disable-xxhash
prepare_cmds
# Fix permission issure.
INSTALLMAN="install -p"
install_cmds
-
# Install config file.
mkdir -pv %{BUILDROOT}%{sysconfdir}
# Create directory for pidfile.
mkdir -pv %{BUILDROOT}/run/rsyncd
+
+ # Replace shebanh in rsync-ssl
+ sed -i -e "s@^#!.*@#!/bin/bash@" \
+ %{BUILDROOT}%{bindir}/rsync-ssl
end
end
%{sysconfdir}/rsyncd.conf
end
+ requires
+ # For rsync-ssl
+ %{bindir}/openssl
+ end
+
script postin
systemctl daemon-reload >/dev/null 2>&1 || :
end