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: wiz
Date: Mon Jun 8 05:45:28 UTC 2026
Modified Files:
pkgsrc/net/rsync: Makefile distinfo
pkgsrc/net/rsync/patches: patch-Makefile.in
Log Message:
rsync: update to 3.4.4.
# NEWS for rsync 3.4.4 (8 Jun 2026)
## Changes in this version:
This is a conservative point release that backports regression fixes
on top of 3.4.3. No new features are included.
### BUG FIXES:
- Honour a relative alt-basis directory (e.g. `--link-dest=../sibling`,
`--copy-dest`, `--compare-dest`) on a daemon receiver running with
`use chroot = no`. Such a path is re-anchored at the module root but
was then rejected by the receiver's secure open; it now works where
kernel-enforced confinement is available. See the PORTABILITY note
below for the platform limitation. Fixes #915.
- sender: open a module-root-absolute path for a `path = /` module so a
daemon serving the filesystem root can satisfy absolute request
paths again. Fixes #897.
- flist: accept the missing-args mode-0 entry in recv_file_entry.
Fixes #910.
- receiver: fix a false "failed verification -- update discarded" when
resuming a delta transfer with an absolute `--partial-dir`.
- receiver: fix a NULL dereference on the delta discard path.
- generator: cap the block s2length at the negotiated checksum length.
- main: fix `--mkpath` with `--dry-run` for a file-to-file copy.
Fixes #880.
- daemon: un-backslash escaped option args. Fixes #829.
- token: drain the matched-block insert deflate. Fixes #951.
- Fix the "update skips a file of a different type" case and the
daemon upload delete stats.
- alloc: revert "zero all new memory from allocations". Fixes #959.
- Always clear the stat buffer and validate nanoseconds before use.
### PORTABILITY / BUILD:
- The relative alt-basis fix for daemon receivers (#915) relies on
kernel "stay below dirfd" path resolution -- `openat2(RESOLVE_BENEATH)`
on Linux 5.6+, or `openat()` with `O_RESOLVE_BENEATH` on FreeBSD 13+
and macOS 15+. On platforms that lack it (Solaris, OpenBSD, NetBSD,
Cygwin and older Linux) `secure_relative_open()` deliberately rejects
any path with a `..` component, so relative alt-basis directories
remain unavailable there -- function traded for safety, matching the
trade-off already documented for the #715 fix. Absolute alt-basis
paths are unaffected on every platform.
- openat2 is now autodetected at configure time (HAVE_OPENAT2): the
`openat2(RESOLVE_BENEATH)` resolver is compiled in only when both
`<linux/openat2.h>` and the `SYS_openat2` syscall number are present,
fixing the build on older kernels/headers. Fixes #924, #905, #900,
#904.
- Fall back to do_mknod() when mknodat() / mkfifoat() are unavailable.
Fixes #896.
- Install generated manpages correctly in an out-of-tree build.
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 pkgsrc/net/rsync/Makefile
cvs rdiff -u -r1.66 -r1.67 pkgsrc/net/rsync/distinfo
cvs rdiff -u -r1.6 -r1.7 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.133 pkgsrc/net/rsync/Makefile:1.134
--- pkgsrc/net/rsync/Makefile:1.133 Thu May 21 09:13:07 2026
+++ pkgsrc/net/rsync/Makefile Mon Jun 8 05:45:27 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.133 2026/05/21 09:13:07 adam Exp $
+# $NetBSD: Makefile,v 1.134 2026/06/08 05:45:27 wiz Exp $
-DISTNAME= rsync-3.4.3
+DISTNAME= rsync-3.4.4
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.66 pkgsrc/net/rsync/distinfo:1.67
--- pkgsrc/net/rsync/distinfo:1.66 Thu May 21 09:13:07 2026
+++ pkgsrc/net/rsync/distinfo Mon Jun 8 05:45:27 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.66 2026/05/21 09:13:07 adam Exp $
+$NetBSD: distinfo,v 1.67 2026/06/08 05:45:27 wiz Exp $
-BLAKE2s (rsync-3.4.3.tar.gz) = 555d685bab1140ae36af9ffa20ae2c899daaf4ea6a24e7bb79cdae236bd55539
-SHA512 (rsync-3.4.3.tar.gz) = 1bf2d7cea7a42c9cd070ffaa5e9e029fbce2c18973d8e946f2a6a91c781d2f3ff2449a8ff2431206396caf1f7d9901865f10772c09019d93318e26196160644f
-Size (rsync-3.4.3.tar.gz) = 1216482 bytes
-SHA1 (patch-Makefile.in) = 34c3cc57846e451a0adbd19fcb19ae682b7e1ae3
+BLAKE2s (rsync-3.4.4.tar.gz) = 2a7620bbb021a607d06ae380496e4320fe9328ca750759a2a343ff262cf331ed
+SHA512 (rsync-3.4.4.tar.gz) = cf9a838b1f019b70fd67fa2c293f267be3f24e579c2ea33177ec7afc502c97ce0b613ff0854088c0eb28acd14ee0a75706ae8445115cef4669bd586c505d8453
+Size (rsync-3.4.4.tar.gz) = 1223040 bytes
+SHA1 (patch-Makefile.in) = 701577726bdb3b91c97bba47c6be331505630a72
SHA1 (patch-acls.c) = 9be60c0c1abedc961fa95bba2bb23d802a09bc62
Index: pkgsrc/net/rsync/patches/patch-Makefile.in
diff -u pkgsrc/net/rsync/patches/patch-Makefile.in:1.6 pkgsrc/net/rsync/patches/patch-Makefile.in:1.7
--- pkgsrc/net/rsync/patches/patch-Makefile.in:1.6 Wed Apr 20 20:09:55 2022
+++ pkgsrc/net/rsync/patches/patch-Makefile.in Mon Jun 8 05:45:28 2026
@@ -1,25 +1,38 @@
-$NetBSD: patch-Makefile.in,v 1.6 2022/04/20 20:09:55 wiz Exp $
+$NetBSD: patch-Makefile.in,v 1.7 2026/06/08 05:45:28 wiz Exp $
Fix installation.
---- Makefile.in.orig 2022-03-04 01:00:57.000000000 +0000
+--- Makefile.in.orig 2026-06-07 22:09:11.000000000 +0000
+++ Makefile.in
-@@ -76,13 +76,13 @@ all: Makefile rsync$(EXEEXT) stunnel-rsy
+@@ -79,23 +79,23 @@ install: all
.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)
-+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
-+ ${BSD_INSTALL_SCRIPT} $(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
-+ 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
+ for fn in rsync.1 rsync-ssl.1; do \
+- if test -f $$fn; then $(INSTALLMAN) -m 644 $$fn $(DESTDIR)$(mandir)/man1; \
+- elif test -f $(srcdir)/$$fn; then $(INSTALLMAN) -m 644 $(srcdir)/$$fn $(DESTDIR)$(mandir)/man1; fi; \
++ if test -f $$fn; then $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(mandir)/man1; \
++ elif test -f $(srcdir)/$$fn; then $(BSD_INSTALL_MAN) $(srcdir)/$$fn $(DESTDIR)$(mandir)/man1; fi; \
+ done
+ for fn in rsyncd.conf.5; do \
+- if test -f $$fn; then $(INSTALLMAN) -m 644 $$fn $(DESTDIR)$(mandir)/man5; \
+- elif test -f $(srcdir)/$$fn; then $(INSTALLMAN) -m 644 $(srcdir)/$$fn $(DESTDIR)$(mandir)/man5; fi; \
++ if test -f $$fn; then $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(mandir)/man5; \
++ elif test -f $(srcdir)/$$fn; then $(BSD_INSTALL_MAN) $(srcdir)/$$fn $(DESTDIR)$(mandir)/man5; fi; \
+ done
if test "$(with_rrsync)" = yes; then \
$(INSTALLCMD) -m 755 rrsync $(DESTDIR)$(bindir); \
- if test -f rrsync.1; then $(INSTALLMAN) -m 644 rrsync.1 $(DESTDIR)$(mandir)/man1; fi; \
+ fn=rrsync.1; \
+- if test -f $$fn; then $(INSTALLMAN) -m 644 $$fn $(DESTDIR)$(mandir)/man1; \
+- elif test -f $(srcdir)/$$fn; then $(INSTALLMAN) -m 644 $(srcdir)/$$fn $(DESTDIR)$(mandir)/man1; fi; \
++ if test -f $$fn; then $(BSD_INSTALL_MAN) $$fn $(DESTDIR)$(mandir)/man1; \
++ elif test -f $(srcdir)/$$fn; then $(BSD_INSTALL_MAN) $(srcdir)/$$fn $(DESTDIR)$(mandir)/man1; fi; \
+ fi
+
+ install-ssl-daemon: stunnel-rsyncd.conf
Home |
Main Index |
Thread Index |
Old Index