summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cpio
Commit message (Collapse)AuthorAgeFilesLines
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-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
* This broke when we went to gnu99 as the default standard. Fix the buildimp2010-03-241-0/+1
| | | | by reverting to the gnu89 standard.
* Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massivepeter2008-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.
* 1. Make the BSD version of cpio the default [1]dougb2008-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]
* Install GNU cpio as 'gcpio', symlink to 'cpio' unless WITH_BSDCPIO iskientzle2008-05-261-1/+9
| | | | defined.
* Compile with -DHAVE_LSTAT since, for whatever reason, the configure scripttjr2005-10-061-1/+1
| | | | shipped with GNU cpio 2.6 fails to test for it.
* Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure scripttjr2005-10-011-1/+2
| | | | apparently fails to do it.
* Update for GNU cpio 2.6.tjr2005-10-013-15/+528
|
* Remove getopt*.c, we already have compatible getopt_long() in libcache2004-02-171-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+0
|
* $Id$ -> $FreeBSD$peter1999-08-272-2/+2
|
* Added to RELENG_2_2 via tagging.obrien1997-08-211-1/+1
|
* Bmake Makefile for building info files for GNU cpio.obrien1997-04-031-0/+15
|
* Bmake Makefiles for GNU cpio.obrien1997-04-031-0/+24
|
* Make way for FreeBSD files with CPIO bits in src/contrib/cpioobrien1997-04-0343-11621/+0
|
* Toast dummy lchown(), it's in libc now.peter1997-03-312-28/+1
|
* FreeBSD modifications and notes for GNU cpio.obrien1997-03-261-0/+10
|
* Don't set the umask until after we have processed the argumentsmpp1997-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.
* Correct the recommended option for "find" from "-depth" to "-d".jdp1997-02-081-1/+1
|
* Merge tar's version of rtapelib, namely the changes as of rev 1.2.joerg1996-12-081-15/+3
| | | | Both files used to be identical previously, so they are again now.
* Localization fixes.ache1996-08-154-261/+8
|
* Change "Found end of tape. Load next tape ..." messages to sayjkh1996-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.. :-)
* Fix an infinite loop for empty files in the archive, and handlejoerg1996-03-181-3/+34
| | | | | | sparsely stored linked files correctly. Submitted by: haug@conterra.com (Brian R. Haug)
* recording cvs-1.6 file deathpeter1995-12-302-388/+0
|
* Add setlocale LC_ALLache1995-10-261-0/+6
|
* Output a zero rdev except for bdevs, cdevs, fifos and sockets. Thisbde1995-09-121-2/+26
| | | | | stops regular files with unrepresentable rdevs from being rejected and makes the output independent of unpreservable metadata.
* Replace ctime by strftime %c to use national representationache1995-08-081-1/+1
|
* Improve the handling of large minor numbers:bde1995-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).
* Remove trailing whitespace.rgrimes1995-05-307-49/+49
|
* Add dummy lchown function so that cpio understands 4.4 symbolic links.rgrimes1995-03-173-2/+35
| | | | Reviewed by: phk
* Use __GNU_P not __P.wollman1994-08-041-5/+5
|
* Fix gross spelling and typographical errors pointed out by Keith Bostic.jkh1994-04-241-1/+1
|
* From: Piero Serini <piero@strider.st.dsi.unimi.it>jkh1994-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.
* This is GNU cpio 2.3. It handles tar files and is fully compatiblejkh1993-08-0746-0/+12084
with SYSV cpio. It's also supposed to integrate rmt support, though I haven't tried this.
OpenPOWER on IntegriCloud