Insert missing keyword in job resource table.

When replaying some old patches it seems we missed merging one
new keyword added in the 13.4 version.

Fixes #304: catalog configuration in job resource not available
handle Debian start scripts by dh_installinit

the Debian package build mechanism
(used for Debian, Ubuntu, Univention)
offers support functions to handle daemon init scripts.
This patch uses this mechanism.
It also adapts the behavior of RPM packages to be identical to DEB packages.
Changed behaviour:

   bareos-dir, bareos-sd and bareos-fd are enabled on install/update
     On install, daemons are normally not configured
     and therefore automatic activation often not useful.
     However, this the the default behavior of Debian
     and therefore we configured it in this way.

   bareos-fd is started/restarted on install/update
     bareos-dir and bareos-sd are not restarted, to prevent canceling running jobs.

   bareos-dir, bareos-sd and bareos-fd are stopped on deinstall

   When doing an install from source (make, make install) on Debian,
     init scripts will not be installed.
     An extra call "make install-autostart" is required.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Rebuild configure.
Added missing file for MacOS
adding Debian copyright file

Bareos license (AGPL3 with exceptions) is described in the file "LICENSE"
(based on the Bacula LICENSE file).
However, Debian require license information in a specific file and format (debian/copyright).
This patch adds this file and also includes it to the bareos-common RPM.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Debian: lintian

remove some Debian lintian warnings.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Add git revision to version string
Enable/Disable Scheduler

Fixes #308: Enable/Disable Scheduler
Only build some plugins if their dependency is met.
Rebuild configure.
Merge the dynamic backend loading into one file.
Fix typo.
Tweak.
Explicitly enable python support for debian.

Up until now we build only dummy not functioning python plugins
on Debian based systems. With the new build changes that means that the
plugins are no longer build as it only enables building of plugins that
actually do something.
Change Filename of Mac Package
moved bsmtp from bareos-director to bareos-common

The program bsmtp is used by bareos-dir but also by btraceback.
Therefore it is moved to the bareos-common package.

Fixes #251: /usr/sbin/bsmtp is part of the director but is needed from btraceback

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