Support for SLE-12 and OpenSUSE 13.2 in spec
add configure option dynamic-debian-package-list

When building packages for Debian,
the resulting packages are defined in the file debian/control.
This file must exist at the beginning of the build process.
As Bareos is build for different plattforms, the resulting packages differ.
Therefore configure can overwrite debian/control
so that is matches the configured options.
However, the Debian project does not allow this file to be changed.
Therefore we make this feature optional.
The configure default is to keep the static debian/control file.
When configure is used with the option
--enable-dynamic-debian-package-list
debian/control will be overwritten with the template debian/control.in.
Add more conflicts against Bacula packages

Our binaries have the same names as the ones from Bacula, so add proper Conflicts.

Closes: #767058
Thanks: Ralf Treinen <treinen@free.fr>

Signed-off-by: Joerg Steffens <joerg.steffens@bareos.com>
recreated configure
Be able to build also for windows < vista
fixes some CamelCase names for Director resources
fixes some warnings from qa.debian.org

See https://packages.qa.debian.org/b/bareos.html:
file permission of the copyright file,
file permission of the logrotate config file,
remove automatic password helper file,
do not suggests dds2tar, as it is only for DAT tape drives and not directly used by Bareos.
do not install files as conffiles in /etc/bareos

If we install those files as conffiles, we are not allowed to replace
passwords etc in them.

This change installs the files into /usr/share/bareos-common by default
and uses them templates for the generated files in /etc/bareos in postinst.

Ideally, we would register them with ucf and merge the newer versions in
the future, but this task is left to future-me or someoneelse who has the
needed time.

Closes: #767819

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
store Debian config templates in directory configured by --with-configtemplatedir

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
clearified description for bareos-database-common

Closes: #768606 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768606)
Thanks: Davide Prina
change travis behavior: build and install packages

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Updated Configure
Fix regression problems with weird-files tests

Fixes #362: regression tests using the "weird files" are failing on
solaris and Ubuntu 12.4 and 14.4
Merge remote-tracking branch 'origin/bareos-14.2' into joergs/bareos-14.2-debian

Conflicts:
	autoconf/configure.in
	configure
	debian/control
	debian/control.in
	debian/rules
changelog
14.2.1+20141017gitc6c5b56-3