Add comment for encryption support.

Some libraries may be setup for Library based encryption or for usage of
a Key Management Appliance and that may prohibit the use of Application
Managed Encryption that our scsi-crypto plugin implements. So in those
situations you need to disable the LME or KMA settings of the library.
Use OPENSSL_VERSION_NUMBER for version detection.
Rebuild configure and config.h.in
Fix storage daemon plugin interface.

Instead of stealing symbols from the running storage daemon run the new
record translation via the bfuncs method array. Also don't use the RES
pointer to get the setting of the compatible setting but add an extra sd
plugin variable which can be requested by the plugin to get the exact
setting of the compatible variable.
Fix small memory leak on exit.
tape examples now use bigger block and file sizes

As the defaults for Block Size and File Size are much too small
for modern tape drives, we now set some adequate defaults in the
example configs.

Also we link to the tape speed whitepaper where the effect of big
block sizes can be seen in detail.

Fixes #248: default values for block and file size for tape devices in
configurations are too small
First attempt at supporting IBM lin_tape driver.

Use with:

Use MTIOCGET = No
IOError at EOM = Yes
IBM lintape = Yes
set MANUAL_AUTH_URL to Bareos documentation

the provides URL has been wrong. Replaced to working documenation URL.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
removed unused or outdated translations

removed files that do not contain any translations,
removed translation that are outdated,
removed outdated informations from README

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

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Do not offer upgrade if existing version cannot keep cfg on silent uninstall

Old versions before 12.4.5 cannot keep config files when silenly uninstalling.
So do not offer upgrade there.

Fixes #234: Do not offer upgrade if existing version cannot keep cfg on silent uninstall
compatible mode can now be set during install

Now during install the setting of compatible can be
chosen in a checkbox and on the cmdline for silent install.

compatible is still enabled by default, but it can be disabled
during install.

fixes #235: offer setting of compatible setting of client during install

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

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
support for openssl version 1 on windows

before, we only supported openssl version 0.98
Fixed cherry-picking error
Fix compilation on RHEL4.

These (very old) systems ship with openssl-0.9.7a which
defines EVP_MAX_MD_SIZE to 36, a smaller constant than bareos'
CRYPTO_DIGEST_MAX_SIZE (64). This mismatch results in the following
error on attempt to compile crypto_openssl.c:

	crypto_openssl.c:58:2: #error "EVP_MAX_MD_SIZE != CRYPTO_DIGEST_MAX_SIZE, please update src/lib/crypto.h"

The purpose of the preprocessor sanity check that causes this error is
to make sure that various arrays of length CRYPTO_DIGEST_MAX_SIZE are
large enough for all message digests. So all we actually need to check
for is that EVP_MAX_MD_SIZE is no larger than CRYPTO_DIGEST_MAX_SIZE.

Weakening the condition of the above check from "!=" to ">" turned
out to be enough to compile bareos on Red Hat Enterprise Linux 4
(using --client-only though). The resulting executable worked with
no problems.

This patch also adds a comment that explains the purpose of the check.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Fix missing break
cleanup database population

remove scripts for testdatabase. These have not been used for a long time,
and probably do not work anymore anyway.
mysql: grant access to different localhost settings (localhost, 127.0.0.1, ::1).
Better database password support.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Some filesystems violate against the POSIX rules.

when backing up a filesystem mounted to a linux host via ntfs, we get an
assertion error:

backup-sd-fd: bfile.c:1031-0 open file
/bacula-mounts/INEZ/part2/Users/<username>/AppData/Local/Packages/WinStore_cw5n1h2txyewy/AC/Microsoft/Windows
Store/Cache/0/0-Featured-https∺∯∯next-services.apps.microsoft.com∯browse∯6.2.9200-1∯667∯c∯DE∯Featured∯10895826.dat
backup-sd-fd: backup.c:983-0 Send data to SD len=6552
backup-sd-fd: find_one.c:756-0 Failed ASSERT: name_max+1 >
(int)sizeof(struct dirent) + (int)NAMELEN(entry)

Fixes 250: bareos-fd asserts when reading a file from ntfs volume mounted on linux
Next to setting explicit CFLAGS also set CXXFLAGS.

As we compile everything using CXXFLAGS when its C++ we should also set
the specific CFLAGS in CXXFLAGS on some platforms.