diff --git a/debian/.gitignore b/debian/.gitignore index a4103e870..46b94f7a7 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -3,15 +3,14 @@ autoreconf.after autoreconf.before debhelper-build-stamp files -libtalerexchange.debhelper.log +*.log libtalerexchange.substvars libtalerexchange/ -taler-exchange-dev.debhelper.log taler-exchange-dev.substvars taler-exchange-dev/ -taler-exchange.debhelper.log taler-exchange.substvars taler-exchange/ +taler-exchange-database/ tmp/ libtalerexchange-dev.substvars libtalerexchange-dev/ diff --git a/debian/control b/debian/control index 1ae7da476..f7b0c38fe 100644 --- a/debian/control +++ b/debian/control @@ -45,12 +45,24 @@ Depends: ${shlibs:Depends} Description: libraries to talk to a GNU Taler exchange. +Package: taler-exchange-database +Architecture: any +Pre-Depends: + ${misc:Pre-Depends} +Depends: + lsb-base, + netbase, + ${misc:Depends}, + ${shlibs:Depends} +Description: programs and libraries to manage a GNU Taler exchange database. + Package: taler-exchange Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libtalerexchange (= ${binary:Version}), + taler-exchange-database (= ${binary:Version}), adduser, lsb-base, netbase, @@ -65,6 +77,7 @@ Pre-Depends: ${misc:Pre-Depends} Depends: libtalerexchange (= ${binary:Version}), + taler-exchange-database (= ${binary:Version}), adduser, lsb-base, netbase, diff --git a/debian/rules b/debian/rules index 171cc8936..5f9243119 100755 --- a/debian/rules +++ b/debian/rules @@ -40,4 +40,5 @@ override_dh_install: cd debian/taler-auditor; find . -type f,l -exec rm -f ../libtalerauditor/{} \; cd debian/taler-auditor; find . -type f,l -exec rm -f ../libtalerexchange/{} \; cd debian/taler-auditor; find . -type f,l -exec rm -f ../taler-exchange/{} \; + cd debian/taler-exchange-database; find . -type f,l -exec rm -f ../taler-exchange/{} \; cd debian/libtalerexchange; find . -type f,l -exec rm -f ../taler-exchange/{} \; diff --git a/debian/taler-exchange-database.install b/debian/taler-exchange-database.install new file mode 100644 index 000000000..dba4510c7 --- /dev/null +++ b/debian/taler-exchange-database.install @@ -0,0 +1,6 @@ +usr/bin/taler-exchange-dbinit +usr/lib/*/taler/libtaler_plugin_exchange*.so +usr/share/man/man1/taler-exchange-dbinit +usr/share/taler/sql/exchange/* +usr/share/taler/config.d/exchangedb.conf +usr/share/taler/config.d/exchangedb-postgres.conf diff --git a/debian/taler-exchange.install b/debian/taler-exchange.install index 1478de463..7d484cbfe 100644 --- a/debian/taler-exchange.install +++ b/debian/taler-exchange.install @@ -1,12 +1,10 @@ usr/bin/ -usr/lib/*/taler/libtaler_plugin_exchange*.so usr/share/man/man1/taler-exchange* usr/share/man/man1/taler-bank* usr/share/man/man1/taler-config* usr/share/man/man1/taler-wire* usr/share/info/taler-bank* usr/share/info/taler-exchange* -usr/share/taler/sql/exchange/* usr/share/taler/config.d/* debian/etc/* etc/ debian/exchange-conf/* etc/taler-exchange/