sha384 and sha512 are supported tags, add them to mtree.5.
"optional" is also supported, so add it to mtree.5.
Typo fix.
Document the "device" keyword and its value.
Add the device parsing logic. It allows mtree's libarchive to
parse device entries like NetBSD's mtree and its multiple possible
format: native, 386bsd, 4bsd, bsdos, freebsd, hpux, isc, linux, netbsd,
osf1, sco, solaris, sunos, svr3, svr4, and ultrix.
Start implementing the "resdevice" (resident device) keyword. It
corresponds to the st_dev field of stat(2), e.g. the ID of the
device that contains the inode.

Change parse_device() prototype so it can be used for "device"
and "resdevice", and call the appropriate archive_entry_set_{,r}dev()
function to store the field value.
Small typo fix in parse_device()'s description.
Implement "resdevice" and "inode" in the mtree(5) spec.
- resdevice is the keyword that corresponds to the "resident" device,
e.g. the one where the entry resides;
- inode is entry's inode number.
Document "resdevice" and "inode".
Bug fix (segfault): check filename against NULL in case we want
the output to go to stdout.
st_dev field corresponds to dev{major,minor} and not rdev{major,minor}.
Hide *lafe_progname and provide getter/setter instead.

This factorizes some code between binaries like bsdtar, bsdcpio, and
the soon-to-be mtree.
Merge branch 'master' of github.com:jymigeon/libarchive into jymigeon-master
Refactor lafe_setprogname slightly to avoid the repeated logic about default handling