optimize Debian package building

Debian dislikes the use of RPATH[1]. Setting it to our private libdir might be
useful, but not to the global libdir as it is searched anyways.
The SQL plugins set rpath to /usr/lib/<triplet>, strip those away with chrpath.
[1] https://wiki.debian.org/RpathIssue

dh_makeshlibs generates maintainer scripts that call ldconfig.
As we are shipping private libs only, ldconfig won't update anything.
Thus we can ommit the ldconfig call all together.
Calling dh_makeshlibs with -n solves this.

try to build parallel (note: this might break on older debhelpers)

add a build target for generating debian copyright

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
drop SHA license, it's unused and only confuses lintian

we do not ship the problematic SHA files anymore

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Fix sample.
renamed Python plugins example to .py.template

to prevent, that users modify them directly,
as these files get replaced on a package update.

Attention: if plugin is activated
(package is installed and Plugin Directory is definied in the configuration file),
bareos-dir and bareos-sd will refuse to work, because of the missing Python code.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
adding MacOS build targets nothing and all

nothing is the first target, to prevent loops
when Makefile is called again without parameter.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
logrotate all logfiles named bareos*.log

not only bareos.log.
This will include bareos-audit.log (defined in the default configuration)
and possible other logfiles, that come in the future.
Time to keep logfiles increased from 5 to 6 month, to cover half a year.

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