summaryrefslogtreecommitdiff
path: root/net/rsync/patches
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-12-23 19:53:24 +0000
committerryoon <ryoon@pkgsrc.org>2015-12-23 19:53:24 +0000
commite104d657b95fb779198c8f33f48241d4718d1af4 (patch)
tree6da4e6f47b99ceaeae2907c5be55c773a485e12e /net/rsync/patches
parent78aed8ee00f71db11038ec9bf24549d730b8a1ff (diff)
downloadpkgsrc-e104d657b95fb779198c8f33f48241d4718d1af4.tar.gz
Update to 3.1.2
Changelog: NEWS for rsync 3.1.2 (21 Dec 2015) Protocol: 31 (unchanged) Changes since 3.1.1: SECURITY FIXES: - Make sure that all transferred files use only path names from inside the transfer. This makes it impossible for a malicious sender to try to make the receiver use an unsafe destination path for a transferred file, such as a just-sent symlink. BUG FIXES: - Change the checksum seed order in the per-block checksums. This prevents someone from trying to create checksum blocks that match in sum but not content. - Fixed a with the per-dir filter files (using -FF) that could trigger an assert failure. - Only skip set_modtime() on a transferred file if the time is exactly right. - Don't create an empty backup dir for a transferred file that doesn't exist yet. - Fixed a bug where --link-dest and --xattrs could cause rsync to exit if a filename had a matching dir of the same name in the alt-dest area. - Allow more than 32 group IDs per user in the daemon's gid=LIST config. - Fix the logging of %b & %c via --log-file (daemon logging was already correct, as was --out-format='%b/%c'). - Fix erroneous acceptance of --info=5 & --debug=5 (an empty flag name is not valid). ENHANCEMENTS: - Added "(DRY RUN)" info to the --debug=exit output line. - Use usleep() for our msleep() function if it is available. - Added a few extra long-option names to rrsync script, which will make BackupPC happier. - Made configure choose to use linux xattrs on netbsd (rather than not supporting xattrs). - Added -wo (write-only) option to rrsync support script. - Misc. manpage tweaks. DEVELOPER RELATED: - Fixed a bug with the Makefile's use of INSTALL_STRIP. - Improve a test in the suite that could get an erroneous timestamp error. - Tweaks for newer versions of git in the packaging tools. - Improved the m4 generation rules and some autoconf idioms.
Diffstat (limited to 'net/rsync/patches')
-rw-r--r--net/rsync/patches/patch-config.h.in17
-rw-r--r--net/rsync/patches/patch-configure.ac33
-rw-r--r--net/rsync/patches/patch-configure.sh17
3 files changed, 0 insertions, 67 deletions
diff --git a/net/rsync/patches/patch-config.h.in b/net/rsync/patches/patch-config.h.in
deleted file mode 100644
index b67420c6843..00000000000
--- a/net/rsync/patches/patch-config.h.in
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-config.h.in,v 1.1 2015/09/14 14:00:01 manu Exp $
-
-NetBSD extended attribute support, from upstream
-
---- config.h.in.orig 2015-09-03 03:45:23.000000000 +0200
-+++ config.h.in 2015-09-03 03:45:36.000000000 +0200
-@@ -236,9 +236,9 @@
-
- /* Define to 1 if you have the <linux/falloc.h> header file. */
- #undef HAVE_LINUX_FALLOC_H
-
--/* True if you have Linux xattrs */
-+/* True if you have Linux xattrs (or equivalent) */
- #undef HAVE_LINUX_XATTRS
-
- /* Define to 1 if you have the `locale_charset' function. */
- #undef HAVE_LOCALE_CHARSET
diff --git a/net/rsync/patches/patch-configure.ac b/net/rsync/patches/patch-configure.ac
deleted file mode 100644
index d23415a6fba..00000000000
--- a/net/rsync/patches/patch-configure.ac
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.1 2015/09/14 14:00:01 manu Exp $
-
-NetBSD extended attribute support, from upstream
-
-From 1983198097f57cb9c2eb44ae51cbf8c2cabccbe4 Mon Sep 17 00:00:00 2001
-From: Wayne Davison <wayned@samba.org>
-Date: Wed, 2 Sep 2015 12:20:50 -0700
-Subject: [PATCH] Add support for netbsd in xattrs case. Closes bug-suggestion
- 11484.
-
----
- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git configure.ac configure.ac
-index 3aca2a1..0478ba8 100644
---- configure.ac
-+++ configure.ac
-@@ -1022,9 +1022,9 @@ if test x"$enable_xattr_support" = x"no"; then
- AC_MSG_RESULT(no)
- else
- case "$host_os" in
-- *linux*)
-+ *linux*|*netbsd*)
- AC_MSG_RESULT(Using Linux xattrs)
-- AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])
-+ AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs (or equivalent)])
- AC_DEFINE(SUPPORT_XATTRS, 1)
- AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs])
- AC_CHECK_LIB(attr,getxattr)
---
-2.3.2
-
diff --git a/net/rsync/patches/patch-configure.sh b/net/rsync/patches/patch-configure.sh
deleted file mode 100644
index f039a1fe69c..00000000000
--- a/net/rsync/patches/patch-configure.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-configure.sh,v 1.1 2015/09/14 14:00:01 manu Exp $
-
-NetBSD extended attribute support, from upstream
-
---- configure.sh.orig 2015-09-03 03:42:33.000000000 +0200
-+++ configure.sh 2015-09-03 03:44:27.000000000 +0200
-@@ -8867,9 +8867,9 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- $as_echo "no" >&6; }
- else
- case "$host_os" in
-- *linux*)
-+ *linux*|*netbsd*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Linux xattrs" >&5
- $as_echo "Using Linux xattrs" >&6; }
-
- $as_echo "#define HAVE_LINUX_XATTRS 1" >>confdefs.h