| History log of /src/usr.sbin/mtree/Makefile |
| Revision | | Date | Author | Comments |
| 1.34 |
| 03-Feb-2013 |
christos | add the ability to only output paths included in a spec file when creating from a directory (-c)
|
| 1.33 |
| 05-Oct-2012 |
christos | 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)
|
| 1.32 |
| 22-Apr-2009 |
lukem | branches: 1.32.6; 1.32.12; 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)
|
| 1.31 |
| 12-Dec-2007 |
christos | branches: 1.31.12; warns=4
|
| 1.30 |
| 16-Dec-2006 |
bouyer | branches: 1.30.4; Don't depend on lubutil if we're building host tools. Fix tools build on non-NetBSD hosts.
|
| 1.29 |
| 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.28 |
| 14-Dec-2006 |
he | 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.
|
| 1.27 |
| 09-Apr-2005 |
dsl | WARNS=3 seems to work for me
|
| 1.26 |
| 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.25 |
| 30-Nov-2002 |
lukem | 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
|
| 1.24 |
| 18-Sep-2002 |
lukem | use NETBSDSRCDIR as appropriate
|
| 1.23 |
| 29-Jan-2002 |
tv | Add hooks to make mtree compilable from src/tools.
|
| 1.22 |
| 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.
|
| 1.21 |
| 10-Nov-2001 |
lukem | with local crc.c, don't need usr.bin/cksum in .PATH any more
|
| 1.20 |
| 07-Nov-2001 |
lukem | 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.
|
| 1.19 |
| 18-Oct-2001 |
lukem | complete WARNS=2 cleanup (with a bit of ickiness for the fts_open argv issue)
|
| 1.18 |
| 09-Oct-2001 |
enami | Make mtree a host tool and use it when appropriate.
|
| 1.17 |
| 09-Oct-2001 |
lukem | 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).
|
| 1.16 |
| 10-Sep-2001 |
lukem | replace home-grown parser with fparseln()
|
| 1.15 |
| 07-Dec-1999 |
wennmach | code.c is no longer used, we use strsvis instead. Removed prototypes from extern.h
|
| 1.14 |
| 07-Nov-1999 |
wennmach | 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
|
| 1.13 |
| 10-Oct-1998 |
mrg | branches: 1.13.2; 1.13.6; 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.
|
| 1.12 |
| 25-Oct-1997 |
lukem | use CPPFLAGS instead of CFLAGS
|
| 1.11 |
| 17-Oct-1997 |
mrg | branches: 1.11.2; merge lite-2
|
| 1.10 |
| 08-May-1997 |
gwr | Back out the .PATH.c changes. The .depend problem (and others) will be fixed using the new .NOPATH make feature instead.
|
| 1.9 |
| 06-May-1997 |
gwr | Use .PATH.c: ...
|
| 1.8 |
| 07-Mar-1995 |
cgd | add NetBSD id's
|
| 1.7 |
| 07-Mar-1995 |
cgd | clean up import, fix a few bugs, etc.
|
| 1.6 |
| 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.5 |
| 19-Mar-1994 |
cgd | don't forget the man page. from Luke Mewburn <lm@rmit.edu.au>
|
| 1.4 |
| 02-Nov-1993 |
cgd | fix oops
|
| 1.3 |
| 02-Nov-1993 |
cgd | latest mtree from uunet. doesn't compile, but that'll be fixed soon. (want to have 'pseudo-virgin' sources, for when fixed fnmatch stuff is released...)
|
| 1.2 |
| 30-Jul-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 |
| 27-Apr-1995 |
mrg | 4.4BSD-Lite2
|
| 1.1.1.2 |
| 07-Mar-1995 |
cgd | from 4.4-Lite
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.2.1 |
| 08-Nov-1997 |
lukem | sync with trunk (approved by thorpej)
|
| 1.13.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.13.2.1 |
| 20-Nov-1999 |
he | Pull up revision 1.14 (requested by wennmach and joda): Make mtree able to properly encode file names with `funny' albeit legal characters (`#', ` ', binary characters), fixing PR#5006 and PR#7663.
|
| 1.30.4.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.31.12.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.32.12.2 |
| 25-Feb-2013 |
tls | resync with head
|
| 1.32.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.32.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.32.6.1 |
| 30-Oct-2012 |
yamt | sync with head
|