bareos: master 1f02cc8e

Author Committer Branch Timestamp Parent
joergs mvwieringen master 2014-05-08 14:23 master b589fbfc Pending
Changeset Use dbconfig for Debian based distributions

dbconfig-common is a standard mechanism for Debian based distributions,
to assists applications that require a database.

The user still has the choice to configure the database manually, if not,
dbconfig detects what database backends are installed, and the user gets
asked, what connection parameter he wants to use.

If dbconfig is configured correctly, database schema updated are done automatically
on package updates. With export DEBIAN_FRONTEND=noninteractive the user don't get ask,
and dbconfig configures the database backend as good as he can.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - README.dbconfig Diff File
mod - autoconf/configure.in Diff File
add - debian/bareos-database-common.config.in Diff File
mod - debian/bareos-database-common.install Diff File
add - debian/bareos-database-common.postinst.in Diff File
add - debian/bareos-database-common.postrm Diff File
add - debian/bareos-database-common.prerm Diff File
mod - debian/bareos-database-mysql.install Diff File
mod - debian/bareos-database-postgresql.install Diff File
mod - debian/bareos-database-sqlite3.install Diff File
mod - debian/bareos-director.postinst Diff File
mod - debian/control Diff File
mod - debian/control.common Diff File
mod - platforms/debian/Makefile.in Diff File
add - platforms/debian/set_dbconfig_vars.sh.in Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/ubuntu/Makefile.in Diff File
rm - platforms/ubuntu/bareos-dir.in Diff File
rm - platforms/ubuntu/bareos-fd.in Diff File
rm - platforms/ubuntu/bareos-sd.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/Makefile.in Diff File
add - src/cats/ddl/versions.map.in Diff File