diff options
58 files changed, 132 insertions, 161 deletions
@@ -1,8 +1,9 @@ +/ABOUT-NLS~ *.a *.o *.patch *.shar.* *.tar.* *~ .bootstrap .deps diff --git a/Makefile.am b/Makefile.am index 5c27935..e0be591 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,10 @@ # This file is part of GNU cpio -# Copyright (C) 2003-2004, 2007, 2009-2010, 2014 Free Software +# Copyright (C) 2003-2004, 2007, 2009-2010, 2014-2015 Free Software # Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, @@ -1,11 +1,11 @@ -GNU cpio NEWS -- history of user-visible changes. 2014-12-01 -Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, -2010, 2014 Free Software Foundation, Inc. +GNU cpio NEWS -- history of user-visible changes. 2015-09-12 +Copyright (C) 2003-2007, 2009-2010, 2014-2015 Free Software Foundation, +Inc. See the end of file for copying conditions. Please send cpio bug reports to <bug-cpio@gnu.org>. Version 2.11.90 - Git * Improved documentation. * Manpages are installed by make install. @@ -1,71 +1,58 @@ -This is GNU cpio, a program to manage archives of files. -As of version 2.0, it supports the features of the System V release 4 -cpio, including support for tar archives. +This is the GNU cpio package +============================ -This package also includes rmt, the remote tape server, and mt, a tape -drive control program; these two programs will only be compiled if -your system supports remote command execution, and tape drive control -operations, respectively. +* Introduction +============== -See the file INSTALL for compilation and installation instructions for Unix. +GNU cpio copies files between archives and directories. It supports +the following archive formats: old binary cpio, old portable cpio, SVR4 +cpio with and without checksum, HP cpio, and various tar formats. -For non-Unix systems [ Note: The non-Unix makefiles have not been tested - for this release ] +This file contains brief information about configuring and compiling +GNU cpio. It is *not* intended as a replacement for the documentation, +and is provided as a brief reference only. -makefile.pc is a makefile for Turbo C or C++ or Borland C++ on MS-DOS. +The complete documentation for GNU cpio is available in the subdirectory +doc. To read it without installing the package run `info -f doc/cpio.info', +or `man ./doc/cpio.1'. -makefile.os2 is a makefile for MS C and GNU C (emx/gcc) on OS/2. -cpio.def is a linker definition file for the MS C OS/2 version. +The documentation in various formats is also available online at +<http://www.gnu.org/software/cpio/manual/>. +* Building -The main advantages of GNU cpio over Unix versions are: +A usual three-stage procedure applies: -* It can access tape drives on other hosts using TCP/IP. + ./configure + make + make install -* `-o' and `-p' can copy symbolic links either as symbolic links or, -with `-L', as the files they point to. +See the file INSTALL for generic options to ./configure. -* `-i' automatically recognizes the archive format and tries to -recover from corrupted archives. +* Bug reporting. -* The output of '-itv' looks like 'ls -l'. +Please send bug reports and suggestions to <bug-cpio@gnu.org>. -* It accepts long-named options as well as traditional -single-character options. + +* Copyright information -A few features of other versions of cpio are missing from GNU cpio, including: +Copyright (C) 2003-2007, 2009-2010, 2014-2015 Free Software Foundation, Inc. -* The `-6' option to support Sixth Edition Unix cpio archives with `-i'. + Permission is granted to anyone to make or distribute verbatim copies + of this document as received, in any medium, provided that the + copyright notice and this permission notice are preserved, + thus giving the recipient permission to redistribute in turn. -* An option to limit volume size, like afio -s. - - -GNU cpio supports the POSIX.1 "ustar" tar format. GNU tar supports a -somewhat different, early draft of that format. That draft format has -a slightly different magic number in the tar header and doesn't -include the path prefix part of the header, which allows storing file -names that are longer than 100 characters. GNU cpio knows to -recognize the nonstandard GNU tar "ustar" archives. - -The following patch to GNU tar 1.11.1 makes GNU tar recognize standard -"ustar" archives, such as GNU cpio produces, except that it won't use -the path prefix. Without this patch, GNU tar thinks that standard -"ustar" archives are old-format tar archives and can not use the extra -information that "ustar" format contains. If you use this patch, -remember that you will lose the beginnings of paths that are longer -than 100 characters. That's why it's not an official part of GNU tar. -(Adding support for the path prefix to GNU tar is not trivial.) - ---- list.c.orig Mon Sep 14 17:04:03 1992 -+++ list.c Wed Oct 14 14:02:28 1992 -@@ -439,7 +439,7 @@ - st->st_ctime = from_oct(1+12, header->header.ctime); - } - -- if (0==strcmp(header->header.magic, TMAGIC)) { -+ if (0==strncmp(header->header.magic, TMAGIC, 5)) { - /* Unix Standard tar archive */ - *stdp = 1; - if (wantug) { - -Mail suggestions and bug reports for GNU cpio to bug-cpio@gnu.org. + Permission is granted to distribute modified versions + of this document, or of portions of it, + under the above conditions, provided also that they + carry prominent notices stating who last changed them. + +Local variables: +mode: outline +paragraph-separate: "[ ]*$" +eval: (add-hook 'write-file-hooks 'time-stamp) +time-stamp-start: "changes. " +time-stamp-format: "%:y-%02m-%02d" +time-stamp-end: "\n" +end: diff --git a/README-alpha b/README-alpha index 0b04e4b..a8288ba 100644 --- a/README-alpha +++ b/README-alpha @@ -36,18 +36,18 @@ Usual procedures apply: ./configure make make install See INSTALL and README for the detailed instructions. * Copyright information: -Copyright (C) 2004, 2006-2007, 2009-2010, 2014 Free Software Foundation, -Inc. +Copyright (C) 2004, 2006-2007, 2009-2010, 2014-2015 Free Software +Foundation, Inc. This file is part of GNU cpio. GNU cpio is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. @@ -1,53 +1,26 @@ Following is the list of cpio-related reports to bug-gnu-utils. Many of them appear to be fixed, but quite a number of them is probably still waiting for being handled. The list is divided into two parts, the messages are in somehow arbitrary order. * Bug reports -------------- -** cpio -d bug (fwd) (score: 47) - Author: Christian Smith <csmith@micromuse.com> - Date: Wed, 14 Nov 2001 02:06:46 +0000 (GMT) - This was bounced from bug-cpio@bogus.example.com I guess that - isn't set up yet. -- /"\ \ / ASCII RIBBON CAMPAIGN - AGAINST - HTML MAIL X - AGAINST MS ATTACHMENTS / \ $ cpio --version GNU - cpio version 2 - /archive/html/bug-gnu-utils/2001-11/msg00170.html (4,548 bytes) - ** bug in cpio with tapechange in copy-in-mode (score: 34) Author: Bernd =?ISO-8859-1?Q?Sch=FCler?= <b.schueler@eckert-buerotechnik.de> Date: 05 Aug 2002 18:37:56 +0200 Hello, last i made a restore from tape, and no request for next tape happend, only an read-error occured. Here is an quick patch, please verify the problem and the patch-code. I'm not sure, if the pr /archive/html/bug-gnu-utils/2002-08/msg00122.html (4,518 bytes) -** Re: bug in cpio? (score: 40) - Author: kasal@matsrv.math.cas.cz (Stepan Kasal) - Date: Thu, 13 Jun 2002 07:44:14 +0000 (UTC) - Hallo, the following option should help: -d, --make-directories - Create leading directories where needed. Details: cpio won't - create the directory for the file. Observe: kasal$ echo - /home/kasal/tmp/db - /archive/html/bug-gnu-utils/2002-06/msg00306.html (4,862 bytes) - -** cpio 2.4.2 bug? (score: 40) - Author: "H.J. Thomassen" <H.J.Thomassen@ATComputing.nl> - Date: Thu, 10 Jan 2002 18:09:10 +0100 (CET) - Hello, We use GNU-cpio 2.4.2 and have the following problem: - Short: Assume I have a directory with two filenames, which are - hardlinks to the same i-node. I make a crc-cpio archive with - both files; th - /archive/html/bug-gnu-utils/2002-01/msg00161.html (5,624 bytes) - ** These two seem to be related: *** cpio copy-in and multiply-linked files (score: 35) Author: Chris Jaeger <cjaeger@ensim.com> Date: Tue, 07 Aug 2001 23:46:04 -0700 Hi, I was wondering whether it was a bug or a feature that GNU cpio, while in copy-in mode, will create a multiply-linked set of files all of size 0 if the last linked file is not copied in due to th diff --git a/bootstrap.conf b/bootstrap.conf index 4286e56..fe4248f 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -1,12 +1,12 @@ # Bootstrap configuration. -# Copyright (C) 2006-2007, 2009-2010, 2014 Free Software Foundation, -# Inc. +# Copyright (C) 2006-2007, 2009-2010, 2014-2015 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/configure.ac b/configure.ac index 2c63932..92dae87 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. dnl This file is part of GNU cpio -dnl Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2014 Free Software +dnl Copyright (C) 2003-2007, 2009-2010, 2014-2015 Free Software dnl Foundation, Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 3, or (at your option) dnl any later version. dnl dnl This program is distributed in the hope that it will be useful, @@ -77,17 +77,17 @@ AC_CHECK_DECLS([errno, getpwnam, getgrnam, getgrgid, strdup, strerror, getenv, a # include <strings.h> #endif #include <pwd.h> #include <grp.h>]) # Gettext. AM_ICONV AM_GNU_GETTEXT([external], [need-formatstring-macros]) -AM_GNU_GETTEXT_VERSION(0.18) +AM_GNU_GETTEXT_VERSION(0.19) LIBS="$LIBS $LIB_CLOCK_GETTIME" # Initialize the test suite. AC_CONFIG_TESTDIR(tests) AC_CONFIG_FILES([tests/Makefile tests/atlocal]) # FIXME: tests/preset? AM_MISSING_PROG([AUTOM4TE], [autom4te]) diff --git a/doc/Makefile.am b/doc/Makefile.am index 27d2e5b..c8a4301 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,10 +1,11 @@ # This file is part of GNU cpio -# Copyright (C) 2004, 2007, 2010, 2014 Free Software Foundation, Inc. +# Copyright (C) 2004, 2007, 2010, 2014-2015 Free Software Foundation, +# Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -1,10 +1,10 @@ .\" This file is part of GNU cpio. -*- nroff -*- -.\" Copyright 2014 Free Software Foundation, Inc. +.\" Copyright 2014-2015 Free Software Foundation, Inc. .\" .\" GNU cpio is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" GNU cpio is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/doc/cpio.texi b/doc/cpio.texi index dee3c13..e631934 100644 --- a/doc/cpio.texi +++ b/doc/cpio.texi @@ -10,18 +10,18 @@ * Cpio: (cpio). Copy-in-copy-out archiver to tape or disk. @end direntry @include version.texi @copying This manual documents GNU cpio (version @value{VERSION}, @value{UPDATED}). -Copyright @copyright{} 1995, 2001-2002, 2004, 2010, 2014 Free Software -Foundation, Inc. +Copyright @copyright{} 1995, 2001-2002, 2004, 2010, 2014-2015 Free +Software Foundation, Inc. @sp 1 @quotation Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover texts being ``A GNU Manual'', and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled ``GNU Free Documentation License''. diff --git a/doc/gendocs.sh b/doc/gendocs.sh index 8ac3a06..e72f15e 100755 --- a/doc/gendocs.sh +++ b/doc/gendocs.sh @@ -1,16 +1,15 @@ #!/bin/sh -e # gendocs.sh -- generate a GNU manual in many formats. This script is # mentioned in maintain.texi. See the help message below for usage details. scriptversion=2015-02-28.17 -# Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 -# Free Software Foundation, Inc. +# Copyright 2003-2013, 2015 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/doc/gendocs_template b/doc/gendocs_template index 5aedcd4..d8488fe 100755 --- a/doc/gendocs_template +++ b/doc/gendocs_template @@ -82,17 +82,17 @@ Please send FSF & GNU inquiries to There are also <a href="/home.html#ContactInfo">other ways to contact</a> the FSF. <br /> Please send broken links and other corrections (or suggestions) to <a href="mailto:webmasters@gnu.org"><em>webmasters@gnu.org</em></a>. </p> <p> -Copyright (C) 2004, 2010, 2014 Free Software Foundation, Inc., +Copyright (C) 2004, 2010, 2014-2015 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA <br /> Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. </p> <p> Updated: @@ -1,10 +1,10 @@ .\" This file is part of GNU cpio. -*- nroff -*- -.\" Copyright 2014 Free Software Foundation, Inc. +.\" Copyright 2014-2015 Free Software Foundation, Inc. .\" .\" GNU cpio is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" GNU cpio is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/lib/Makefile.am b/lib/Makefile.am index e7e92d0..b8dd2b2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,12 +1,12 @@ # Makefile for GNU tar library. -*- Makefile -*- -# Copyright (C) 1994-1997, 1999-2001, 2003-2007, 2009-2010, 2014 Free -# Software Foundation, Inc. +# Copyright (C) 1994-1997, 1999-2001, 2003-2007, 2009-2010, 2014-2015 +# Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -1,11 +1,11 @@ /* System dependent functions for GNU cpio. - Copyright (C) 2007, 2010, 2014 Free Software Foundation, Inc. + Copyright (C) 2007, 2010, 2014-2015 Free Software Foundation, Inc. GNU cpio is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GNU cpio is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/po/.gitignore b/po/.gitignore index 498d5d5..9c0f2d0 100644 --- a/po/.gitignore +++ b/po/.gitignore @@ -1,8 +1,11 @@ +/Rules-quot~ +/Makevars.template~ +/Makefile.in.in~ /remove-potcdate.sin /quot.sed /insert-header.sin /en@quot.header /en@boldquot.header /boldquot.sed /Rules-quot /Makevars.template diff --git a/po/POTFILES.in b/po/POTFILES.in index 7785bbd..8b4d7f7 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,11 +1,11 @@ # List of files which contain translatable strings. -# Copyright (C) 2008-2010, 2014 Free Software Foundation, Inc. +# Copyright (C) 2008-2010, 2014-2015 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/Makefile.am b/src/Makefile.am index e19529d..9d1f322 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,10 +1,10 @@ # This file is part of GNU cpio -# Copyright (C) 2003-2004, 2007, 2009-2010, 2014 Free Software +# Copyright (C) 2003-2004, 2007, 2009-2010, 2014-2015 Free Software # Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, diff --git a/src/copyin.c b/src/copyin.c index 337b0c9..cde911e 100644 --- a/src/copyin.c +++ b/src/copyin.c @@ -1,11 +1,11 @@ /* copyin.c - extract or list a cpio archive - Copyright (C) 1990-1992, 2001-2007, 2009-2010, 2014 Free Software - Foundation, Inc. + Copyright (C) 1990-1992, 2001-2007, 2009-2010, 2014-2015 Free + Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/copyout.c b/src/copyout.c index 673dad4..1f0987a 100644 --- a/src/copyout.c +++ b/src/copyout.c @@ -1,11 +1,11 @@ /* copyout.c - create a cpio archive - Copyright (C) 1990-1992, 2001, 2003-2004, 2006 |