aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cpio
Commit message (Collapse)AuthorAgeFilesLines
* Remove GNU cpio after fix of CVE-2010-0624.Xin LI2010-03-263-1096/+0
| | | | | | | | | | | | | | | | Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Blessed by: kientzle With hat: secteam MFC after: 3 days Notes: svn path=/head/; revision=205702
* This broke when we went to gnu99 as the default standard. Fix the buildWarner Losh2010-03-241-0/+1
| | | | | | | by reverting to the gnu89 standard. Notes: svn path=/head/; revision=205630
* Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massivePeter Wemm2008-07-102-48/+585
|\ | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=180407
| * Virgin import of GNU cpio v2.4.2.David E. O'Brien1997-03-2941-11442/+0
| | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=24398
| * Vendor import of virgin GNU cpio v2.3.David E. O'Brien1997-03-2641-0/+11442
| | | | Notes: svn path=/vendor/misc-GNU/dist2/; revision=24304
* 1. Make the BSD version of cpio the default [1]Doug Barton2008-06-161-2/+0
| | | | | | | | | | | | | | | | | | | | a. The BSD version will be built and installed unless WITHOUT_BSD_CPIO is defined. b. The GNU version will not be built or installed unless WITH_GNU_CPIO is defined. If this is defined, the symlink in /usr/bin will be to the GNU version whether the BSD version is present or not. When these changes are MFCed the defaults should be flipped. 2. Add a knob to disable the building of GNU grep. This will make it easier for those that want to test the BSD version in the ports. Approved by: kientzle [1] Notes: svn path=/head/; revision=179813
* Install GNU cpio as 'gcpio', symlink to 'cpio' unless WITH_BSDCPIO isTim Kientzle2008-05-261-1/+9
| | | | | | | defined. Notes: svn path=/head/; revision=179325
* Compile with -DHAVE_LSTAT since, for whatever reason, the configure scriptTim J. Robbins2005-10-061-1/+1
| | | | | | | shipped with GNU cpio 2.6 fails to test for it. Notes: svn path=/head/; revision=150991
* Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure scriptTim J. Robbins2005-10-011-1/+2
| | | | | | | apparently fails to do it. Notes: svn path=/head/; revision=150777
* Update for GNU cpio 2.6.Tim J. Robbins2005-10-013-15/+528
| | | | Notes: svn path=/head/; revision=150770
* Remove getopt*.c, we already have compatible getopt_long() in libcAndrey A. Chernov2004-02-171-1/+1
| | | | Notes: svn path=/head/; revision=125911
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+0
| | | | Notes: svn path=/head/; revision=74861
* $Id$ -> $FreeBSD$Peter Wemm1999-08-272-2/+2
| | | | Notes: svn path=/head/; revision=50472
* Added to RELENG_2_2 via tagging.David E. O'Brien1997-08-211-1/+1
| | | | Notes: svn path=/head/; revision=28515
* Bmake Makefile for building info files for GNU cpio.David E. O'Brien1997-04-031-0/+15
| | | | Notes: svn path=/head/; revision=24594
* Bmake Makefiles for GNU cpio.David E. O'Brien1997-04-031-0/+24
| | | | Notes: svn path=/head/; revision=24593
* Make way for FreeBSD files with CPIO bits in src/contrib/cpioDavid E. O'Brien1997-04-0343-11621/+0
| | | | Notes: svn path=/head/; revision=24592
* Toast dummy lchown(), it's in libc now.Peter Wemm1997-03-312-28/+1
| | | | Notes: svn path=/head/; revision=24445
* FreeBSD modifications and notes for GNU cpio.David E. O'Brien1997-03-261-0/+10
| | | | Notes: svn path=/head/; revision=24306
* Don't set the umask until after we have processed the argumentsMike Pritchard1997-02-251-1/+1
| | | | | | | | | and opened the archive file. This allows "cpio -o -O output_file" to create the output file with the callers proper umask. Closes PR# 1391. Notes: svn path=/head/; revision=23104
* Correct the recommended option for "find" from "-depth" to "-d".John Polstra1997-02-081-1/+1
| | | | Notes: svn path=/head/; revision=22438
* Merge tar's version of rtapelib, namely the changes as of rev 1.2.Joerg Wunsch1996-12-081-15/+3
| | | | | | | Both files used to be identical previously, so they are again now. Notes: svn path=/head/; revision=20216
* Localization fixes.Andrey A. Chernov1996-08-154-261/+8
| | | | Notes: svn path=/head/; revision=17619
* Change "Found end of tape. Load next tape ..." messages to sayJordan K. Hubbard1996-04-241-2/+2
| | | | | | | | "volume" instead of tape. Running cpio off of /dev/fd0 and having it say "give me the next tape" is kind of ludicrous.. :-) Notes: svn path=/head/; revision=15373
* Fix an infinite loop for empty files in the archive, and handleJoerg Wunsch1996-03-181-3/+34
| | | | | | | | | sparsely stored linked files correctly. Submitted by: haug@conterra.com (Brian R. Haug) Notes: svn path=/head/; revision=14684
* recording cvs-1.6 file deathPeter Wemm1995-12-302-388/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Add setlocale LC_ALLAndrey A. Chernov1995-10-261-0/+6
| | | | Notes: svn path=/head/; revision=11812
* Output a zero rdev except for bdevs, cdevs, fifos and sockets. ThisBruce Evans1995-09-121-2/+26
| | | | | | | | stops regular files with unrepresentable rdevs from being rejected and makes the output independent of unpreservable metadata. Notes: svn path=/head/; revision=10703
* Replace ctime by strftime %c to use national representationAndrey A. Chernov1995-08-081-1/+1
| | | | Notes: svn path=/head/; revision=10000
* Improve the handling of large minor numbers:Bruce Evans1995-06-261-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cpio/copyout.c: 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. pax/pax.h: Use the system macros for major(), minor() and makedev(). pax already checks _all_ output conversions for overflow. This has the undesirable effect that failure to convert relatively useless fields such as st_dev for regular files causes files not to be output. pax doesn't report exactly which fields couldn't be converted. tar/create.c: Don't output a file if the major or minor its rdev would be truncated. Print a message about the skipped files to stderr and report the error in the exit status. tar/tar.c: For not immediately fatal errors, exit with status 1, not the error count (mod 256). All: 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). Notes: svn path=/head/; revision=9322
* Remove trailing whitespace.Rodney W. Grimes1995-05-307-49/+49
| | | | Notes: svn path=/head/; revision=8858
* Add dummy lchown function so that cpio understands 4.4 symbolic links.Rodney W. Grimes1995-03-173-2/+35
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=7111
* Use __GNU_P not __P.Garrett Wollman1994-08-041-5/+5
| | | | Notes: svn path=/head/; revision=1843
* Fix gross spelling and typographical errors pointed out by Keith Bostic.Jordan K. Hubbard1994-04-241-1/+1
| | | | Notes: svn path=/head/; revision=1411
* From: Piero Serini <piero@strider.st.dsi.unimi.it>Jordan K. Hubbard1994-02-121-1/+3
| | | | | | | | | | | | | | | | | Message-Id: <199402111717.SAA05326@strider.st.dsi.unimi.it> Subject: Re: cpio bug ? Quoting from J Wunsch: > | From the man page: > | > | -l, --link > | Link files instead of copying them, when possible. > > (Usable only with the -p option.) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is not in cpio man page. Someone please add it. Notes: svn path=/head/; revision=1149
* This is GNU cpio 2.3. It handles tar files and is fully compatibleJordan K. Hubbard1993-08-0746-0/+12084
with SYSV cpio. It's also supposed to integrate rmt support, though I haven't tried this. Notes: svn path=/head/; revision=253