Home | History | Annotate | Download | only in pax
History log of /src/bin/pax/Makefile
RevisionDateAuthorComments
 1.42  03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.41  13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.40  15-Aug-2019  uwe Install manual pages for tar and cpio only if ${MKBSDTAR} == "no"
PR bin/54468
 1.39  23-Apr-2010  joerg branches: 1.39.48; 1.39.50;
Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
 1.38  03-Feb-2009  dbj do not require sys/mtio.h for a tools build of pax
 1.37  24-Feb-2008  joerg branches: 1.37.8; 1.37.10; 1.37.12;
Kill pre-4.4BSD compat code.
 1.36  16-Dec-2006  bouyer branches: 1.36.4; 1.36.8;
Don't depend on lubutil if we're building host tools. Fix tools build on
non-NetBSD hosts.
 1.35  14-Dec-2006  he Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
o Bump libutil minor version number
o Fix uses to include <util.h> to pick up the function definitions
o Fix most uses of flags_to_string() to release the now-malloc()ed result
 1.34  29-Jun-2005  christos Don't compile in cpio usage, if we are SMALL.
 1.33  26-Jun-2005  christos sprinkle a little const, and now everything compiles with WARNS=3
 1.32  01-May-2005  christos PR/29005: Jesse Off: nbpax requires sys/mtio.h which doesn't exist on Interix
I added an ifdef called HAVE_MTIO_H and fixed the code to use it. It is
always defined now, but you can change this for Interix.
 1.31  11-May-2004  christos Welcome to WARNS=3
 1.30  18-Jul-2003  lukem branches: 1.30.4;
doc2html works here now, so remove NOHTML=
(not that it worked here, because NOHTML= was provided *after* <bsd.own.mk>...)
 1.29  18-May-2003  lukem Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
 1.28  09-May-2003  lukem #ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
 1.27  30-Nov-2002  lukem don't need -lutil any more
 1.26  21-Oct-2002  lukem don't bother with cpio/tar links or compat symlinks for HOSTPROGs
 1.25  20-Oct-2002  thorpej Install compatibility symlinks for /usr/bin/tar (-> /bin/tar)
and /usr/bin/cpio (/bin/cpio). The pathname of tar(1) is hard-coded
into things like binary packages, and thus must be kept around
for backward compatibility.
 1.24  16-Oct-2002  christos Flip the pax switch
 1.23  14-Oct-2002  lukem fix previous: SMALLPROG w/o HOSTPROG still needs <bsd.prog.mk>. (hi christos)
 1.22  14-Oct-2002  christos don't support rmt for SMALLPROG
 1.21  12-Oct-2002  thorpej It doesn't help much to skip linking librmt if HOSTPROG but leave
all the librmt calls in the program. So, make librmt support conditional
on #ifdef SUPPORT_RMT, and define that when NOT building as a HOSTPROG.
 1.20  12-Oct-2002  christos merge OpenBSD changes:
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.

additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T

we don't turn the switch on to replace tar and cpio yet.
 1.19  19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
 1.18  02-Feb-2002  lukem make smaller if SMALLPROG is defined, not CRUNCHEDPROG; it's feasible
that a crunchgen(3)ed version of pax wants -USMALL ...
 1.17  02-Feb-2002  lukem - don't compile in support for -M (mtree specfile input) or -N dbdir
(alternate directory for id info) if SMALL is defined
- enable -DSMALL and remove unused objects if CRUNCHEDPROG is defined
- minor cleanup in next_file() (preparation for future work)
 1.16  29-Jan-2002  tv Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
 1.15  25-Jan-2002  martin Do not .include <bsd.prog.mk> if building as a host tool.
 1.14  24-Jan-2002  lukem Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines from ../../usr.sbin/mtree/getid.c.
This does not affect the -G and -U options, which always use the
system databases.
 1.13  28-Oct-2001  lukem s/u_longlong_t/unsigned long long/ to shut up the parc port
 1.12  25-Oct-2001  lukem Implement -M flag: During a write or copy operation, treat the list of
files on standard input as an mtree(8) `specfile' specification, and
write or copy only those items in the specfile.

If the file exists in the underlying file system, its permissions and
modification time will be used unless specifically overridden by the
specfile. An error will be raised if the type of entry in the specfile
conflicts with that of an existing file.

Otherwise, it is necessary to specify at least the following parameters
in the specfile: type, mode, gname or gid, and uname or uid, device
(in the case of block or character devices), and link (in the case of
symbolic links). If time isn't provided, the current time will be used.
 1.11  25-Oct-2001  lukem - ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff similar to ftpd; provide #defines and
macros which select which cast to use, etc
- clean up the NET2_FTS and NET2_REGEX #define use
 1.10  26-Sep-2000  phil Don't generate html yet. doc2html needs a fix.
 1.9  28-Jul-1998  mycroft Use the uid/gid caching moved into libc. Fixed a memory leak!
 1.8  06-Mar-1998  mrg - implement -C and -l for pax-as-tar, as inspried by GNU tar.
- minor cleanups to the options parsing code.
- add a cpio frontend.

note: a few GNU/svr4 cpio options are not supported yet (#ifdef
notyet), however all x/open ones are.
 1.7  10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.6  20-Jul-1997  christos Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
 1.5  20-Jul-1997  christos - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
 1.4  21-Mar-1995  cgd convert to new RCS id conventions.
 1.3  14-Jun-1994  jtc Whoever wrote the tar command line argument parsing code didn't realize
that the order of arguments is different if the command flags are specified
without a `-'. I've integrated getoldopt.c from John Gilmore's pdtar which
handles argument parsing correctly.
 1.2  13-Jun-1994  jtc Add RCS ID's
 1.1  13-Jun-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  13-Jun-1994  jtc From 4.4 lite
 1.30.4.1  23-Jul-2005  snj Apply patch (requested by riz in ticket #5512):
Sync pax with HEAD of 2005-07-22.
 1.36.8.1  24-Mar-2008  keiichi sync with head.
 1.36.4.1  23-Mar-2008  matt sync with HEAD
 1.37.12.3  21-Apr-2010  matt sync to netbsd-5
 1.37.12.2  18-Dec-2009  matt Make this compile on snow leopard.
 1.37.12.1  15-Dec-2009  matt Allow tools to build on OSX 10.6 (Snow Leopard).
 1.37.10.1  03-Oct-2009  snj Pull up following revision(s) (requested by apb in ticket #1020):
bin/pax/Makefile: revision 1.38
bin/pax/ar_io.c: revision 1.49
tools/compat/configure: revision 1.69
tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax
 1.37.8.1  03-Oct-2009  snj Pull up following revision(s) (requested by apb in ticket #1020):
bin/pax/Makefile: revision 1.38
bin/pax/ar_io.c: revision 1.49
tools/compat/configure: revision 1.69
tools/compat/configure.ac: revision 1.69
do not require sys/mtio.h for a tools build of pax
 1.39.50.1  13-Nov-2019  martin Pull up following revision(s) (requested by nakayama in ticket #421):

bin/pax/Makefile: revision 1.40

Install manual pages for tar and cpio only if ${MKBSDTAR} == "no"
PR bin/54468
 1.39.48.3  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.39.48.2  21-Apr-2020  martin Sync with HEAD
 1.39.48.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed