head 1.17;
access;
symbols
pkgsrc-2017Q4:1.16.0.36
pkgsrc-2017Q4-base:1.16
pkgsrc-2017Q3:1.16.0.34
pkgsrc-2017Q3-base:1.16
pkgsrc-2017Q2:1.16.0.30
pkgsrc-2017Q2-base:1.16
pkgsrc-2017Q1:1.16.0.28
pkgsrc-2017Q1-base:1.16
pkgsrc-2016Q4:1.16.0.26
pkgsrc-2016Q4-base:1.16
pkgsrc-2016Q3:1.16.0.24
pkgsrc-2016Q3-base:1.16
pkgsrc-2016Q2:1.16.0.22
pkgsrc-2016Q2-base:1.16
pkgsrc-2016Q1:1.16.0.20
pkgsrc-2016Q1-base:1.16
pkgsrc-2015Q4:1.16.0.18
pkgsrc-2015Q4-base:1.16
pkgsrc-2015Q3:1.16.0.16
pkgsrc-2015Q3-base:1.16
pkgsrc-2015Q2:1.16.0.14
pkgsrc-2015Q2-base:1.16
pkgsrc-2015Q1:1.16.0.12
pkgsrc-2015Q1-base:1.16
pkgsrc-2014Q4:1.16.0.10
pkgsrc-2014Q4-base:1.16
pkgsrc-2014Q3:1.16.0.8
pkgsrc-2014Q3-base:1.16
pkgsrc-2014Q2:1.16.0.6
pkgsrc-2014Q2-base:1.16
pkgsrc-2014Q1:1.16.0.4
pkgsrc-2014Q1-base:1.16
pkgsrc-2013Q4:1.16.0.2
pkgsrc-2013Q4-base:1.16
pkgsrc-2013Q3:1.15.0.36
pkgsrc-2013Q3-base:1.15
pkgsrc-2013Q2:1.15.0.34
pkgsrc-2013Q2-base:1.15
pkgsrc-2013Q1:1.15.0.32
pkgsrc-2013Q1-base:1.15
pkgsrc-2012Q4:1.15.0.30
pkgsrc-2012Q4-base:1.15
pkgsrc-2012Q3:1.15.0.28
pkgsrc-2012Q3-base:1.15
pkgsrc-2012Q2:1.15.0.26
pkgsrc-2012Q2-base:1.15
pkgsrc-2012Q1:1.15.0.24
pkgsrc-2012Q1-base:1.15
pkgsrc-2011Q4:1.15.0.22
pkgsrc-2011Q4-base:1.15
pkgsrc-2011Q3:1.15.0.20
pkgsrc-2011Q3-base:1.15
pkgsrc-2011Q2:1.15.0.18
pkgsrc-2011Q2-base:1.15
pkgsrc-2011Q1:1.15.0.16
pkgsrc-2011Q1-base:1.15
pkgsrc-2010Q4:1.15.0.14
pkgsrc-2010Q4-base:1.15
pkgsrc-2010Q3:1.15.0.12
pkgsrc-2010Q3-base:1.15
pkgsrc-2010Q2:1.15.0.10
pkgsrc-2010Q2-base:1.15
pkgsrc-2010Q1:1.15.0.8
pkgsrc-2010Q1-base:1.15
pkgsrc-2009Q4:1.15.0.6
pkgsrc-2009Q4-base:1.15
pkgsrc-2009Q3:1.15.0.4
pkgsrc-2009Q3-base:1.15
pkgsrc-2009Q2:1.15.0.2
pkgsrc-2009Q2-base:1.15
pkgsrc-2009Q1:1.14.0.8
pkgsrc-2009Q1-base:1.14
pkgsrc-2008Q4:1.14.0.6
pkgsrc-2008Q4-base:1.14
pkgsrc-2008Q3:1.14.0.4
pkgsrc-2008Q3-base:1.14
cube-native-xorg:1.14.0.2
cube-native-xorg-base:1.14
pkgsrc-2008Q2:1.13.0.4
pkgsrc-2008Q2-base:1.13
cwrapper:1.13.0.2
pkgsrc-2008Q1:1.12.0.2
pkgsrc-2008Q1-base:1.12
pkgsrc-2007Q4:1.10.0.26
pkgsrc-2007Q4-base:1.10
pkgsrc-2007Q3:1.10.0.24
pkgsrc-2007Q3-base:1.10
pkgsrc-2007Q2:1.10.0.22
pkgsrc-2007Q2-base:1.10
pkgsrc-2007Q1:1.10.0.20
pkgsrc-2007Q1-base:1.10
pkgsrc-2006Q4:1.10.0.18
pkgsrc-2006Q4-base:1.10
pkgsrc-2006Q3:1.10.0.16
pkgsrc-2006Q3-base:1.10
pkgsrc-2006Q2:1.10.0.14
pkgsrc-2006Q2-base:1.10
pkgsrc-2006Q1:1.10.0.12
pkgsrc-2006Q1-base:1.10
pkgsrc-2005Q4:1.10.0.10
pkgsrc-2005Q4-base:1.10
pkgsrc-2005Q3:1.10.0.8
pkgsrc-2005Q3-base:1.10
pkgsrc-2005Q2:1.10.0.6
pkgsrc-2005Q2-base:1.10
pkgsrc-2005Q1:1.10.0.4
pkgsrc-2005Q1-base:1.10
pkgsrc-2004Q4:1.10.0.2
pkgsrc-2004Q4-base:1.10
pkgsrc-2004Q3:1.9.0.6
pkgsrc-2004Q3-base:1.9
pkgsrc-2004Q2:1.9.0.4
pkgsrc-2004Q2-base:1.9
pkgsrc-2004Q1:1.9.0.2
pkgsrc-2004Q1-base:1.9
pkgsrc-2003Q4:1.8.0.2
pkgsrc-2003Q4-base:1.8
buildlink2-base:1.7
netbsd-1-3-PATCH003:1.3;
locks; strict;
comment @# @;
1.17
date 2018.01.29.11.32.59; author adam; state dead;
branches;
next 1.16;
commitid x1XUx9f4ZLLboLoA;
1.16
date 2013.10.02.18.06.19; author adam; state Exp;
branches
1.16.36.1;
next 1.15;
commitid 3LuIDHliGtSFlK7x;
1.15
date 2009.06.15.16.53.02; author tron; state Exp;
branches;
next 1.14;
1.14
date 2008.07.13.22.18.23; author tron; state Exp;
branches;
next 1.13;
1.13
date 2008.04.08.11.54.31; author tonnerre; state Exp;
branches;
next 1.12;
1.12
date 2008.03.11.10.16.43; author tron; state Exp;
branches;
next 1.11;
1.11
date 2008.03.09.20.56.57; author bjs; state Exp;
branches;
next 1.10;
1.10
date 2004.10.21.19.54.26; author tv; state Exp;
branches;
next 1.9;
1.9
date 2004.01.20.05.16.42; author grant; state Exp;
branches;
next 1.8;
1.8
date 2003.03.06.20.44.14; author salo; state Exp;
branches;
next 1.7;
1.7
date 2002.03.13.11.42.30; author tron; state dead;
branches;
next 1.6;
1.6
date 2002.03.12.17.35.31; author tron; state Exp;
branches;
next 1.5;
1.5
date 98.11.05.01.42.43; author mycroft; state dead;
branches;
next 1.4;
1.4
date 98.11.05.00.24.38; author mycroft; state Exp;
branches;
next 1.3;
1.3
date 98.08.07.11.10.51; author agc; state Exp;
branches;
next 1.2;
1.2
date 98.07.25.23.42.20; author frueauf; state Exp;
branches;
next 1.1;
1.1
date 98.07.10.06.23.12; author mycroft; state Exp;
branches;
next ;
1.16.36.1
date 2018.03.16.22.06.26; author spz; state dead;
branches;
next ;
commitid l5IPxvfvrc63qJuA;
desc
@@
1.17
log
@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.
@
text
@$NetBSD: patch-ab,v 1.16 2013/10/02 18:06:19 adam Exp $
--- Makefile.in.orig 2013-06-15 23:40:10.000000000 +0000
+++ Makefile.in
@@@@ -65,12 +65,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}
@
1.16
log
@Changes 3.1.0:
OUTPUT CHANGES:
- Output numbers in 3-digit groups by default (e.g. 1,234,567). See the
--human-readable option for a way to turn it off. See also the daemon's
"log format" parameter and related command-line options (including
--out-format) for a modifier that can be used to request digit-grouping
or human-readable output in log escapes. (Note that log output is
unchanged by default.)
- The --list-only option is now affected by the --human-readable setting.
It will display digit groupings by default, and unit suffixes if higher
levels of readability are requested. Also, the column width for the size
output has increased from 11 to 14 characters when human readability is
enabled. Use --no-h to get the old-style output and column size.
- The output of the --progress option has changed: the string "xfer" was
shortened to "xfr", and the string "to-check" was shortened to "to-chk",
both designed to make room for the (by default) wider display of file
size numbers without making the total line-length longer. Also, when
incremental recursion is enabled, the string "ir-chk" will be used
instead of "to-chk" up until the incremental-recursion scan is done,
letting you know that the value to check and the total value will still
be increasing as new files are found.
- Enhanced the --stats output: 1) to mention how many files were created
(protocol >= 28), 2) to mention how many files were deleted (a new line
for protocol 31, but only output when --delete is in effect), and 3) to
follow the file-count, created-count, and deleted-count with a subcount
list that shows the counts by type. The wording of the transferred count
has also changed so that it is clearer that it is only a count of regular
files.
More...
@
text
@d1 1
a1 1
$NetBSD$
@
1.16.36.1
log
@Pullup ticket #5723 - requested by agc
net/rsync: security update
Revisions pulled up:
- net/rsync/Makefile 1.107-1.108
- net/rsync/distinfo 1.47-1.48
- net/rsync/patches/patch-Makefile.in 1.2
- net/rsync/patches/patch-ab deleted
- net/rsync/patches/patch-receiver.c deleted
- net/rsync/patches/patch-rsync.c deleted
- net/rsync/patches/patch-xattrs.c deleted
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: snj
Date: Sat Jan 27 04:21:18 UTC 2018
Modified Files:
pkgsrc/net/rsync: Makefile distinfo
Added Files:
pkgsrc/net/rsync/patches: patch-options.c
Log Message:
Fix CVE-2018-5764.
Bump PKGREVISION to 3.
To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/net/rsync/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/net/rsync/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/rsync/patches/patch-options.c
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: adam
Date: Mon Jan 29 11:32:59 UTC 2018
Modified Files:
pkgsrc/net/rsync: Makefile distinfo
pkgsrc/net/rsync/patches: patch-Makefile.in
Removed Files:
pkgsrc/net/rsync/patches: patch-ab patch-options.c patch-receiver.c
patch-rsync.c patch-xattrs.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 pkgsrc/net/rsync/Makefile
cvs rdiff -u -r1.47 -r1.48 pkgsrc/net/rsync/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/rsync/patches/patch-Makefile.in
cvs rdiff -u -r1.16 -r0 pkgsrc/net/rsync/patches/patch-ab
cvs rdiff -u -r1.1 -r0 pkgsrc/net/rsync/patches/patch-options.c \
pkgsrc/net/rsync/patches/patch-receiver.c \
pkgsrc/net/rsync/patches/patch-rsync.c \
pkgsrc/net/rsync/patches/patch-xattrs.c
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.16 2013/10/02 18:06:19 adam Exp $
@
1.15
log
@Update "rsync" package to version 3.0.6. Changes since version 3.0.5:
- Fixed a --read-batch hang when rsync is reading a batch file that was
created from an incremental-recursion transfer.
- Fixed the daemon's socket code to handle the simultaneous arrival of
multiple connections.
- Fix --safe-links/--copy-unsafe-links to properly handle symlinks that
have consecutive slashes in the value.
- Fixed the parsing of an [IPv6_LITERAL_ADDR] when a USER@@ is prefixed.
- The sender now skips a (bogus) symlink that has a 0-length value, which
avoids a transfer error in the receiver.
- Fixed a case where the sender could die with a tag-0 error if there was
an I/O during the sending of the file list.
- Fixed the rrsync script to avoid a server-side problem when -e is at the
start of the short options.
- Fixed a problem where a vanished directory could turn into an exit code
23 instead of the proper exit code 24.
- Fixed the --iconv conversion of symlinks when doing a local copy.
- Fixed a problem where --one-file-system was not stopping deletions on the
receiving side when a mount-point directory did not match a directory in
the transfer.
- Fixed the dropping of an ACL mask when no named ACL values were present.
- Fixed an ACL/xattr corruption issue where the --backup option could cause
rsync to associate the wrong ACL/xattr information with received files.
- Fixed the use of --xattrs with --only-write-batch.
- Fixed the use of --dry-run with --read-batch.
- Fixed configure's erroneous use of target.
- Fixed configure's --disable-debug option.
- Fixed a run-time issue for systems that can't find iconv_open() by adding
the --disable-iconv-open configure option.
- Complain and die if the user tries to combine --remove-source-files (or
the deprecated --remove-sent-files) with --read-batch.
- Fixed an failure transferring special files from Solaris to Linux.
Approved by Alistair Crooks.
@
text
@d3 4
a6 4
--- Makefile.in.orig 2009-04-11 00:24:49.000000000 +0100
+++ Makefile.in 2009-06-15 13:55:30.000000000 +0100
@@@@ -62,12 +62,9 @@@@
all: Makefile rsync$(EXEEXT) @@MAKE_MAN@@
d9 1
a9 1
- -mkdir -p ${DESTDIR}${bindir}
d11 4
a14 2
- -mkdir -p ${DESTDIR}${mandir}/man1
- -mkdir -p ${DESTDIR}${mandir}/man5
d16 1
a16 2
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
d19 2
a20 2
install-strip:
$(MAKE) INSTALL_STRIP='-s' install
@
1.14
log
@Update "rsync" package to version 3.0.3 Changes since 3.0.2:
Bug Fixes:
- Fixed a wildcard matching problem in the daemon when a module has
"use chroot" enabled.
- Fixed a crash bug in the hard-link code.
- Fixed the sending of xattr directory information when the code finds a
--link-dest or --copy-dest directory with unchanged xattrs -- the
destination directory now gets these unchanged xattrs properly applied.
- Fixed an xattr-sending glitch that could cause an "Internal abbrev"
error.
- Fixed the combination of --xattrs and --backup.
- The generator no longer allows a '.' dir to be excluded by a daemon-
exclude rule.
- Fixed deletion handling when copying a single, empty directory (with no
files) to a differently named, non-existent directory.
- Fixed the conversion of spaces into dashes in the %M log escape.
- Fixed several places in the code that were not returning the right
errno when a function failed.
- Fixed the backing up of a device or special file into a backup dir.
- Moved the setting of the socket options prior to the connect().
- If rsync exits in the middle of a --progress output, it now outputs a
newline to help prevent the progress line from being overwritten.
- Fixed a problem with how a destination path with a trailing slash or
a trailing dot-dir was compared against the daemon excludes.
- Fixed the sending of large (size > 16GB) files when talking to an older
rsync (protocols < 30): we now use a compatible block size limit.
- If a file's length is so huge that we overflow a checksum buffer count
(i.e. several hundred TB), warn the user and avoid sending an invalid
checksum struct over the wire.
- If a source arg is excluded, --relative no longer adds the excluded
arg's implied dirs to the transfer. This fix also made the exclude
check happen in the better place in the sending code.
- Use the overflow_exit() function for overflows, not out_of_memory().
- Improved the code to better handle a system that has only 32-bit file
offsets.
Enhancements:
- The rsyncd.conf manpage now consistently refers to the parameters in
the daemon config file as "parameters".
- The description of the --inplace option was improved.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.13 2008/04/08 11:54:31 tonnerre Exp $
d3 4
a6 4
--- Makefile.in.orig 2008-03-21 06:30:09.000000000 +0000
+++ Makefile.in
@@@@ -62,12 +62,11 @@@@ CHECK_OBJS=tls.o getgroups.o getfsdev.o
all: conf_stop make_stop rsync$(EXEEXT) @@MAKE_MAN@@
d13 2
a14 1
- if test -f rsync.1; then ${INSTALLMAN} -m 644 rsync.1 ${DESTDIR}${mandir}/man1; fi
a15 2
+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
+ if test -f rsync.1; then ${BSD_INSTALL_MAN} rsync.1 ${DESTDIR}${mandir}/man1; fi
a16 2
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rsync
+ ${BSD_INSTALL_DATA} README tech_report.tex ${DESTDIR}${PREFIX}/share/doc/rsync
@
1.13
log
@Update to rsync 3.0.1. Changes between 2.6.9 and 3.0.0 are just too many,
mostly improvements in speed of execution (usually up by around factor 10)
and memory use (the same factor down). Please see
or ${WRKSRC}/CHANGES for more detailed information.
Changes between 3.0.0 and 3.0.1:
- New flag "c" for itemizing non-regular files.
- Fix crash when running rsyncd without --config-file= .
- Fix crash when backing up a directory which has default ACLs.
- Fixed the working of --fake-super with --link-dest and --xattrs.
- Fixed a hang when combining --dry-run with --remove-source-files.
- Fixed a bug with --iconv preventing gobbled file names from causing
transfer failures.
- Fixed the use of the --protect-args (-s) option when talking to a daemon.
- Fixed the --ignore-existing symlink problems.
- Avoid setting the mtime on a directory that already has the right one.
- Improved the daemon-exclude handling.
- Fixed a glitch in the itemizing of permissions with the -E option.
- Various other bugfixes.
- Fixed a couple minor bugs in the included popt library.
- Fixed a stat() call that should have been do_stat() for 64-bit
functionality.
- Changed the file-glob code to do a more memory efficient directory scan.
Approved-by: tron
@
text
@d1 1
a1 1
$NetBSD$
d13 2
a14 2
- if test -f $(srcdir)/rsync.1; then ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
- if test -f $(srcdir)/rsyncd.conf.5; then ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
d16 2
a17 2
+ if test -f $(srcdir)/rsync.1; then ${BSD_INSTALL_MAN} $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
+ if test -f $(srcdir)/rsyncd.conf.5; then ${BSD_INSTALL_MAN} $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
@
1.12
log
@Backout botched "rsync" update.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.10 2004/10/21 19:54:26 tv Exp $
d3 1
a3 1
--- Makefile.in.orig 2004-08-12 14:59:03.000000000 -0400
d5 2
a6 2
@@@@ -59,12 +59,11 @@@@ CHECK_OBJS=getgroups.o getfsdev.o t_stub
all: rsync$(EXEEXT)
d13 2
a14 2
- ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
- ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
d16 2
a17 2
+ ${BSD_INSTALL_MAN} $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
+ ${BSD_INSTALL_MAN} $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
@
1.11
log
@
Update to rsync 3.0.0: Too many changes to list here, so please
see or ${WRKSRC}/CHANGES for more information.
While here:
- Build it with libtool.
- Include buildlink3.mk file for libiconv and change hacks.mk
to set USE_GNU_ICONV=yes instead of including libiconv's b3.mk.
- Added options.mk for inet6 and debug options.
- Added example configuration file (all entries commented out)
@
text
@d1 1
a1 1
$NetBSD$
d3 1
a3 1
--- Makefile.in.orig 2008-02-12 20:29:09.000000000 -0500
d5 2
a6 21
@@@@ -13,6 +13,7 @@@@ CFLAGS=@@CFLAGS@@
CPPFLAGS=@@CPPFLAGS@@
EXEEXT=@@EXEEXT@@
LDFLAGS=@@LDFLAGS@@
+LTCFLAGS?= -prefer-pic
INSTALLCMD=@@INSTALL@@
INSTALLMAN=@@INSTALL@@
@@@@ -54,26 +55,27 @@@@ CHECK_SYMLINKS = testsuite/chown-fake.te
CHECK_OBJS=tls.o getgroups.o getfsdev.o t_stub.o t_unsafe.o trimslash.o wildtest.o
# note that the -I. is needed to handle config.h when using VPATH
+LTOBJ_SAVE= $(OBJ_RESTORE:%.o.sav=%.lo.sav)
+LTOBJ_RESTORE= $(OBJ_SAVE:.o=.lo)
.c.o:
@@OBJ_SAVE@@
- $(CC) -I. -I$(srcdir) $(CFLAGS) $(CPPFLAGS) -c $< @@CC_SHOBJ_FLAG@@
-@@OBJ_RESTORE@@
+ $(LIBTOOL) --mode=compile --tag=CC $(CC) -I. -I$(srcdir) $(CFLAGS) $(LTCFLAGS) $(CPPFLAGS) -c $< -o $(@@:.o=.lo) $(LTOBJ_RESTORE)
all: conf_stop make_stop rsync$(EXEEXT) @@MAKE_MAN@@
d13 7
a19 8
- if test -f $(srcdir)/rsync.1; then ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
- if test -f $(srcdir)/rsyncd.conf.5; then ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${bindir}
+ ${LIBTOOL} --mode=install ${BSD_INSTALL_PROGRAM} ${INSTALL_STRIP} rsync$(EXEEXT) ${DESTDIR}${bindir}
+ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${mandir}/man1
+ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${mandir}/man5
+ if test -f $(srcdir)/rsync.1; then ${BSD_INSTALL_MAN} $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1; fi
+ if test -f $(srcdir)/rsyncd.conf.5; then ${BSD_INSTALL_MAN} $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
a22 55
rsync$(EXEEXT): $(OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(OBJS) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(OBJS:.o=.lo) $(LIBS)
$(OBJS): $(HEADERS)
$(CHECK_OBJS): $(HEADERS)
@@@@ -82,7 +84,7 @@@@ flist.o: rounding.h
rounding.h: rounding.c rsync.h
@@for r in 0 1 3; do \
- if $(CC) $(CFLAGS) $(LDFLAGS) -o rounding -DEXTRA_ROUNDING=$$r -I. $(srcdir)/rounding.c >/dev/null 2>&1; then \
+ if $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o rounding -DEXTRA_ROUNDING=$$r -I. $(srcdir)/rounding.c >/dev/null 2>&1; then \
echo "#define EXTRA_ROUNDING $$r" >rounding.h; \
if test -f "$$HOME/build_farm/build_test.fns"; then \
echo "EXTRA_ROUNDING is $$r" >&2; \
@@@@ -97,21 +99,21 @@@@ rounding.h: rounding.c rsync.h
fi
tls$(EXEEXT): $(TLS_OBJ)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(TLS_OBJ) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(TLS_OBJ:.o=.lo) $(LIBS)
getgroups$(EXEEXT): getgroups.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ getgroups.o $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ getgroups.lo $(LIBS)
getfsdev$(EXEEXT): getfsdev.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ getfsdev.o $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ getfsdev.lo $(LIBS)
TRIMSLASH_OBJ = trimslash.o syscall.o lib/compat.o lib/snprintf.o
trimslash$(EXEEXT): $(TRIMSLASH_OBJ)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(TRIMSLASH_OBJ) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(TRIMSLASH_OBJ:.o=.lo) $(LIBS)
T_UNSAFE_OBJ = t_unsafe.o syscall.o util.o t_stub.o lib/compat.o lib/snprintf.o
t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(T_UNSAFE_OBJ) $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $(T_UNSAFE_OBJ:.o=.lo) $(LIBS)
gen: conf proto.h man
@@@@ -209,9 +211,10 @@@@ check: all $(CHECK_PROGS) $(CHECK_SYMLIN
check29: all $(CHECK_PROGS) $(CHECK_SYMLINKS)
rsync_bin=`pwd`/rsync$(EXEEXT) $(srcdir)/runtests.sh --protocol=29
+LT_BUILD_POPT= $(BUILD_POPT:.o=.lo)
wildtest.o: wildtest.c lib/wildmatch.c rsync.h config.h
wildtest$(EXEEXT): wildtest.o lib/compat.o lib/snprintf.o @@BUILD_POPT@@
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ wildtest.o lib/compat.o lib/snprintf.o @@BUILD_POPT@@ $(LIBS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ wildtest.lo lib/compat.lo lib/snprintf.lo $(LT_BUILD_POPT) $(LIBS)
testsuite/chown-fake.test:
ln -s chown.test $(srcdir)/testsuite/chown-fake.test
@
1.10
log
@NEWS for rsync 2.6.3 (30 Sep 2004)
Protocol: 28 (unchanged)
Changes since 2.6.2:
SECURITY FIXES:
- A bug in the sanitize_path routine (which affects a non-chrooted
rsync daemon) could allow a user to craft a pathname that would get
transformed into an absolute path for certain options (but not for
file-transfer names). If you're running an rsync daemon with chroot
disabled, *please upgrade*, ESPECIALLY if the user privs you run
rsync under is anything above "nobody".
OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
- Please note that the 2-line footer (output when verbose) now uses the
term "sent" instead of "wrote" and "received" instead of "read". If
you are not parsing the numeric values out of this footer, a script
would be better off using the empty line prior to the footer as the
indicator that the verbose output is over.
- The output from the --stats option was similarly affected to change
"written" to "sent" and "read" to "received".
- Rsync ensures that a filename that contains a newline gets mentioned
with each newline transformed into a question mark (which prevents a
filename from causing an empty line to be output).
- The "backed up ..." message that is output when at least 2 --verbose
options are specified is now the same both with and without the
--backup-dir option.
BUG FIXES:
- Fixed a crash bug that might appear when --delete was used and
multiple source directories were specified.
- Fixed a 32-bit truncation of the file length when generating the
checksums.
- The --backup code no longer attempts to create some directories
over and over again (generating warnings along the way).
- Fixed a bug in the reading of the secrets file (by the daemon) and
the password file (by the client): the files no longer need to be
terminated by a newline for their content to be read in.
- If a file has a read error on the sending side or the reconstructed
data doesn't match the expected checksum (perhaps due to the basis
file changing during the transfer), the receiver will no longer
retain the resulting file unless the --partial option was specified.
(Note: for the read-error detection to work, neither side can be
older than 2.6.3 -- older receivers will always retain the file, and
older senders don't tell the receiver that the file had a read
error.)
- If a file gets resent in a single transfer and the --backup option
is enabled, rsync no longer performs a duplicate backup (it used to
overwrite the original file in the backup area).
- Files specified in the daemon's "exclude" or "exclude from" config
items are now excluded from being uploaded (assuming that the module
allows uploading at all) in addition to the old download exclusion.
- Got rid of a potential hang in the receiver when near the end of a
phase.
- When using --backup without a --backup-dir, rsync no longer preserves
the modify time on directories. This avoids confusing NFS.
- When --copy-links (-L) is specified, we now output a separate error
for a symlink that has no referent instead of claiming that a file
"vanished".
- The --copy-links (-L) option no longer has the side-effect of telling
the receiving side to follow symlinks. See the --keep-dirlinks
option (mentioned below) for a way to specify that behavior.
- Error messages from the daemon server's option-parsing (such as
refused options) are now successfully transferred back to the client
(the server used to fail to send the message because the socket
wasn't in the right state for the message to get through).
- Most transfer errors that occur during a daemon transfer are now
returned to the user in addition to being logged (some messages are
intended to be daemon-only and are not affected by this).
- Fixed a bug in the daemon authentication code when using one of the
batch-processing options.
- We try to work around some buggy IPv6 implementations that fail to
implement IPV6_V6ONLY. This should fix the "address in use" error
that some daemons get when running on an OS with a buggy IPv6
implementation. Also, if the new code gets this error, we might
suggest that the user specify --ipv4 or --ipv6 (if we think it will
help).
- When the remote rsync dies, make a better effort to recover any error
messages it may have sent before dying (the local rsync used to just
die with a socket-write error).
- When using --delete and a --backup-dir that contains files that are
hard-linked to their destination equivalents, rsync now makes sure
that removed files really get removed (avoids a really weird rename()
behavior).
- Avoid a bogus run-time complaint about a lack of 64-bit integers when
the int64 type is defined as an off_t and it actually has 64-bits.
- Added a configure check for open64() without mkstemp64() so that we
can avoid using mkstemp() when such a combination is encountered.
This bypasses a problem writing out large temp files on OSes such as
AIX and HP-UX.
- Fixed an age-old crash problem with --read-batch on a local copy
(rsync was improperly assuming --whole-file for the local copy).
- When --dry-run (-n) is used and the destination directory does not
exist, rsync now produces a correct report of files that would be
sent instead of dying with a chdir() error.
- Fixed a bug that could cause a slow-to-connect rsync daemon to die
with an error instead of waiting for the connection to finish.
- Fixed an ssh interaction that could cause output to be lost when the
user chose to combine the output of rsync's stdout and stderr (e.g.
using the "2>&1").
ENHANCEMENTS:
- Added the --partial-dir=DIR option that lets you specify where to
(temporarily) put a partially transferred file (instead of over-
writing the destination file). E.g. --partial-dir=.rsync-partial
Also added support for the RSYNC_PARTIAL_DIR environment variable
that, when found, transforms a regular --partial option (such as
the convenient -P option) into one that also specifies a directory.
- Added --keep-dirlinks (-K), which allows you to symlink a directory
onto another partition on the receiving side and have rsync treat it
as matching a normal directory from the sender.
- Added the --inplace option that tells rsync to write each destination
file without using a temporary file. The matching of existing data
in the destination file can be severely limited by this, but there
are also cases where this is more efficient (such as appending data).
Use only when needed (see the man page for more details).
- Added the "write only" option for the daemon's config file.
- Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
and documented all these options in the man page.
- Improved the handling of the --bwlimit option so that it's less
bursty, more accurate, and works properly over a larger range of
values.
- The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
- Added the --checksum-seed=N option for advanced users.
- Batch writing/reading has a brand-new implementation that is simpler,
fixes a few weird problems with the old code (such as no longer
sprinkling the batch files into different dirs or even onto different
systems), and is much less intrusive into the code (making it easier
to maintain for the future). The new code generates just one data
file instead of three, which makes it possible to read the batch on
stdin via a remote shell. Also, the old requirement of forcing the
same fixed checksum-seed for all batch processing has been removed.
- If an rsync daemon has a module set with "list = no" (which hides its
presence in the list of available modules), a user that fails to
authenticate gets the same "unknown module" error that they would get
if the module were actually unknown (while still logging the real
error to the daemon's log file). This prevents fishing for module
names.
- The daemon's "refuse options" config item now allows you to match
option names using wildcards and/or the single-letter option names.
- Each transferred file now gets its permissions and modified-time
updated before the temp-file gets moved into place. Previously, the
finished file would have a very brief window where its permissions
disallowed all group and world access.
- Added the ability to parse a literal IPv6 address in an "rsync:" URL
(e.g. rsync://[2001:638:500:101::21]:873/module/dir).
- The daemon's wildcard expanding code can now handle more than 1000
filenames (it's now limited by memory instead of having a hard-wired
limit).
INTERNAL:
- Some cleanup in the exclude code has saved some per-exclude memory
and made the code easier to maintain.
- Improved the argv-overflow checking for a remote command that has a
lot of args.
- Use rsyserr() in the various places that were still calling rprintf()
with strerror() as an arg.
- If an rsync daemon is listening on multiple sockets (to handle both
IPv4 and IPv6 to a single port), we now close all the unneeded file
handles after we accept a connection (we used to close just one of
them).
- Optimized the handling of larger block sizes (rsync used to slow to a
crawl if the block size got too large).
- Optimized away a loop in hash_search().
- Some improvements to the sanitize_path() and clean_fname() functions
makes them more efficient and produce better results (while still
being compatible with the file-name cleaning that gets done on both
sides when sending the file-list).
- Got rid of alloc_sanitize_path() after adding a destination-buffer
arg to sanitize_path() made it possible to put all the former's
functionality into the latter.
- The file-list that is output when at least 4 verbose options are
specified reports the uid value on the sender even when rsync is
not running as root (since we might be sending to a root receiver).
BUILD CHANGES:
- Added a "gen" target to rebuild most of the generated files,
including configure, config.h.in, the man pages, and proto.h.
- If "make proto" doesn't find some changes in the prototypes, the
proto.h file is left untouched (its time-stamp used to always be
updated).
- The variable $STRIP (that is optionally set by the install-strip
target's rule) was changed to $INSTALL_STRIP because some systems
have $STRIP already set in the environment.
- Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
- When cross-compiling, the gettimeofday() function is now assumed to
be a modern version that takes two-args (since we can't test it).
DEVELOPER RELATED:
- The scripts in the testsuite dir were cleaned up a bit and a few
new tests added.
- Some new diffs were added to the patches dir, and some accepted
ones were removed.
@
text
@d3 1
a3 1
--- Makefile.in.orig 2004-08-12 14:59:03.000000000 -0400
d5 21
a25 2
@@@@ -59,12 +59,11 @@@@ CHECK_OBJS=getgroups.o getfsdev.o t_stub
all: rsync$(EXEEXT)
d32 8
a39 7
- ${INSTALLMAN} -m 644 $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
- ${INSTALLMAN} -m 644 $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
+ ${BSD_INSTALL_MAN} $(srcdir)/rsync.1 ${DESTDIR}${mandir}/man1
+ ${BSD_INSTALL_MAN} $(srcdir)/rsyncd.conf.5 ${DESTDIR}${mandir}/man5
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/rsync
+ ${BSD_INSTALL_DATA} README tech_report.tex ${DESTDIR}${PREFIX}/share/doc/rsync
d43 55
@
1.9
log
@Updated rsync to 2.6.0.
Major changes since 2.5.7:
* "ssh" is now the default remote shell for rsync. If you want to
change this, configure like this: "./configure --with-rsh=rsh".
* Added --files-from, --no-relative, --no-implied-dirs, and --from0.
Note that --from0 affects the line-ending character for all the
files read by the --*-from options. (Wayne Davison)
* Length of csum2 is now per-file starting with protocol version
27. (J.W. Schultz)
* Per-file dynamic block size is now sqrt(file length). The
per-file checksum size is determined according to an algorithm
provided by Donovan Baarda which reduces the probability of rsync
algorithm corrupting data and falling back using the whole md4
checksums. (J.W. Schultz, Donovan Baarda)
* The --stats option no longer includes the (debug) malloc summary
unless the verbose option was specified at least twice.
* Added a new error/warning code for when files vanish from the
sending side. Made vanished source files not interfere with the
file-deletion pass when --delete-after was specified.
* Various trailing-info sections are now preceded by a newline.
* Many bug-fixes.
Update provided by Min Sik Kim in PR pkg/24146.
@
text
@d3 1
a3 1
--- Makefile.in.orig 2003-07-30 01:12:25.000000000 -0500
d5 2
a6 2
@@@@ -61,12 +61,11 @@@@ all: rsync$(EXEEXT)
man: rsync.1 rsyncd.conf.5
d10 1
a10 1
- ${INSTALLCMD} ${STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir}
d22 1
a22 1
$(MAKE) STRIP='-s' install
@
1.8
log
@Updated to version 2.5.6.
Changes:
- follow PKG_SYSCONFDIR
- fix paths in manpages
- minor cleanups
2.5.6:
======
ENHANCEMENTS:
=============
- The --delete-after option now implies --delete. (Wayne Davison)
- The --suffix option can now be used with --backup-dir. (Michael
Zimmerman)
- Combining "::" syntax with the -rsh/-e option now uses the
specified remote-shell as a transport to talk to a (newly-spawned)
server-daemon. This allows someone to use daemon features, such
as modules, over a secure protocol, such as ssh. (JD Paul)
- The rsync:// syntax for daemon connections is now accepted in the
destination field.
- If the file name given to --include-from or --exclude-from is "-",
rsync will read from standard input. (J.W. Schultz)
- New option --link-dest which is like --compare-dest except that
unchanged files are hard-linked in to the destination directory.
(J.W. Schultz)
- Don't report an error if an excluded file disappears during an
rsync run. (Eugene Chupriyanov and Bo Kersey)
- Added .svn to --cvs-exclude list to support subversion. (Jon
Middleton)
- Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
And "hosts deny" fields. (Hideaki Yoshifuji)
- Changed exclude file handling to permit DOS or MAC style line
terminations. (J.W. Schultz)
- Ignore errors from chmod when -p/-a/--preserve-perms is not set.
(Dave Dykstra)
BUG FIXES:
==========
- Fix "forward name lookup failed" errors on AIX 4.3.3. (John
L. Allen, Martin Pool)
- Generate each file's rolling-checksum data as we send it, not
in a separate (memory-eating) pass before hand. This prevents
timeout errors on really large files. (Stefan Nehlsen)
- Fix compilation on Tru64. (Albert Chin, Zoong Pham)
- Better handling of some client-server errors. (Martin Pool)
- Fixed a crash that would occur when sending a list of files that
contains a duplicate name (if it sorts to the end of the file
list) and using --delete. (Wayne Davison)
- Fixed the file-name duplicate-removal code when dealing with multiple
dups in a row. (Wayne Davison)
- Fixed a bug that caused rsync to lose the exit status of its child
processes and sometimes return an exit code of 0 instead of showing
an error. (David R. Staples, Dave Dykstra)
- Fixed bug in --copy-unsafe-links that caused it to be completely
broken. (Dave Dykstra)
- Prevent infinite recursion in cleanup code under certain circumstances.
(Sviatoslav Sviridov and Marc Espie)
- Fixed a bug that prevented rsync from creating intervening directories
when --relative-paths/-R is set. (Craig Barratt)
- Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
INTERNAL:
=========
- Many code cleanups and improved internal documentation. (Martin
Pool, Nelson Beebe)
- Portability fixes. (Dave Dykstra and Wayne Davison)
- More test cases. (Martin Pool)
- Some test-case fixes. (Brian Poole, Wayne Davison)
- Updated included popt to the latest vendor drop, version 1.6.4.
(Jos Backus)
- Updated config.guess and config.sub to latest versions; this
means rsync should build on more platforms. (Paul Green)
@
text
@d3 3
a5 3
--- Makefile.in.orig 2003-01-20 19:26:14.000000000 +0100
+++ Makefile.in 2003-03-06 20:50:23.000000000 +0100
@@@@ -60,12 +60,11 @@@@
@
1.7
log
@Update "rsync" package to version 2.5.3. Changes since version 2.5.4:
- Additional fix for zlib double-free bug. (Martin Pool, Andrew
Tridgell) (CVE CAN-2002-0059)
- Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
(Note that rsync still uses a custom version of zlib; you can
not just link against a system library. See zlib/README.rsync)
- Additional test cases for --compress. (Martin Pool)
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.6 2002/03/12 17:35:31 tron Exp $
d3 20
a22 26
--- zlib/infblock.c.orig Mon Mar 11 06:55:33 2002
+++ zlib/infblock.c Tue Mar 12 18:31:47 2002
@@@@ -315,7 +315,6 @@@@
t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
s->sub.trees.blens, &bl, &bd, &tl, &td,
s->hufts, z);
- ZFREE(z, s->sub.trees.blens);
if (t != Z_OK)
{
if (t == (uInt)Z_DATA_ERROR)
@@@@ -326,7 +325,6 @@@@
r = t;
LEAVE
}
- ZFREE(z, s->sub.trees.blens);
Tracev((stderr, "inflate: trees ok\n"));
if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL)
{
@@@@ -335,6 +333,7 @@@@
}
s->sub.decode.codes = c;
}
+ ZFREE(z, s->sub.trees.blens);
s->mode = CODES;
case CODES:
UPDATE
@
1.6
log
@Fix a double free error (probably a missmerge) in the include "zlib".
@
text
@d1 1
a1 1
$NetBSD$
@
1.5
log
@Per discussion with the author, these changes were a bad idea.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.4 1998/11/05 00:24:38 mycroft Exp $
d3 26
a28 10
--- configure.in.orig Tue Nov 3 17:00:45 1998
+++ configure.in Wed Nov 4 19:00:51 1998
@@@@ -49,6 +49,7 @@@@
AC_CHECK_FUNCS(mmap munmap waitpid getcwd strdup strerror chown chmod mknod)
AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime)
AC_CHECK_FUNCS(memmove getopt_long lchown vsnprintf snprintf setsid glob strpbrk)
+AC_CHECK_FUNCS(mkstemp)
echo $ac_n "checking for working fnmatch... $ac_c"
AC_TRY_RUN([#include
@
1.4
log
@2.2.0
@
text
@d1 1
a1 1
$NetBSD$
@
1.3
log
@Add NetBSD RCS Ids.
@
text
@d3 3
a5 3
--- configure.in.orig Fri Jul 17 16:46:51 1998
+++ configure.in Sun Jul 26 00:38:05 1998
@@@@ -42,6 +42,7 @@@@
d7 2
a8 2
AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes)
AC_CHECK_FUNCS(memmove getopt_long lchown vsnprintf setsid glob strpbrk)
@
1.2
log
@Update to rsync 2.1.0.
@
text
@d1 2
@
1.1
log
@Use mkstemp(3).
@
text
@d1 2
a2 2
--- configure.in.orig Thu Jun 18 06:30:21 1998
+++ configure.in Sat Jul 4 05:46:36 1998
d6 1
a6 1
AC_CHECK_FUNCS(memmove getopt_long lchown setlinebuf vsnprintf setsid glob strpbrk)
@