rsync: Update to 3.2.3

This commit is contained in:
Alexey Pavlov 2020-10-23 22:40:29 +03:00
parent 3b0c554cbd
commit dd9c5b9f9d
2 changed files with 30 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=rsync
pkgver=3.2.2
pkgrel=2
pkgver=3.2.3
pkgrel=1
pkgdesc="A file transfer program to keep remote files in sync"
arch=('i686' 'x86_64')
url="https://rsync.samba.org"
@ -14,8 +14,8 @@ conflicts=('rsync2')
replaces=('rsync2')
source=("https://download.samba.org/pub/rsync/src/${pkgname}-${pkgver}.tar.gz"
rsync-3.2.2-msysize.patch)
sha256sums=('644bd3841779507665211fd7db8359c8a10670c57e305b4aab61b4e40037afa8'
'86445272e3304548d1f943f9bc690ff88282d342e06ee66a0de5a6acf207b9f4')
sha256sums=('becc3c504ceea499f4167a260040ccf4d9f2ef9499ad5683c179a697146ce50e'
'9476f1315136a773682947addedd436e85412423d6599d62faa4d4fe11058735')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -11,19 +11,19 @@ diff -Naur rsync-3.2.2-orig/config.guess rsync-3.2.2/config.guess
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
exit ;;
diff -Naur rsync-3.2.2-orig/configure.ac rsync-3.2.2/configure.ac
--- rsync-3.2.2-orig/configure.ac 2020-06-30 05:53:05.000000000 +0300
+++ rsync-3.2.2/configure.ac 2020-07-20 09:42:53.001137000 +0300
@@ -346,7 +346,7 @@
diff -Naur rsync-3.2.3-orig/configure.ac rsync-3.2.3/configure.ac
--- rsync-3.2.3-orig/configure.ac 2020-07-31 04:33:58.000000000 +0300
+++ rsync-3.2.3/configure.ac 2020-10-23 22:21:35.691531500 +0300
@@ -353,7 +353,7 @@
AS_HELP_STRING([--disable-ipv6],[turn off IPv6 support]))
if test x"$enable_ipv6" != x"no"; then
AC_MSG_CHECKING([ipv6 stack type])
- for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do
+ for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin msys; do
- for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin TANDEM; do
+ for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin msys TANDEM; do
case $i in
inria)
# http://www.kame.net/
@@ -433,7 +433,7 @@
@@ -440,7 +440,7 @@
ipv6libdir=/usr/local/v6/lib;
AC_DEFINE(INET6, 1, [true if you have IPv6])])
;;
@ -32,7 +32,16 @@ diff -Naur rsync-3.2.2-orig/configure.ac rsync-3.2.2/configure.ac
AC_EGREP_CPP(yes, [
#include <netinet/in.h>
#ifdef _CYGWIN_IN6_H
@@ -876,7 +876,7 @@
@@ -479,7 +479,7 @@
AC_MSG_CHECKING([whether to call shutdown on all sockets])
case $host_os in
- *cygwin* ) AC_MSG_RESULT(yes)
+ *cygwin* | *msys*) AC_MSG_RESULT(yes)
AC_DEFINE(SHUTDOWN_ALL_SOCKETS, 1,
[Define to 1 if sockets need to be shutdown])
;;
@@ -909,7 +909,7 @@
if test x"$ac_cv_func_posix_fallocate" = x"yes"; then
AC_MSG_CHECKING([whether posix_fallocate is efficient])
case $host_os in
@ -41,3 +50,12 @@ diff -Naur rsync-3.2.2-orig/configure.ac rsync-3.2.2/configure.ac
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_EFFICIENT_POSIX_FALLOCATE, 1,
[Define if posix_fallocate is efficient (Cygwin)])
@@ -1323,7 +1323,7 @@
AC_MSG_RESULT(no)
else
case "$host_os" in
- *linux*|*netbsd*|*cygwin*)
+ *linux*|*netbsd*|*cygwin*|*msys*)
AC_MSG_RESULT(Using Linux xattrs)
AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)])
AC_DEFINE(SUPPORT_XATTRS, 1)