NetBSD/usr.sbin/mtree
christos 905fa31223 From Brooks Davis:
When comparing a directory to an mtree file NetBSD mtree has output like
this:

xxx:	size (4, 5)
	md5digest (0x6de9439834c9147569741d3c9c9fc010, 0xa5d119ab8edcda0ef7f381da8=
f52f92f)
=2E/yyy missing

FreeBSD's historical behavior is this:

xxx changed
	size expected 4 found 5
	md5digest expected 6de9439834c9147569741d3c9c9fc010 found a5d119ab8edcda0e=
f7f381da8f52f92f
=2E/yyy missing

FreeBSD's mergemaster -U command depends on the latter behavior so
the following patch alters the freebsd9 mode of mtree to output
that format.  I don't think programs should rely on this output one way
or another since it's clearly meant for humans, but this seems like the
easiest short term fix.
2013-11-21 18:39:50 +00:00
..
Makefile add the ability to only output paths included in a spec file when creating 2013-02-03 19:15:16 +00:00
compare.c From Brooks Davis: 2013-11-21 18:39:50 +00:00
crc.c remove dup extern (brooks) 2012-10-05 00:40:51 +00:00
create.c Our <sys/param.h> ends up calling header files that define intmax_t. This 2013-10-17 17:22:59 +00:00
excludes.c
extern.h add the ability to only output paths included in a spec file when creating 2013-02-03 19:15:16 +00:00
getid.c skip comment lines on password and group databases (Brooks Davis) 2013-10-16 17:27:42 +00:00
misc.c move flavor to misc.c because pax needs it. 2012-12-20 19:09:25 +00:00
mtree.8 fix man page. 2013-02-03 19:16:06 +00:00
mtree.c move flags only used in main() inside main(), from Ed Schouten 2013-04-08 17:39:11 +00:00
mtree.h Fix typo in comment. 2012-10-05 09:17:29 +00:00
only.c fill up the directory hierarchy so that leaf files are not ignored if 2013-02-05 00:59:03 +00:00
spec.c Our <sys/param.h> ends up calling header files that define intmax_t. This 2013-10-17 17:22:59 +00:00
specspec.c NetBSD needs <time.h> 2012-10-05 01:27:29 +00:00
verify.c add the ability to only output paths included in a spec file when creating 2013-02-03 19:15:16 +00:00