svn commit: r213469 - head/usr.bin/tar

2010-10-05 Thread Tim Kientzle
Author: kientzle Date: Wed Oct 6 04:30:40 2010 New Revision: 213469 URL: http://svn.freebsd.org/changeset/base/213469 Log: Recognize both ! and ^ as markers for negated character classes. Submitted by: Mykola Dzham Modified: head/usr.bin/tar/pathmatch.c Modified: head/usr.bin/tar/pathm

svn commit: r213643 - head/usr.bin/ar

2010-10-08 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 9 05:31:08 2010 New Revision: 213643 URL: http://svn.freebsd.org/changeset/base/213643 Log: Add -D (deterministic) option to ar. When set, it forces all timestamps and owners to zero and modes to 0644. Useful for producing libraries that are bitwise identic

Re: svn commit: r214596 - head/bin/rm

2010-10-31 Thread Tim Kientzle
On Oct 31, 2010, at 9:06 AM, Pawel Jakub Dawidek wrote: > On Sun, Oct 31, 2010 at 09:21:28AM +, Ulrich Spoerlein wrote: >> Author: uqs >> Date: Sun Oct 31 09:21:27 2010 >> New Revision: 214596 >> URL: http://svn.freebsd.org/changeset/base/214596 >> >> Log: >> Elaborate some more on the non-

Re: svn commit: r228750 - head/usr.bin/cpio/test

2011-12-21 Thread Tim Kientzle
On Dec 20, 2011, at 2:27 PM, Martin Matuska wrote: > On 20.12.2011 21:56, John Baldwin wrote: >> On Tuesday, December 20, 2011 3:37:17 pm Martin Matuska wrote: >>> Author: mm >>> Date: Tue Dec 20 20:37:17 2011 >>> New Revision: 228750 >>> URL: http://svn.freebsd.org/changeset/base/228750 >>> >>> L

svn commit: r214822 - head/lib/libarchive

2010-11-04 Thread Tim Kientzle
Author: kientzle Date: Fri Nov 5 05:11:54 2010 New Revision: 214822 URL: http://svn.freebsd.org/changeset/base/214822 Log: Clarify the naming: Methods that free an object should be called "free". Retain the old "finish" names to preserve source compatibility for now. Modified: head/lib

svn commit: r214905 - in head/lib/libarchive: . test

2010-11-06 Thread Tim Kientzle
Author: kientzle Date: Sun Nov 7 03:40:37 2010 New Revision: 214905 URL: http://svn.freebsd.org/changeset/base/214905 Log: If the Zip reader doesn't see a PK signature block because there's inter-entry garbage, just scan forward to find the next one. This allows us to handle a lot of Zip

Re: svn commit: r214905 - in head/lib/libarchive: . test

2010-11-07 Thread Tim Kientzle
On Nov 6, 2010, at 9:09 PM, Anonymous wrote: > Tim Kientzle writes: > >> Author: kientzle >> Date: Sun Nov 7 03:40:37 2010 >> New Revision: 214905 >> URL: http://svn.freebsd.org/changeset/base/214905 >> >> Log: >> If the Zip reader doesn'

svn commit: r215227 - in stable/8/usr.bin/tar: . test

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:43:58 2010 New Revision: 215227 URL: http://svn.freebsd.org/changeset/base/215227 Log: MFC some Makefile tweaks. Modified: stable/8/usr.bin/tar/Makefile stable/8/usr.bin/tar/test/Makefile Directory Properties: stable/8/usr.bin/tar/ (props changed) M

svn commit: r215228 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
c(bsdtar, 0, + bsdtar_warnc(0, "Option %s%s requires an argument", long_prefix, match->name); return ('?'); @@

svn commit: r215229 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:52:45 2010 New Revision: 215229 URL: http://svn.freebsd.org/changeset/base/215229 Log: MFC: Allow -b up to 8192. Folks working with modern high-speed tape drives are routinely using block sizes of 1MB (-b 2048), allowing up to 8192 should allow a littl

svn commit: r215230 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:53:55 2010 New Revision: 215230 URL: http://svn.freebsd.org/changeset/base/215230 Log: MFC minor Makefile reformat. Modified: stable/8/usr.bin/tar/Makefile Directory Properties: stable/8/usr.bin/tar/ (props changed) Modified: stable/8/usr.bin/tar/Make

svn commit: r215231 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:55:56 2010 New Revision: 215231 URL: http://svn.freebsd.org/changeset/base/215231 Log: MFC: reverse an ill-advised experiment trying to emulate a "root user" on Windows. Modified: stable/8/usr.bin/tar/bsdtar.c stable/8/usr.bin/tar/bsdtar_platform.h Dir

svn commit: r215232 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 06:00:27 2010 New Revision: 215232 URL: http://svn.freebsd.org/changeset/base/215232 Log: MFC r203568: Refactor and simplify the SIGINFO/SIGUSR1 handling. Switch to a custom function to format 64-bit ints to avoid the headache of trying to guess printf m

svn commit: r215233 - stable/8/lib/libarchive

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 06:07:39 2010 New Revision: 215233 URL: http://svn.freebsd.org/changeset/base/215233 Log: MFC archive_file_count() utility function. Modified: stable/8/lib/libarchive/Makefile stable/8/lib/libarchive/archive.h stable/8/lib/libarchive/archive_private.h s

svn commit: r216258 - in head/lib/libarchive: . test

2010-12-07 Thread Tim Kientzle
Author: kientzle Date: Tue Dec 7 16:48:01 2010 New Revision: 216258 URL: http://svn.freebsd.org/changeset/base/216258 Log: Don't write data into an empty "file." In particular, this check avoids a warning when extracting directory entries from certain GNU tar archives that store direct

svn commit: r196638 - head/lib/libc/posix1e

2009-08-28 Thread Tim Kientzle
Author: kientzle Date: Sat Aug 29 03:17:24 2009 New Revision: 196638 URL: http://svn.freebsd.org/changeset/base/196638 Log: Style: Remove trailing whitespace. Modified: head/lib/libc/posix1e/acl_support.c Modified: head/lib/libc/posix1e/acl_support.c =

svn commit: r196961 - in head/lib/libarchive: . test

2009-09-07 Thread Tim Kientzle
Author: kientzle Date: Tue Sep 8 04:52:12 2009 New Revision: 196961 URL: http://svn.freebsd.org/changeset/base/196961 Log: Update tests to match r195873, which corrected how hardlinked files on iso9660 images were returned. While I'm poking around, update some comments around this area to

svn commit: r196962 - in head/lib/libarchive: . test

2009-09-07 Thread Tim Kientzle
Author: kientzle Date: Tue Sep 8 05:02:41 2009 New Revision: 196962 URL: http://svn.freebsd.org/changeset/base/196962 Log: Fiz /usr/bin/unzip: A bug deep in libarchive's read-ahead logic (incorrect handling of zero-length reads before the copy buffer is allocated) is masked by the iso9660 t

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Tim Kientzle
Andrey Chernov wrote: On Tue, Sep 08, 2009 at 03:55:13PM +, Roman Divacky wrote: +* Detect whether this is a text file. ... but libarchive +* does not read the central directory, so we have to +* guess ... +*/ + if (a_opt && n == 0) { + f

Re: svn commit: r196981 - head/usr.bin/unzip

2009-09-09 Thread Tim Kientzle
Andrey Chernov wrote: On Wed, Sep 09, 2009 at 08:16:09AM -0700, Tim Kientzle wrote: Since this is only to support -a (which does end-of-line conversions), I would suggest using a rather different set of heuristics that examines end-of-line sequences and control characters only: * Any byte

svn commit: r197266 - in stable/8/lib/libarchive: . test

2009-09-16 Thread Tim Kientzle
Author: kientzle Date: Thu Sep 17 06:31:59 2009 New Revision: 197266 URL: http://svn.freebsd.org/changeset/base/197266 Log: MFC r196962: Fix /usr/bin/unzip: A bug deep in libarchive's read-ahead logic (incorrect handling of zero-length reads before the copy buffer is allocated) is masked by

Re: svn commit: r198768 - head/sbin/mknod

2009-11-01 Thread Tim Kientzle
Kostik Belousov wrote: On Sun, Nov 01, 2009 at 06:25:11PM +, Christian Brueffer wrote: Author: brueffer Date: Sun Nov 1 18:25:11 2009 New Revision: 198768 URL: http://svn.freebsd.org/changeset/base/198768 Log: Refine r198714, it's not as easy as just leaving the major number zero. S

svn commit: r225525 - head/lib/libarchive

2011-09-12 Thread Tim Kientzle
Author: kientzle Date: Tue Sep 13 05:52:34 2011 New Revision: 225525 URL: http://svn.freebsd.org/changeset/base/225525 Log: Fix cpio on ARM. PR: bin/160430 Submitted by: Ian Lepore Approved by: re (Kostik Belousov) MFC after:7 days Modified: head/lib/libarchive/archi

svn commit: r226635 - head/usr.bin/tar

2011-10-22 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 22 16:52:04 2011 New Revision: 226635 URL: http://svn.freebsd.org/changeset/base/226635 Log: Bring in the --gid --gname --uid and --uname implementation from libarchive.googlecode.com. MFC after:3 days Modified: head/usr.bin/tar/bsdtar.c head/usr.bi

svn commit: r226636 - head/usr.bin/tar

2011-10-22 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 22 16:53:29 2011 New Revision: 226636 URL: http://svn.freebsd.org/changeset/base/226636 Log: Typo from previous commit. Urgh. Modified: head/usr.bin/tar/read.c Modified: head/usr.bin/tar/read.c ===

svn commit: r226638 - head/lib/libarchive

2011-10-22 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 22 17:56:24 2011 New Revision: 226638 URL: http://svn.freebsd.org/changeset/base/226638 Log: Correct the spelling of getgrgid and getpwuid in the man page. MFC after:3 days Modified: head/lib/libarchive/archive_read_disk.3 Modified: head/lib/libarchive

svn commit: r226643 - head/lib/libarchive

2011-10-22 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 22 22:22:46 2011 New Revision: 226643 URL: http://svn.freebsd.org/changeset/base/226643 Log: Fix Buildworld WITHOUT_OPENSSL. PR: kern/160922 MFC after:3 days Modified: head/lib/libarchive/archive_hash.h head/lib/libarchive/config_freebsd.h

svn commit: r223541 - head/usr.bin/tar

2011-06-25 Thread Tim Kientzle
Author: kientzle Date: Sat Jun 25 16:27:49 2011 New Revision: 223541 URL: http://svn.freebsd.org/changeset/base/223541 Log: If there is a read error reading Y/N confirmation from the keyboard, exit immediately with an error. If there is an error opening or reading a file to put into the a

svn commit: r223573 - head/usr.bin/tar

2011-06-26 Thread Tim Kientzle
Author: kientzle Date: Sun Jun 26 17:54:11 2011 New Revision: 223573 URL: http://svn.freebsd.org/changeset/base/223573 Log: The --newer-than test should descend into old directories to look for new files. PR: bin/150890 Submitted by: Tobias Herre MFC after:3 weeks Modif

svn commit: r190162 - head/usr.bin/ar

2009-03-20 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 20 17:11:45 2009 New Revision: 190162 URL: http://svn.freebsd.org/changeset/base/190162 Log: Act like ranlib if our name ends in ranlib. In particular, this works with some recent cross-building changes by Warner that install ranlib as, e.g., "arm-freebsd7.1-r

Re: svn commit: r189828 - in head: include sys/sys

2009-03-20 Thread Tim Kientzle
... we'd have to mod apps to do things like remove use of gnu-long-opts in to switch away from things like gtar and the savings is unclear. But I can ask... FYI: bsdtar already supports the most popular GNU tar long options. There should be extremely few ports that actually require GNU tar.

Re: svn commit: r190098 - in head/sys/sparc64: fhc sparc64

2009-03-22 Thread Tim Kientzle
Julian Elischer wrote: Christoph Mallon wrote: Andriy Gapon schrieb: >> compliants about style (9) > agreement and disagreement. basically almost every single committer who comes into the group usually starts up by objecting to one part or another of the style guide. ... The style guide IS o

svn commit: r190516 - stable/7/bin/pax

2009-03-28 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 29 01:00:48 2009 New Revision: 190516 URL: http://svn.freebsd.org/changeset/base/190516 Log: MFC r187976: Restore timestamps on symlinks Before this fix, pax would stop the restore sequence for symlinks after setting the owner. As a result, mode an

svn commit: r190517 - stable/7/usr.bin/tar

2009-03-28 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 29 01:04:13 2009 New Revision: 190517 URL: http://svn.freebsd.org/changeset/base/190517 Log: Merge r188343 from -CURRENT: Unbreak writing shar archives. When copying file data to the archive, don't write more than was read. This seems to have only affe

svn commit: r190699 - head/lib/libarchive

2009-04-04 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 4 20:08:08 2009 New Revision: 190699 URL: http://svn.freebsd.org/changeset/base/190699 Log: Temporary hack to unbreak user/group lookups; use a larger buffer for getpwuid_r/getgrgid_r. This needs to be dynamically sized. Modified: head/lib/libarchive/archiv

svn commit: r190950 - head/share/man/man4

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 11 22:39:38 2009 New Revision: 190950 URL: http://svn.freebsd.org/changeset/base/190950 Log: Any tar program should work here; the explicit reference to bsdtar is misleading. Modified: head/share/man/man4/textdump.4 Modified: head/share/man/man4/textdump.4 ==

svn commit: r190955 - head/lib/libarchive

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 12 04:45:40 2009 New Revision: 190955 URL: http://svn.freebsd.org/changeset/base/190955 Log: Merge r881 from libarchive.googlecode.com: The "empty" format should not be recognized if there is a read error. Modified: head/lib/libarchive/archive_read_support_fo

svn commit: r190956 - head/lib/libarchive

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 12 04:59:11 2009 New Revision: 190956 URL: http://svn.freebsd.org/changeset/base/190956 Log: Merge from libarchive.googlecode.com: r751: Change __archive_strncat() to use a void * source, which reduces the amount of casting needed to use this with "char", "sign

svn commit: r190957 - head/lib/libarchive

2009-04-11 Thread Tim Kientzle
added) +++ head/lib/libarchive/archive_read_disk.3 Sun Apr 12 05:04:02 2009 (r190957) @@ -0,0 +1,308 @@ +.\" Copyright (c) 2003-2009 Tim Kientzle +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modificatio

svn commit: r190959 - in head/lib/libarchive: . test

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 12 05:33:34 2009 New Revision: 190959 URL: http://svn.freebsd.org/changeset/base/190959 Log: Merge from libarchive.googlecode.com: Mostly a bunch of corrections to the Windows support to reconcile differences between Visual Studio and Cygwin. Includes parts o

svn commit: r190960 - head/lib/libarchive

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 12 05:38:35 2009 New Revision: 190960 URL: http://svn.freebsd.org/changeset/base/190960 Log: Thanks to Christoph Mallon for pointing out the dead variable here. Also, rework this a little to make the logic excruciatingly clear. Modified: head/lib/libarchive/ar

svn commit: r190961 - in head/lib/libarchive: . test

2009-04-11 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 12 05:47:23 2009 New Revision: 190961 URL: http://svn.freebsd.org/changeset/base/190961 Log: Merge from libarchive.googlecode.com r791, r879, r884, r948: Various fixes to read_support_compression_program. In particular, failure of the external program is detec

svn commit: r191008 - head/lib/libarchive

2009-04-13 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 13 18:56:53 2009 New Revision: 191008 URL: http://svn.freebsd.org/changeset/base/191008 Log: Re-enable backing up extended attributes, as the ZFS bug this triggered seems to have been fixed by John Baldwin's commit r189967. Modified: head/lib/libarchive/conf

Re: svn commit: r189967 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-04-13 Thread Tim Kientzle
John Baldwin wrote: On Wednesday 18 March 2009 12:19:44 pm John Baldwin wrote: Author: jhb Date: Wed Mar 18 16:19:44 2009 New Revision: 189967 URL: http://svn.freebsd.org/changeset/base/189967 Log: The zfs_get_xattrdir() function is used to find the extended attribute directory for a znode.

Re: svn commit: r191055 - head/lib/libc/string

2009-04-14 Thread Tim Kientzle
Edward Tomasz Napierala wrote: Author: trasz Date: Tue Apr 14 11:39:56 2009 New Revision: 191055 URL: http://svn.freebsd.org/changeset/base/191055 Log: There is no way for strmode(3) to append '+' if the file has ACL, because there is no way to figure that out based on the file mode itself

Re: svn commit: r191055 - head/lib/libc/string

2009-04-14 Thread Tim Kientzle
Robert Watson wrote: On Tue, 14 Apr 2009, Tim Kientzle wrote: A related issue: It would be really nice to be able to find out whether a file had extended ACLs or extended attributes based on the information returned from stat(2). Kirk, Poul-Henning, and I discussed precisely this during the

Re: svn commit: r191055 - head/lib/libc/string

2009-04-15 Thread Tim Kientzle
Edward Tomasz Napierala wrote: On 0414T1115, Tim Kientzle wrote: There is no way for strmode(3) to append '+' if the file has ACL, because there is no way to figure that out based on the file mode itself. Make the manual page match reality. Yep, that '+' is why lib

svn commit: r191165 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:39:35 2009 New Revision: 191165 URL: http://svn.freebsd.org/changeset/base/191165 Log: Merge from libarchive.googlecode.com: If we're given an empty filename, just invoke write_open_fd() instead of re-implementing the code to use stdout. Modified: hea

svn commit: r191166 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:42:45 2009 New Revision: 191166 URL: http://svn.freebsd.org/changeset/base/191166 Log: Merge from libarchive.googlecode.com: Numerous fixes to the write options handling, including documentation. Modified: head/lib/libarchive/archive_write.3 head/lib/

svn commit: r191167 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:44:03 2009 New Revision: 191167 URL: http://svn.freebsd.org/changeset/base/191167 Log: Fix a minor memory leak. Modified: head/lib/libarchive/archive_write_disk.c Modified: head/lib/libarchive/archive_write_disk.c =

svn commit: r191168 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:44:47 2009 New Revision: 191168 URL: http://svn.freebsd.org/changeset/base/191168 Log: Use thread-safe getgrnam_r() and getpwnam_r(); dynamically size the buffer used by this. Modified: head/lib/libarchive/archive_write_disk_set_standard_lookup.c Modifi

svn commit: r191169 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:45:47 2009 New Revision: 191169 URL: http://svn.freebsd.org/changeset/base/191169 Log: Properly clone and free the recently-added "sourcepath" field. Modified: head/lib/libarchive/archive_entry.c Modified: head/lib/libarchive/archive_entry.c =

svn commit: r191170 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:47:16 2009 New Revision: 191170 URL: http://svn.freebsd.org/changeset/base/191170 Log: Accept empty options, add a new read_next_header2() which is more efficient for some uses. Modified: head/lib/libarchive/archive_read.c Modified: head/lib/libarchive/

svn commit: r191171 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:50:00 2009 New Revision: 191171 URL: http://svn.freebsd.org/changeset/base/191171 Log: Don't use the open callback, which is deprecated (because it's never necessary). Also, simplify just a tad by delegating to read_open_fd() when we know the file descri

svn commit: r191172 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
00:00:00 1970 (empty, because file is newly added) +++ head/lib/libarchive/archive_read_support_compression_xz.c Fri Apr 17 00:54:35 2009(r191172) @@ -0,0 +1,642 @@ +/*- + * Copyright (c) 2009 Michihiro NAKAJIMA + * Copyright (c) 2003-2008 Tim Kientzle and Miklos Vajna + * All r

svn commit: r191173 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:55:52 2009 New Revision: 191173 URL: http://svn.freebsd.org/changeset/base/191173 Log: Implement command-line fallbacks for gzip and bzip2 decompression as well. Not an issue for FreeBSD, since the base system has the necessary libraries. Since all decomp

svn commit: r191174 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:57:11 2009 New Revision: 191174 URL: http://svn.freebsd.org/changeset/base/191174 Log: Minor fix: some platforms require both inttypes.h and stdint.h. Modified: head/lib/libarchive/archive_platform.h Modified: head/lib/libarchive/archive_platform.h ==

svn commit: r191175 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:58:44 2009 New Revision: 191175 URL: http://svn.freebsd.org/changeset/base/191175 Log: LZW bugfix: when we hit end-of-file, return an invalid code. Modified: head/lib/libarchive/archive_read_support_compression_compress.c Modified: head/lib/libarchive/ar

svn commit: r191176 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 00:59:34 2009 New Revision: 191176 URL: http://svn.freebsd.org/changeset/base/191176 Log: When pulling metadata from disk, lookup the user and group name at the same time. Modified: head/lib/libarchive/archive_read_disk_entry_from_file.c Modified: head/lib/

svn commit: r191177 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:00:11 2009 New Revision: 191177 URL: http://svn.freebsd.org/changeset/base/191177 Log: Don't match an empty file on a read error. Modified: head/lib/libarchive/archive_read_support_format_empty.c Modified: head/lib/libarchive/archive_read_support_format_e

svn commit: r191178 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:01:15 2009 New Revision: 191178 URL: http://svn.freebsd.org/changeset/base/191178 Log: Dynamically size the buffer we pass to getgrgid_r() and getpwuid_r(). Keep the buffer in the cache object so we don't have to keep doing this. Modified: head/lib/libar

svn commit: r191179 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:02:12 2009 New Revision: 191179 URL: http://svn.freebsd.org/changeset/base/191179 Log: Document the new read options interface and the new read_header2() call. Modified: head/lib/libarchive/archive_read.3 Modified: head/lib/libarchive/archive_read.3 =

svn commit: r191180 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:02:56 2009 New Revision: 191180 URL: http://svn.freebsd.org/changeset/base/191180 Log: Fix a memory leak: Release the current list of /set keywords even when we exit on an error. Modified: head/lib/libarchive/archive_read_support_format_mtree.c Modifie

svn commit: r191182 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:04:23 2009 New Revision: 191182 URL: http://svn.freebsd.org/changeset/base/191182 Log: FreeBSD has a lot of crypto functions used by the recent mtree writer updates. Modified: head/lib/libarchive/config_freebsd.h Modified: head/lib/libarchive/config_freeb

svn commit: r191181 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:03:52 2009 New Revision: 191181 URL: http://svn.freebsd.org/changeset/base/191181 Log: Ensure that the option setters return OK (option used) even for options that don't change the list of keywords. Modified: head/lib/libarchive/archive_write_set_format_

svn commit: r191183 - head/lib/libarchive/test

2009-04-16 Thread Tim Kientzle
uot;, i, n[i], name); - assertEqualIntA(a, ARCHIVE_OK, r); + assertEqualIntA(a, ARCHIVE_OK, + archive_read_next_header(a, &ae)); if (r != ARCHIVE_OK) { archive_read_finish(a); return; @@

svn commit: r191184 - head/lib/libarchive

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 01:07:37 2009 New Revision: 191184 URL: http://svn.freebsd.org/changeset/base/191184 Log: Publicize a handful of new functions and bump the version number to indicate that this is synchronized with the recent libarchive 2.7.0 release. Modified: head/lib/l

svn commit: r191187 - in head/usr.bin/tar: . test

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:36:07 2009 New Revision: 191187 URL: http://svn.freebsd.org/changeset/base/191187 Log: Merge from libarchive.googlecode.com: Numerous Windows-specific build tweaks. Modified: head/usr.bin/tar/bsdtar_platform.h head/usr.bin/tar/test/main.c head/usr.bin/

svn commit: r191188 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:37:09 2009 New Revision: 191188 URL: http://svn.freebsd.org/changeset/base/191188 Log: Minor portability improvement in calls to ctype.h macros. Modified: head/usr.bin/tar/util.c Modified: head/usr.bin/tar/util.c ==

svn commit: r191189 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:40:40 2009 New Revision: 191189 URL: http://svn.freebsd.org/changeset/base/191189 Log: Set options before opening the archive. Catch and report close-time errors. Modified: head/usr.bin/tar/read.c Modified: head/usr.bin/tar/read.c ==

svn commit: r191190 - head/usr.bin/tar

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 03:45:15 2009 New Revision: 191190 URL: http://svn.freebsd.org/changeset/base/191190 Log: Merge remaining changes from libarchive.googlecode.com: * Add xz and lzma compression options * Rename --format-options to simply --options * Add --same-owner for

svn commit: r191192 - in head/usr.bin/cpio: . test

2009-04-16 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 04:04:57 2009 New Revision: 191192 URL: http://svn.freebsd.org/changeset/base/191192 Log: Merge from libarchive.googlecode.com: * Lots of new tests. * New -n / --numeric-uid-gid option * More sanity-checking of arguments * Various Windows portability

svn commit: r191196 - head/lib/libarchive

2009-04-17 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 07:28:49 2009 New Revision: 191196 URL: http://svn.freebsd.org/changeset/base/191196 Log: Disabling the crypto bits should quiet tinderbox while I track down the library dependencies that are screwing up the /rescue build. Modified: head/lib/libarchive/conf

svn commit: r191227 - head/rescue/rescue

2009-04-17 Thread Tim Kientzle
Author: kientzle Date: Fri Apr 17 22:20:44 2009 New Revision: 191227 URL: http://svn.freebsd.org/changeset/base/191227 Log: *** empty log message *** Modified: head/rescue/rescue/Makefile Modified: head/rescue/rescue/Makefile ==

Re: svn commit: r191227 - head/rescue/rescue

2009-04-17 Thread Tim Kientzle
Tim Kientzle wrote: Author: kientzle Date: Fri Apr 17 22:20:44 2009 New Revision: 191227 URL: http://svn.freebsd.org/changeset/base/191227 Log: *** empty log message *** Fat-fingered that one. Of course, that should read: Log: Style fix; strip a few trailing spaces. Pointy hat to me

svn commit: r191235 - head/lib/libarchive

2009-04-18 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 18 03:47:29 2009 New Revision: 191235 URL: http://svn.freebsd.org/changeset/base/191235 Log: Correct and update the manpage to include more details about some of the formats and to briefly describe the mtree writing capability. Modified: head/lib/libarchive/

svn commit: r191239 - head/rescue/rescue

2009-04-18 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 18 06:01:55 2009 New Revision: 191239 URL: http://svn.freebsd.org/changeset/base/191239 Log: Libarchive is sprouting dependencies on libmd and libcrypto. Because crunchgen drops any repeated library (keeping only the first), the -lcrypto reference must be moved

svn commit: r191240 - in head/usr.bin: cpio tar

2009-04-18 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 18 06:03:09 2009 New Revision: 191240 URL: http://svn.freebsd.org/changeset/base/191240 Log: Make -lcrypto usage dependent on whether or not we're building with OpenSSL. Modified: head/usr.bin/cpio/Makefile head/usr.bin/tar/Makefile Modified: head/usr.bin/cpi

svn commit: r191241 - head/lib/libarchive

2009-04-18 Thread Tim Kientzle
Author: kientzle Date: Sat Apr 18 06:06:47 2009 New Revision: 191241 URL: http://svn.freebsd.org/changeset/base/191241 Log: Rely on OpenSSL bits only if we're building a system with OpenSSL. Also, adjust the MD5 calls to rely on libmd instead of libcrypto, so we keep MD5 support even in the

svn commit: r191262 - head/usr.bin/cpio

2009-04-18 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 19 06:59:12 2009 New Revision: 191262 URL: http://svn.freebsd.org/changeset/base/191262 Log: When compiled for the release crunches, be a bit more selective about what libarchive features we pull in: * No compression support * Only cpio and ustar writing

svn commit: r191524 - head/lib/libarchive

2009-04-26 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 26 18:24:14 2009 New Revision: 191524 URL: http://svn.freebsd.org/changeset/base/191524 Log: Remove an unused variable. Thanks to:Christoph Mallon Modified: head/lib/libarchive/archive_read_support_format_empty.c Modified: head/lib/libarchive/archive_r

svn commit: r191525 - head/lib/libarchive

2009-04-26 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 26 18:43:49 2009 New Revision: 191525 URL: http://svn.freebsd.org/changeset/base/191525 Log: Exit with ARCHIVE_FATAL if the ISO image is truncated. Modified: head/lib/libarchive/archive_read_support_format_iso9660.c Modified: head/lib/libarchive/archive_read_su

svn commit: r191526 - head/lib/libarchive

2009-04-26 Thread Tim Kientzle
5) +++ head/lib/libarchive/tar.5 Sun Apr 26 18:46:40 2009(r191526) @@ -1,4 +1,4 @@ -.\" Copyright (c) 2003-2007 Tim Kientzle +.\" Copyright (c) 2003-2009 Tim Kientzle .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or with

svn commit: r191527 - in head/lib/libarchive: . test

2009-04-26 Thread Tim Kientzle
Author: kientzle Date: Sun Apr 26 18:57:50 2009 New Revision: 191527 URL: http://svn.freebsd.org/changeset/base/191527 Log: Reading an mtree file is supposed to provide access to the file data (if the file exists on disk). This was broken for the first regular file; fix it and add a test

svn commit: r191572 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 17:42:02 2009 New Revision: 191572 URL: http://svn.freebsd.org/changeset/base/191572 Log: Merge r988,r1064 from libarchive.googlecode.com: * Split whiny skip function to create a new best-effort skip_lenient() * Correctly increment the top-level file posit

svn commit: r191576 - in head/lib/libarchive: . test

2009-04-27 Thread Tim Kientzle
7;,'u','s','e','r',':','u','s','e','r','7','8',':','-','-','-', -':','7','8',',','u','s',

svn commit: r191578 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 18:33:08 2009 New Revision: 191578 URL: http://svn.freebsd.org/changeset/base/191578 Log: Merge r1052,r1055 from libarchive.googlecode.com: Clear the error flag on entry to a few more API functions. Modified: head/lib/libarchive/archive_read_open_fd.c hea

svn commit: r191579 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 18:35:03 2009 New Revision: 191579 URL: http://svn.freebsd.org/changeset/base/191579 Log: Merge r1021 from libarchive.googlecode.com: If we know it's a socket, say so. Modified: head/lib/libarchive/archive_write_set_format_pax.c head/lib/libarchive/archiv

svn commit: r191581 - head/lib/libarchive/test

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 18:39:55 2009 New Revision: 191581 URL: http://svn.freebsd.org/changeset/base/191581 Log: Merge r1054,r1060 from libarchive.googlecode.com: * assertEqualMem() now takes void * arguments * Be a little smarter about what we hexdump when assertEqualMem() fail

svn commit: r191584 - head/lib/libarchive/test

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 18:55:22 2009 New Revision: 191584 URL: http://svn.freebsd.org/changeset/base/191584 Log: Merge r1032 from libarchive.googlecode.com: Make test_fuzz a bit more sensitive by actually reading the body of each entry instead of skipping it. While I'm here, mov

svn commit: r191586 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 19:14:43 2009 New Revision: 191586 URL: http://svn.freebsd.org/changeset/base/191586 Log: ino_t varies across platforms; casting (int) here avoids various pointless complaints. Modified: head/lib/libarchive/archive_write_set_format_cpio.c Modified: head/li

svn commit: r191590 - head/lib/libarchive/test

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 19:20:25 2009 New Revision: 191590 URL: http://svn.freebsd.org/changeset/base/191590 Log: Merge r1058 from libarchive.googlecode.com: Require that each test source file has exactly one DEFINE_TEST(). Modified: head/lib/libarchive/test/test_pax_filename_enc

svn commit: r191591 - head/lib/libarchive/test

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 19:23:53 2009 New Revision: 191591 URL: http://svn.freebsd.org/changeset/base/191591 Log: Merge r1034 from libarchive.googlecode.com: Put a much larger file on the reference ISO for this test. Modified: head/lib/libarchive/test/test_read_format_isorr_bz2.c

svn commit: r191592 - in head/lib/libarchive: . test

2009-04-27 Thread Tim Kientzle
.c \ Added: head/lib/libarchive/test/test_read_format_cpio_bin_be.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libarchive/test/test_read_format_cpio_bin_be.c Mon Apr 27 19:30:0

svn commit: r191594 - in head/lib/libarchive: . test

2009-04-27 Thread Tim Kientzle
@@ -0,0 +1,187 @@ +/*- + * Copyright (c) 2003-2009 Tim Kientzle + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyrigh

svn commit: r191595 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 20:13:13 2009 New Revision: 191595 URL: http://svn.freebsd.org/changeset/base/191595 Log: Merge r991 from libarchive.googlecode.com: Various updates to archive_read.3 manpage, including documentation for the new "raw" handler. Modified: head/lib/libarchi

svn commit: r191597 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 20:23:22 2009 New Revision: 191597 URL: http://svn.freebsd.org/changeset/base/191597 Log: Symlink some additional man page entries. Modified: head/lib/libarchive/Makefile Modified: head/lib/libarchive/Makefile

svn commit: r191604 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 22:39:43 2009 New Revision: 191604 URL: http://svn.freebsd.org/changeset/base/191604 Log: Document the liblzma support. Unfortunately, liblzma itself is GPLed, so unlikely to become part of the FreeBSD base system. However, the core lzma compression/decomp

svn commit: r191904 - head/lib/libarchive

2009-05-07 Thread Tim Kientzle
Author: kientzle Date: Thu May 7 23:01:03 2009 New Revision: 191904 URL: http://svn.freebsd.org/changeset/base/191904 Log: Partially revert r191171, which went too far in trying to eliminate some duplicated code. In particular, archive_read_open_filename() has different close handling th

svn commit: r252013 - head/contrib/apr/include

2013-06-19 Thread Tim Kientzle
Author: kientzle Date: Thu Jun 20 02:04:03 2013 New Revision: 252013 URL: http://svnweb.freebsd.org/changeset/base/252013 Log: Try to fix build of apr on FreeBSD/arm. Modified: head/contrib/apr/include/apr_general.h Modified: head/contrib/apr/include/apr_general.h ===

  1   2   3   4   5   >