Changesets: bareos2015

bareos-14.2 912288bf

2014-08-04 19:06

mvwieringen

Ported: N/A

Details Diff
For the time being disable the backend configdir option on windows.

Until we find a good way to set the good backenddir on windows we use
the windows black magic way of using the search path for finding the
right catalog backend dll.
mod - src/cats/cats_backends.c Diff File

bareos-14.2 149ff576

2014-08-02 02:15

mvwieringen

Ported: N/A

Details Diff
Fix same problem also for other bsock classes.

If we ever implement them and start using them we will run into the same
problems as we have seen for the used BSOCK_TCP class.
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 9b88f41a

2014-08-02 01:16

mvwieringen

Ported: N/A

Details Diff
Tweak BSOCK classes one more time.

Got bitten by the famous undefined reference to `vtable for ...`
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 a3337826

2014-08-01 01:38

mvwieringen

Ported: N/A

Details Diff
Initialize m_fd in the base DEVICE class.

As all device classes are derived classes of DEVICE we can initialize
the members of the base class in the constructor of the base class as
that is called anyway as part of the instantiation of the derived class.
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/unix_fifo_device.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

bareos-14.2 6655efab

2014-08-01 01:01

mvwieringen

Ported: N/A

Details Diff
Fix problem now we use call a real constructor for the DCR.

We can no longer use the side effect of an assignment calling a
constructor to fill two variables so do it in two steps.
mod - src/stored/butil.c Diff File
mod - src/stored/stored.c Diff File

bareos-14.2 887c098d

2014-08-01 00:50

mvwieringen

Ported: N/A

Details Diff
Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File

bareos-14.2 d4ee3756

2014-08-01 00:48

mvwieringen

Ported: N/A

Details Diff
Fix problem with new DCR constructor.

Coverity found a valid problem with the new DCR constructor that cannot
use the dev variable as that is a non initialized variable in the
constructor so use a proper local error buffer.
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File

bareos-14.2 05bbf8f0

2014-07-30 19:22

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/protos.h Diff File

bareos-14.2 dea78224

2014-07-29 15:04

mvwieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

bareos-14.2 f8d34bd6

2014-07-29 14:47

mvwieringen

Ported: N/A

Details Diff
Add support for newer APIs

The API world hasn't been frozen over the years and POSIX
nowadays defines some new APIs which we might want to start exploring.

This patch adds support for the following new APIs:

fchown()/lchown() replacing the chown call.
fchmod()/lchmod() replacing the chmod call.
utimes()/futimes()/futimens()/lutimes() replacing the utime call.

If those APIs are available they are prefered rather then using the
standard chown(), chmod() and utime() APIs.

We move away from using utime when possible because POSIX.1-2008
marks utime() as obsolete.
mod - autoconf/configure.in Diff File
mod - src/findlib/attribs.c Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/find_one.c Diff File
mod - src/findlib/mkpath.c Diff File
mod - src/findlib/protos.h Diff File

bareos-14.2 4173da1f

2014-07-28 18:59

mvwieringen

Ported: N/A

Details Diff
Sync LMDB code.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

bareos-14.2 10bfaba8

2014-07-28 13:51

mvwieringen

Ported: N/A

Details Diff
First attempt at making things somewhat cleaner.

- On windows also compile all shared objects into a dll.
- Implement the DCR (Device Control Record) as an inherited class of
SMARTALLOC just like most others and implement a proper constructor
for it. The new_dcr function is now replaced with a instantiate of the
class and then a call to setup_new_dcr_device()
- Abstract the askdir functions as methods of the DCR (Device Control
Record) and implement a special derived class for the stored and btape
that abstracts the special functions for those and make the rest use
the default dummy methods. This way we can nice and cleanly implement
this for the different programs.
- Drop the wait_device_release conditional global variable, instead
create a single function entry point release_device_cond() that gets
called when we want the conditional variable to be signaled.
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/append.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/autochanger.c Diff File
mod - src/stored/bcopy.c Diff File
mod - src/stored/bextract.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/device.c Diff File
mod - src/stored/dir_cmd.c Diff File
rm - src/stored/dummy.c Diff File
mod - src/stored/label.c Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/reserve.c Diff File
mod - src/stored/scan.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_stats.c Diff File
mod - src/stored/spool.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored.h Diff File
mod - src/stored/wait.c Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/make_def Diff File

bareos-14.2 b47cc868

2014-07-26 22:24

mvwieringen

Ported: N/A

Details Diff
Fix Windows build.
mod - src/win32/compat/include/mingwconfig.h Diff File
mod - src/win32/dird/Makefile Diff File
mod - src/win32/stored/Makefile Diff File

bareos-14.2 a6ffd437

2014-07-25 00:56

mvwieringen

Ported: N/A

Details Diff
Fix compiler warnings when not using dynamic backend loading.
mod - src/dird/dbcheck.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/tests/bbatch.c Diff File
mod - src/tests/bvfs_test.c Diff File

bareos-14.2 2614a9c1

2014-07-25 00:44

mvwieringen

Ported: N/A

Details Diff
Cleanup tape error reporting.

Use always clrerror(mt_com.mt_op) where possible to never make an error
on what we do the error reporting on. The mt_com.mt_op contains the last
ioctl operation that failed. Also add some missing error reporting which
makes converity happy.
mod - src/stored/backends/generic_tape_device.c Diff File

bareos-14.2 278ed6a0

2014-07-24 13:00

mvwieringen

Ported: N/A

Details Diff
Update NLS files.
mod - po/POTFILES.in Diff File
mod - po/de.po Diff File
mod - po/es.po Diff File
mod - po/fr.po Diff File
mod - po/it.po Diff File
mod - po/nl.po Diff File
mod - po/pl.po Diff File
mod - po/sv.po Diff File
mod - po/uk.po Diff File

bareos-14.2 7f9ca6e1

2014-07-24 00:30

mvwieringen

Ported: N/A

Details Diff
Update README.md
mod - README.md Diff File

bareos-14.2 9d64cf79

2014-07-23 14:48

mvwieringen

Ported: N/A

Details Diff
Fix compiler warning.
mod - src/stored/sd_backends.h Diff File

bareos-14.2 ac2ffca0

2014-07-23 14:02

mvwieringen

Ported: N/A

Details Diff
Fix compiler warning.
mod - src/ndmp/ndma_control.c Diff File

bareos-14.2 3890d244

2014-07-21 22:56

mvwieringen

Ported: N/A

Details Diff
Bump version date.
mod - src/include/version.h Diff File

bareos-14.2 3f872582

2014-07-21 22:46

mvwieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

bareos-14.2 9df89ef1

2014-07-21 22:46

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
rewrap description lines and extend description

Signed-off-by: Joerg Steffens <joerg.steffens@bareos.com>
mod - debian/control Diff File
mod - debian/control.common Diff File

bareos-14.2 97ca18f8

2014-07-21 22:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
generate Debian copyright file from LICENSE

Debian requires a specific file format for copyright information.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
add - debian/copyright.header Diff File
mod - platforms/debian/Makefile.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/univention/Makefile.in Diff File
mod - platforms/unknown/Makefile.in Diff File

bareos-14.2 a62b7ede

2014-07-21 22:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
store Bareos libraries in subdirectory bareos

Debian does not accept "libtool -release" libraries in /usr/lib/.
It will only accept "libtool -version" libraries
and only if the package is named accordingly to the library
(eg. libbareos).
Therefore Bareos libraries on Linux are now stored in
/usr/lib/bareos/ (or /usr/lib64/bareos/).

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
rm - debian/bareos-common.install Diff File
add - debian/bareos-common.install.in Diff File
rm - debian/bareos-database-common.install Diff File
add - debian/bareos-database-common.install.in Diff File
rm - debian/bareos-director-python-plugin.install Diff File
add - debian/bareos-director-python-plugin.install.in Diff File
rm - debian/bareos-director.install Diff File
add - debian/bareos-director.install.in Diff File
rm - debian/bareos-filedaemon-python-plugin.install Diff File
add - debian/bareos-filedaemon-python-plugin.install.in Diff File
add - debian/bareos-storage-fifo.install.in Diff File
rm - debian/bareos-storage-python-plugin.install Diff File
add - debian/bareos-storage-python-plugin.install.in Diff File
rm - debian/bareos-storage-tape.install Diff File
add - debian/bareos-storage-tape.install.in Diff File
mod - debian/rules Diff File
mod - platforms/packaging/bareos.spec Diff File

bareos-14.2 490e84fb

2014-07-21 22:46

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Autoexclude NotForBackup entries on windows

On windows, the registry entry
"SYSTEM\\CurrentControlSet\\Control\\BackupRestore\\FilesNotToBackup"
is intended to have a list of dirs and files that should not be backed
up.

We automatically read that entries and configure the fileset to exclude
them.

Fixes 0000315: Support for NotToBackup Registry Key
Affected Issues
0000315
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/filed/protos.h Diff File
mod - src/findlib/find.c Diff File
mod - src/findlib/protos.h Diff File
mod - src/win32/Makefile.inc Diff File
mod - src/win32/findlib/win32.c Diff File
 First  Prev  1 2 3 ... 10 11 12 13 14 15 16 ... 20 ... 30 ... 40 ... 50 ... 57 58 59  Next  Last