This hopefully does all that's required to build a Debian package with
all our backends but defaulting to db4 so we don't break those
upgrading.
onak.conf: onak.conf.in
sed -e 's:@BINDIR@:@bindir@:g' \
+ -e 's:@LIBDIR@:@libdir@:g' \
-e 's:@STATEDIR@:@localstatedir@:g' \
< onak.conf.in > onak.conf
onak.conf etc
onak splitkeys usr/bin
onak-mail.pl usr/lib/onak
+libkeydb_*.so usr/lib/onak/backends
add lookup gpgwww usr/lib/cgi-bin/pks
onak.1 splitkeys.1 usr/share/man/man1
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
-DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=db4
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-backend=dynamic
DEB_MAKE_INSTALL_TARGET :=
#
pks_bin_dir @BINDIR@
+db_backend db4
+backends_dir @LIBDIR@/onak/backends
db_dir @STATEDIR@/lib/onak
logfile @STATEDIR@/log/onak.log
# Loglevel : 0 is highest debug, default is 3, nothing is 7+