summaryrefslogtreecommitdiffstats
path: root/contrib/cpio
Commit message (Collapse)AuthorAgeFilesLines
* Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massivepeter2008-07-1098-3356/+7533
|\ | | | | | | | | | | conflicts due to radically different approaches to security and bug fixes. In some cases I re-started from the vendor version and reimplemented our patches. Fortunately, this is not enabled by default in -current.
| * Flatten cvs2svn generated import tree.peter2008-07-0984-20990/+0
| |
| * cvs2svn managed to overlay two different path trees. fix.peter2008-07-0939-11461/+0
| |
* | Correct insecure temporary file usage in texindex. [06:01]cperciva2006-01-118-45/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct insecure temporary file usage in ee. [06:02] Correct a race condition when setting file permissions, sanitize file names by default, and fix a buffer overflow when handling files larger than 4GB in cpio. [06:03] Fix an error in the handling of IP fragments in ipfw which can cause a kernel panic. [06:04] Security: FreeBSD-SA-06:01.texindex Security: FreeBSD-SA-06:02.ee Security: FreeBSD-SA-06:03.cpio Security: FreeBSD-SA-06:04.ipfw
* | In __option_is_short(), avoid calling isprint() on key characters outsidetjr2005-10-171-1/+3
| | | | | | | | | | | | | | | | the range allowed by that function, resulting in undefined behaviour. Our undefined behaviour in multibyte locales happened to differ from glibc's, resulting in errors parsing option strings. Obtained from: Corinna Vinschen (Red Hat)
* | Update for GNU cpio 2.6.tjr2005-10-011-12/+24
| |
* | Merge long_format() time formatting code and fixes for printf() formattjr2005-10-011-11/+14
| | | | | | | | errors from old copyin.c.
* | Merge from old copyout.c rev 1.2: Output a zero rdev except for bdevs,tjr2005-10-011-2/+139
| | | | | | | | | | cdevs, fifos and sockets. Don't output a file if the major, minor or totality of its rdev would be truncated.
* | Merge from old copypass.c rev 1.3: If we must yell at the user than atjr2005-10-011-1/+1
| | | | | | | | | | | | file cannot be linked into place when requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead.
* | Merge from old util.c rev 1.2: say "volume" instead of "tape".tjr2005-10-011-2/+4
| |
* | Merge from old main.c rev 1.2: Don't set the umask until after we havetjr2005-10-011-2/+4
| | | | | | | | processed the arguments and opened the archive file.
* | Merge from old tar.c rev 1.2: Recognize and skip 'x' and 'g' paxtjr2005-10-011-0/+15
| | | | | | | | extension entries.
* | Merge from old copyin.c rev 1.5, copypass.c rev 1.2: Create fifos usingtjr2005-10-012-8/+32
| | | | | | | | mkfifo() instead of attempting to create them using mknod().
* | Rename isnumber() to cpio_isnumber() to avoid clashing with thetjr2005-10-011-3/+5
| | | | | | | | <ctype.h> library function of the same name.
* | Remove files no longer present in GNU cpio distribution. Most of thesetjr2005-10-0135-10361/+0
| | | | | | | | were actually moved into subdirectories.
* | This commit was generated by cvs2svn to compensate for changes in r150765,tjr2005-10-0184-10/+19558
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import GNU cpio 2.6 (trimmed)tjr2005-10-0184-10/+19558
| |
* | Recognize and skip 'x' and 'g' pax extension entries. In particular,kientzle2004-08-281-0/+15
| | | | | | | | | | | | | | this avoids the creation of "PaxHeader" dirs when unpacking pax-format tar archives such as those written by bsdtar. MFC after: 3 days
* | Remove unneded filesache2004-02-174-1075/+1
| |
* | If we must yell at the user than a file cannot be linked into place whengreen2003-07-111-1/+2
| | | | | | | | | | requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead.
* | Don't attempt to parse %cache2001-03-211-4/+27
| |
* | Fix warning: return type of `main' is not `int'peter1999-09-151-1/+3
| |
* | Add FreeBSD tag.obrien1999-09-081-0/+2
| |
* | Fixed printf format errors.bde1998-06-301-3/+2
| |
* | fix misspellingjmg1997-08-301-1/+1
| | | | | | | | | | | | Submitted-by: Josh Gilliam Closes PR: 4422
* | I clamined to not have imported cpio.texi. This is not true.obrien1997-08-251-1/+1
| |
* | Create fifos using mkfifo() instead of attempting to create them usingbde1997-07-132-8/+29
| | | | | | | | mknod().
* | Fix bug that can cuase a loop to become endless.obrien1997-04-031-1/+0
| | | | | | | | | | The bug is triggered by attempts to copy in (-i) a file which happens to have zero length.
* | FreeBSD specific readme for contributed source.obrien1997-04-031-0/+0
| | | | | | | | (FREEBSD-upgrade is now the "accpeted" filename for this).
* | This commit was generated by cvs2svn to compensate for changes in r24434,obrien1997-03-311-0/+558
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of GNU cpio v2.4.2.obrien1997-03-311-0/+558
| |
* | JKH says:obrien1997-03-301-2/+2
| | | | | | | | | | | | Change "Found end of tape. Load next tape ..." messages to say "volume" instead of tape. Running cpio off of /dev/fd0 and having it say "give me the next tape" is kind of ludicrous.. :-)
* | don't lookup rsh(1) at bogus pathnamesobrien1997-03-301-17/+1
| | | | | | | | Submitted by: joerg via old gnu/usr.bin/cpio v2.3
* | Don't set the umask until after we have processed the argumentsobrien1997-03-301-1/+11
| | | | | | | | | | | | | | | | and opened the archive file. This allows "cpio -o -O output_file" to create the output file with the callers proper umask. Closed PR# 1391 Add setlocale LC_ALL (from ache).
* | Support dummy lchown() so that cpio understands 4.4 symbolic links.obrien1997-03-301-0/+5
| |
* | - Correct the recommended option for "find" from "-depth" to "-d".obrien1997-03-301-3/+5
| | | | | | | | | | | | | | - Fix gross spelling and typographical errors pointed out by Keith Bostic. - Mention -l, --link is only usable with "-p". Obtained from: old gnu/usr.bin/cpio v2.3.
* | Output a zero rdev except for bdevs, cdevs, fifos and sockets. Thisobrien1997-03-301-2/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stops regular files with unrepresentable rdevs from being rejected and makes the output independent of unpreservable metadata. Don't output a file if the major, minor or totality of its rdev would be truncated. Print a message about the skipped files to stderr but don't report the error in the exit status. cpio's abysmal error handling doesn't allow continuing after an error, and the rdev checks had to be misplaced to avoid the problem of returning an error code from routines that return void. Minor numbers are limited to 21 bits in pax's ustar format and to 18 bits in archives created by gnu tar (gnu tar wastes 3 bits for padding). pax's and cpio's ustar format is incompatible with gnu tar's ustar format for other reasons (see cpio/README). Submitted by: bde via old gnu/usr.bin/cpio v2.3.
* | Fix typo.obrien1997-03-301-1/+1
| |
* | I goofed, Makefile lchown.c don't belong here.obrien1997-03-302-47/+0
| |
* | Replace ctime by strftime %c to use national representation.obrien1997-03-302-2/+18
| | | | | | | | | | | | Use isprint() for Localization. Submitted by: ache via gnu/usr.bin/cpio v2.3
* | FreeBSD BSD-style Makefile for contributed CPIO source.obrien1997-03-291-0/+19
| |
* | Rodney Grimes's dummy lchown() so that cpio understands 4.4 symbolic links.obrien1997-03-291-0/+27
| | | | | | | | | | | | (taken from old gnu/usr.bin/cpio) Reviewed by: phk
* | Don't need tcexparg.c on FreeBSD.obrien1997-03-291-1/+3
| |
* | Don't need tcexparg.c which impliments Unix-style command line wildcardsobrien1997-03-291-240/+0
| | | | | | | | for Turbo C
* | FreeBSD specific readme for contributed CPIO soruces.obrien1997-03-291-0/+13
|/
* Virgin import of GNU cpio v2.4.2.obrien1997-03-2942-0/+12345
OpenPOWER on IntegriCloud