Add libmar to build update tools to the repo.
authorJason Stephenson <jason@sigio.com>
Tue, 19 Mar 2013 00:03:42 +0000 (20:03 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Tue, 26 Mar 2013 14:54:09 +0000 (10:54 -0400)
commitb2d4cef9bcae7771fa56ea3fe8bab0e793cd6092
tree7c29eade32ec00620016bab40b30102130a88f5b
parentbfd6f7871e608b39bb40bd768ff4fff480ac1120
Add libmar to build update tools to the repo.

This adds code from Mozilla to build a command line mar program and the
libmar library that it uses.  This code is now dual-licensed under the
MPL 2.0 and GPL v2 or later.

We also add our own version of mbsdiff using a modified version of Colin
Percival's FreeBSD-licensed bsdiff program.  We also copy the crc32 code
from Mozilla's updater.

Add libmar as "subpackage" in cofigure.ac.

Add AC_CONFIG_SUBDIRS macro call for Open-ILS/xul/staff_client/external/
libmar so that our update tools will get configured and built when
Evergreen is built.

Modify make_updates.sh for our update tools.

Instead of downloading mar and mbsdiff from Mozilla.org's servers,
we check if they exist in Open-ILS/xul/staff_client/external/libmar/tool
and if not we build them.  They should be there already.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
16 files changed:
Open-ILS/xul/staff_client/external/libmar/Makefile.am [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/README [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/configure.ac [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/Makefile.am [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar.h [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar_cmdline.h [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar_create.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar_extract.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar_private.h [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/src/mar_read.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/tool/Makefile.am [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/tool/bsdiff.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/tool/crc32.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/libmar/tool/mar.c [new file with mode: 0644]
Open-ILS/xul/staff_client/external/make_updates.sh
configure.ac