Changesets: bareos

master 83ef4207

2013-11-23 16:44

Marco van Wieringen

Ported: N/A

Details Diff
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.
mod - autoconf/configure.in Diff File

master 2c612a72

2013-11-23 15:49

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master 1a074319

2013-11-23 15:44

mvwieringen

Ported: N/A

Details Diff
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.
mod - autoconf/configure.in Diff File

bareos-13.2 a586203b

2013-11-15 22:43

Marco van Wieringen

Ported: N/A

Details Diff
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 0000250: bareos-fd asserts when reading a file from ntfs volume mounted on linux
mod - src/findlib/find_one.c Diff File

master f5eb37de

2013-11-15 22:43

Marco van Wieringen

Ported: N/A

Details Diff
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
mod - src/findlib/find_one.c Diff File

master ed6f7276

2013-11-15 21:43

mvwieringen

Ported: N/A

Details Diff
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
Affected Issues
0000250
mod - src/findlib/find_one.c Diff File

bareos-13.2 d330f872

2013-11-15 21:43

mvwieringen

Ported: N/A

Details Diff
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 0000250: bareos-fd asserts when reading a file from ntfs volume mounted on linux
Affected Issues
0000250
mod - src/findlib/find_one.c Diff File

bareos-12.4 3ac87d3a

2013-11-15 21:43

mvwieringen

Ported: N/A

Details Diff
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 0000250: bareos-fd asserts when reading a file from ntfs volume mounted on linux
Affected Issues
0000250
mod - src/findlib/find_one.c Diff File

bareos-13.2 035e04d1

2013-11-15 18:21

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
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>
rm - src/cats/create_test_database Diff File
rm - src/cats/drop_test_tables Diff File
mod - src/cats/grant_mysql_privileges.in Diff File
mod - src/cats/grant_postgresql_privileges.in Diff File
rm - src/cats/make_test_tables Diff File

master d49d3d23

2013-11-15 18:21

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
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>
rm - src/cats/create_test_database Diff File
rm - src/cats/drop_test_tables Diff File
mod - src/cats/grant_mysql_privileges.in Diff File
mod - src/cats/grant_postgresql_privileges.in Diff File
rm - src/cats/make_test_tables Diff File

master 7f1f3d82

2013-11-15 17:21

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
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>
rm - src/cats/create_test_database Diff File
rm - src/cats/drop_test_tables Diff File
mod - src/cats/grant_mysql_privileges.in Diff File
mod - src/cats/grant_postgresql_privileges.in Diff File
rm - src/cats/make_test_tables Diff File

bareos-13.2 da29b797

2013-11-15 17:21

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
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>
rm - src/cats/create_test_database Diff File
rm - src/cats/drop_test_tables Diff File
mod - src/cats/grant_mysql_privileges.in Diff File
mod - src/cats/grant_postgresql_privileges.in Diff File
rm - src/cats/make_test_tables Diff File

bareos-12.4 3bbde98c

2013-11-15 17:21

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
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>
rm - src/cats/create_test_database Diff File
rm - src/cats/drop_test_tables Diff File
mod - src/cats/grant_mysql_privileges.in Diff File
mod - src/cats/grant_postgresql_privileges.in Diff File
rm - src/cats/make_test_tables Diff File

master a183d79c

2013-11-13 21:26

Marco van Wieringen

Ported: N/A

Details Diff
Fix missing break
mod - src/dird/ua_label.c Diff File

master 35de5038

2013-11-13 20:26

mvwieringen

Ported: N/A

Details Diff
Fix missing break
mod - src/dird/ua_label.c Diff File

bareos-13.2 05aeb118

2013-11-13 18:27

Andre Noll


Committer: Marco van Wieringen

Ported: N/A

Details Diff
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>
mod - src/lib/crypto_openssl.c Diff File

master da3ca7c1

2013-11-13 18:27

Andre Noll


Committer: Marco van Wieringen

Ported: N/A

Details Diff
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>
mod - src/lib/crypto_openssl.c Diff File

bareos-12.4 c8c4bb12

2013-11-13 17:27

Andre Noll


Committer: mvwieringen

Ported: N/A

Details Diff
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>
mod - src/lib/crypto.c Diff File

bareos-13.2 5b1ebf85

2013-11-13 17:27

Andre Noll


Committer: mvwieringen

Ported: N/A

Details Diff
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>
mod - src/lib/crypto_openssl.c Diff File

master 1e5eb3ef

2013-11-13 17:27

Andre Noll


Committer: mvwieringen

Ported: N/A

Details Diff
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>
mod - src/lib/crypto_openssl.c Diff File

bareos-13.2 71694b66

2013-11-13 11:41

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix cherry-pick error
mod - platforms/win32/winbareos-nsi.spec Diff File

master baac35fe

2013-11-13 11:37

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fixed cherry-picking error
mod - platforms/win32/winbareos-nsi.spec Diff File

bareos-13.2 cbb25840

2013-11-13 10:41

pstorz

Ported: N/A

Details Diff
Fix cherry-pick error
mod - platforms/win32/winbareos-nsi.spec Diff File

master 1655b67d

2013-11-13 10:37

pstorz

Ported: N/A

Details Diff
Fixed cherry-picking error
mod - platforms/win32/winbareos-nsi.spec Diff File

bareos-13.2 113bda2e

2013-11-12 23:23

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
support for openssl version 1 on windows

before, we only supported openssl version 0.98
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 614 615 616 617 618 619 620 ... 630 ... 650 651 652  Next  Last