Changesets: bareos

master 693d5279

2021-10-13 01:46

arogge

Ported: N/A

Details Diff
lmdb: improve hack for windows FormatMessageA()
mod - core/src/lmdb/CMakeLists.txt Diff File
mod - core/src/lmdb/mdb.c Diff File

master 29324a22

2021-10-13 00:27

arogge

Ported: N/A

Details Diff
python: remove macro MS_WIN32

Python should autodetect 32-bit and 64-bit Windows, but this is broken
when building with GCC[1].
The previous workaround we had in place defined MS_WIN32 or MS_WIN64
depending on what we're building. As MS_WIN32 is always defined, we
should only define MS_WIN64 in case we're building 64-bit Windows.

[1] https://bugs.python.org/issue4709
mod - core/src/plugins/dird/CMakeLists.txt Diff File
mod - core/src/plugins/filed/CMakeLists.txt Diff File
mod - core/src/plugins/stored/CMakeLists.txt Diff File

master f107ddc0

2021-10-12 18:35

arogge

Ported: N/A

Details Diff
lib: remove undocumented BAREOS_CFGDIR

The configuration parser had set the undocumented and unused environment
variable BAREOS_CFGDIR, which could potentially have been used in
scripts and programs generating configuration snippets. However, as this
was never documented and is not used by Bareos itself, we remove it and
with it the need for setenv() and/or putenv().
mod - core/cmake/BareosCheckFunctions.cmake Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 0bc60ca2

2021-10-12 18:27

arogge

Ported: N/A

Details Diff
cmake: rename PLATFORM -> BAREOS_PLATFORM

The macro PLATFORM is already used in pyconfig.h on Windows builds, so
we rename our macro to BAREOS_PLATFORM to avoid clashing.
mod - CMakeLists.txt Diff File
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosGenerateDebianInfo.cmake Diff File
mod - core/cmake/BareosGetDistInfo.cmake Diff File
mod - core/platforms/CMakeLists.txt Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/include/config.h.in Diff File

master dbc2ab2e

2021-10-12 17:46

arogge

Ported: N/A

Details Diff
tests: avoid ODR violation in sd_reservation

Previously LINK_LIBRARIES for sd_reservation was overspecified which
lead to an issue with ODR (symbols from SD and Dir could have been
used).
mod - core/src/tests/CMakeLists.txt Diff File

master 3dac83e8

2021-10-12 17:33

bruno-at-bareos

Ported: N/A

Details Diff
doc: improve clarity by adding "without any space"

In Message configuration, a list of comma separated email can be configured.
To work correctly that list has to not contain any space.

Fix bug#1391

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Mail.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnError.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnSuccess.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Operator.rst.inc Diff File

master abced003

2021-10-12 17:10

arogge

Ported: N/A

Details Diff
tests: work around potential strncpy() problem
mod - core/src/tests/lib_tests.cc Diff File

master a8c15237

2021-10-12 17:04

arogge

Ported: N/A

Details Diff
droplet: build only on 64-bit
mod - core/CMakeLists.txt Diff File

master 905f05bb

2021-10-11 22:05

arogge

Ported: N/A

Details Diff
lmdb: use 'z' instead of 'I' to format size_t

Previously for win32 'I' was used, but this is not required anymore and
will produce a warning on mingw32.
mod - core/src/lmdb/lmdb.h Diff File

master a30d4e5f

2021-10-11 21:53

arogge

Ported: N/A

Details Diff
findlib: use placement new in binit()

When initializing BareosWinFilePacket* we now use placement new so the
struct values are nicely initialized by our constructor instead of
forced zero initialization like before.
mod - core/src/findlib/bfile.cc Diff File

master 7225e354

2021-10-11 21:45

arogge

Ported: N/A

Details Diff
dbcopy: use less fancy time format

This patch replaces "%F %T" with the equivalent (and more portable) long
variant "%Y-%m-%d %H:%M:%S", so that Windows build will show progress,
too.
mod - core/src/dird/dbcopy/progress.cc Diff File

master 31a5e6f3

2021-10-11 21:43

arogge

Ported: N/A

Details Diff
cats: refactor backend loading
mod - core/src/cats/cats_backends.cc Diff File

master 0a42f507

2021-10-11 20:58

arogge

Ported: N/A

Details Diff
tests: disable signal-init on win32

this is a no-op anyway and will yield a compiler warning, so we disable
it.
mod - core/src/tests/bsock_test_connection_setup.cc Diff File

master 8e1060e8

2021-10-11 20:21

arogge

Ported: N/A

Details Diff
lib: don't compile unused openssl callbacks

This patch removes the openssl thread callbacks when building with
OpenSSL 1.1.0 or newer. However, references to the callbacks are kept,
so if any of them was required, compiling would fail.
mod - core/src/lib/crypto_openssl.cc Diff File

master e6e4408c

2021-10-11 16:35

arogge

Ported: N/A

Details Diff
lmdb: disable stringop-overflow warning

LMDB utilizes some kind of old-style variable-length-array. This leads
to stringop-overflow warnings, which we can ignore as the out-of-bounds
access is intentional (and not really out-of-bounds).
mod - core/src/lmdb/CMakeLists.txt Diff File

master 146ffcc3

2021-10-11 16:22

arogge

Ported: N/A

Details Diff
ndmp: resize osbuf to fit maximum length possible

Apparently Solaris can produce strings up to 299 bytes for this, so we
increase the size of the buffer to 300 bytes.
mod - core/src/ndmp/ndmos_common.c Diff File

master 579cc687

2021-10-11 16:18

arogge

Ported: N/A

Details Diff
cmake: disable deprecated warnings on Solaris

Solaris 11.4 produces a lot of bogus warning when using md5 (which is
marked as deprecated in the header files there).
mod - core/CMakeLists.txt Diff File

master adabd9e9

2021-10-11 16:10

arogge

Ported: N/A

Details Diff
filed: work around strict aliasing warning

When building the bareosfd module for the filed against python 2.7,
there is a warning concerning strict aliasing. As we cannot fix the
issue, that exists in python's headerfile, we set -fno-strict-aliasing
so the compiler will not do strict aliasing for this TU.
mod - core/src/plugins/dird/python/CMakeLists.txt Diff File
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File
mod - core/src/plugins/stored/python/CMakeLists.txt Diff File

master 6083fd51

2021-10-11 15:57

arogge

Ported: N/A

Details Diff
droplet: improve dpl_set_addr_family_from_host()

This function had a pointer to a destination buffer with no associated
length passed. This patch adds the length as an additional parameter.
mod - core/src/droplet/libdroplet/include/droplet/utils.h Diff File
mod - core/src/droplet/libdroplet/src/addrlist.c Diff File
mod - core/src/droplet/libdroplet/src/utils.c Diff File

master 9d77c414

2021-10-11 14:16

joergs


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000863 from bareos/dev/maik/master/rest_api_pypi

rest-api: add pypi packaging files
add - .github/workflows/publish_restapi_to_pypi.yml Diff File
add - .github/workflows/publish_restapi_to_test-pypi.yml Diff File
mod - docs/manuals/source/DeveloperGuide/api.rst Diff File
add - restapi/setup.py Diff File
mod - systemtests/environment.in Diff File
mod - systemtests/tests/CMakeLists.txt Diff File
rm - systemtests/tests/python-restapi/api/bareos-restapi.py Diff File
rm - systemtests/tests/python-restapi/api/bareosRestapiModels.py Diff File
rm - systemtests/tests/python-restapi/api/metatags.yaml Diff File
rm - systemtests/tests/python-restapi/api/startapi.sh.in Diff File
rm - systemtests/tests/python-restapi/api/stopapi.sh Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-client-server.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-client.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/admin-runscript-server.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-client-defaults.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-client.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-bareos-fd-runscript-server.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/job/backup-test2-fd.conf Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/jobdefs/jobdefs-runscript1.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bareos-dir.d/jobdefs/jobdefs-runscript2.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bconsole-admin-notls.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bconsole-client-bareos-fd.conf.in Diff File
rm - systemtests/tests/python-restapi/etc/bareos/bconsole-job-backup-bareos-fd.conf.in Diff File
rm - systemtests/tests/python-restapi/write.sh Diff File
add - systemtests/tests/restapi/api/curl-auth.sh Diff File
add - systemtests/tests/restapi/api/curl-call.sh Diff File
add - systemtests/tests/restapi/api/restapi.sh Diff File
add - systemtests/tests/restapi/environment-local.in Diff File

master a8070b38

2021-10-11 13:42

arogge

Ported: N/A

Details Diff
systemtest: check requirements for restapi are met

The testrunner for system:restapi now checks that modules listed in
requirements.txt are installed and skips the test otherwise.
mod - systemtests/tests/restapi/testrunner Diff File

master e1bc2f85

2021-10-08 17:17

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000950

systemtests: configurable database credentials
mod - CHANGELOG.md Diff File
mod - CMakeLists.txt Diff File
mod - core/cmake/BareosFindAllLibraries.cmake Diff File
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
add - core/src/tests/configs/catalog/bareos-dir.d/catalog/.gitignore Diff File
mod - docs/manuals/source/DeveloperGuide/BuildAndTestBareos/systemtests.rst Diff File
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File

master fcb31837

2021-10-08 16:53

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000952

Enable building SLE 15 SP3
mod - .matrix.yml Diff File
mod - CHANGELOG.md Diff File
mod - core/platforms/packaging/bareos.spec Diff File
add - docs/pkglists/SLE_15_SP3.x86_64 Diff File

master c4fced35

2021-10-08 14:09

pstorz


Committer: arogge

Ported: N/A

Details Diff
crypto_openssl.cc: mark functions with [[maybe_unused]]
mod - core/src/lib/crypto_openssl.cc Diff File

master 041162f7

2021-10-08 14:08

pstorz


Committer: arogge

Ported: N/A

Details Diff
btape.cc: switch to inline functions for read and write
mod - core/src/stored/btape.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 138 139 140 141 142 143 144 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 607 608 609  Next  Last