From: Jonathan McDowell Date: Mon, 19 Jun 2006 22:04:22 +0000 (+0000) Subject: Change Debian package to use dynamic backend. X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/99916c3399f78fbfbfb0b2da2ac112b327269d51?hp=3b764b8e96bfcd76f36a76b58ac8ce812cff6ec1 Change Debian package to use dynamic backend. 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. --- diff --git a/Makefile.in b/Makefile.in index 6a15a7f..c3382a4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -101,6 +101,7 @@ onak-mail.pl: onak-mail.pl.in 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 diff --git a/debian/onak.install b/debian/onak.install index ce81ad5..8ea4f3c 100644 --- a/debian/onak.install +++ b/debian/onak.install @@ -1,5 +1,6 @@ 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 diff --git a/debian/rules b/debian/rules index a230cea..298926f 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ 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 := diff --git a/onak.conf.in b/onak.conf.in index c194142..d9c3079 100644 --- a/onak.conf.in +++ b/onak.conf.in @@ -3,6 +3,8 @@ # 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+