pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/rsync



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Aug  7 08:33:37 UTC 2020

Modified Files:
        pkgsrc/net/rsync: Makefile distinfo
        pkgsrc/net/rsync/patches: patch-Makefile.in

Log Message:
rsync: updated to 3.2.3

NEWS for rsync 3.2.3

Changes in this version:

BUG FIXES:

Fixed a bug in the xattr code that was freeing the wrong object when trying to cleanup the xattr list.

Fixed a bug in the xattr code that was not leaving room for the "rsync." prefix in some instances where it needed to be added.

Restored the ability to use ‑‑bwlimit=0 to specify no bandwidth limit. (It was accidentally broken in 3.2.2.)

Fix a bug when combining ‑‑delete-missing-args with ‑‑no-implied-dirs & ‑R where rsync might create the destination path of a missing arg. The code also avoids some superfluous warnings for nested 
paths of removed args.

Fixed an issue where hard-linked devices could cause the rdev_major value to get out of sync between the sender and the receiver, which could cause a device to get created with the wrong major value 
in its major,minor pair.

Rsync now complains about a missing ‑‑temp-dir before starting any file transfers.

A completely empty source arg is now a fatal error. This doesn't change the handling of implied dot-dir args such as "localhost:" and such.

ENHANCEMENTS:

Allow ‑‑max-alloc=0 to specify no limit to the alloc sanity check.

Allow ‑‑block-size=SIZE to specify the size using units (e.g. "100K").

The name of the id-0 user & group are now sent to the receiver along with the other user/group names in the transfer (instead of assuming that both sides have the same id-0 names).

Added the ‑‑stop-after=MINS and ‑‑stop-at=DATE_TIME options (with the ‑‑time-limit=MINS option accepted as an alias for ‑‑stop-after). This is an enhanced version of the time-limit patch from the 
patches repo.

Added the name converter daemon parameter to make it easier to convert user & group names inside a chrooted daemon module. This is based on the nameconverter patch with some improvements, including a 
tweak to the request protocol (so if you used this patch in the past, be sure to update your converter script to use newlines instead of null chars).

Added ‑‑crtimes (‑N) option for preserving the file's create time (I believe that this is macOS only at the moment).

Added ‑‑mkpath option to tell rsync that it should create a non-existing path component of the destination arg.

Added ‑‑stderr=errors|all|client to replace the ‑‑msgs2stderr and ‑‑no-msgs2stderr options (which are still accepted). The default use of stderr was changed to be ‑‑stderr=errors where all the 
processes that have stderr available output directly to stderr, which should help error messages get to the user more quickly, especially when doing a push (which includes local copying). This also 
allows rsync to exit quickly when a receiver failure occurs, since rsync doesn't need to try to keep the connection alive long enough for the fatal error to go from the receiver to the generator to 
the sender. The old default can be requested via ‑‑stderr=client. Also changed is that a non-default stderr mode is conveyed to the remote rsync (using the older option names) instead of requiring 
the user to use ‑‑remote-option (‑M) to tell the remote rsync what to do.

Added the ability to specify "@netgroup" names to the hosts allow and hosts deny daemon parameters. This is a finalized version of the netgroup-auth patch from the patches repo.

Rsync can now hard-link symlinks on FreeBSD due to it making ues of the linkat() function when it is available.

Output file+line info on out-of-memory & overflow errors while also avoiding the output of alternate build-dir path info that is not useful to the user.

Change configure to know that Cygwin supports Linux xattrs.

Improved the testsuite on FreeBSD & Cygwin.

Added some compatibility code for HPE NonStop platforms.

Improved the INSTALL.md info.

Added a few more suffixes to the default skip-compress list.

Improved configure's error handling to notify about several issues at once instead of one by one (for the newest optional features).

INTERNAL:

Use a simpler overflow check idiom in a few spots.

Use a C99 Flexible Array for a trailing variable-size filename in a struct (with a fallback to the old 1-char string kluge for older compilers).


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 pkgsrc/net/rsync/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/net/rsync/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/rsync/patches/patch-Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/rsync/Makefile
diff -u pkgsrc/net/rsync/Makefile:1.114 pkgsrc/net/rsync/Makefile:1.115
--- pkgsrc/net/rsync/Makefile:1.114     Tue Jul  7 06:54:03 2020
+++ pkgsrc/net/rsync/Makefile   Fri Aug  7 08:33:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.114 2020/07/07 06:54:03 adam Exp $
+# $NetBSD: Makefile,v 1.115 2020/08/07 08:33:37 adam Exp $
 
-DISTNAME=      rsync-3.2.2
+DISTNAME=      rsync-3.2.3
 CATEGORIES=    net
 MASTER_SITES=  http://rsync.samba.org/ftp/rsync/
 MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/

Index: pkgsrc/net/rsync/distinfo
diff -u pkgsrc/net/rsync/distinfo:1.50 pkgsrc/net/rsync/distinfo:1.51
--- pkgsrc/net/rsync/distinfo:1.50      Tue Jul  7 06:54:03 2020
+++ pkgsrc/net/rsync/distinfo   Fri Aug  7 08:33:37 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.50 2020/07/07 06:54:03 adam Exp $
+$NetBSD: distinfo,v 1.51 2020/08/07 08:33:37 adam Exp $
 
-SHA1 (rsync-3.2.2.tar.gz) = f73d49bcac52016894a29339701d390fe1a9aac9
-RMD160 (rsync-3.2.2.tar.gz) = 0de1f851925437e08d794db341189ead54e36620
-SHA512 (rsync-3.2.2.tar.gz) = 78107cf423e9259a7f7e9bf5527a956b648107aba72ea88b4267ae6334539342501d3c060efbc87235563b0253a12c382c4bb1f73335e68a62ff53aa905f9169
-Size (rsync-3.2.2.tar.gz) = 1057001 bytes
-SHA1 (patch-Makefile.in) = 8c2f80302ad504a40381c4c4e9396a1fd259e13f
+SHA1 (rsync-3.2.3.tar.gz) = 00823f43901e7da39f3f0daf20ec9efae47e959e
+RMD160 (rsync-3.2.3.tar.gz) = 6eea543c7034f1ef4997f72011d4fcdda2a960da
+SHA512 (rsync-3.2.3.tar.gz) = 48b68491f3ef644dbbbfcaec5ab90a1028593e02d50367ce161fd9d3d0bd0a3628bc57c5e5dec4be3a1d213f784f879b8a8fcdfd789ba0f99837cba16e1ae70e
+Size (rsync-3.2.3.tar.gz) = 1069784 bytes
+SHA1 (patch-Makefile.in) = ba65c144ebc47aae943ef0e6255b6d8745beaa09
 SHA1 (patch-authenticate.c) = 39b60b2a0742c8b161c2923f89828bd604aa7e83

Index: pkgsrc/net/rsync/patches/patch-Makefile.in
diff -u pkgsrc/net/rsync/patches/patch-Makefile.in:1.4 pkgsrc/net/rsync/patches/patch-Makefile.in:1.5
--- pkgsrc/net/rsync/patches/patch-Makefile.in:1.4      Tue Jul  7 06:54:03 2020
+++ pkgsrc/net/rsync/patches/patch-Makefile.in  Fri Aug  7 08:33:37 2020
@@ -1,35 +1,26 @@
-$NetBSD: patch-Makefile.in,v 1.4 2020/07/07 06:54:03 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.5 2020/08/07 08:33:37 adam Exp $
 
 https://bugzilla.samba.org/show_bug.cgi?id=11594
 Fix installation.
 
---- Makefile.in.orig   2020-07-01 02:30:28.000000000 +0000
+--- Makefile.in.orig   2020-08-03 19:23:18.000000000 +0000
 +++ Makefile.in
 @@ -73,13 +73,13 @@ all: Makefile rsync$(EXEEXT) stunnel-rsy
  .PHONY: install
  install: all
-       -${MKDIR_P} ${DESTDIR}${bindir}
--      ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir}
--      ${INSTALLCMD} -m 755 $(srcdir)/rsync-ssl ${DESTDIR}${bindir}
+       -$(MKDIR_P) $(DESTDIR)$(bindir)
+-      $(INSTALLCMD) $(INSTALL_STRIP) -m 755 rsync$(EXEEXT) $(DESTDIR)$(bindir)
+-      $(INSTALLCMD) -m 755 $(srcdir)/rsync-ssl $(DESTDIR)$(bindir)
 +      ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
 +      ${BSD_INSTALL_SCRIPT} $(srcdir)/rsync-ssl ${DESTDIR}${bindir}
-       -${MKDIR_P} ${DESTDIR}${mandir}/man1
-       -${MKDIR_P} ${DESTDIR}${mandir}/man5
--      if test -f rsync.1; then ${INSTALLMAN} -m 644 rsync.1 ${DESTDIR}${mandir}/man1; fi
--      if test -f rsync-ssl.1; then ${INSTALLMAN} -m 644 rsync-ssl.1 ${DESTDIR}${mandir}/man1; fi
--      if test -f rsyncd.conf.5; then ${INSTALLMAN} -m 644 rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
+       -$(MKDIR_P) $(DESTDIR)$(mandir)/man1
+       -$(MKDIR_P) $(DESTDIR)$(mandir)/man5
+-      if test -f rsync.1; then $(INSTALLMAN) -m 644 rsync.1 $(DESTDIR)$(mandir)/man1; fi
+-      if test -f rsync-ssl.1; then $(INSTALLMAN) -m 644 rsync-ssl.1 $(DESTDIR)$(mandir)/man1; fi
+-      if test -f rsyncd.conf.5; then $(INSTALLMAN) -m 644 rsyncd.conf.5 $(DESTDIR)$(mandir)/man5; fi
 +      if test -f rsync.1; then ${BSD_INSTALL_MAN} rsync.1 ${DESTDIR}${mandir}/man1; fi
 +      if test -f rsync-ssl.1; then ${BSD_INSTALL_MAN} rsync-ssl.1 ${DESTDIR}${mandir}/man1; fi
 +      if test -f rsyncd.conf.5; then ${BSD_INSTALL_MAN} rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
  
  install-ssl-daemon: stunnel-rsyncd.conf
-       -${MKDIR_P} ${DESTDIR}/etc/stunnel
-@@ -231,7 +231,7 @@ proto: proto.h-tstamp
- proto.h: proto.h-tstamp
-       @if test -f proto.h; then :; else cp -p $(srcdir)/proto.h .; fi
- 
--proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c config.h daemon-parm.h
-+proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c daemon-parm.h
-       $(AWK) -f $(srcdir)/mkproto.awk $(srcdir)/*.c $(srcdir)/lib/compat.c daemon-parm.h
- 
- .PHONY: man
+       -$(MKDIR_P) $(DESTDIR)/etc/stunnel



Home | Main Index | Thread Index | Old Index