]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - rsync/rsync.nm
rsync: Update to 3.2.1
[ipfire-3.x.git] / rsync / rsync.nm
index 05a99f87785c9a9a18e0506202c34d85ad07fdc1..528dcfc0a377bc770a45a8f88af00079eb26dc93 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = rsync
-version    = 3.1.2
-release    = 2
+version    = 3.2.1
+release    = 1
 
 groups     = Applications/Internet
 url        = http://rsync.samba.org/
@@ -30,8 +30,11 @@ build
                autoconf
                libacl-devel
                libattr-devel
+               lz4-devel
+               openssl-devel
                popt-devel
                zlib-devel
+               zstd-devel
 
                # Testsuite.
                %{bindir}/setfacl
@@ -39,8 +42,10 @@ build
 
        configure_options += \
                --without-included-popt \
-               --without-included-zlib
-
+               --without-included-zlib \
+               --enable-openssl \
+               --enable-zstd \
+               --disable-xxhash
 
        prepare_cmds
                # Fix permission issure.
@@ -76,7 +81,6 @@ build
                INSTALLMAN="install -p"
 
        install_cmds
-
                # Install config file.
                mkdir -pv %{BUILDROOT}%{sysconfdir}
 
@@ -85,6 +89,10 @@ build
 
                # 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
@@ -95,6 +103,11 @@ packages
                        %{sysconfdir}/rsyncd.conf
                end
 
+               requires
+                       # For rsync-ssl
+                       %{bindir}/openssl
+               end
+
                script postin
                        systemctl daemon-reload >/dev/null 2>&1 || :
                end