create OPSI package for winbareos

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
build bebug package

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Tweak BAT about window.
Tweak Makefile.in

Make sure timelimit is build with the right CXXFLAGS.
Fix problem when zlib is not available.
Extract default database type from config.

As the bareos-config script is non-portable (bash) we better extract the
default database backend from the bareos-dir.conf. To be even more sure
the script uses the right database type the call to it should just
include the 5th argument which is the database type in the config so we
are not dependent on any default type guessing.
Rewrite btraceback.

Rewrote btraceback to be a uniform script that behaves the same on each
platform. We now let configure determine which debugger is available on
the platform we are on. On execution of the btraceback script it checks
which debuggers were available and also checks if that one is available
on the current platform. If not it will fall back to runtime detection
of any available debugger.
Rebuild configure.
Tweak use CFLAGS not CXXFLAGS as we use CC not CXX

timelimit.c is compiled with the normal C compiler not with C++ so lets
use the proper set of flags e.g. CFLAGS instead of CXXFLAGS.
Don't install initscripts on Solaris 10 and higher.
Tweak some Makefiles.

Drop all old GNOME menu stuff and drop all uninstall related targets.
Try to get ride of LDFLAGS on xUbuntu

Ubuntu compiles the shared libs with

-Wl,-Bsymbolic-functions -Wl,-z,relro

which makes the config_engine blowup as function pointers are not ok
and all offsets calculated at compile time are not right and as such
the whole config structure doesn't get initialized properly and the code
crashes at random places.
Drop LDFLAGS unset.
Disable debian hardening.

Enabling hardening gives the following LDFLAGS

-Wl,-Bsymbolic-functions -Wl,-z,relro

which break the config engine.
debian/rules is a Makefile not a shell script.

The current file seems to indicate that the rules file is a shell script
by exporting all variables and using the ${} variable expansion while
the normal Makefile variable expansion uses $() and we also can have
spaces around the variable initialization as it Makefile and not shell.
Fix typo in configure.
add bareos-dbg for Debian

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Force the LDFLAGS to be unset

As unfortunately the unsetting of the hardening
doesn't work, we unset the LDFLAGS right before
configure

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Fix compiler warning.
Don't print password while replacing it.

The bareos-config script writes the passwords in cleartext when replacing
them in the config files.

As they are passwords, they should be kept secret so not displayed.

Fixes #58: Passwords are printed when they are set