History log of /netbsd-src/usr.sbin/mtree/Makefile (Results 1 – 25 of 34)
Revision Date Author Comments
# 6a0fd2f0 03-Feb-2013 christos <christos@NetBSD.org>

add the ability to only output paths included in a spec file when creating
from a directory (-c)


# 9e84d4e8 05-Oct-2012 christos <christos@NetBSD.org>

Implement FreeBSD's -f spec1 -f spec2 spec comparision function. This
is more useful than -C and diff because it highlights the keys that have
changed value so for example, you can see that the size

Implement FreeBSD's -f spec1 -f spec2 spec comparision function. This
is more useful than -C and diff because it highlights the keys that have
changed value so for example, you can see that the size of a file has
not changed but the contents have. (brooks)

show more ...


# d877c4c3 22-Apr-2009 lukem <lukem@NetBSD.org>

Enable WARNS=4 by default, except for:
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd s

Enable WARNS=4 by default, except for:
cpuctl dumplfs hprop ipf iprop-log kadmin kcm kdc kdigest
kimpersonate kstash ktutil makefs ndbootd ntp pppd quot
racoon racoonctl rtadvd sntp sup tcpdchk tcpdmatch tcpdump
traceroute traceroute6 user veriexecgen wsmoused zic
(Mostly third-party applications)

show more ...


# 22ec0fdf 12-Dec-2007 christos <christos@NetBSD.org>

warns=4


# 3697550e 16-Dec-2006 bouyer <bouyer@NetBSD.org>

Don't depend on lubutil if we're building host tools. Fix tools build on
non-NetBSD hosts.


# 0a97c3f6 14-Dec-2006 he <he@NetBSD.org>

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 definitio

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

show more ...


# 29ff6ed1 14-Dec-2006 he <he@NetBSD.org>

The "#ifdef UNUSED_BLOCK" in stat_flags.c wasn't so unused after
all -- it was used by the mtree source. So, instead do an "#ifdef
MTREE", and define that one when building mtree.


# 6b5922eb 09-Apr-2005 dsl <dsl@NetBSD.org>

WARNS=3 seems to work for me


# 826a1460 18-May-2003 lukem <lukem@NetBSD.org>

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.


# d348d3d7 30-Nov-2002 lukem <lukem@NetBSD.org>

tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it


# 17d72c8a 18-Sep-2002 lukem <lukem@NetBSD.org>

use NETBSDSRCDIR as appropriate


# fcae5f73 29-Jan-2002 tv <tv@NetBSD.org>

Add hooks to make mtree compilable from src/tools.


# 9ca22e14 24-Jan-2002 lukem <lukem@NetBSD.org>

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.


# 911a933f 10-Nov-2001 lukem <lukem@NetBSD.org>

with local crc.c, don't need usr.bin/cksum in .PATH any more


# e8b2f332 07-Nov-2001 lukem <lukem@NetBSD.org>

User interface changes from (or inspired by) FreeBSD:
- Add -L to walk the tree `logically', by following symbolic links in
the heirarchy.
- Add -P to walk the tree `physically'. This is the curren

User interface changes from (or inspired by) FreeBSD:
- Add -L to walk the tree `logically', by following symbolic links in
the heirarchy.
- Add -P to walk the tree `physically'. This is the current behaviour,
and the default.
- Add "-X excludes-file" to give mtree the ability to exclude files and
directories from its traversal. excludes-file contains fnmatch(3)
patterns to exclude from the walk.
- Add "md5digest" synonym for "md5".
- Add "rmd160" keyword for RMD-160 message digest, and "rmd160digest" synonym.
- Add "sha1" keyword for SHA-1 message digest, and "sha1digest" synonym.
- Don't try to compare() other attributes if the type doesn't match;
it's nothing but trouble, and no use anyway.
- In -c, only emit "/set" records if something has changed since the
previous one.

User interface changes by me:
- Check a device's parameters before checking uid/gid/mode.
- If updating (-u), modify the following to match the specification:
- Device type (retaining existing ownership).
- Symlink target.

Fixes from (or inspired by) FreeBSD:
- Use p->ftslevel instead of own code to keep track of the level ourself.
The previous code got majorly confused if fts(3) couldn't descend
into a subdir, resulting in leaf nodes getting attached to the wrong
directory.
XXX: This new method is much much more robust, even though it's not 100%
perfect; it might result in a couple of following entries in the spec
to be incorrectly tagged as missing.
- Pass a useful pathname to rlink(), so that logical (-L) traversal
doesn't confuse symlink checking.
- Consistently use MAXPATHLEN+1 sized buffers for pathnames, so that
there's room for the NUL.
- Use mtree_err() and strerror(p->fts_errno) to report errors during
the fts(3) walk.

Fixes by me:
- Remove now-unused `const char *name' argument from compare().
- Change crc_total from an int to a u_int32_t, to match usr.bin/cksum/crc.c.
- Remove trailing whitespace.
- Remove unnecessary (void) casts on functions.
- Reorder entries in the getopt() switch.
- Replace strtoq() with strtoll(), and use strtoul() appropriately.
- Renumber F_ flags to be in alphabetical order.

show more ...


# f644bd62 18-Oct-2001 lukem <lukem@NetBSD.org>

complete WARNS=2 cleanup (with a bit of ickiness for the fts_open argv issue)


# a28fcd77 09-Oct-2001 enami <enami@NetBSD.org>

Make mtree a host tool and use it when appropriate.


# bc1697fc 09-Oct-2001 lukem <lukem@NetBSD.org>

Add "device" keyword, which allows the device number to be specified,
to be later checked and possibly created. Uses parsing and encoding
routines from mknod(8).


# 617a65b6 10-Sep-2001 lukem <lukem@NetBSD.org>

replace home-grown parser with fparseln()


# 914178b2 07-Dec-1999 wennmach <wennmach@NetBSD.org>

code.c is no longer used, we use strsvis instead. Removed prototypes
from extern.h


# 7db0eb04 07-Nov-1999 wennmach <wennmach@NetBSD.org>

Encode file names using strvis(3) when creating a specification.
Escape white space characters and `#' characters. Do the inverse
when reading specs.

This is a temporary fix until we have strzouvis(

Encode file names using strvis(3) when creating a specification.
Escape white space characters and `#' characters. Do the inverse
when reading specs.

This is a temporary fix until we have strzouvis(3) (or some such)
which is an improved version of strvis (taking an additional list
of characters to encode).

Fixes PR 5006 and PR 7663

show more ...


# f2fb63ef 10-Oct-1998 mrg <mrg@NetBSD.org>

add support for 4.4BSD file flags. we take a `flags=xxx' parameter,
using the same style of naming as chflags, ls & xinstall use, plus an
additional `none' to turn off a default setting.


# 0a94f4f0 25-Oct-1997 lukem <lukem@NetBSD.org>

use CPPFLAGS instead of CFLAGS


# 590bf19c 17-Oct-1997 mrg <mrg@NetBSD.org>

merge lite-2


# 10e180cc 08-May-1997 gwr <gwr@NetBSD.org>

Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.


12