Add instructions for CentOS 6 to README.md.

Thanks to Paul Schulz <pschulz01@gmail.com> for the information.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Add missing "install" argument to yum command in README.md.

Thanks to Paul Schulz <pschulz01@gmail.com> for pointing it out.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Note additional repositories that may be needed for CentOS builds.

Thanks to Paul Schulz <pschulz01@gmail.com> for the report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Properly escape \r in bup-newliner.md.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Check the arguments passed to ./configure.

For now, don't allow arguments, since ./configure doesn't actually
support any.  Previously "./configure --help" would print misleading
information, and any other arguments were silently ignored.

Thanks to Alexander Barton <alex@barton.de> for the report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
Explain current installation process in README.md (i.e. "make install").

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Note linux-libc-dev build dependency (for ext2_fs.h).

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Remove dependency on linux/ext2_fs.h

Due to a missing header in (some versions of) linux/ext2_fs.h,
configure's AC_CHECK_HEADERS test fails for this header, making it
appear "not found", and causing Linux-attr support to be disabled in bup
for no good reason.

Given that all the flags bup needs are available in linux/fs.h, we can
safely remove the requirement for linux/ext2_fs.h altogether, to work
around the problem.

Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Makefile: clean config/ during clean.

Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Explicitly select the "du" block size in t/test.sh.

Since du's default output can be affected by several environment
variables (DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE), be explicit about
what we want via -B 1024.

Thanks to Michael Ekstrand <michael@elehack.net> for the original
report, and help with the fix.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Add ./HACKING and refer to it from README.md.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Try to create a HACKING link in README.md.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Try again to create a HACKING link in README.md.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Fix path to git repository in ./README.md.

The repository at http://github.com/apenwarr/bup says to go here.

Signed-off-by: Henrik Holmboe <henrik@holmboe.se>
Reviewed-by: Gabriel Filion <lelutin@gmail.com>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
Update bup repository address in Documentation/bup.md.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Add *.tmp.meta to .gitignore and to "make clean".

...since tmpindex.tmp.meta is now generated by "make check".

Signed-off-by: Alexander Barton <alex@barton.de>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Explicitly use "du -k" to set block size in t/test.sh.

Commit e3514812 (Explicitly select the "du" block size in t/test.sh)
used the parameter "-B 1024" which isn't portable. Now use "du -k"
to explicitly get output in kilobytes.

At least du(1) on Linux (GNU coreutils), Mac OS X, FreeBSD, NetBSD,
and OpenBSD support this option.

Signed-off-by: Alexander Barton <alex@barton.de>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Print a more meaningful error message when help can't run man.

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
[rlb@defaultvalue.org: elaborated on the error message a bit]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Stop checking for empty stat values from recursive_dirlist().

Remove the "if pst:" guard in index-cmd.py, since it doesn't appear to
be possible for recursive_dirlist() to return None for the stat value.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
Add preliminary hardlink support for review.

Thanks to Tim Riemenschneider <git@tim-riemenschneider.de> for
pointing out a compatibility problem (with older versions of Python)
in an earlier version of this patch.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>