pkgsrc/net/rsync/patches/patch-Makefile.in
adam bf48172028 rsync: updated to 3.1.3
Changes since 3.1.2:

SECURITY FIXES:
  - Fixed a buffer overrun in the protocol's handling of xattr names and
    ensure that the received name is null terminated.
  - Fix an issue with --protect-args where the user could specify the arg in
    the protected-arg list and short-circuit some of the arg-sanitizing code.

BUG FIXES:
  - Don't output about a new backup dir without appropriate info verbosity.
  - Fixed some issues with the sort functions in support/rsyncstats script.
  - Added a way to specify daemon config lists (e.g. users, groups, etc) that
    contain spaces (see "auth users" in the latest rsyncd.conf manpage).
  - If a backup fails (e.g. full disk) rsync exits with an error.
  - Fixed a problem with a doubled --fuzzy option combined with --link-dest.
  - Avoid invalid output in the summary if either the start or end time had
    an error.
  - We don't allow a popt alias to affect the --daemon or --server options.
  - Fix daemon exclude code to disallow attribute changes in addition to
    disallowing transfers.
  - Don't force nanoseconds to match if a non-transferred, non-checksummed
    file only passed the quick-check w/o comparing nanosecods.

ENHANCEMENTS:
  - Added the ability for rsync to compare nanosecond times in its file-check
    comparisons, and added support nanosecond times on Mac OS X.
  - Added a short-option (-@) for --modify-window.
  - Added the --checksum-choice=NAME[,NAME] option to choose the checksum
    algorithms.
  - Added hashing of xattr names (with using -X) to improve the handling of
    files with large numbers of xattrs.
  - Added a way to filter xattr names using include/exclude/filter rules (see
    the --xattrs option in the manpage for details).
  - Added "daemon chroot|uid|gid" to the daemon config (in addition to the
    old chroot|uid|gid settings that affect the daemon's transfer process).
  - Added "syslog tag" to the daemon configuration.
  - Some manpage improvements.

DEVELOPER RELATED:
  - Tweak the "make" output when yodl isn't around to create the man pages.
  - Changed an obsolete autoconf compile macro.
  - Support newer yodl versions when converting man pages.
2018-01-29 11:32:59 +00:00

32 lines
1.4 KiB
Text

$NetBSD: patch-Makefile.in,v 1.2 2018/01/29 11:32:59 adam Exp $
https://bugzilla.samba.org/show_bug.cgi?id=11594
Fix installation.
--- Makefile.in.orig 2016-07-20 15:34:26.000000000 +0000
+++ Makefile.in
@@ -66,12 +66,9 @@ CHECK_OBJS=tls.o testrun.o getgroups.o g
all: Makefile rsync$(EXEEXT) rsync-ssl stunnel-rsync stunnel-rsyncd.conf @MAKE_MAN@
install: all
- -${MKDIR_P} ${DESTDIR}${bindir}
- ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${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 rsyncd.conf.5; then ${INSTALLMAN} -m 644 rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
+ if test -f rsync.1; then ${BSD_INSTALL_MAN} rsync.1 ${DESTDIR}${mandir}/man1; fi
+ if test -f rsyncd.conf.5; then ${BSD_INSTALL_MAN} rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
install-ssl-client: rsync-ssl stunnel-rsync
-${MKDIR_P} ${DESTDIR}${bindir}
@@ -209,7 +206,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
+proto.h-tstamp: $(srcdir)/*.c $(srcdir)/lib/compat.c
perl $(srcdir)/mkproto.pl $(srcdir)/*.c $(srcdir)/lib/compat.c
man: rsync.1 rsyncd.conf.5 man-copy