commit f8dbb873fce98996bb28688e6cd77561d9e03183
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 10 10:23:19 2016 +0200

    lmdb: Sync to upstream.

 src/lmdb/mdb.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

commit a62034073d6d9e82338eb4a3b240ff6a3bc15ca9
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jun 9 17:07:21 2016 +0200

    Bump Version

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_4.0.dsc |  2 +-
 platforms/packaging/bareos.changes            |  2 +-
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 20 ++++++++++----------
 10 files changed, 28 insertions(+), 28 deletions(-)

commit 1473cde44cbf66a0ff1253111f39d7fb039191f3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 7 09:06:42 2016 +0200

    dird: Change migrate/copy exit code from -- OK to OK
    
    Seems a copy/migrate selection Job give the status Copying -- OK instead
    of Copying OK what is issued by all jobs it spawns. This makes things a
    bit more uniform.

 src/dird/migrate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 754a3e8aee597b8041118c21a0c414dcee19d137
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 30 10:47:36 2016 +0200

    dird: Validate pool types in config.
    
    This patch adds a special new config type CFG_TYPE_POOLTYPE which is
    used to parse pool types and makes sure only valid pool types are
    allowed. Up until now the pool type is stored as a CFG_TYPE_STRNAME and
    a check in the database checks if the pool type is really valid. This is
    far from user friendly, from now on the DIR will validate the pool type
    and store it in the correct way in the config using a filter table which
    ignores any end user case sensitivity.
    
    Fixes #664: Validate pool types in config

 src/dird/dird_conf.c | 110 ++++++++++++++++++++++++++++++++++++++++++---------
 src/lib/parse_conf.h |   1 +
 src/lib/res.c        |   3 +-
 3 files changed, 94 insertions(+), 20 deletions(-)

commit fda075a3b05a21ac3a925f8d5cddc2762e720dac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 25 19:44:08 2016 +0200

    ndmp: Make usage of LMDB in NDMP configurable per client.

 src/dird/dird_conf.c       |  1 +
 src/dird/dird_conf.h       |  1 +
 src/dird/ndmp_dma_backup.c | 24 +++++++++++++++++++++---
 3 files changed, 23 insertions(+), 3 deletions(-)

commit 3afa4482b2640c8820b622ff8bba6f2babce7583
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue May 24 17:59:25 2016 +0200

    filed status: fix confusing comment

 src/filed/status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b69b572281dabf5baf55f4fb92c302e7ac1ee94b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 21 09:04:15 2016 +0200

    tests: Fix test programs for the new world.
    
    Fix arguments to new version of db_init_database() in the test programs
    used when running regression tests.

 src/tests/bbatch.c    | 28 ++++++++++++++++++++++++----
 src/tests/bvfs_test.c | 13 ++++++++++++-
 2 files changed, 36 insertions(+), 5 deletions(-)

commit f0da0e8cb39dd4cad028ad5627a070fbb3539eb8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 20 19:08:15 2016 +0200

    catalog: Fix argument mixup.
    
    Seems the last fix to the catalog functions was not fully right as we
    didn't fix all functions to have the same argument order which leads to
    the wrong value being passed on to some functions. This patch fixes that
    as from now on need_private is the last argument for each function and
    from now on the number of default arguments for db_init_database() is
    just like the pooling functions only the need_private flag. We thank
    Coverity for finding this nasty bug.

 src/cats/bdb_dbi.h        |  4 ++--
 src/cats/bdb_ingres.h     |  4 ++--
 src/cats/bdb_mysql.h      |  4 ++--
 src/cats/bdb_postgresql.h |  4 ++--
 src/cats/bdb_sqlite.h     |  4 ++--
 src/cats/cats_backends.c  | 16 ++++++++--------
 src/cats/cats_backends.h  |  4 ++--
 src/cats/dbi.c            | 11 ++++++-----
 src/cats/ingres.c         | 16 ++++++++--------
 src/cats/mysql.c          | 16 ++++++++--------
 src/cats/postgresql.c     | 16 ++++++++--------
 src/cats/sql_glue.h       | 10 +++++-----
 src/cats/sqlite.c         | 16 ++++++++--------
 src/dird/dbcheck.c        |  6 +++++-
 src/stored/bscan.c        | 14 +++++++++++++-
 15 files changed, 81 insertions(+), 64 deletions(-)

commit bcdd2b169b7d4b2bc0c91ec98ce7871fed4183f2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu May 19 17:07:19 2016 +0200

    filedaemon: cleanup after failed authentications

 src/filed/dir_cmd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 79578d7bc5d30fa088bda648671b93993d059c96
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu May 19 17:06:01 2016 +0200

    filedaemon: improve status information

 src/filed/authenticate.c | 12 ++++--------
 src/filed/status.c       | 11 ++++++++---
 2 files changed, 12 insertions(+), 11 deletions(-)

commit b1ae6ff1d6bbd2781a2eb2e32ed0ef98720b2c3b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue May 17 14:25:32 2016 +0200

    lmdb: Sync to upstream.

 src/lmdb/mdb.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit fe7c609bb1ffa7d401b472ebea8dd86ba0c12d5d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 15 10:34:43 2016 +0200

    rados: Fix restore of objects.
    
    We need to set the correct object_name in createFile() plugin method.
    The plugin saves the different objects under a path that looks like
    <pool_name>/<object_name> so on restore we only need the last part
    of the filename which we store in p_ctx->object_name which is used
    in the pluginIO() method to write the data to the correct object.

 src/plugins/filed/rados-fd.c | 56 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 8 deletions(-)

commit cb3d0b371fdbaa3908e34056c89b2758bc082f1d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 14 17:13:32 2016 +0200

    catalog: Lets pass on try_reconnect and exit_on_fatal
    
    When implementing the new try_reconnect and exit_on_fatal flags to
    workaround the fact that we handle a database shutdown badly I seem to
    have forgotten to pass the arguments in all needed calls. This patch
    fixes that.
    
    From now on also most of the flags to instantiate a new connection to
    the database need an explicit setting so we catch these kind of problems
    in the future much easier. There is only one default left as last
    argument to the function to get a new pooled or unpooled connection
    which says if it should return a private database connection or not.

 src/cats/bdb_priv.h      |  9 ++++-----
 src/cats/cats.c          |  8 +++++---
 src/cats/cats.h          |  4 +++-
 src/cats/cats_backends.c |  2 +-
 src/cats/cats_backends.h |  2 +-
 src/cats/protos.h        | 24 ++++++++++++------------
 src/cats/sql_pooling.c   | 34 +++++++++++++++++-----------------
 src/dird/dbcheck.c       |  6 ++++--
 src/dird/dird.c          |  5 ++++-
 src/dird/job.c           |  4 +++-
 src/dird/stats.c         |  4 +++-
 src/dird/ua_cmds.c       |  2 ++
 src/dird/ua_output.c     |  7 ++++---
 13 files changed, 63 insertions(+), 48 deletions(-)

commit dbddf5b0f0f1936962dd095d6643924eef385392
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 13 10:51:20 2016 +0200

    Suppress already queued jobs for disabled schedules
    
    When a job already was queued by a schedule for the next
    hour, and then the schedule is disabled, the already queued
    jobs is still executed.
    
    Fixes #659: Suppress already queued jobs for disabled schedules

 src/dird/scheduler.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit e8cf81e764689e48bcb429bb181cb7c417c4e00c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 11 12:59:57 2016 +0200

    Fix typo Scedules -> Schedules

 src/dird/ua_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5cbb25542d26f5258d39869727ab29a3b00cc40b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 9 15:28:11 2016 +0200

    lib: Fix expansion of %B jobcode.
    
    We need to add a B suffix to the Job Bytes in human readable format
    printing routine.

 src/lib/util.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 819c91eaefe50baa5406bd6f426edfb619d5f2a1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 7 10:03:40 2016 +0200

    lmdb: Sync to upstream.

 src/lmdb/mdb.c | 64 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 37 insertions(+), 27 deletions(-)

commit 1a560e094cce5fc017b5b4cd79ddb331dd25da64
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Apr 27 14:59:58 2016 +0200

    "list log" on postgresql needs an alias for subquery
    
    ERROR:  subquery in FROM must have an alias
    LINE 1: SELECT Time, LogText FROM (SELECT * FROM Log ORDER BY Log.Lo...
                                      ^
                                      HINT:  For example, FROM (SELECT ...)
                                      [AS] foo.
    
    this commit adds a alias to the subquery
    
    Also, we specify the columns we ask for instead of using an asterisk and
    also get the LogId so that the Webui can sort on it.

 src/cats/sql_list.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 0d2d1ce6b07a5c43e337913314eedb61c87adec2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 25 19:15:44 2016 +0200

    lib: Make htable bucket size configurable.
    
    Until now the size of the htable bucket linked list is always set to 4
    which is probably not to great for bigger hashtables. Linear searching
    the bucket nowadays doesn't cost much and the hash will partition the
    result set already quite a bit.

 src/lib/htable.c | 8 ++++----
 src/lib/htable.h | 6 ++++--
 2 files changed, 8 insertions(+), 6 deletions(-)

commit f0de1f7245474c5aa9398e5e418e0b06cff93812
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Apr 27 09:28:28 2016 +0200

    stored: Show the output of dlerror() correctly.
    
    As we use NPRT(dlerror()) we call dlerror() twice while expanding
    the NPRT() macro and the manual page of dlerror() says:
    
    The returned string contains no trailing newline. If no dynamic
    linking errors have occurred since the last invocation of dlerror(),
    dlerror() returns NULL. Thus, invoking  dlerror() a second time,
    immediately following a prior invocation, results in NULL being
    returned.

 src/stored/sd_backends.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

commit 0b8475dc5d33b676687f1d9c40ebc505e99bbc69
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Apr 27 09:28:28 2016 +0200

    dird: Show the output of dlerror() correctly.
    
    As we use NPRT(dlerror()) we call dlerror() twice while expanding
    the NPRT() macro and the manual page of dlerror() says:
    
    The returned string contains no trailing newline. If no dynamic
    linking errors have occurred since the last invocation of dlerror(),
    dlerror() returns NULL. Thus, invoking  dlerror() a second time,
    immediately following a prior invocation, results in NULL being
    returned.

 src/cats/cats_backends.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

commit bc850fd6b795c299293b9f92b72130338d018444
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 26 19:17:19 2016 +0200

    build: Rebuild configure.

 configure | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 75 insertions(+), 7 deletions(-)

commit 2ea6e7d21dba51fee0cf45bbbbeb7452e4361b7a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 26 19:13:21 2016 +0200

    build: Allow libmysqlclient instead of libmysqlclient_r
    
    Some systems seem to only distribute libmysqlclient and not
    libmysqlclient_r so this patch adds support to configure to also support
    that variation.

 autoconf/bareos/db.m4 | 41 ++++++++++++++++++++++++++++++++++-------
 1 file changed, 34 insertions(+), 7 deletions(-)

commit 4ad56f50b815435e80bb202e1df962a468d438e7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 26 11:39:59 2016 +0200

    Fix compiler warnings.

 src/dird/ndmp_fhdb_lmdb.c          | 2 +-
 src/stored/backends/gfapi_device.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 0db63f92e13802e2704fcecf4fd34cab237cbb98
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 26 11:35:00 2016 +0200

    build: Some small change to debian build files.
    
    Document that we build with libradosstriper-dev on Ubuntu 16.04

 debian/control.in              | 6 +++++-
 platforms/packaging/bareos.dsc | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 031808d10e6493aa4d41323c1c27a920fa09349b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 25 15:40:18 2016 +0200

    dird: Simplify concurrency checking.
    
    - Use atomic functions that increment and decrement the concurrency
      counters. These all use a single mutex but that is not really a
      problem as we only want to serialize them so an increment and
      decrement happening on the same resource are handled correctly.
    - The exclusion of certain concurrency checks is now done in the new
      atomic functions so the calling code path is cleaner and doesn't need
      to test for all kind of conditions.
    - Replace ASSERT calls with Jmsg M_FATAL calls which tell you which
      counter went negative including the name of the read or write storage
      its happening on.

 src/dird/jobq.c | 220 +++++++++++++++++++++++++++++++++++---------------------
 1 file changed, 139 insertions(+), 81 deletions(-)

commit ac627464c5e6480624fe1f27b580c7a4d92a4357
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 25 15:40:17 2016 +0200

    ndmp: Make the filehistory size for LMDB configurable.
    
    With this new config option you can give a hint to the FHDB LMDB backend
    as to how many files you expect the backup to contain so it can size the
    LMDB temporary database accordingly.

 src/dird/dird_conf.c       | 1 +
 src/dird/dird_conf.h       | 5 +++--
 src/dird/ndmp_dma_backup.c | 1 +
 src/dird/ndmp_dma_priv.h   | 1 +
 src/dird/ndmp_fhdb_lmdb.c  | 8 +++++---
 5 files changed, 11 insertions(+), 5 deletions(-)

commit 44f903a3c8b9b819d7ee05382cf0c1092887eb82
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Apr 21 16:34:02 2016 +0200

    json output: create json objects only if required
    
    Issues #624: Memory leak in bareos-dir

 src/lib/output_formatter.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit abb775f99bb5c76cf1d91c1eff695951bf1618d0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 21 22:25:02 2016 +0200

    ndmp: Fix error handling for static analyzer
    
    Coverity raised some new problems on this code. Thise should close
    the important ones.

 src/dird/ndmp_fhdb_lmdb.c | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

commit 3f3c82bebfe79059b6b77afee75ef8748b5d8b8a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Apr 20 18:58:18 2016 +0200

    lib: Allow builds without smartalloc

 src/dird/dird.c               |  2 +-
 src/filed/filed.c             |  2 +-
 src/lib/mem_pool.c            | 11 +++++++----
 src/lib/smartall.h            |  7 ++++---
 src/plugins/filed/fd_common.h | 33 +++++----------------------------
 src/stored/btape.c            |  2 +-
 src/stored/stored.c           |  2 +-
 7 files changed, 20 insertions(+), 39 deletions(-)

commit ad99f6043189ab0bd46d1069430fc9ba8e44e1b2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 21 10:27:44 2016 +0200

    filed: Add extra logging on failing transactions in LMBD.

 src/filed/accurate_lmdb.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 1fc9945472864df097bd39da6d77ff2312ec65c5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 21 10:19:11 2016 +0200

    ndmp: Add extra logging on failing transactions in LMBD.

 src/dird/ndmp_fhdb_lmdb.c | 52 +++++++++++++++++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 15 deletions(-)

commit c0c30503e238d929e66da054da038ac7f61061d5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 21 09:39:11 2016 +0200

    stored: Only check inchanger flag on autochanger.
    
    When automounting a volume we should only look at the
    VolCatInfo.InChanger flag when we are operating on an autochanger.
    
    Fixes #647: Automatic mount of disk volumes intermittently fails

 src/stored/mount.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 06e1e8a38648b22a78708d6524056a5dfc0abf7b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 21 11:17:48 2016 +0200

    catalog: Fix compiler warning.

 src/cats/sql_list.c | 1 -
 1 file changed, 1 deletion(-)

commit e9252e217851ccbff32c13c0644ae2b8eb1d06ef
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 19 19:22:30 2016 +0200

    findlib: Setting DriveType causes empty backups on Linux
    
    Implement what is documented e.g. fstype only works on non Windows and
    drivetype only works on Windows. Unknown fstypes or drivetypes are now
    logged at loglevel M_WARNING instead of M_INFO.
    
    Fixes #644: Setting DriveType causes empty backups on Linux

 src/findlib/find_one.c | 55 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 39 insertions(+), 16 deletions(-)

commit d6cefcd00e45a1f37df234449377b0ad3e66efb9
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Apr 19 13:13:49 2016 +0200

    bcommand: Added "list log" command to show the last log entries

 src/cats/protos.h    |  6 ++++--
 src/cats/sql_list.c  | 44 +++++++++++++++++++++++++++++++++++++++++++-
 src/dird/ua_cmds.c   |  1 +
 src/dird/ua_output.c | 25 ++++++++++++++++++++++---
 4 files changed, 70 insertions(+), 6 deletions(-)

commit b1976e8fbe2f436c9e3691cb53b965e98a9d8e5b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Apr 15 17:04:13 2016 +0200

    dird: Protect jcr->res.wstore->NumConcurrentJobs by a mutex
    
    We now have an inc_write_store() analog to inc_read_store() and
    a dec_write_store() analog to dec_read_store() which uses a
    central mutex when updating either the read or write storage
    concurrency count so things are atomic.
    
    Fixes #642: Sometimes the director crashes triggered by
                ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c

 src/dird/jobq.c | 84 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 50 insertions(+), 34 deletions(-)

commit f087144460b51a03ed53d3a6f89b6094330af4d5
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Apr 18 10:36:45 2016 +0200

    ndmp: Implement NDMP FHDB in LMDB backend

 src/dird/Makefile.in                |     6 +-
 src/dird/ndmp_dma_backup.c          |    12 +
 src/dird/ndmp_fhdb_helpers.c        |    13 +
 src/dird/ndmp_fhdb_lmdb.c           |   571 +-
 src/dird/ndmp_fhdb_mem.c            |    28 +-
 src/dird/unittests/Makefile.in      |   123 +
 src/dird/unittests/ndmp_fhdb_test.c |   290 +
 src/dird/unittests/ndmp_testdata.h  | 18906 ++++++++++++++++++++++++++++++++++
 src/dird/unittests/protos.h         |    40 +
 src/dird/unittests/test_dir.c       |    55 +
 10 files changed, 19994 insertions(+), 50 deletions(-)

commit 3c0a075e7bb592042735087105c0d0168a7386a0
Author: Dirk Wilske <dirk.wilske@dass-it.de>
Date:   Fri Apr 8 12:40:56 2016 +0200

    dird: Adjust the output of show jobs for client run before

 src/dird/dird_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7994bbdb7bbf404be534153534d5f2a77eb6ebc8
Author: Frank Bergkemper <frank.bergkemper@bareos.com>
Date:   Mon Mar 21 15:20:25 2016 +0100

    Univention: Updates the long description text for the AppCenter

 .../univention/AppCenter/univention-bareos.ini.in  | 25 +++++++++++++++-------
 1 file changed, 17 insertions(+), 8 deletions(-)

commit 93c4a5d063c7f2f58909e16b1bc4b0d0fbe9ad8b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 7 17:03:50 2016 +0200

    win32: Fix crash on restore of sparse files.
    
    See
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx
    [^] see we need to provide a bytesreturned variable
    to the DeviceIoControl call when lpOverlapped is NULL
    
    From the API page:
    
    If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an
    operation returns no output data and lpOutBuffer is NULL, DeviceIoControl
    makes use of lpBytesReturned. After such an operation, the value of
    lpBytesReturned is meaningless.
    
    Fixes #640: File daemon crashed after restoring sparse file on windows

 src/win32/compat/compat.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 048c47cc95d4bea98f43825e10c38836b8dbb0e1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 5 15:40:59 2016 +0200

    lmdb: Sync to upstream.

 src/lmdb/mdb.c | 27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)

commit b39591ee493e34c965b03d4f2e24ddd8688391f8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Mar 21 14:07:26 2016 +0100

    dird: Interactive run doesn't update pool on level change.
    
    In interactive mode when changing the level we correctly call
    apply_pool_overrides() which sets the new pool right but then we
    call reset_restore_context() which sets the pool back to rc.pool
    (e.g. restore context pool definition which still points to the original
     pool defined in the Job resource.)
    
    This patch updates the rc.pool to point to the pool which was set by
    the call to apply_pool_overrides() and set a variable in the restore
    context which keeps track that we got a level override so we don't
    overwrite the pool_source which is also set by apply_pool_overrides()
    in reset_restore_context().
    
    When we get a real pool override via the mod pool option we reset this
    level override flag so we set the right pool_source in
    reset_restore_context() again.
    
    Fixes #633: Interactive run doesn't update pool on level change.

 src/dird/ua.h     |  1 +
 src/dird/ua_run.c | 11 ++++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

commit 97161d30b2815ac34da4f1a183d299a0ef78f201
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Mar 22 12:06:12 2016 +0100

    Fix problems with wide char symlinks and junctions
    
    There were some problems since the last change to
    the junctions and symlink code on windows to support
    wide characters.
    
    This fixes these problems so that we now can create correct
    wide character symlinks and junctions.
    
    This commit also adds a unit test for creating junctions and
    changes what is needed  for that.
    
    Fixes #615: symlinks/junctions wrong target path on restore

 platforms/win32/winbareos.nsi     |   6 +-
 src/lib/unittests/Makefile.in     |   3 +-
 src/lib/unittests/junction_test.c | 120 ++++++++++++++++++++++++++++++++++++++
 src/lib/unittests/protos.h        |   3 +
 src/lib/unittests/test_lib.c      |   7 ++-
 src/win32/compat/compat.c         |  83 +++++++++++++++++---------
 src/win32/compat/include/compat.h |   3 +
 src/win32/lib/unittests/Makefile  |   5 +-
 8 files changed, 194 insertions(+), 36 deletions(-)

commit ddb66e4bbfa37a264b639e4aabf0b3880802812d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 11 14:31:10 2016 +0100

    win32: Fix open_bpipe() in windows compat emulation.
    
    Fixes #632: fd-bpipe plugin merges stderr with stdout, which can result
                in corrupted backups.

 src/win32/compat/compat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bd780a7fc88e7cbbcb6b47ca4708efe26becf4b2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 11 09:59:50 2016 +0100

    bpipe-fd: stderr is merged with stdout, possible corruption.
    
    When changing from using popen() to open_bpipe() it was overlooked that
    popen() just ignores stderr but open_bpipe() dups both stdout and stderr
    onto the read pipe used. This patch adds a flag to open_bpipe() which is
    by default set to true to dup stderr or not. For now this fixes the
    problem but a better solution could probably be coded by adding an extra
    member to the BPIPE class with the name efd which is the error handle
    just as we now have a write and read handle.
    
    Fixes #632: fd-bpipe plugin merges stderr with stdout, which can result
                in corrupted backups.

 src/lib/bpipe.c              | 109 +++++++++++++++++++++++++++----------------
 src/lib/protos.h             |   3 +-
 src/plugins/filed/bpipe-fd.c |   2 +-
 3 files changed, 72 insertions(+), 42 deletions(-)

commit 9f3e1e26daaf470cfcc00f44d1ab5b74efa76f2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Mar 8 15:16:06 2016 +0100

    plugins: Prefix messages with <pluginname>-<plugtype>:
    
    For better uniformity of plugin messages.

 src/plugins/dird/python-dir.c      | 34 +++++++--------
 src/plugins/filed/bpipe-fd.c       | 89 +++++++++++++++++++-------------------
 src/plugins/filed/cephfs-fd.c      | 72 +++++++++++++++---------------
 src/plugins/filed/gfapi-fd.c       | 62 +++++++++++++-------------
 src/plugins/filed/python-fd.c      | 66 ++++++++++++++--------------
 src/plugins/filed/rados-fd.c       | 50 ++++++++++-----------
 src/plugins/stored/autoxflate-sd.c | 20 ++++-----
 src/plugins/stored/python-sd.c     | 34 +++++++--------
 8 files changed, 214 insertions(+), 213 deletions(-)

commit 43af31c708ac42b7793f8310bbe82dd5cf510837
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Mar 8 15:09:31 2016 +0100

    fix typo

 platforms/packaging/bareos.changes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a3bba9de6ce0962205f865ceafe8e0e73e10669d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Mar 7 11:24:13 2016 +0100

    build: Update NLS files.

 po/POTFILES.in |  1279 +--
 po/bareos.pot  | 19650 +++++++++++++++++------------------
 po/de.po       | 23949 ++++++++++++++++++++++---------------------
 po/es.po       | 30787 ++++++++++++++++++++++++++++---------------------------
 po/fr.po       | 26890 ++++++++++++++++++++++++------------------------
 po/it.po       | 19650 +++++++++++++++++------------------
 po/nl.po       | 20479 ++++++++++++++++++------------------
 po/pl.po       | 28776 +++++++++++++++++++++++++--------------------------
 po/sv.po       | 19649 +++++++++++++++++------------------
 po/uk.po       | 21423 +++++++++++++++++++-------------------
 10 files changed, 106642 insertions(+), 105890 deletions(-)

commit ac383e14429769b4e9af3bfc0499cfb28e02414e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Mar 7 11:22:07 2016 +0100

     Bump version number

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_4.0.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 20 ++++++++++----------
 10 files changed, 33 insertions(+), 27 deletions(-)

commit 06bceeef831fb5d53a0c4975aacace4432130da4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Mar 6 11:26:29 2016 +0100

    lmdb: Sync to upstream.

 src/lmdb/mdb.c  | 58 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 src/lmdb/midl.h |  2 +-
 2 files changed, 50 insertions(+), 10 deletions(-)

commit 0a0b0a643c9015f44b44b30deb72bce2530dc377
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Mar 6 11:21:26 2016 +0100

    plugins: Remove confusing comment.
    
    setFileAttributes() is called for every restored file by the plugin so
    lets remove the confusing comment.

 src/plugins/filed/bpipe-fd.c         | 4 ----
 src/plugins/filed/cephfs-fd.c        | 4 ----
 src/plugins/filed/gfapi-fd.c         | 4 ----
 src/plugins/filed/rados-fd.c         | 3 ---
 src/plugins/filed/test-deltaseq-fd.c | 4 ----
 src/plugins/filed/test-plugin-fd.c   | 4 ----
 6 files changed, 23 deletions(-)

commit c684d5ef81e3278ecb5a44f7b4b1022d5965f09a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 4 17:41:12 2016 +0100

    cephfs: Return right return code.
    
    On a unknown filetype we should return CF_ERROR and when we have a
    DELETED file we should return CF_SKIP.

 src/plugins/filed/cephfs-fd.c | 2 ++
 1 file changed, 2 insertions(+)

commit 82817ff356df53b025f23433cc2f5930e3530a48
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 4 17:41:12 2016 +0100

    cephfs: Rename variable from new_entry to entry.
    
    Use the same naming as in the other pop from stack case. Only call the
    entry new_entry when we push the entry onto the stack.

 src/plugins/filed/cephfs-fd.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 54aa86b36b9c6b043698f5f610f19e0852c5c924
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 4 17:41:11 2016 +0100

    gfapi: Return right return code.
    
    On a unknown filetype we should return CF_ERROR and when we have a
    DELETED file we should return CF_SKIP.

 src/plugins/filed/gfapi-fd.c | 2 ++
 1 file changed, 2 insertions(+)

commit bb0653f7b9729a025f4ce3c76a41f18054a4378d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 4 17:41:10 2016 +0100

    gfapi: Rename variable from new_entry to entry.
    
    Use the same naming as in the other pop from stack case. Only call the
    entry new_entry when we push the entry onto the stack.

 src/plugins/filed/gfapi-fd.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 7399408d621bc362736c9b487892de2cded19151
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat Mar 5 13:36:04 2016 +0100

    Fix compiler warning:
    
    ua_label.c:399:13: warning: suggest parentheses around ‘&&’ within ‘||’
    [-Wparentheses]
        if (!yes &&
                        ^

 src/dird/ua_label.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a797c82ad58774defaba24c9cf30d17f5bf82ef3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Mar 4 15:16:34 2016 +0100

    Fix inverse logic for automatic labeling with "yes"

 src/dird/ua_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cfdd0f3f530e4488985e8695b8f72f29ba94f05e
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 9 12:54:54 2015 +0100

    SLES12: add support for CEPH
    
    build the packages
    - bareos-filedaemon-ceph-plugin
    - bareos-storage-ceph

 platforms/packaging/bareos.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit ebb83464d50f7021891a9b3857cb210aef4a50ac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 18 15:06:56 2016 +0100

    dird: Add support for non-interactive label barcodes.
    
    We should not ask for confirmation in batch mode and accept the yes
    keyword as indication that we should not be interactive like we do in
    other situations. Also add the drive argument to label which is needed
    when we have a multidrive autochanger.

 src/dird/ua_cmds.c  | 12 ++++++------
 src/dird/ua_label.c | 29 +++++++++++++++++++----------
 2 files changed, 25 insertions(+), 16 deletions(-)

commit 240a876d0b14bcb96367a82f6d7e0164946289b0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 5 10:46:33 2016 +0100

    lmdb: Sync to upstream.

 src/lmdb/lmdb.h |  4 ++--
 src/lmdb/mdb.c  | 53 ++++++++++++++++-------------------------------------
 src/lmdb/midl.c |  2 +-
 src/lmdb/midl.h |  2 +-
 4 files changed, 20 insertions(+), 41 deletions(-)

commit 7e7f95ccd8a3159380c851efa7c361f157ae1e68
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 10 20:03:22 2015 +0100

    Update database job status on reschedule.
    
    Reflect in the database that we are about to reschedule the Job to run
    again under the same JobId.
    
    Fixes #609: Status dir output differs with info queried from catalog db

 src/dird/jobq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 9528ea127ad31ef439057960126de7e061bea91f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 28 11:13:02 2016 +0100

    lmdb: Sync to upstream.

 src/lmdb/lmdb.h |  6 ++++--
 src/lmdb/mdb.c  | 14 +++++++++-----
 src/lmdb/midl.c |  2 +-
 3 files changed, 14 insertions(+), 8 deletions(-)

commit 8df94f37a65bae8874ea8d737f05d22dc73b5f4c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jan 28 11:03:44 2016 +0100

    Fix reload crash when two directors are defined
    
    The reload-test regression test defines two directors
    and reloads the configuration, which leads to a crash.

 src/dird/dird.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 5ab20d6c9ad34ecc5841b82f2391b8974a8eb525
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 21 20:44:16 2016 +0100

    python: parse_plugin_definition consumes options.
    
    From now on the parse_plugin_definition() function in all python plugins
    will consume the options it needs for loading the plugin into the python
    interpreter e.g. module_path and module_name and only pass all other
    options to the python plugin definition parser.
    
    For the python-fd this patch also adds the ability to push options to
    the plugin without specifying module_path and module_name which is then
    stored and prepended to the option string when we get an
    bEventPluginCommand or bEventRestoreObject plugin event which
    instantiates the plugin entry point.

 src/plugins/dird/python-dir.c  | 54 ++++++++++++++++++-------
 src/plugins/filed/python-fd.c  | 92 +++++++++++++++++++++++++++++++++---------
 src/plugins/stored/python-sd.c | 54 ++++++++++++++++++-------
 3 files changed, 153 insertions(+), 47 deletions(-)

commit 6b700194011fb8678da310b3c8756f1c20fd38e5
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jan 21 15:03:46 2016 +0100

    ndmp: Add safechecks to bndmp_write_data_to_block
    
    When ndmp jobs are canceled, jcr->dcr is null.
    We now check for that condition and do not dereference then.
    
    Fixes #604: Cancel a NDMP Job causes the sd to crash

 src/stored/ndmp_tape.c | 9 +++++++++
 1 file changed, 9 insertions(+)

commit 6b9a3c5f4ba87725733a6a4277d084b97fa554b6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 21 13:54:29 2016 +0100

    python: Don't set python_loaded to true to early.
    
    We only should set p_ctx->python_loaded to true when we found the module
    and loaded it into the interpreter. As after setting p_ctx->python_loaded
    we asume that we have a dictionary pointer to the python methods which
    we don't as that only gets initialized after we actual resolve the
    module name. We will crash on deferencing the dictionary pointer in any
    subsequent call.

 src/plugins/dird/python-dir.c  |  58 +++++++------
 src/plugins/filed/python-fd.c  | 181 ++++++++++++++++++++++-------------------
 src/plugins/stored/python-sd.c |  58 +++++++------
 3 files changed, 168 insertions(+), 129 deletions(-)

commit 6a003a047cc548e925afd77843c7e90d0deae1c1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 18 15:50:15 2016 +0100

    Estimate call crashes on ndmp client
    
    Fixes #601: estimate crashes director when called for ndmp client

 src/dird/ua_cmds.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 218769587d1388b1973fad840d03f6332ffdfcd3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 20 17:16:52 2016 +0100

    build: Rebuild configure.

 configure | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

commit 223a125536615200920d77e52c28cdae0268883e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 20 17:12:24 2016 +0100

    build: Only build plugins when libtool is enabled.

 autoconf/configure.in | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

commit 8ec9550eb1b053d74578cf30d344eb038eba8cc1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jan 13 18:28:38 2016 +0100

    configure

 configure | 6 ------
 1 file changed, 6 deletions(-)

commit f06c291e398c7a914813e36fe94fb8b520f77a8d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Dec 21 18:17:39 2015 +0100

    improve Univention UCS 4.x AppCenter integration
    
    After review from Univention, a couple of things gets adapted.
    Most notably, the package univention-bareos-schema have been discarded.
    Instead the join script from univention-bareos registers the LDAP schema
    extension.

 autoconf/configure.in                              |   5 -
 debian/control.in                                  |   2 -
 debian/control.univention-bareos                   |   9 +-
 debian/control.univention-bareos-schema            |   8 --
 debian/univention-bareos-schema.install.in         |   1 -
 debian/univention-bareos-schema.postinst.in        |  13 --
 debian/univention-bareos.install.in                |   2 +
 debian/univention-bareos.postinst.in               |  30 +----
 platforms/packaging/bareos-Univention_3.1.dsc      |  12 --
 platforms/packaging/bareos-Univention_3.2.dsc      |  12 --
 platforms/packaging/bareos-Univention_4.0.dsc      |   4 +-
 platforms/packaging/bareos.dsc                     |   2 +-
 platforms/univention/62univention-bareos.inst      |   8 +-
 platforms/univention/AppCenter/README              |  30 +++++
 platforms/univention/AppCenter/README_DE           |  30 +++++
 platforms/univention/AppCenter/README_POST_INSTALL |  10 --
 .../univention/AppCenter/univention-bareos.ini.in  |  61 +++++----
 platforms/univention/Makefile.in                   |  12 +-
 src/images/bareos-logo-full.svg                    | 136 +++++++++++++++++++++
 src/images/bareos-logo.svg                         | 108 ++++++++++++++++
 20 files changed, 359 insertions(+), 136 deletions(-)

commit 297f2d5651a94e80c9f0a775f628b7ca893394d5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 18 21:31:29 2016 +0100

    ndmp: Tweak warning reporting.
    
    Fix warning reporting for clang compiler. Things now compile cleanly
    again on FreeBSD where clang is used as default compiler.

 src/ndmp/ndmos.h | 5 ++---
 src/ndmp/ndmp0.x | 4 ++--
 src/ndmp/ndmp2.x | 4 ++--
 src/ndmp/ndmp3.x | 4 ++--
 src/ndmp/ndmp4.x | 4 ++--
 src/ndmp/ndmp9.x | 4 ++--
 6 files changed, 12 insertions(+), 13 deletions(-)

commit 122902ed3b5157886f7ac65846d7245eb935fba1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 18 19:04:21 2016 +0100

    lmdb: Sync to upstream.

 src/lmdb/lmdb.h | 11 +++++++++--
 src/lmdb/mdb.c  | 47 ++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 45 insertions(+), 13 deletions(-)

commit b3437eee1e5edb0d30d57e681ffb650fae8560eb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 11 21:37:09 2016 +0100

    socket: Introduce MaximumConnections for filed and stored.
    
    When refactoring the socket_server code for the director we added a new
    config option named MaximumConnections which is used to size the listen
    backlog. This patch introduces something similar for the filed and
    stored so we always size the backlog in a proper way according to the
    wanted concurrency. We now check in accepting a connection in the filed
    or stored if we already reached the wanted concurrency and then just
    disconnect the session.
    
    Fixes #593: Problem with a job on a passive client and limited Maximum
                Concurrent Jobs

 src/filed/dir_cmd.c        | 21 +++++++++++++++++++++
 src/filed/filed.c          |  9 ++++++++-
 src/filed/filed_conf.c     |  1 +
 src/filed/filed_conf.h     |  1 +
 src/filed/socket_server.c  |  5 ++++-
 src/stored/dir_cmd.c       | 23 ++++++++++++++++++++++-
 src/stored/ndmp_tape.c     |  2 +-
 src/stored/socket_server.c |  2 +-
 src/stored/stored.c        | 18 ++++++++++++++----
 src/stored/stored_conf.c   |  3 ++-
 src/stored/stored_conf.h   |  3 ++-
 11 files changed, 77 insertions(+), 11 deletions(-)

commit 9dd998983852fefd2b23cde1f467d5dc64502214
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 11 15:15:49 2016 +0100

    win32: Extra quote bsmtp call on windows
    
    Fixes #581: Installer is setting up a wrong path to bmail.exe without
                quotes / bmail not called

 platforms/win32/fillup.sed | 1 +
 1 file changed, 1 insertion(+)

commit 94cd79d4e24bd9f1a88f63ab645ed0149118b792
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 11 15:36:12 2016 +0100

    ndmp: When migrating/copying, also migrate/copy the file metadata
    
    For NDMP Jobs part of the metadata is stored by the Director
    so when we copy that Job using the normal way the Storage Daemon
    will only see the actual NDMP datastream and not the additional
    metadata that is normally exchanged via the FHDB interface of NDMP.
    
    So for a migrate we need to update that additional metadata to
    belong to the new Job and for a copy we need to duplicate that data.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/migrate.c | 419 ++++++++++++++++++++++++++++++-----------------------
 1 file changed, 238 insertions(+), 181 deletions(-)

commit f0c3783a6949f8fec5c6ea6f10c7a4f718515c9c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 11 15:36:12 2016 +0100

    ndmp: Fix DiskToDiskToTape support for NDMP.
    
    We need to map the paired read storage of a NDMP backup to point to the
    actual real storage before we start the migration or copy as otherwise
    the Job tries to use the original storage of the NDMP Job and that is a
    storage of the NDMP type which will trigger the assert in the code that
    checks if the storage has the right password encoding.
    
    We now check in the routines the actual JobType e.g. backup means write
    storage anything else means read storage (e.g. restore, migration, copy)
    We always try setting up paired read storage when we encounter NDMP
    storage its not a backup Job. The has_paired_storage() function can now
    also be used to determine if a Job has all NDMP paired storage so we
    know in the copy/migrate code we need to setup paired storage. We can
    call free_paired_storage() always as it checks if any paired storage was
    setup using set_paired_storage().

 src/dird/job.c     | 230 +++++++++++++++++++++++++++++++++++++++--------------
 src/dird/migrate.c |  13 +++
 2 files changed, 185 insertions(+), 58 deletions(-)

commit b39e4f81d8d5d097a9a7c774bbf8c8beb3108f7e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 11 15:36:12 2016 +0100

    ndmp: Fix calculation of ta->mover_state.record_num
    
    Amanda has changed this calculation as they seem to have run into some
    problem with tape writing. So lets import this change. We currently
    probably don't run into this problem as we only emulate one big tape but
    if we add support for real NDMP storage we might also be bitten by it.

 src/ndmp/ndma_tape.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit a040767485d6c3550e0acc29d45611d4902f5dff
Author: rafael_chicoli <rafael_chicoli@regis24.de>
Date:   Tue Dec 29 20:48:28 2015 +0100

    fix not enough arguments for shift

 debian/bareos-database-common.config.in   | 14 +++++++++-----
 debian/bareos-database-common.postinst.in | 12 ++++++++----
 2 files changed, 17 insertions(+), 9 deletions(-)

commit f2cbdcbf7ab940af932a59582b265870b687a259
Author: Robert Scheck <robert@fedoraproject.org>
Date:   Sun Dec 27 01:58:12 2015 +0100

    Fedora and RHEL are shipping mariadb.service rather mysql.service (at least by default)

 platforms/systemd/bareos-dir.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6a45e26ededd30398f4fff7b10838cf34f337884
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jan 8 15:47:34 2016 +0100

    win32: Do signing only in winbareos-nsi package

 platforms/win32/winbareos-nsi.spec | 19 +++++++++++++++++--
 platforms/win32/winbareos32.spec   | 22 ----------------------
 platforms/win32/winbareos64.spec   | 22 ----------------------
 3 files changed, 17 insertions(+), 46 deletions(-)

commit 3c5810f98f76bef351707794a067be7a11849957
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jan 6 16:29:07 2016 +0100

    bscan: Fix crash when filesettext is null
    
    Fixes #573: rsync tape between bareos server

 src/cats/sql_create.c | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

commit a4884e20bc000b7fd65764138215a6d57fa3ed3c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 6 15:13:15 2016 +0100

    dird: Fix pretty printer to output Yes and No and not yes and no

 src/dird/dird_conf.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 2975943bce15bf5d3496ec7cc9e2bde0de022df3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 6 13:03:27 2016 +0100

    dird: Fix pretty printing of Options blocks.
    
    Print Options inside the for loop and also close it there.
    
    Fixes #591: config pretty-printer does not print filesets correctly

 src/dird/dird_conf.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

commit 5389d0d1b56dd3b08e5911b1f37e3ee60e60c495
Author: Jyri Palis <jyri.palis@gmail.com>
Date:   Mon Jan 4 10:04:27 2016 +0100

    mssqlvdi: Fix IClientVirtualDeviceSet2::CreateEx call.
    
    Seems we need to call IClientVirtualDeviceSet2::CreateEx with as first
    argument the instance name when connecting to the an non default
    instance.
    
    Fixes #383: mssqldvi problem with connection to mssql not default
                instance

 AUTHORS                               |  1 +
 src/win32/plugins/filed/mssqlvdi-fd.c | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

commit bcdc04ad80886ba3af6b6bee6497e8bf07c11746
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jan 2 15:05:42 2016 +0100

    libs: Use define Z_BEST_COMPRESSION instead of hardcoded value.

 src/lib/binflate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0d3da87562bd3ad414464f45a6568cbec5789f47
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 1 21:25:10 2016 +0100

    ndmp: Fix prototype for xdr_ndmp9_no_arguments to ANSI.
    
    This way the compiler doesn't complain anymore about call to function
    'xdr_ndmp9_no_arguments' without a real prototype. And ANSI prototypes
    are common these days seems they were not in 2001 when the reference
    NDMP libs were written.

 src/ndmp/ndmp9_xmt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 273b26dbcce52a5b1d2ef11fd7f9bab465f35e23
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 1 15:28:31 2016 +0100

    logging: Add support for setting a log resource timestamp format.
    
    This adds support to the generic message resources for overriding the default
    timestamp format per message resource defined.

 src/dird/dird_conf.c     |   3 +
 src/filed/filed_conf.c   |   3 +
 src/lib/message.c        |  50 +++++++++++----
 src/lib/message.h        |   1 +
 src/lib/msg_res.h        |   1 +
 src/lib/parse_conf.h     |   1 +
 src/lib/protos.h         |   3 +-
 src/lib/res.c            | 161 +++++++++++++++++++++++++----------------------
 src/stored/stored_conf.c |   3 +
 9 files changed, 140 insertions(+), 86 deletions(-)

commit 7ac3596172eb9130acadef4c3576cd0d403e787c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 1 15:04:32 2016 +0100

    logging: log_date_format ==> log_timestamp_format
    
    Lets name the option LogTimestampFormat as that is what it actually is
    more then just a date or time.

 src/dird/dird.c          |  4 ++--
 src/dird/dird_conf.c     |  6 +++---
 src/dird/dird_conf.h     |  2 +-
 src/filed/filed.c        |  4 ++--
 src/filed/filed_conf.c   |  6 +++---
 src/filed/filed_conf.h   |  2 +-
 src/lib/message.c        | 14 +++++---------
 src/lib/message.h        |  2 +-
 src/stored/stored.c      |  4 ++--
 src/stored/stored_conf.c |  6 +++---
 src/stored/stored_conf.h |  2 +-
 11 files changed, 24 insertions(+), 28 deletions(-)

commit 2430440e3c205691889769add89d89b1d09beed5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 31 20:17:13 2015 +0100

    build: Bump copyright year.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 406b4ca2cde7013fceb84734da213778f5b22957
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 31 17:37:00 2015 +0100

    logging: Add support for setting a generic log date format.
    
    This adds support to FD, SD and DIR for setting a 'LogDateFormat' which
    is used when set instead of the old default log format of "%d-%b %H:%M"
    e.g. datestamp without year.

 src/dird/dird.c          |  3 +++
 src/dird/dird_conf.c     |  4 ++++
 src/dird/dird_conf.h     |  1 +
 src/filed/filed.c        |  3 +++
 src/filed/filed_conf.c   |  4 ++++
 src/filed/filed_conf.h   |  3 ++-
 src/lib/message.c        | 32 +++++++++++++++++++++-----------
 src/lib/message.h        |  1 +
 src/stored/stored.c      |  3 +++
 src/stored/stored_conf.c |  4 ++++
 src/stored/stored_conf.h |  3 ++-
 11 files changed, 48 insertions(+), 13 deletions(-)

commit de49d72db812d0cc101556f24bc1a71b769e0343
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 31 17:33:37 2015 +0100

    win32: Remove wchar_win32_path() function.
    
    Update comments in make_wchar_win32_path() and remove
    wchar_win32_path() which is not used anymore anyway so its time for it
    to leave the building.

 src/win32/compat/compat.c | 39 ++++-----------------------------------
 1 file changed, 4 insertions(+), 35 deletions(-)

commit d2b563e86c5b43f1ee12ed9bf7588de3313056ce
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 30 16:55:11 2015 +0100

    stored: Tweak comments and layout in reservervation logic.
    
    This should make the hardest part of the storage daemon somewhat better
    readable as things are now properly indented and some empty lines are
    added to reduce the stress on the eyes.

 src/stored/reserve.c | 322 +++++++++++++++++++++++++++++++++------------------
 1 file changed, 211 insertions(+), 111 deletions(-)

commit 3ae777c4bb7e24f8d8351c895eb16cc830121112
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 29 18:51:31 2015 +0100

    dird: Remove some unused JCR members.
    
    Seems some closed source members were merged into Bacula at some stage
    without anything using it of course.

 src/include/jcr.h | 2 --
 1 file changed, 2 deletions(-)

commit 4102432926b160e2f546cfbc8d18f5006d1cf9e5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 29 17:19:58 2015 +0100

    libs: Use uint16_t in generate_crypto_passphrase()
    
    Remove the char variable used as array index which gives some compilers
    something to whine about.

 src/lib/passphrase.c | 10 ++++------
 src/lib/protos.h     |  2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)

commit ab0b12ecaabe2b05c718b762cdcea8c77d122078
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 29 17:08:04 2015 +0100

    libs: Add dummy cmprs_algo_to_text() function.
    
    When you compile without any compression library we were missing a dummy
    entry for the cmprs_algo_to_text() function. Its not likely on any
    platform things like libz are not available.

 src/lib/compression.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 402ea91ec00ff3143290fa1755e122607bd62cb5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Dec 27 10:01:29 2015 +0100

    build: Fix bbatch build.
    
    Fix previous commit and not include jcr.h there explicitly as it gets
    included here by some other include we do so we should not include it
    ourself or we run into the problem that it doesn't know it needs to set
    DIRECTOR_DAEMON to 1 to get the right members of the JCR class.

 src/tests/bbatch.c | 1 -
 1 file changed, 1 deletion(-)

commit c9297d7f5d8a0cf9df1654ceb095a65996bf9a63
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Dec 26 11:18:52 2015 +0100

    build: Fix test programs to include jcr.h
    
    As now jcr.h is no longer included in each program via some side effect
    we need to explicitly include it when we need it.

 src/tests/bbatch.c    | 1 +
 src/tests/bvfs_test.c | 1 +
 src/tests/cats_test.c | 1 +
 src/tests/testls.c    | 3 +--
 4 files changed, 4 insertions(+), 2 deletions(-)

commit 91ebb8eda57467a03cde203cfde8ccf1510de763
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 18:47:47 2015 +0100

    mssqlvdi: Fix backup/restore of incremental backups
    
    Add missing support to incremental backups and restores for MSSQL
    backups analog to the support we added recently for full backups.
    
    Fixes #588: Incremental MSSQL backup fails when database name contains
                spaces

 src/win32/plugins/filed/mssqlvdi-fd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ab9b07673de233084c91ab78ca663ff9506cae82
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 10:15:59 2015 +0100

    mysql: Fix primary key definition on Quota table.

 src/cats/ddl/creates/mysql.sql         | 2 +-
 src/cats/ddl/updates/mysql.14_2001.sql | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b3bd1f52aebbf3c498afb8cfba1fbd28694c0430
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 10:15:59 2015 +0100

    win32: Fix symlink and junction support
    
    Add support for CreateSymbolicLinkA and CreateSymbolicLinkW.
    Seems there are again two types of calls one for wide strings and one
    for ANSI ones. We also updated our CreateJunction function to be able
    to handle wide strings instead of ANSI ones. We only implemented this
    CreateJunction now for wide strings as junctions points are only
    available for the public in Vista and later (and anything older is not
    supported anyway anymore) why waste time on implementing an ANSI
    version of it.
    
    Fixes #575: charset problem in symlinks/junctions windows restore

 src/win32/compat/compat.c  | 125 ++++++++++++++++++++++++++++++++++-----------
 src/win32/compat/winapi.c  |   9 +++-
 src/win32/include/winapi.h |   6 +++
 3 files changed, 108 insertions(+), 32 deletions(-)

commit d64dbdddc477773d758feb8934ba411713118ead
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Dec 24 10:15:58 2015 +0100

    btape: Fix status command output
    
    This ugly output:
    
    btape: btape.c:2161-0 Device status:btape: btape.c:2163-0  TAPEbtape:
    btape.c:2167-0  BOTbtape: btape.c:2177-0  ONLINEbtape: btape.c:2181-0
    IMMREPORTbtape: btape.c:2185-0 . ERR=
    
    now looks like this:
    
    Device status: TAPE BOT ONLINE IMMREPORT. ERR=

 src/stored/btape.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

commit c2f8b0c8283df9b8505132ae7a52d75b631abc03
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 10:15:57 2015 +0100

    mssqlvdi: Also call initialize_com_security() from mssqlvdi.
    
    If the plugin is the first to use the COM stuff we better make sure its
    initialized with the right info. We can call initialize_com_security()
    multiple times as it checks itself if its already called before this has
    no negative impact.

 src/win32/plugins/filed/mssqlvdi-fd.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 37a083f52c2dd4649ec2fca61971d740a76404fc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 10:15:57 2015 +0100

    vss: Get rid of one VSS client at a time.
    
    The VSS code is currently one big minefield with global variables
    all over the place.
    
    These changes make it a bit better at the costs of using some so
    called thread specific data pointers e.g. using
    pthread_set_specific() and pthread_get_specific().
    
    The big change is that we setup two TSD keys which control the
    Thread Specific Data. There is one key which holds the so called
    UTF8 to UCS2 cache which caches the last conversion done as this
    conversion is rather expensive and is done multiple times. The
    second key is used for registering the callback for the VSS
    pathconvert functions.
    
    In the FILED code we now keep track of the VSS instance used
    using a variable in the JCR instead of using a global VSS instance.
    
    As each Job uses one thread we could now run multiple Jobs which
    shouldn't clobber each others caches, have callbacks for VSS if
    they use VSS and have their own instance of the VSS class.
    
    By removing these limits we also had to fix the following problems:
    - CoInitializeSecurity may only be called once.
    - Wait for Snapshotset to complete
    
    Fixes #253: Enable concurrent jobs on Windows platforms
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>

 src/filed/backup.c                |  12 +-
 src/filed/dir_cmd.c               |  98 ++++-----
 src/filed/fd_plugins.c            |   8 +-
 src/filed/filed.h                 |   4 +
 src/filed/status.c                |  34 ++-
 src/findlib/acl.c                 |   1 +
 src/findlib/attribs.c             |   1 +
 src/findlib/create_file.c         |   1 +
 src/findlib/find.c                |   1 +
 src/findlib/find.h                |   1 -
 src/findlib/find_one.c            |   1 +
 src/findlib/match.c               |   1 +
 src/findlib/xattr.c               |   1 +
 src/include/jcr.h                 |   5 +-
 src/lib/jcr.c                     | 110 +++++-----
 src/win32/compat/compat.c         | 449 +++++++++++++++++++++++++++-----------
 src/win32/compat/include/compat.h |   9 +-
 src/win32/compat/winapi.c         |   2 +-
 src/win32/filed/Makefile          |   1 +
 src/win32/filed/vss.c             | 108 +++++----
 src/win32/filed/vss_generic.c     |  62 ++----
 src/win32/filed/who.h             |   3 +-
 src/win32/findlib/win32.c         |   1 +
 src/win32/generic/main.c          |   5 -
 src/win32/include/vss.h           |  15 +-
 25 files changed, 556 insertions(+), 378 deletions(-)

commit 6c03073d03f93c135a76d349e47fe7d83bfbad79
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 24 10:15:56 2015 +0100

    lmdb: Sync to upstream.

 src/lmdb/lmdb.h         |   36 +-
 src/lmdb/mdb.c          | 1041 +++++++++++++++++++++++++++++++++++++++--------
 src/lmdb/midl.c         |   62 +++
 src/lmdb/midl.h         |   23 ++
 src/win32/lmdb/Makefile |    3 +-
 5 files changed, 985 insertions(+), 180 deletions(-)

commit c4637db5e633b4297be60b36f4026a8b4dd59ea1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Dec 20 15:00:21 2015 +0100

    ndmp: Tweak warning reporting.
    
    Add some clang specific warning settings and fix the GNU version
    number checks.
    
    Create proper ANSI prototype for xdr_ndmpX_u_quad. This way the
    compiler stops whining that xdr_ndmpX_u_quad has no proper prototype.

 src/ndmp/ndmos.h     | 13 +++++++++----
 src/ndmp/ndmp0.x     |  4 ++++
 src/ndmp/ndmp2.x     |  7 ++++---
 src/ndmp/ndmp2_xmt.c |  4 +---
 src/ndmp/ndmp3.x     |  7 ++++---
 src/ndmp/ndmp3_xmt.c |  4 +---
 src/ndmp/ndmp4.x     |  7 ++++---
 src/ndmp/ndmp4_xmt.c |  4 +---
 src/ndmp/ndmp9.x     |  7 ++++---
 src/ndmp/ndmp9_xmt.c |  4 +---
 10 files changed, 33 insertions(+), 28 deletions(-)

commit dcfcce8b135244579b6289b95e738f16b6e9b971
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 18 09:53:56 2015 +0100

    build: Move FDLIBS after the local libs.
    
    We should not import external libs before importing our private libs.

 src/filed/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 663ad210e89b65d49847f47f9fde32f6010916db
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 18 09:53:56 2015 +0100

    build: Rebuild configure.

 configure | 41 ++++++++---------------------------------
 1 file changed, 8 insertions(+), 33 deletions(-)

commit 8cc292d62a23325dfbe643f93dbc9ce111b7af87
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 18 09:53:55 2015 +0100

    build: Fix the readline linking mess.
    
    We should add the -L <dir> to the CONS_LIBS and not use CONS_LDFLAGS at
    all. We can also ditch the deppkg stuff which we don't support anyway
    and have removed most support for anyway.

 GNUmakefile.in          |  2 +-
 Makefile.in             |  2 +-
 autoconf/configure.in   | 33 +++++++++------------------------
 src/console/Makefile.in |  9 ++++-----
 4 files changed, 15 insertions(+), 31 deletions(-)

commit b4de2c77d351e29f9f142b73ad38a6984e472ee5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 17 19:24:27 2015 +0100

    Sync lmdb.

 src/lmdb/mdb.c | 378 ++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 281 insertions(+), 97 deletions(-)

commit f92f23c68bc457f452da2621d291859b671e6e48
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Dec 9 10:27:47 2015 +0100

    ndmp: Reference implementation enhancements
    
    - Added ndmp_close_connection call
    - Accept NDMP9_DEV_NOT_OPEN_ERR as valid answer
      As this is always emitted during ndmca_monitor_shutdown()
    - Do not return error if restored files < n_nlist

 src/ndmp/ndma_cops_backreco.c |  9 ++++++++-
 src/ndmp/ndma_ctrl_calls.c    | 13 +++++++++++++
 src/ndmp/ndmagents.h          |  1 +
 src/ndmp/ndml_conn.c          | 10 +++++++++-
 src/ndmp/ndmp_msg_buf.h       |  2 ++
 5 files changed, 33 insertions(+), 2 deletions(-)

commit 76b5d34350d626fdff40d42a9b8104d628e3eeea
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Nov 25 15:41:32 2015 +0100

    ndmp: Fix handling of restore to different location
    
    The restore destination_path gets the ndmp_filesystem
    removed from the front when adding files to the namelist

 src/dird/ndmp_dma_restore.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

commit 3aa7b737a1f534bd389e75652eb7bc4b13da02ba
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 7 15:32:56 2015 +0100

    ndmp: Fix crash on more than 8 incrementals
    
    We now first check if nis exists

 src/dird/ndmp_fhdb_mem.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 1f73aa42ce41f2deb278ec22e10da3c8e96fb829
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 7 12:41:16 2015 +0100

    ndmp: Loop over BSRs when doing recover of NDMP

 src/dird/ndmp_dma_restore.c | 251 +++++++++++++++++++++++---------------------
 1 file changed, 131 insertions(+), 120 deletions(-)

commit 30139df01a3ce18d14a0257178def75e827bc022
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Dec 3 13:47:56 2015 +0100

    ndmp: Removed unneded ta->tape_fd = -1
    
    As this is done in ndmos_tape_initialize(sess); anyway

 src/stored/ndmp_tape.c | 1 -
 1 file changed, 1 deletion(-)

commit 7b1404f74cb5a5992552ea8a05e4097a52a40009
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 30 17:16:41 2015 +0100

    ndmp: Remove dumplevel from job command.
    
    We now exchange the dumplevel as part of the tape_device name. As we now
    let the director generate the whole virtual filename we no longer need
    any mapping table in the stored that needs to know if a protocol uses
    dumplevels or not.

 src/dird/msgchan.c         |  4 ++--
 src/dird/ndmp_dma_backup.c | 48 ++++++++++++++++++++++++++--------------------
 src/include/jcr.h          |  2 +-
 src/stored/job.c           |  9 ++++-----
 src/stored/ndmp_tape.c     | 47 ++-------------------------------------------
 5 files changed, 36 insertions(+), 74 deletions(-)

commit 6c1d231f046284b344bf1558c0776abe56dea7b8
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 30 14:11:42 2015 +0100

    ndmp: Skip tree entries without attributes

 src/dird/ndmp_fhdb_mem.c | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

commit fa9f2fdc4fe7bddf0f4ee77047c50e8134712ffe
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Dec 17 11:30:49 2015 +0100

    Use explicitly given storage for restore
    
    When restoring and selecting explicitly a certain storage,
    still the bootstrap was filled with the storage  the volume
    was written with instead of what was just manually set.
    
    This is now fixed and the explicitly selected storage is written to
    the bootstrap file.

 src/dird/ua_restore.c | 1 +
 1 file changed, 1 insertion(+)

commit 43ff659fdb75b352ce3f22f15eb4bcbba1566aed
Author: Evgeni Golov <sargentd@die-welt.net>
Date:   Sun Dec 13 10:09:51 2015 +0100

    update homepage and source repo URLs for LZ4

 LICENSE          | 4 ++--
 debian/copyright | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 154c986d5649dbe169bb93acd12cf3d043eb9691
Author: Evgeni Golov <sargentd@die-welt.net>
Date:   Sun Dec 13 10:18:34 2015 +0100

    improve package descriptions of the new packages
    
    Conflicts:
    	debian/control.bareos-filedaemon-ceph-plugin

 debian/control.bareos-director-python-plugin      | 2 +-
 debian/control.bareos-filedaemon-ceph-plugin      | 2 +-
 debian/control.bareos-filedaemon-glusterfs-plugin | 4 ++--
 debian/control.bareos-filedaemon-python-plugin    | 4 ++--
 debian/control.bareos-storage-glusterfs           | 4 ++--
 debian/control.bareos-storage-python-plugin       | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

commit 63443b780678ea3916a501d765b8790c4ceaf70b
Author: Evgeni Golov <evgeni@debian.org>
Date:   Mon Nov 30 19:59:49 2015 +0100

    move bscrypto binary to bareos-storage-tape
    
    in 10fe486549814c30dab4a6fc34ab9b84fdfe7bd6 the manpage and library were
    moved to b-s-t, but the actual binary was left in bareos-storage.
    finalize the move by placing the binary into b-s-t.

 debian/bareos-storage-tape.install.in | 1 +
 debian/bareos-storage.install.in      | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

commit f9fc2a52f2294559b81e4bba37091d97679e26db
Author: Adam Thompson <athompso@athompso.net>
Date:   Fri Nov 6 08:58:20 2015 -0600

    Describe Linux-specific error
    
    Add a sentence that's greppable so this documentation can be found.

 README.scsicrypto | 4 ++++
 1 file changed, 4 insertions(+)

commit 74480164350a2982d560e1d309a4cbf39e2546d8
Author: Frank Bergkemper <frank.bergkemper@dass-it.de>
Date:   Thu Nov 26 16:16:15 2015 +0100

    Univention UCS 4.x integration

 debian/control.univention-bareos                   |   1 +
 debian/univention-bareos.install.in                |   1 +
 debian/univention-bareos.postinst.in               |  45 +++++++++++++++++++--
 .../univention-bareos.univention-config-registry   |   2 +
 ...ion-bareos.univention-config-registry-variables |  12 ++++++
 .../univention/AppCenter/LICENSE_AGREEMENT.in      |   4 ++
 platforms/univention/AppCenter/README_POST_INSTALL |   3 ++
 .../AppCenter/bareos-webui_screenshot.png          | Bin 0 -> 111705 bytes
 .../univention/AppCenter/univention-bareos.ini.in  |  37 +++++++++--------
 platforms/univention/Makefile.in                   |   6 ++-
 platforms/univention/bareos-dir.conf               |   4 ++
 platforms/univention/create_ucs_template_files.sh  |  14 ++++++-
 12 files changed, 105 insertions(+), 24 deletions(-)

commit fb775025d54ef77abb4d67cc5aa9ecb90bca4839
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 3 09:20:47 2015 +0100

    Replace break; with exit.
    
    Seems I was thinking to much I was programming C instead of shell.

 src/cats/update_bareos_tables.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f9b08c13cda251f8db0324dbedc7031bd5d1836d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 30 20:38:50 2015 +0100

    Fix typo.
    
    Fixes #574: typo in configure script (jansson)

 autoconf/configure.in | 2 +-
 configure             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 06af63eb7cc5a6953c21a77b8327dc307e8cd357
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Nov 26 11:51:36 2015 +0100

    Do not autoselect director sqlite backend
    
    when director is not selected at all

 platforms/win32/winbareos.nsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 708f8afc6a31eeb53e322412da0b3b98115da522
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Nov 25 22:12:15 2015 +0100

    Fix status slots in API mode 2.
    
    Change coding so things start working again with the latest version of
    the output formatter. Also fixed one typo which was using object_end()
    instead of array_end().

 src/dird/ua_dotcmds.c |  2 +-
 src/dird/ua_status.c  | 29 ++++++++++++++++++-----------
 2 files changed, 19 insertions(+), 12 deletions(-)

commit 100faea4bc03fc45852067dd25c353631fd5ef2b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Nov 24 11:39:36 2015 +0100

    macos: use right config directory
    
    /etc/bareos instead of /etc only

 platforms/osx/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit de3471c8377966c1d91c26d9e35eb074e2e12019
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Nov 24 14:01:09 2015 +0100

    Univention UCS 4.0: use libjansson
    
    This enables the Bareos Director JSON API mode.

 platforms/packaging/bareos-Univention_4.0.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d4a34c956e851da74aeb85580e840ec64143058f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 23 21:53:19 2015 +0100

    Fix typo.

 scripts/bareos-config-lib.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e652bb0afbaaf49047c675f186ef0d324bc4c172
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 23 15:52:04 2015 +0100

    Fix bsock::fsend problem when msglen is zero
    
    Fixes #564 :director crashes when inventorying library

 src/lib/bsock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 334c79b88295ab028185a61ac312ad6d6889efed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 20 12:54:34 2015 +0100

    Fix some more incompatible shell syntax.
    
    Some platforms have ancient shells so better cope with that.

 scripts/bareos-config-lib.sh.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 9ebc78851894af79ed14bd25977264a894321eb3
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Nov 19 17:39:25 2015 +0100

    Fixes a fd crash when using a invalid bpipe config
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/bpipe-fd.c | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

commit 8e91c74691f34464de37543fd17be961b95bd1b6
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Nov 19 13:01:01 2015 +0100

    Fix wrongly generated error message
    
    printit checks, if it ha a socket connection or not.
    If not, it generates a job message.
    This commit fixes the return code in this case (always true, instead of
    alway false).

 src/dird/ua_output.c | 1 +
 1 file changed, 1 insertion(+)

commit 1639c51f14771e6f6b8b181a4645810886eae101
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Nov 18 21:44:12 2015 +0100

    Use -f instead of -e for older simple bourne shells.

 src/plugins/filed/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3dff47a281b22ab6daf7395a165da36ba0431b6e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 17 15:33:51 2015 +0100

    We shouldn't do spooling on copy/migrate jobs.
    
    We clone the Migrate/Copy Job to be an clone of the original Job and as
    such we also clone things like Spool Data and Spool Size. This patch
    resets the cloned Job to use the Spool Data and Spool Size setting of
    the actual Migrate/Copy control Job.
    
    Fixes #555: Copy jobs don't respect "Spool Data = no"

 src/dird/migrate.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 4cc7481fa61d5ff56f0441cedb2dab79e6f63172
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Nov 17 15:27:48 2015 +0100

    migration control jobs don't count for concurrency
    
    Migration control jobs do not touch the storage in any way
    so they do not need to be counted when checking the maximum
    concurrent jobs for storages.
    
    Also did a cleanup of the the code and comments along the way.
    
    Fixes #528: Migration job hangs waiting for waiting for max Storage jobs
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/jobq.c   | 237 ++++++++++++++++++++++++++++++++----------------------
 src/include/jcr.h |   2 +
 2 files changed, 141 insertions(+), 98 deletions(-)

commit 3ce3c571ca3c3ffdefbecb76fb12bbefa718855a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 17 12:53:14 2015 +0100

    Fix SQL syntax error while trying to restore from copy job
    
    Fixes #566: SQL syntax error while trying to restore from copy job

 src/dird/ua_restore.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit e923dc6ff4035efedea50b0bd1994a20877ad793
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 16 21:14:01 2015 +0100

    Fix typo.

 src/include/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5440e838ba5ff622782770dba6c7e4b0311e3748
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 16 17:42:12 2015 +0100

    Fix lmdb build on some platforms.
    
    Seems the upstream tests still fail to detect the right things on
    OpenSuse and SLES.

 src/lmdb/mdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2a32bfac0d4520469c0f6dbb031b5f9565186cbf
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 15 20:37:20 2015 +0100

    Update NLS files.

 po/POTFILES.in |  1153 +--
 po/bareos.pot  | 19379 ++++++++++++++++++-------------------
 po/de.po       | 23235 ++++++++++++++++++++++----------------------
 po/es.po       | 28731 ++++++++++++++++++++++++++++---------------------------
 po/fr.po       | 25434 ++++++++++++++++++++++++------------------------
 po/it.po       | 19379 ++++++++++++++++++-------------------
 po/nl.po       | 20325 +++++++++++++++++++--------------------
 po/pl.po       | 28393 +++++++++++++++++++++++++++---------------------------
 po/sv.po       | 19379 ++++++++++++++++++-------------------
 po/uk.po       | 21037 ++++++++++++++++++++--------------------
 10 files changed, 103418 insertions(+), 103027 deletions(-)

commit ae2e84472fd5effeab316b9f770ad15228277795
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 15 20:27:21 2015 +0100

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos-Univention_4.0.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 20 ++++++++++----------
 12 files changed, 35 insertions(+), 29 deletions(-)

commit d3b73c5e18aa04033c1f3cd8e52672898210ad46
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 14 20:47:28 2015 +0100

    Tweak report.

 src/dird/migrate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5fed52f201b4a70e1028a0874c18074936491da4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 14 19:48:36 2015 +0100

    Sync lmdb.

 src/lmdb/mdb.c | 116 +++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 83 insertions(+), 33 deletions(-)

commit a878b7c284f8fdbce649eb5b3e6735bc89eb1cb8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 14 10:04:58 2015 +0100

    NDMP: Tweak #pragma settings.
    
    We try to suppress some warnings in this code as its somewhat chatty
    otherwise. But it seems #pragma are only available in later GCC versions
    so try to adapt to that as much as possible.

 src/ndmp/ndmos.h | 4 +++-
 src/ndmp/ndmp2.x | 2 ++
 src/ndmp/ndmp3.x | 2 ++
 src/ndmp/ndmp4.x | 2 ++
 src/ndmp/ndmp9.x | 2 ++
 5 files changed, 11 insertions(+), 1 deletion(-)

commit 924e7ba93db19809bc6fc8d9675b44d928facd69
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 13 13:45:59 2015 +0100

    bcommand: list jobs last: make query more efficient

 src/cats/sql_cmds.c | 16 ++++++++++++++++
 src/cats/sql_cmds.h |  1 +
 src/cats/sql_list.c | 30 +++++++++++++++++++++++++-----
 3 files changed, 42 insertions(+), 5 deletions(-)

commit 0b6435d785c60d7b533241dfe8e3e03faab579dd
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Nov 12 17:39:51 2015 +0100

    Fix random crashes on sd
    
    The block variable was set to the dcr->block, but that can be altered in
    the call to dev->set_label_blocksize(dcr).
    
    When that happens, the code goes on with the wrong block.
    We removed the whole local variable as it makes no sense and is only
    referenced 3 times when calling empty_block()
    
    Fixes #414: Bareos storage daemon crashes during backups
    Fixse #483: bareos-sd crash during backup
    Fixes #522: storage daemon crashes ocassionally when starting a new job
    Fixes #552: SD crashes in -current
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/label.c | 38 ++++++++++++++++----------------------
 1 file changed, 16 insertions(+), 22 deletions(-)

commit 9848e50f39160915d06b4b4943bfb7acca0ed175
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 10 10:57:46 2015 +0100

    Coverity: Fix 3 resource leaks

 src/win32/compat/compat.c   | 4 ++++
 src/win32/generic/service.c | 1 +
 2 files changed, 5 insertions(+)

commit d511f6e827f08335287fe0caf027e5493b3585c0
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 9 13:34:09 2015 +0100

    Fixed double declaration of variable i
    
    This makes the loop variable shadow the variable with a wider scope and
    as such it doesn't have a defined value after the loops exits.
    
    Fixes #556: File Relocation does not work

 src/lib/bregex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a416895d9a591b203e79fa59da2b78c7711a9234
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 8 14:06:27 2015 +0100

    dird: Add expansion for bytes in human readable format.
    
    Next to %b also allow %B for Job Bytes in human readable format.

 src/lib/util.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 7c7148ff7f1cce182f5aad9a57d6a2f2cd5b92db
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 2 22:08:10 2015 +0100

    bcommand: support compact json representation
    
    By default, compact = false.
    Using ".api json compact=true" can reduce the json result string by 1/3,
    so it is adviced to use this whenever human readablity is not required.

 src/dird/ua_dotcmds.c      | 18 +++++++++++-------
 src/dird/ua_output.c       |  4 ----
 src/lib/output_formatter.c |  7 ++++++-
 src/lib/output_formatter.h | 13 +++++++++++--
 4 files changed, 28 insertions(+), 14 deletions(-)

commit abeab96ddb985a8900136a91c7fef3feb2ed6686
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 2 12:41:49 2015 +0100

    bcommand: verify that result is send correctly
    
    if not, in api 0 or 1, don't do output at all,
    in api mode 2, send a json error message.

 src/dird/protos.h          |  2 +-
 src/dird/ua_output.c       |  6 +++--
 src/lib/output_formatter.c | 55 +++++++++++++++++++++++++++++++++++++++-------
 src/lib/output_formatter.h |  6 +++--
 4 files changed, 56 insertions(+), 13 deletions(-)

commit 42ac8a1190ca8f0c2e61f73692d7919f93f7b518
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 2 11:06:05 2015 +0100

    bcommand: .api: get rid of a warning message

 src/dird/ua_dotcmds.c | 2 --
 1 file changed, 2 deletions(-)

commit d3168ac126c6feae12f25a55f981fb48f2f0ae96
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 2 10:59:09 2015 +0100

    bcommand: json: fix memory leak

 src/lib/output_formatter.c | 42 +++++++++++++++++++++++++++---------------
 1 file changed, 27 insertions(+), 15 deletions(-)

commit e073a9de8e61001ef357fe953b1ee8d4ea9144f3
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Nov 5 15:21:57 2015 +0100

    Fix broken package dependency
    
    The RPM package bareos-filedaemon-ldap-python-plugin had a wrong dependency
    to filedaemon-python-plugin instead of bareos-filedaemon-ldap-python-plugin.
    
    Fixes #551: Unable to install bareos-filedaemon-ldap-python-plugin

 platforms/packaging/bareos.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f15adf67218b6ec5aff4c6c33ff1d197ce098fc6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 2 23:12:58 2015 +0100

    NDMP: Switch ndmplib to 2015 data types.
    
    - u_short ==> uint16_t
    - u_long ==> uint32_t
    - int ==> int32_t
    - unsigned long long ==> uint64_t
    - long long ==> int64_t
    - unsigned long ==> uint32_t
    - unsigned short ==> uint16_t
    
    For GCC we now disable the following warning:
    
    -Wunused-variable
    -Wunused-but-set-variable
    -Wformat
    -Wenum-compare
    
    For the Solaris Studio compiler we now disable the following warnings:
    
    - E_ENUM_TYPE_MISMATCH_OP
    - E_ENUM_TYPE_MISMATCH_ARG
    - E_STATEMENT_NOT_REACHED
    
    Those warnings are not too interesting for this code as
    we are not going to fix those problems anyway.
    
    The original problem we encountered was the following:
    
    In solaris, the xdrrec_putlong function has the following check:
    
       if ((*lp > INT32_MAX) || (*lp < INT32_MIN))
          return (FALSE);
    
    As the NDMP code assumes everywhere that long is 4 bytes, but on LP64 it
    is 8 bytes, we get the problem that this check triggers and we get
    always false back. The LP64 gets enabled when compiling your code for
    64 bits on at least SPARC. We didn't see this phenomenon on 64 bits
    compiled code on X86 with the Solaris Studio compiler on Illumos.
    
    We fix this problem by using XDR_GETINT32 and XDR_PUTINT32 on LP64,
    instead of XDR_GETLONG and XDR_PUTLONG which handles 4 bytes and so
    works as desired.
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>

 src/ndmp/ndma_comm_dispatch.c  |  12 +--
 src/ndmp/ndma_cops_backreco.c  |   2 +-
 src/ndmp/ndma_cops_query.c     |   2 +-
 src/ndmp/ndma_ctrl_calls.c     |   6 +-
 src/ndmp/ndma_ctrl_media.c     |  12 +--
 src/ndmp/ndma_ctst_mover.c     |  12 +--
 src/ndmp/ndma_ctst_subr.c      |   8 +-
 src/ndmp/ndma_ctst_tape.c      |  16 ++--
 src/ndmp/ndma_data.c           |   2 +-
 src/ndmp/ndma_data_fh.c        |   2 +-
 src/ndmp/ndma_listmgmt.c       |   2 +-
 src/ndmp/ndma_noti_calls.c     |   2 +-
 src/ndmp/ndma_tape.c           |  22 +++---
 src/ndmp/ndma_tape_simulator.c |   6 +-
 src/ndmp/ndmagents.h           | 171 ++++++++++++++++++++---------------------
 src/ndmp/ndmjob_simulator.c    |  34 ++++----
 src/ndmp/ndml_chan.c           |   2 +-
 src/ndmp/ndml_fhdb.c           |  10 +--
 src/ndmp/ndml_log.c            |   2 +-
 src/ndmp/ndml_media.c          |   4 +-
 src/ndmp/ndmlib.h              |  22 +++---
 src/ndmp/ndmos.h               |  22 +++++-
 src/ndmp/ndmos_common.c        |   6 +-
 src/ndmp/ndmp0.x               |  13 ++--
 src/ndmp/ndmp2.x               |  89 +++++++++++----------
 src/ndmp/ndmp2_translate.c     |  16 ++--
 src/ndmp/ndmp2_xmt.c           |  24 ++++--
 src/ndmp/ndmp3.x               |  97 ++++++++++++-----------
 src/ndmp/ndmp3_translate.c     |  16 ++--
 src/ndmp/ndmp3_xmt.c           |  24 ++++--
 src/ndmp/ndmp4.x               |  97 ++++++++++++-----------
 src/ndmp/ndmp4_translate.c     |  16 ++--
 src/ndmp/ndmp4_xmt.c           |  24 ++++--
 src/ndmp/ndmp9.x               |  50 ++++++------
 src/ndmp/ndmp9_xmt.c           |  24 ++++--
 src/ndmp/ndmp_msg_buf.h        |   2 +-
 src/ndmp/ndmp_translate.c      |   4 +-
 src/ndmp/ndmp_translate.h      |   4 +-
 src/ndmp/smc.h                 |   8 +-
 src/ndmp/smc_raw.h             |   6 +-
 src/ndmp/wraplib.c             |  36 ++++-----
 src/ndmp/wraplib.h             |  90 +++++++++++-----------
 src/stored/ndmp_tape.c         |  18 ++---
 43 files changed, 552 insertions(+), 485 deletions(-)

commit 9b78b96be8d8f848413cb3ef02dccf71b74f0969
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 30 21:41:42 2015 +0100

    NDMP: Add out of order meta data handling.
    
    This uses an additional hash table when we receive the FHDB dir
    information in a somewhat random order from the NDMP DATA Agent.
    The NetApp NDMP implementation is known to do this semi random ordering.
    
    We pre-allocate the nodes in the same way they are normally created them
    but store them temporary in the hash table as a pointer to the node and
    the node id of its parent. This way we use the tree alloc optimal.
    
    When we start processing the actual node information we first look if
    there is any out of order metadata captured in the hash table. If so we
    do a linear walk of the hash table and recursivly create the missing
    parent nodes until we can connect things to the existing tree. For
    creating the parent node we hash lookup the parent node in the hash and
    try inserting it into the tree. When we consume the node for a parent
    node we set the pointer to the node to NULL in the hash table entry.
    This way the linear walk knows we already visited this node and can skip
    it.

 src/dird/ndmp_fhdb_mem.c | 223 +++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 198 insertions(+), 25 deletions(-)

commit 3ed7a1da0a99ea2712dec8eaaed337d58ad3e670
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Oct 30 14:38:55 2015 +0100

    Unify *None* usage

 src/dird/dird_conf.c   |  4 ++--
 src/filed/fd_plugins.c |  2 +-
 src/findlib/attribs.c  |  6 +++---
 src/lib/compression.c  |  2 +-
 src/lib/util.c         | 20 ++++++++++----------
 src/stored/reserve.c   |  4 ++--
 6 files changed, 19 insertions(+), 19 deletions(-)

commit f8987a8c86b93a600cda6bf5dd203b8a3ab42350
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 26 18:51:48 2015 +0100

    Fix Director crash when migrating an empty job
    
    When there is nothing to do for a Migration or Copy the migration_init()
    function sets the Job exit code already to JS_Terminated. This patch
    checks after the migration_init() if the Job Status is alread
    JS_Terminated and then call migration_cleanup() directly.
    
    I also added an explicit check in do_actual_migration() that we have a
    mig_jcr setup as the rest of the code expect this to be set and for any
    Migration or Copy Job that needs to do some actual work this must also
    be set so the extra check is mostly to make sure it is.
    
    The printing of the New JobId is also fixed to show *None* instead of
    <NULL>.
    
    Fixes #544: Director crash (SIGSEGV 11) when migrating an empty job

 src/dird/job.c     | 9 +++++++++
 src/dird/migrate.c | 4 +++-
 2 files changed, 12 insertions(+), 1 deletion(-)

commit bd1b2414ed10de7c9dec5232c709fc8c64da3a77
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 30 08:49:47 2015 +0100

    Sync lmdb.

 src/lmdb/mdb.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit f61b5cc822eda7f5595f8bd73a4eaf66cf8eac2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 29 15:12:26 2015 +0100

    Fix windows build.

 src/dird/Makefile.in    | 14 +++++++-------
 src/win32/dird/Makefile | 20 +++++++++++---------
 2 files changed, 18 insertions(+), 16 deletions(-)

commit dc6d6597b3e1426b1a5f46aad8349e67bd35680c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 24 17:51:11 2015 +0200

    Make NDMP DMA more modular.
    
    It makes sense to split the NDMP DMA into more parts so it gets
    more comprehensible and easier to read. This is the first part
    where we split things into:
    
    - Generic DMA routines
    - Backup specific DMA routines
    - Restore specific DMA routines
    - Storage specific DMA routines
    - Different types of NDMP FileHandleDB stores.
       - In memory (like before.)
       - LMDB backend (dummy for now)

 src/dird/Makefile.in         |    4 +-
 src/dird/ndmp_dma.c          | 3096 ------------------------------------------
 src/dird/ndmp_dma_backup.c   |  825 +++++++++++
 src/dird/ndmp_dma_generic.c  |  611 +++++++++
 src/dird/ndmp_dma_priv.h     |  142 ++
 src/dird/ndmp_dma_restore.c  |  974 +++++++++++++
 src/dird/ndmp_dma_storage.c  |   72 +
 src/dird/ndmp_fhdb_helpers.c |  154 +++
 src/dird/ndmp_fhdb_lmdb.c    |  176 +++
 src/dird/ndmp_fhdb_mem.c     |  720 ++++++++++
 src/dird/protos.h            |   12 +-
 src/ndmp/ndma_cops_labels.c  |    2 +-
 src/ndmp/ndmlib.h            |    2 +-
 13 files changed, 3689 insertions(+), 3101 deletions(-)

commit 0ce3a6da03dae567501ffec6fdfd551cf3e8b39e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 24 17:51:10 2015 +0200

    Allocate callback functions per session.
    
    Instead of using a static global variable with the callback functions
    allocate the callbacks as part of the session structure or context so we
    can have different sets of callbacks for each session.
    
    We also check that the actual function pointer is non-NULL before calling it.

 src/dird/ndmp_dma.c             | 16 ++++++++-------
 src/ndmp/ndma_robot_simulator.c | 37 +++++++++++++++++------------------
 src/ndmp/ndma_tape_simulator.c  | 43 ++++++++++++++++++++---------------------
 src/ndmp/ndmagents.h            | 16 +++++++++------
 src/ndmp/ndmjob.h               |  6 ++++--
 src/ndmp/ndmjob_main.c          |  4 ++--
 src/ndmp/ndmjob_simulator.c     | 20 +++++++++----------
 src/ndmp/ndml_fhdb.c            | 37 +++++++++++++++++------------------
 src/ndmp/ndmlib.h               |  6 ++++--
 src/ndmp/ndmos_common.c         | 29 ++++++++++++++-------------
 src/stored/ndmp_tape.c          | 20 +++++++++----------
 11 files changed, 120 insertions(+), 114 deletions(-)

commit ef33284b97d06fd334ce7ed1a52413dfcda9cc38
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 24 17:51:10 2015 +0200

    Add NDMP vbb and image backup types.
    
    Seems EMC uses a special type for NDMP backups named "vbb" which looks
    analog to smtape and zfs we already had. Mirapoint has an "image"
    backup type which also looks analog. So lets add these two types
    and see how well things work out with these settings.

 src/dird/ndmp_dma.c    | 2 ++
 src/stored/ndmp_tape.c | 2 ++
 2 files changed, 4 insertions(+)

commit 223d0f9bba26550ab3a65df06268df1efbf5567e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 24 17:51:09 2015 +0200

    Make NDMP ImageStream buffer dynamically allocated size.
    
    New design that actually works.

 src/ndmp/ndma_image_stream.c | 15 ++++++++++++++-
 src/ndmp/ndmagents.h         |  7 ++-----
 src/ndmp/ndmos.h             |  8 +++++++-
 3 files changed, 23 insertions(+), 7 deletions(-)

commit 8ebd89082bd6bb69d92446fc22865176ce855ef4
Author: Zilvinas Krapavickas <zkrapavickas@gmail.com>
Date:   Wed Oct 28 17:24:32 2015 +0100

    Allow backup/restore of MSSQL database with spaces in name
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 AUTHORS                               | 1 +
 src/win32/plugins/filed/mssqlvdi-fd.c | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

commit 7559374f4aa5ce8a1494f2832fb1378a4bee099f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 25 20:50:36 2015 +0100

    Fix indention and some cleanups.

 src/dird/dird_conf.c | 346 +++++++++++++++++++++++++--------------------------
 src/dird/dird_conf.h |  42 +++----
 2 files changed, 194 insertions(+), 194 deletions(-)

commit 1eba7ba6b72e2c696206e06590ab210129939318
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 23 20:45:34 2015 +0200

    Restore is_name_valid() check.

 src/dird/ua_restore.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 34bc64840ed2f91d539a0cd3e40c3b00d3890f8f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Oct 23 17:45:57 2015 +0200

    bcommand restore: fixes parameter checking
    
    This patch prevents a crash, if an invalid client, backupclient or
    restoreclient is given.
    
    Fixes 542: Director crashes if a restore command is issued with an
               unexisting restoreclient

 src/dird/ua_restore.c | 26 +++++++++++++++++---------
 src/dird/ua_run.c     | 23 ++++++++++++++---------
 2 files changed, 31 insertions(+), 18 deletions(-)

commit 1c986cc252f13e8d45f58b620d7b617953da3ff8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 23 19:31:42 2015 +0200

    Add missing break

 src/dird/dird_conf.c | 1 +
 1 file changed, 1 insertion(+)

commit 10fe486549814c30dab4a6fc34ab9b84fdfe7bd6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 22 21:43:00 2015 +0200

    Fix some packaging problems.
    
    - Added autoxflate-sd.so to debian storage daemon package
    - Moved bscrypto and scsicrypto-sd.so to storage daemon tape package

 debian/bareos-storage-tape.install.in | 2 ++
 debian/bareos-storage.install.in      | 3 +--
 platforms/packaging/bareos.spec       | 6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)

commit ddbcadc098bd284be1b203c4ea85014980371efe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 12 10:17:38 2015 +0200

    Tweak layout use switches instead of multiple ifs.

 src/dird/dird_conf.c | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)

commit 6cf06c7c051d7c94d137172519d63558fbe60004
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Oct 20 07:36:21 2015 +0200

    logrotate: added build requirement

 debian/control                                | 1 +
 debian/control.in                             | 1 +
 platforms/packaging/bareos-Univention_4.0.dsc | 2 +-
 platforms/packaging/bareos.dsc                | 2 +-
 platforms/packaging/bareos.spec               | 1 +
 5 files changed, 5 insertions(+), 2 deletions(-)

commit c4608ba66bc0650d6e1f27c1a2b1518885a7a15e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 19 19:06:25 2015 +0200

    Rebuild configure.

 configure | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 61 insertions(+), 2 deletions(-)

commit 779a7d07b45beb5660123235879a991cac57dcc4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 19 17:16:03 2015 +0200

    glusterfs: fixes a typo in Debian packaging

 autoconf/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 223144cf5bbb539565b8e5c82e5fcb890f5f3c16
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 19 17:13:04 2015 +0200

    logrotate: use "su" keyword only if available
    
    Newer version of logrotate (>= 3.7 or 3.8, depending on the distribution)
    the "su" directive is required.
    Unfortunally, older version do not know about this keyword.
    With this patch configure detects, if "su" is a valid keyword in a
    logrotate configuration file.
    
    Fixes #537: usage of too-new "su" in logrotate file

 autoconf/configure.in | 16 ++++++++++++++++
 scripts/logrotate.in  |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)

commit fa879c5c71e2f6807ea6de5fe11c29be74823ae0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 17 10:44:39 2015 +0200

    Sync lmdb.

 src/lmdb/mdb.c | 164 ++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 116 insertions(+), 48 deletions(-)

commit d390b13a8f8bb8dcc67f8a7c7ca24ebf42e86cf1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Oct 16 14:01:40 2015 +0200

    bcommand: list jobs count: fix sql query

 src/cats/sql_cmds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2e59a17b9de7cdbb9507adb9debd063d14a53e71
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 14 20:43:07 2015 +0200

    STREAM_NDMP_SEPERATOR was already handled by bscan.

 src/stored/bscan.c | 4 ----
 1 file changed, 4 deletions(-)

commit 40c556b172d9cee84cbf1a9b7b37f7e21f999415
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Oct 8 17:32:05 2015 +0200

    OUTPUT_FORMATTER: added bool type

 src/dird/ua_cmds.c         |  5 ++++
 src/lib/output_formatter.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++
 src/lib/output_formatter.h | 10 +++++++
 3 files changed, 86 insertions(+)

commit 128ecf8494b16fb6fcf0d499a29c6bc02dc3448d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 14 19:25:44 2015 +0200

    Add filtering in bscan for some new stream types.

 src/stored/bscan.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit f20b7f2ffb3ad202dd1efa185169b23064dfef41
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Oct 14 11:51:41 2015 +0200

    bcommand: fixes a problem in the output format
    
    Bareos has different methods to generate output for consoles:
      * print
      * messages
        * send_msg, error_msg, warning_msg, info_msg
    
    Strings from the print method are first stored into a text buffer and only send
    to the console on request or at the end of the bcommand.
    Messages are send directly to the console.
    
    Some methods use both types to generate output.
    To show them in the correct order, this change first flushes the text buffer
    to the console before sending a message.

 src/dird/ua_output.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit 5b1f6f56f257bfdc1a05059973928523a258b4f2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Oct 14 14:06:47 2015 +0200

    bcommand: fix duplicates in "[l]list jobs"
    
    A job can be stored on multiple volumes.
    Without this patch, it is than shown multiple times in the "list jobs"
    output.
    This patch fixes this problem.
    Drawback: the recently introduced volumename field is no longer shown in "llist jobs".
    However "[l]list jobs volume=<volume>" still works as expected.

 src/cats/sql_cmds.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit 4921ce2db8b9780d1b16fa7b56618be1af69ecaf
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Oct 9 19:23:32 2015 +0200

    bcommand: list jobs: check client parameter

 src/dird/ua_output.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 25d13df3a7986bc2d97ad2be69a5ebc7d6e1c79e
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Oct 7 18:59:09 2015 +0200

    bcommand: [l]list jobs last, [l]list jobs count
    
    list jobs last:
    list only the last run of each job name.
    
    list jobs count
    instead of listing the jobs, only show how many jobs match the criteria.

 src/cats/protos.h    |  5 +++--
 src/cats/sql_cmds.c  | 12 ++++++++++++
 src/cats/sql_cmds.h  |  1 +
 src/cats/sql_list.c  | 33 ++++++++++++++++++++++-----------
 src/dird/ua_cmds.c   |  4 ++--
 src/dird/ua_output.c | 13 ++++++++++---
 src/dird/ua_select.c |  2 +-
 7 files changed, 51 insertions(+), 19 deletions(-)

commit c946e4145ef711631a772f0a1ea003a9578b39e2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Oct 8 17:32:43 2015 +0200

    bcommand: help: only show allowed commands
    
    As bconsole tab completion uses .help to get all valid commands,
    this helps using bconsole with limited command permissions.
    
    If asked for a specific command help, information to this command will be returned,
    together with the information, if permission is given.

 src/dird/ua_cmds.c | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

commit 32571e215df444cb59f4194920f651fc2bea6138
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Oct 7 14:38:44 2015 +0200

    bcommand: time as json

 src/dird/ua_cmds.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

commit a8f56247560c81de996919e5962cde079272e1f9
Merge: 1eb7fc5 045b435
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sun Oct 11 19:21:44 2015 +0200

    Merge branch 'bareos-15.2' of https://github.com/monotek/bareos into bareos-15.2

commit 1eb7fc5233e7e42c6b37d340f5c65a2a3a9ddd5b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 9 09:09:23 2015 +0200

    Fix pretty printer for SHA1/SHA256/SHA512
    
    SHA1 is encoded as 'S', SHA256 as 'S2', SHA512 as 'S3'

 src/dird/dird_conf.c | 10 ----------
 1 file changed, 10 deletions(-)

commit 245b729d2d1acada44cbfdeec3acb9295e749c0e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 8 21:16:23 2015 +0200

    Remove unneeded break statements.

 src/dird/dird_conf.c | 4 ----
 1 file changed, 4 deletions(-)

commit f386929fa92864d2d77b9fea4ff14d12e0a81454
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Oct 9 11:48:11 2015 +0200

    bcommand: list files: fixed formating
    
    prevent a space character before every filename in API mode 2.
    In the other API modes, keep the space, even if I do not see a reason
    for it.

 src/cats/sql.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 4f90c60c536c3dd7784cae9e0c127314285d1283
Author: Michael Kolomiets <michael.kolomiets@gmail.com>
Date:   Wed Oct 7 22:32:05 2015 +0200

    MSSQL Incremental Backups not restorable to files
    
    Fixes #515: MSSQL Incremental Backups not restorable to files
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/win32/plugins/filed/mssqlvdi-fd.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit e007f33c81eb9130f0510b496d7858b9be1ad0a1
Author: André Bauer <abauer@magix.net>
Date:   Fri Oct 2 13:26:45 2015 +0200

    build glusterfs plugins on Debian/Ubuntu

 autoconf/configure.in                              | 10 +++++
 configure                                          | 11 +++++-
 .../bareos-filedaemon-glusterfs-plugin.install.in  |  2 +
 debian/bareos-storage-glusterfs.install.in         |  2 +
 debian/bareos-storage-glusterfs.postinst.in        | 45 ++++++++++++++++++++++
 debian/control.bareos-filedaemon-glusterfs-plugin  |  9 +++++
 debian/control.bareos-storage-glusterfs            |  9 +++++
 debian/control.in                                  | 13 +++++--
 platforms/packaging/bareos.dsc                     |  1 +
 9 files changed, 96 insertions(+), 6 deletions(-)

commit 045b435e284d8f0b855fbfcdd7af777100ea1699
Author: André Bauer <abauer@magix.net>
Date:   Mon Oct 5 11:38:57 2015 +0200

    fixed typos

 debian/control.bareos-filedaemon-glusterfs-plugin | 2 +-
 debian/control.bareos-storage-glusterfs           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 57d07f7a6dbf473fff3d77063438d21cc19b77b4
Author: André Bauer <monotek23@gmail.com>
Date:   Sat Oct 3 17:24:45 2015 +0200

    removed unneeded dependencies and configure options

 autoconf/configure.in | 6 ------
 debian/control        | 3 +--
 debian/control.in     | 3 +--
 debian/rules          | 1 -
 4 files changed, 2 insertions(+), 11 deletions(-)

commit 49568ece2fcfcbbf0553e759212d6330f0ac7841
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 3 10:18:05 2015 +0200

    Tweak layout.

 src/cats/sql_cmds.c | 318 ++++++++++++++++++++++++++--------------------------
 src/cats/sql_list.c | 141 ++++++++++++-----------
 2 files changed, 229 insertions(+), 230 deletions(-)

commit adb1d53e27c84d0709fd655c4c2b3441dacce2ff
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 2 22:25:26 2015 +0200

    Fix problem with call to db_get_job_volume_names()
    
    15.2 still uses a POOLMEM ** instead of POOLMEM *& reference to the
    volumenames.

 src/dird/ua_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3baf9ceffb3e39411b1bdcec15c7ea3c814e6ffc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 2 21:46:12 2015 +0200

    Fix compiler warning and tweak layout a bit.

 src/dird/ua_output.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

commit 845c75b8bf30d1912e6b3b955965670db2c19417
Author: André Bauer <abauer@magix.net>
Date:   Fri Oct 2 13:26:45 2015 +0200

    added changes to build glusterfs plugins on ubuntu

 autoconf/configure.in                              | 16 ++++++++
 configure                                          | 11 +++++-
 .../bareos-filedaemon-glusterfs-plugin.install.in  |  2 +
 debian/bareos-storage-glusterfs.install.in         |  2 +
 debian/bareos-storage-glusterfs.postinst.in        | 45 ++++++++++++++++++++++
 debian/control                                     |  3 +-
 debian/control.bareos-filedaemon-glusterfs-plugin  |  9 +++++
 debian/control.bareos-storage-glusterfs            |  9 +++++
 debian/control.in                                  |  7 +++-
 debian/rules                                       |  1 +
 10 files changed, 101 insertions(+), 4 deletions(-)

commit ef510ddcdf6686309dbcc9f3277d40b58ef5bec2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Sep 22 09:22:40 2015 +0200

    bconsole run: return JSON format

 src/dird/ua_run.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 4cd2978e5f5e418f7d9dea3a0fb5a74b00327dea
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Sep 22 09:07:04 2015 +0200

    bcommand: list jobs jobstatus=...
    
      * fix translation of jobstatus=error from JS_Error to JS_ErrorTerminated.
      * return error_msg on invalid parameter

 src/dird/ua_output.c |  5 ++++-
 src/dird/ua_select.c | 10 +++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

commit 758ffb328d11c69560625a2dc051534d541aca6d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 18 14:52:06 2015 +0200

    bcommand: version: add json output

 src/dird/ua_cmds.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

commit b65c16ba5a07a5029c0bb10fc433c110cb7ac10e
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 18 00:27:16 2015 +0200

    improve "list jobs" and "list backups"
    
      * cleanup "[l]list jobs"
      * fix "llist jobname=<job-name>"
      * make "[l]list jobs" and "[l]list backups" return the same columns
      * [l]list jobs: add parameter
        * [job=<job-name>]
        * [client=<client-name>]
        * [volume=<volumename>]
      * add "volumename" to "llist jobs" output

 src/cats/protos.h    |   4 +-
 src/cats/sql_cmds.c  |  58 ++++++++++++++++++------
 src/cats/sql_cmds.h  |   3 +-
 src/cats/sql_list.c  | 125 +++++++++++++++------------------------------------
 src/dird/ua_cmds.c   |   4 +-
 src/dird/ua_output.c |  67 ++++++++++++++++-----------
 src/dird/ua_select.c |   2 +-
 7 files changed, 130 insertions(+), 133 deletions(-)

commit 11c1148219fb485148b9313c2277cefb68504327
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 1 22:50:53 2015 +0200

    Change cache_acls flag to is_backup.
    
    When doing backups we want to enable cache-acl and possibly the snapview
    client but when doing restores those options make little sense. So we
    renamed the flag and use it to determine if we need to set these options
    or not.

 src/plugins/filed/gfapi-fd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit d6f3fbdfb9e482e34798d59eb09fa5396457a659
Author: Jakub Hradil <jkhradil@gmail.com>
Date:   Thu Oct 1 10:49:28 2015 +0200

    Fix Makefile clean action
    
    Fixes #529: Makefile clean action for stored not removing .libs directory
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

commit a78df72beaeaaf111aebe157532e3efdf05a7cba
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 1 09:21:49 2015 +0200

    Fix debug print of xattr value.

 src/findlib/xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 600dc536f90f25c827f474e6f1f0882adc7a43e2
Author: aussendorf <maik.aussendorf@bareos.com>
Date:   Mon Sep 28 12:40:04 2015 +0200

    fix option parser for restore options

 src/plugins/filed/BareosFdPluginBaseclass.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 3a9359b3d5601edd7cb79b9840efb9bbda252a48
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Thu Sep 24 15:54:31 2015 +0200

    Fix packaging for RPM based systemd enabled distributions
    
    - updates were broken due to changed systemd unit file names
    - adapted pre- and post scripts
    - removed unnecesary SysV init scripts
    - link /usr/sbin/rcbareos-* to service on suse dists as their
      packaging guidelines suggest
    - systemd unit files for Debian and RPM based distribution now separate
    
    Fixes #525: Changes to systemd unit files on RPM based dists breaks updates

 debian/bareos-director.service.in       | 45 ++++++++++++++++++-
 debian/bareos-filedaemon.service.in     | 38 ++++++++++++++++-
 debian/bareos-storage.service.in        | 38 ++++++++++++++++-
 platforms/packaging/bareos.spec         | 76 ++++++++++++++++++++++++++++++---
 platforms/systemd/bareos-dir.service.in |  2 +-
 platforms/systemd/bareos-fd.service.in  |  2 +-
 platforms/systemd/bareos-sd.service.in  |  2 +-
 7 files changed, 191 insertions(+), 12 deletions(-)

commit d8838f2ba5b6cc5d271a83aca9f6e95c681b50e7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Sep 27 17:38:36 2015 +0200

    Sync lmdb.

 src/lmdb/mdb.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit f45afb5c72d5335558d73a01ea653bebdb26a0b6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 25 17:40:51 2015 +0200

    Fix debug print of xattr value.

 src/findlib/xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 33f572fa191a1ca2bc667d79df0bd8bac586d12c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 24 10:48:31 2015 +0200

    Fix gfapi plugin
    
    - Short cut when there is nothing to do for xattr.
    - Fix xattr list traversal.
    
    Fixes #524: gfapi-fd plugin crashes gluster backend processes on getxattr

 src/plugins/filed/cephfs-fd.c | 36 +++++++++++++++++++++++++++---------
 src/plugins/filed/gfapi-fd.c  | 36 +++++++++++++++++++++++++++---------
 2 files changed, 54 insertions(+), 18 deletions(-)

commit 3e1d7bbed4a2a8d962f323abb6c4c565653167b0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 24 09:53:16 2015 +0200

    Don't try closing a plugin multiple times.
    
    We need to check bfd->fid also for plugins to be sure we are not calling
    the plugin_close entry point multiple times.

 src/findlib/bfile.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 8399d37583dd2786225fcc25aab2f97f0561e9d3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 21 22:03:42 2015 +0200

    Fix calls to regexec.
    
    If we don't need sub matching then never initialize nmatch and pmatch as
    we will never look at its info anyway.

 src/console/console.c |  2 +-
 src/dird/dird.c       |  4 +---
 src/dird/migrate.c    |  5 +----
 src/findlib/find.c    | 12 +++---------
 src/lib/bregex.c      |  2 +-
 src/lib/bsys.c        |  4 +---
 src/lib/var.c         |  7 +++----
 src/stored/stored.c   |  4 +---
 src/tools/bregex.c    |  4 +---
 9 files changed, 13 insertions(+), 31 deletions(-)

commit fe1c7e71b275cd9736f51e5d83adce4db81d1eaa
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 21 13:11:23 2015 +0200

    Revert "Fix pattern matching crash on windows."
    
    Now that our regex implementation is POSIX compiant we can forget this.
    
    This reverts commit 51e3360b0b7d5db75866058ba907fa7f66ba9699.

 src/dird/ua_acl.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit 17c2c79341040c0cc8940401aff23ce232e519d1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 21 15:16:18 2015 +0200

    Revert "Fix pattern matching crash on windows"
    
    Now that our regex implementation is POSIX compiant we can forget this.
    
    This reverts commit dc35074ad4e3244e49dfba64c95987f582a3d8c0.

 src/stored/bsr.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit c091d47fc5be095afa3af04c6f358c4627ac1f50
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 21 12:07:35 2015 +0200

    Fix own bregex implementation so that normal posix calls are allowed

 src/lib/bregex.c | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

commit 104c78371da99af0c3277fc13f2ed8d7d7a9038e
Author: Milind Changire <mchangir@redhat.com>
Date:   Mon Sep 21 10:13:27 2015 +0200

    When closing the io handle set p_ctx->gfd to NULL
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/gfapi-fd.c | 1 +
 1 file changed, 1 insertion(+)

commit 87bd47beba1c6b49d079327b06bd1b5ab5fa1b07
Author: Dirk Wilske <dirk.wilske@dass-it.de>
Date:   Thu Sep 17 16:01:08 2015 +0200

    Fix RunScript printing.
    
    Fixes #506: Show RunScript
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/dird_conf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c81bf366d18a2dc009a2e2a7c8f82c727e328aa9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 17 19:55:31 2015 +0200

    Fix Coverity detected problem.

 src/dird/ua_output.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit a1b99aa80181cd08ee4f988050589bfe7d953ac4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 16 13:41:19 2015 +0200

    Cephfs-, Rados- and Gfapi-plugins: added examples
    
    add an example configuration file for each of these plugins.

 debian/bareos-filedaemon-ceph-plugin.install.in |  2 ++
 platforms/packaging/bareos.spec                 |  3 ++
 src/plugins/filed/Makefile.in                   |  6 +++-
 src/plugins/filed/cephfs-fd.c                   |  6 ++--
 src/plugins/filed/plugin-cephfs.conf            | 36 ++++++++++++++++++++++++
 src/plugins/filed/plugin-gfapi.conf             | 35 +++++++++++++++++++++++
 src/plugins/filed/plugin-rados.conf             | 37 +++++++++++++++++++++++++
 7 files changed, 122 insertions(+), 3 deletions(-)

commit 105077321d7b0cee40cb04112121c701ab8e9b6b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 16 13:40:26 2015 +0200

    added some version information

 src/stored/stored_conf.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit d5476239776a00652d119abc59de1fee265d1c79
Author: Milind Changire <mchangir@redhat.com>
Date:   Wed Sep 16 19:09:27 2015 +0200

    Fix implementation of gfapi_makedirs()
    
    gfapi_makedirs() was goofing up each time gfapi_makedirs()
    chopped off the rightmost path element before issuing a
    recursive call to itself, missing on creating the rightmost
    path element later.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/gfapi-fd.c       | 49 ++++++++++++++++--------------------
 src/stored/backends/gfapi_device.c | 51 +++++++++++++++++++-------------------
 2 files changed, 47 insertions(+), 53 deletions(-)

commit c580d9fe0c919003cbaff1e9293baaa219c0db89
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Sep 16 15:08:18 2015 +0200

    Add list fileset filesetid=<id>
    
    Also update the help of list and llist commands

 src/cats/sql_list.c  |  4 ++++
 src/dird/ua_cmds.c   |  4 ++++
 src/dird/ua_output.c | 12 +++++++++---
 3 files changed, 17 insertions(+), 3 deletions(-)

commit 2699e582b743a67709d76a063f6b6f72183bc8e1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 16 10:56:44 2015 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |  3 +++
 configure            | 29 +++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

commit 57715745b593bdfb18f85d81c38c8fb0a9c0d832
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 14 15:17:35 2015 +0200

    Get OBS Build Info into Variables

 autoconf/bareos/os.m4 | 18 +++++++++++++++++-
 autoconf/configure.in |  9 +++++++++
 src/filed/dir_cmd.c   | 16 ++++++++++++++--
 src/include/host.h.in |  5 +++++
 4 files changed, 45 insertions(+), 3 deletions(-)

commit 51e3360b0b7d5db75866058ba907fa7f66ba9699
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Sep 15 17:01:11 2015 +0200

    Fix pattern matching crash on windows.
    
    When we use the fallback bregex code we cannot use a nmatch == 0 and
    pmatch == NULL as we can with regular regexec on UNIX nowadays.
    
    One day we might want to teach this fall back code how things work in
    reality in the real world now but for now we work around it.
    
    From the current manpage on Solaris on regexec:
    
    If nmatch is zero or REG_NOSUB was set in the cflags argument
    to regcomp(), then regexec() will ignore the pmatch argument.
    Otherwise, the pmatch argument must point to an array with at
    least nmatch elements, and regexec() will fill in the elements
    of that array with offsets of the substrings of string that
    correspond to the parenthesised subexpressions of pattern.

 src/dird/ua_acl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit f05dcbb368bbddf91315b6210260b95dbf24a3e3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Sep 15 13:12:20 2015 +0200

    Enable libjansson on windows

 platforms/win32/winbareos-nsi.spec         | 4 ++++
 platforms/win32/winbareos.nsi              | 2 ++
 platforms/win32/winbareos32.spec           | 2 ++
 platforms/win32/winbareos64.spec           | 2 ++
 src/win32/compat/include/mingwconfig.h     | 2 ++
 src/win32/console/Makefile                 | 1 +
 src/win32/dird/Makefile                    | 1 +
 src/win32/filed/Makefile                   | 1 +
 src/win32/lib/Makefile                     | 1 +
 src/win32/qt-console/bat.pro               | 2 +-
 src/win32/qt-tray-monitor/tray-monitor.pro | 2 +-
 src/win32/stored/Makefile                  | 2 ++
 12 files changed, 20 insertions(+), 2 deletions(-)

commit f3e9c9d418911599d36b1d92d2ccbd385ceb6390
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 14 21:54:55 2015 +0200

    Rename silent flag to interactive.
    
    - Lets call the silent flag of the cancel_storage_daemon_job() function
      interactive which covers the actual meaning a bit better e.g. are we
      doing an interactive cancel or not.
    - When we are doing a non-interactive cancel we shouldn't kill the
      thread as we are on the cancel path our self. There are some safeguards
      in place that catch the thread id not being the same as pthread_self()
      so we shouldn't be able to commit suicide but as we know we are in the
      cancel path there is no need for all the trickery. For an interactive
      cancel e.g. one invoked by the user an external thread is canceling so
      we should let the actual Job thread that is doing the actual work know
      things are being canceled.
    
    Fixes #446: bareos-dir segfault

 src/dird/protos.h  |  2 +-
 src/dird/sd_cmds.c | 25 ++++++++++++++++---------
 2 files changed, 17 insertions(+), 10 deletions(-)

commit 058f81ad87d0175814a8f6a10f37de5659111797
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Sep 15 11:22:22 2015 +0200

    Fix insert of logtext into db
    
    We now use the right length of the string to call db_escape_string

 src/dird/dird.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit b2dbf99f9f1bea75e2955d0174e58d597682e6dd
Author: Tad Hunt <tad@exablox.com>
Date:   Sat Sep 12 11:53:04 2015 +0200

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

 src/stored/reserve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2e6c9f3edb0c3a6f390d15adb8156f8389d193c4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 11 17:18:53 2015 +0200

    Fix coverity detected problem.

 src/stored/backends/unix_file_device.c | 7 +++++++
 1 file changed, 7 insertions(+)

commit e715be05b55b21d4330d71b494f1a71886016b22
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 9 10:27:32 2015 +0200

    Some fixes to the SD Job Status handling.
    
    - Make JS_FatalError a separate error string.
    - JS_FatalError for a SD Job means in essence the controlling Job
      also should end in JS_FatalError.

 src/dird/getmsg.c | 26 +++++++++++++++++++++-----
 src/lib/util.c    |  3 ++-
 2 files changed, 23 insertions(+), 6 deletions(-)

commit a8d827006b000fc224708f16083e4c25b2bf2ab0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Sep 1 20:44:24 2015 +0200

    Secure erase of files.
    
    Some customers need for compliance reasons the ability that we use a
    secure method for erasing files. This patch adds such ability by
    allowing an external program to be invoked to perform the secure erase.
    
    Strict industry standards and government regulations are in place that
    force organizations to mitigate the risk of unauthorized exposure of
    confidential corporate and government data. Regulations in the United
    States include HIPAA (Health Insurance Portability and Accountability
    Act); FACTA (The Fair and Accurate Credit Transactions Act of 2003);
    GLB (Gramm-Leach Bliley); Sarbanes-Oxley Act (SOx); and Payment Card
    Industry Data Security Standards (PCI DSS) and the Data Protection Act
    in the United Kingdom. Failure to comply can result in fines and damage
    to company reputation, as well as civil and criminal liability.
    
    Data erasure may not work completely on flash based media, such as Solid
    State Drives and USB Flash Drives, as these devices can store remnant
    data which is inaccessible to the erasure technique, and data can be
    retrieved from the individual flash memory chips inside the device.
    Data erasure through overwriting only works on hard drives that are
    functioning and writing to all sectors. Bad sectors cannot usually be
    overwritten, but may contain recoverable information. Bad sectors,
    however, may be invisible to the host system and thus to the erasing
    software. Disk encryption before use prevents this problem.
    Software-driven data erasure could also be compromised by malicious
    code.

 src/dird/dird.c                               |   7 +-
 src/dird/dird_conf.c                          |   7 +-
 src/dird/dird_conf.h                          |   1 +
 src/dird/msgchan.c                            |   2 +-
 src/dird/ndmp_dma.c                           |   2 +-
 src/dird/restore.c                            |   2 +-
 src/dird/ua_status.c                          |   6 +-
 src/dird/verify.c                             |   2 +-
 src/filed/accurate_lmdb.c                     |   2 +-
 src/filed/dir_cmd.c                           |   2 +-
 src/filed/filed.c                             |   3 +
 src/filed/filed_conf.c                        |   4 +
 src/filed/filed_conf.h                        |   1 +
 src/filed/status.c                            |   6 ++
 src/findlib/create_file.c                     |   6 +-
 src/lib/bpipe.c                               |   4 -
 src/lib/bsys.c                                | 128 +++++++++++++++++++++-----
 src/lib/crypto_cache.c                        |   6 +-
 src/lib/protos.h                              |   2 +
 src/lib/signal.c                              |   2 +-
 src/stored/backends/unix_file_device.c        |  97 ++++++++++---------
 src/stored/dir_cmd.c                          |   4 +-
 src/stored/job.c                              |   2 +-
 src/stored/spool.c                            | 114 +++++++++++++++--------
 src/stored/status.c                           |   6 ++
 src/stored/stored.c                           |   5 +-
 src/stored/stored_conf.c                      |   4 +
 src/stored/stored_conf.h                      |   1 +
 src/win32/stored/backends/win32_file_device.c |   2 +-
 29 files changed, 296 insertions(+), 134 deletions(-)

commit aa18ca2092d032ec530e3eb8fae5de9cfef614ae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 10 10:53:24 2015 +0200

    Tweak logging.

 src/lib/message.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 4b856a0dcb646131fe0a51587e50e3e221bfe66e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 10 11:07:05 2015 +0200

    Fix coverity detected problem.

 src/cats/sql_list.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit afb08470a2fbb1c70b10702602cec0cdca2c7ea3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 7 15:17:13 2015 +0200

    Fix llist jobs with days/hours or status filter

 src/cats/sql_list.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit b90fc94ccfe6a42daef98f7d34648bc41b4eabb7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 7 09:28:06 2015 +0200

    Use LEFT JOIN for single job query

 src/cats/sql_list.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 955171d38b69d056ba80267653b78146306ff644
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Sep 3 11:53:32 2015 +0200

    Store FileSetText in DB
    
    - Store Fileset in Textform in FileSet Table
    
    - Updated DB Version to 2004
    - Create und Update Scripts

 src/cats/cats.h                               |  5 +++--
 src/cats/ddl/creates/ingres.sql               |  3 ++-
 src/cats/ddl/creates/mysql.sql                |  5 +++--
 src/cats/ddl/creates/postgresql.sql           |  5 +++--
 src/cats/ddl/creates/sqlite3.sql              |  5 +++--
 src/cats/ddl/updates/mysql.2003_2004.sql      |  4 ++++
 src/cats/ddl/updates/postgresql.2003_2004.sql |  9 +++++++++
 src/cats/ddl/updates/sqlite3.2003_2004.sql    |  6 ++++++
 src/cats/ddl/versions.map.in                  |  1 +
 src/cats/sql_create.c                         | 13 +++++++++----
 src/cats/sql_list.c                           |  8 ++++----
 src/dird/job.c                                | 14 +++++++++++---
 12 files changed, 58 insertions(+), 20 deletions(-)

commit 6e41566ee9624ce4fa274c80396ef22e40e65fba
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Sep 8 09:49:36 2015 +0200

    Sync lmdb.

 src/lmdb/lmdb.h | 8 +++++---
 src/lmdb/mdb.c  | 4 +++-
 2 files changed, 8 insertions(+), 4 deletions(-)

commit a48939499e1717c555ad58c9e3154456b0d2d476
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 7 10:11:01 2015 +0200

    DBDRIVER is set to postgresql in silent install
    
    Without this patch, the silent installation failed if
    DBDRIVER was not specified.
    
    Now, if unspecified the DBDRIVER is set to postgresql as
    was already intended before

 platforms/win32/winbareos.nsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

commit ea6dc9b3e6fdc9d0a1e2cf5deedf5b4a4ac1449c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 4 17:00:49 2015 +0200

    Switch query to use LEFT JOIN to see JobStatus 'C'

 src/cats/sql_list.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

commit 098de97b6ab001a46eb3c768db7359dfac7ac3eb
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Sep 3 16:29:21 2015 +0200

    list filesets now shows all available filesets
    
    While list fileset still finds a fileset for a
    certain jobid

 src/dird/ua_output.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit ab7171f099c09fb07c86128eec91a27f1b2cb623
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Sep 1 15:45:39 2015 +0200

    list jobs enhancements
    
    - First version of 'list jobs jobstatus=x'
    - Limit list jobs to last x days/hours
    
      If days=x or hours=x is given, only jobs with the schedtime
      between now and now-x days/hours is returned

 src/cats/protos.h    |  1 +
 src/cats/sql_list.c  | 95 +++++++++++++++++++++++++++++++++++++---------------
 src/dird/ua_cmds.c   |  4 +--
 src/dird/ua_output.c | 42 +++++++++++++++++++----
 src/dird/ua_select.c |  2 +-
 5 files changed, 107 insertions(+), 37 deletions(-)

commit a3e772559eb39d980612bbd4855b2b7dc5c13f2c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 3 14:08:28 2015 +0200

    Add two new selection functions.
    
    One for selecting the Jobtype and one for selecting the JobStatus from
    the cmdline.

 src/dird/protos.h    |  2 ++
 src/dird/ua_prune.c  | 34 ++++------------------------
 src/dird/ua_select.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+), 30 deletions(-)

commit 0856124c39bebab85344317f7e411f635ead3c00
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 31 16:32:17 2015 +0200

    Add timestamp to output of 'list joblog'

 src/cats/sql_list.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 837e8cb317440543f4c9993b75605d24154f1b37
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 31 16:26:21 2015 +0200

    Add JobBytes to output of 'llist jobid=xxx'

 src/cats/sql_list.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 4df6138d4e93978ca7c6c6b3ab289b47ebed4997
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Aug 28 15:42:30 2015 +0200

    Adapted output of list volumes
    
    To stay compatible with older versions,
    but added an all option, to show volumes in flat format.

 src/cats/sql_list.c  | 18 +++++++++++++++--
 src/dird/ua_cmds.c   |  8 ++++----
 src/dird/ua_output.c | 55 +++++++++++++++++++++++++++++++++-------------------
 3 files changed, 55 insertions(+), 26 deletions(-)

commit 4ae9c64c25596e530ba141cb25bdd298d122f9d2
Author: Frank Bergkemper <frank.bergkemper@dass-it.de>
Date:   Fri Aug 28 14:32:33 2015 +0200

    dird: help list command arguments
    
    Adds some missing "help list" and "help llist" command arguments.

 src/dird/ua_cmds.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 00bcb5d756099e8ec54370506efa4738ef7ca256
Author: Frank Bergkemper <frank.bergkemper@dass-it.de>
Date:   Thu Aug 27 14:07:45 2015 +0200

    dird: help status cmd
    
    Removes a duplicate entry in the argument list of the help text.

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 508406b7a7308196e0085634bc591ea73f45e1f7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 28 15:16:27 2015 +0200

    Implemented list 'list storages'

 src/dird/ua_cmds.c   | 1 +
 src/dird/ua_output.c | 5 +++++
 2 files changed, 6 insertions(+)

commit f145436df7f84adf74772f99b8a01256b31841d1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 28 14:42:04 2015 +0200

    Implemented 'list client=<clientname>'

 src/cats/protos.h    |  2 +-
 src/cats/sql_list.c  | 11 ++++++++---
 src/dird/ua_output.c |  7 ++++++-
 3 files changed, 15 insertions(+), 5 deletions(-)

commit da391987a4d56dc5eea7c0a8740c719ce1154c5c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 28 10:55:36 2015 +0200

    Fix json output of "list volumes"

 src/cats/sql_list.c  |  2 --
 src/dird/ua_output.c | 10 ++++------
 2 files changed, 4 insertions(+), 8 deletions(-)

commit 231ccfe687e09696d293b73a324628005764fce8
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 31 15:10:04 2015 +0200

    Remove windows prevista build

 platforms/win32/mingw-debugsrc-devel.spec |  4 ++--
 platforms/win32/winbareos-nsi.spec        | 10 ++--------
 platforms/win32/winbareos32.spec          | 31 +------------------------------
 platforms/win32/winbareos64.spec          | 31 +------------------------------
 4 files changed, 6 insertions(+), 70 deletions(-)

commit 45e63c011511f381ee50f05625fc1e4c685a8ad0
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Fri Aug 28 09:39:24 2015 +0200

    Fix self-pointing aliases in systemd unit files

 platforms/packaging/bareos.spec         | 12 ++++++------
 platforms/systemd/bareos-dir.service.in |  1 -
 platforms/systemd/bareos-fd.service.in  |  1 -
 platforms/systemd/bareos-sd.service.in  |  1 -
 4 files changed, 6 insertions(+), 9 deletions(-)

commit 65bac693f540941c692169845aea3f3a5e426fe3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 27 10:01:24 2015 +0200

    Rebuild configure.

 configure | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 068291d854a081683e81b26a47d6fe9b30871dd0
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Aug 24 22:31:03 2015 +0200

    CEPH packages for Debian based distributions
    
    While the CEPH backend packages have been available for a while
    for RPM based installations, this patch adds the packages
    bareos-filedaemon-ceph-plugin
    and
    bareos-storage-ceph
    for DEB based distributions.
    
    Fixes #507: build bareos-storage-ceph also for Debian/Ubuntu

 autoconf/configure.in                             | 10 +++++
 debian/bareos-filedaemon-ceph-plugin.install.in   |  2 +
 debian/bareos-filedaemon-python-plugin.install.in |  1 -
 debian/bareos-storage-ceph.install.in             |  3 ++
 debian/bareos-storage-ceph.postinst.in            | 45 +++++++++++++++++++++++
 debian/control.bareos-filedaemon-ceph-plugin      |  9 +++++
 debian/control.bareos-storage-ceph                |  9 +++++
 debian/control.in                                 |  4 ++
 platforms/packaging/bareos.dsc                    |  6 +++
 9 files changed, 88 insertions(+), 1 deletion(-)

commit 061e21fb75c4d68a742c02367ff5557064924824
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Aug 26 14:43:37 2015 +0200

    setdebug: timestamp_flag is now correctly set
    
    before, the timestamp_flag was not set by the setdebug command
    as it was not given to fsend() as parameter

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0615dc375525fa11d780e94623a1d717eb705f6d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Aug 25 15:47:22 2015 +0200

    Fix detection of cmocka

 autoconf/configure.in | 12 ++++++++----
 configure             | 13 ++++++++-----
 2 files changed, 16 insertions(+), 9 deletions(-)

commit 929b5d580936b52c368381145a62a767c3394d93
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 21 11:49:50 2015 +0200

    Show database driver(s) in status dir command
    
    status dir now shows which database backend the director uses

 src/dird/ua_status.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

commit b8183bc1f0e6de813be8ea288703f7bcef055b16
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 21 10:35:52 2015 +0200

    Make sqlite3 silently installable on windows
    
    This should make it possible to install the sqlite3
    based director on windows silently

 platforms/win32/winbareos.nsi | 79 ++++++++++++++++++++++++++++---------------
 1 file changed, 51 insertions(+), 28 deletions(-)

commit f064ea1b55b723c23ab1051dff099f1c44e9bad9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 24 13:18:41 2015 +0200

    Update NLS files.

 po/POTFILES.in |  1147 ++-
 po/bareos.pot  | 19729 +++++++++++++++++++-----------------
 po/de.po       | 23646 ++++++++++++++++++++++---------------------
 po/es.po       | 30292 ++++++++++++++++++++++++++++---------------------------
 po/fr.po       | 26315 +++++++++++++++++++++++------------------------
 po/it.po       | 19325 +++++++++++++++++------------------
 po/nl.po       | 20573 ++++++++++++++++++-------------------
 po/pl.po       | 28612 ++++++++++++++++++++++++++--------------------------
 po/sv.po       | 19325 +++++++++++++++++------------------
 po/uk.po       | 21414 ++++++++++++++++++++-------------------
 10 files changed, 106797 insertions(+), 103581 deletions(-)

commit cf10769fcc9cc65c87146b7537434a883328cabe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 24 13:18:39 2015 +0200

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos-Univention_4.0.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 20 ++++++++++----------
 12 files changed, 35 insertions(+), 29 deletions(-)

commit cbb8574a69703277f826d51813c9dd881e166dcd
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 21 09:50:20 2015 +0200

    fix debug print of sql query
    
    Now we only print the sql query if debug level is >= 1000

 src/cats/sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 39e13e046a7a926b172c53ef91a40e30a0cb5d03
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 6 14:18:56 2015 +0200

    Switch compatible to default='no' in wininstaller
    
    Also change the comments in the bareos-fd.conf file template

 platforms/win32/clientdialog.ini | 2 +-
 platforms/win32/winbareos.nsi    | 4 ++--
 src/filed/bareos-fd.conf.in      | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)

commit a285fa67d2d28fd3547f138e886a201d0a5ac17b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jul 23 15:39:27 2015 +0200

    also allow system to access tray-monitor.conf

 platforms/win32/winbareos.nsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 6682949ab2e2bc1e378210d3ffaff898be13ac56
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 11 22:03:00 2015 +0200

    Make minimum/maximum blocksize writing a capability.
    
    Instead of only allowing minumum/maximum blocksize writing a tape
    specific operation make it generic by using a capability setting which
    is enable by default on tape devices but also on elasto devices.

 src/stored/backends/elasto_device.c           |  1 +
 src/stored/backends/unix_tape_device.c        |  1 +
 src/stored/block.c                            | 41 +++++++++++++--------------
 src/stored/dev.h                              |  5 ++--
 src/win32/stored/backends/win32_tape_device.c |  1 +
 5 files changed, 26 insertions(+), 23 deletions(-)

commit e73f3151733fc10152da90a7eff7fa6c0320a33b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 19 23:28:07 2015 +0200

    Sync lmdb.

 src/lmdb/mdb.c | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

commit 519b19444219b84ecc1742a3c157c05077dcbea8
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Aug 19 16:59:13 2015 +0200

    Make the create_file messages of type M_INFO
    
    If a file was not created during restore because of
    the overwrite settings, this was never visible in the
    restore job log because the messages were of type
    M_SKIPPED, which is filtered by default because it
    creates an enormous amount of output during normal
    backup operation.
    
    Now we changed the messag tpye M_INFO which means that
    this info will be visible in the restore log.
    
    If you set the overwrite to always you won't be bothered
    by these info messages and we pretend you know what you
    are doing.

 src/findlib/create_file.c     |   6 +--
 src/lib/message.h             | 114 ++++++++++++++++++++++++------------------
 src/plugins/filed/cephfs-fd.c |   6 +--
 src/plugins/filed/gfapi-fd.c  |   6 +--
 src/plugins/filed/rados-fd.c  |   6 +--
 5 files changed, 77 insertions(+), 61 deletions(-)

commit ae83bb7a4e3e95fd1a48ffbd59b7746a7ca9d4e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Aug 16 22:51:23 2015 +0200

    Fix fallback when GetFileInformationByHandleEx() fails.

 src/win32/compat/compat.c | 224 +++++++++++++++++++++++-----------------------
 1 file changed, 111 insertions(+), 113 deletions(-)

commit c519f119c60035127a2e7b1cd52224a6b8b3f957
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat Jun 27 22:39:19 2015 +0200

    Package also sqlite stuff

 platforms/win32/winbareos-nsi.spec |   5 +
 platforms/win32/winbareos.nsi      | 221 +++++++++++++++++++++++++++++--------
 platforms/win32/winbareos32.spec   |   6 +-
 platforms/win32/winbareos64.spec   |   4 +
 4 files changed, 191 insertions(+), 45 deletions(-)

commit f67a623299cf75d02d3ffe247e715f496b394dd8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 19 14:32:35 2015 +0200

    Fix packaging for environments without python.

 platforms/packaging/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit bb0ebe46ce15a83f4006939a1cac78f5e09a7aec
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 17 21:43:29 2015 +0200

    Rebuild configure.

 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 72d9b4d7be5a1baab27df4a0065dcc62fb53a54b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Aug 17 21:40:40 2015 +0200

    plugin-python-ldap: add example configuration file

 autoconf/configure.in                              |  1 +
 ...bareos-filedaemon-ldap-python-plugin.install.in |  1 +
 debian/bareos-filedaemon-python-plugin.dir         |  1 +
 debian/bareos-filedaemon-python-plugin.install.in  |  1 +
 platforms/packaging/bareos.spec                    |  1 +
 src/plugins/filed/BareosFdPluginLDAP.py            | 11 ++++---
 src/plugins/filed/Makefile.in                      |  5 +++-
 src/plugins/filed/plugin-python-ldap.conf.in       | 34 ++++++++++++++++++++++
 8 files changed, 50 insertions(+), 5 deletions(-)

commit 6c3a91a4e84e9f0320ad02fdeb4cc65b174344e0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 17 21:40:23 2015 +0200

    First plugin for doing LDAP backups.

 autoconf/configure.in                              |   1 +
 ...bareos-filedaemon-ldap-python-plugin.install.in |   2 +
 debian/control                                     |  11 +
 debian/control.bareos-filedaemon-python-plugin     |  11 +
 manpages/bpluginfo.8                               |   2 +-
 platforms/packaging/bareos.spec                    |  17 +
 src/plugins/filed/BareosFdPluginLDAP.py            | 507 +++++++++++++++++++++
 src/plugins/filed/bareos-fd-ldap.py                |  53 +++
 src/plugins/filed/python-fd.c                      |   2 +-
 9 files changed, 604 insertions(+), 2 deletions(-)

commit 9f4e35ea9407db40b74e04fd27ed9d8c60ba3538
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 17 09:48:55 2015 +0200

    Remove _POSIX_C_SOURCE and cleanup localtime_r mess.
    
    Remove global _POSIX_C_SOURCE as it makes pthreads.h not include all
    symbols we need for compiling. As we have a nice time abstraction in
    btime lets use it when possible and also clean that up along the way.

 src/cats/dbi.c                         |   2 +-
 src/cats/sql_create.c                  |  34 +++-----
 src/cats/sql_get.c                     |   8 +-
 src/cats/sql_update.c                  |  21 ++---
 src/console/console.c                  |   8 +-
 src/dird/expand.c                      |   6 +-
 src/dird/job.c                         |  12 +--
 src/dird/migrate.c                     |   4 +-
 src/dird/scheduler.c                   |   6 +-
 src/dird/ua_cmds.c                     |   6 +-
 src/dird/ua_output.c                   |   4 +-
 src/dird/ua_run.c                      |   5 +-
 src/dird/ua_status.c                   |   4 +-
 src/lib/bsys.c                         |   1 -
 src/lib/btime.c                        | 143 ++++++++++++++++++---------------
 src/lib/btime.h                        |   3 +-
 src/lib/util.c                         |  14 ++--
 src/qt-console/mediainfo/mediainfo.cpp |   4 +-
 src/qt-console/medialist/mediaview.cpp |   4 +-
 src/qt-console/storage/content.cpp     |   7 +-
 src/stored/btape.c                     |  13 ++-
 src/tools/bsmtp.c                      |   2 +-
 src/win32/Makefile.inc                 |   8 +-
 src/win32/lib/Makefile                 |   5 ++
 24 files changed, 153 insertions(+), 171 deletions(-)

commit 1dbed65ad89425714d129409ebeb85053a630141
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sun Aug 16 23:12:37 2015 +0200

    .default job: send each line as seperate message
    
    The job tab in BAT calls "defaults job" in API mode 1.
    It parses the result message by message, instead of looking for a
    seperator.
    This patch adds the OUTPUT_FORMATTER:send_buffer() function.
    When called, it sends the current buffer as a seperate message.
    Currently it is only used for the ".defaults job" command.
    
    Fixes #505: BAT hangs on Jobs tab

 src/dird/ua_dotcmds.c              | 139 +++++++++++++++----------------------
 src/lib/output_formatter.c         |  15 ++++
 src/lib/output_formatter.h         |  10 +++
 src/qt-console/console/console.cpp |   2 +
 4 files changed, 84 insertions(+), 82 deletions(-)

commit 4c9c6460324ba50a53761183b87ed864a8417a2d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 14 15:43:14 2015 +0200

    Sign binaries with timestamping service
    
    osslsigncode now also reads password from file

 platforms/win32/winbareos-nsi.spec | 9 ++++++++-
 platforms/win32/winbareos32.spec   | 7 +++++--
 platforms/win32/winbareos64.spec   | 8 +++++---
 3 files changed, 18 insertions(+), 6 deletions(-)

commit f5bec0fdefd73ce5f2cd1405c4dcd09f657c71b5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Aug 15 14:24:53 2015 +0200

    Sync lmdb.

 src/lmdb/lmdb.h |  23 +-
 src/lmdb/mdb.c  | 773 +++++++++++++++++++++++++++++++-------------------------
 src/lmdb/midl.c |   4 +-
 src/lmdb/midl.h |   3 +-
 4 files changed, 451 insertions(+), 352 deletions(-)

commit 22892fb5000d393afab9af4a5c790ec205676f4c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 14 10:59:11 2015 +0200

    Fix some compiler warnings.

 src/win32/compat/compat.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit be2a312fff9a3ecd9c47654a5056ae6e41336eae
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Aug 13 22:10:38 2015 +0200

    set _POSIX_C_SOURCE for mingw builds

 src/win32/Makefile.inc | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit fec7d40c8e4226605c47314f02a8e638df321886
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 10 20:01:03 2015 +0200

    Switch off compatible mode.
    
    The original bareos version has compatible=yes, to be compatible to
    bacula. Most people nowadays use Bareos only environments so the default
    config file should set compatible=no.
    
    Fixes #502: disable compatible mode

 src/filed/filed_conf.c   | 2 +-
 src/stored/stored_conf.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit caf51ab9c5aa26a64f4a4e09c36618a9bd405ee4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 10 16:58:47 2015 +0200

    Fix compiler problem.
    
    The Oracle studio compiler has some problems in 64 bit compiling some
    bits. It complains about the following:
    
    "ua_dotcmds.c", line 332: Error: Overloading ambiguity between
    "OUTPUT_FORMATTER::object_key_value(const char*, const char*, const
    char*, int)" and "OUTPUT_FORMATTER::object_key_value(const char*,
    unsigned long long, const char*)".

 src/dird/ua_dotcmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7e23e6f82dd2b173adf899277638be740a980a62
Author: Evgeni Golov <evgeni@debian.org>
Date:   Fri Aug 7 16:55:30 2015 +0200

    desktop file fixes
    
      * drop deprecated Encoding key from the desktop files
        * http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html
      * drop Comment from bat.desktop
        * it's redundant to the name entry
      * drop X-Desktop-File-Install-Version from desktop files

 src/qt-console/bat.desktop.in                      | 3 ---
 src/qt-tray-monitor/bareos-tray-monitor.desktop.in | 2 --
 2 files changed, 5 deletions(-)

commit af446d7b0b7ec1f2a50f6db042c26c275539ca63
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Fri Aug 7 09:52:55 2015 +0200

    Fix broken dependencies in bareos-devel package for RHEL/CentOS/Fedora

 platforms/packaging/bareos.spec | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

commit d8e487b2814db465aa351cd4bf1fdf1166378edf
Merge: a1b2960 ad4ab0c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Aug 7 15:55:00 2015 +0200

    Merge branch 'spelling-errors' of https://github.com/evgeni/bareos

commit a1b2960995a04a05f9e3907eaf135035c40e1bed
Merge: 6c0f1a4 5378785
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Aug 7 15:54:52 2015 +0200

    Merge branch 'manpage-sections' of https://github.com/evgeni/bareos

commit 6c0f1a41258af53a501a70bcfca8fffb213de2ed
Merge: 43b0c61 6c439cb
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Aug 7 15:54:07 2015 +0200

    Merge branch 'config-lib-improvements' of https://github.com/evgeni/bareos

commit ad4ab0c80171d00ca1bbc7d3623ef2ca51e85007
Author: Evgeni Golov <evgeni@debian.org>
Date:   Fri Aug 7 08:33:09 2015 +0200

    also spell "another" instead of "an other"

 README.scsicrypto                     |  4 ++--
 po/de.po                              |  2 +-
 po/es.po                              |  2 +-
 po/fr.po                              |  2 +-
 po/it.po                              |  2 +-
 po/nl.po                              |  2 +-
 po/pl.po                              |  2 +-
 po/sv.po                              |  2 +-
 po/uk.po                              |  2 +-
 src/dird/dird_conf.c                  |  2 +-
 src/dird/fd_cmds.c                    |  2 +-
 src/dird/sd_cmds.c                    |  2 +-
 src/dird/ua_impexp.c                  |  4 ++--
 src/filed/fd_plugins.c                |  2 +-
 src/findlib/acl.c                     | 30 +++++++++++++++---------------
 src/findlib/shadowing.c               |  4 ++--
 src/findlib/xattr.c                   | 16 ++++++++--------
 src/include/jcr.h                     |  2 +-
 src/lib/bsys.c                        |  2 +-
 src/lib/ini.h                         |  2 +-
 src/lib/lockmgr.c                     |  2 +-
 src/lib/parse_conf.h                  |  2 +-
 src/lib/res.c                         |  2 +-
 src/lib/runscript.h                   |  2 +-
 src/plugins/stored/autoxflate-sd.c    |  4 ++--
 src/stored/sd_cmds.c                  |  4 ++--
 src/stored/socket_server.c            |  2 +-
 src/stored/vol_mgr.c                  |  2 +-
 src/win32/README.OBS                  |  2 +-
 src/win32/plugins/filed/mssqlvdi-fd.c |  2 +-
 30 files changed, 56 insertions(+), 56 deletions(-)

commit cec7c9992b011565057a45ec03bea11607dafe2a
Author: Evgeni Golov <evgeni@debian.org>
Date:   Fri Aug 7 08:30:20 2015 +0200

    fix a few spelling errors spotted by Debian's Lintian tool

 manpages/bscrypto.8            | 2 +-
 po/bareos.pot                  | 2 +-
 po/de.po                       | 2 +-
 po/es.po                       | 2 +-
 po/fr.po                       | 2 +-
 po/it.po                       | 2 +-
 po/nl.po                       | 2 +-
 po/pl.po                       | 2 +-
 po/sv.po                       | 2 +-
 po/uk.po                       | 2 +-
 src/plugins/dird/python-dir.c  | 2 +-
 src/plugins/filed/python-fd.c  | 2 +-
 src/plugins/stored/python-sd.c | 2 +-
 src/stored/autochanger.c       | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

commit 43b0c61403da650e092434dedddc5280d8bc4ffa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 5 14:52:55 2015 +0200

    Add some more defensive programming.
    
    On the cancel path be somewhat more defensive when it comes to
    dereferencing dcr pointers etc.

 src/stored/ndmp_tape.c | 87 +++++++++++++++++++++++++-------------------------
 1 file changed, 44 insertions(+), 43 deletions(-)

commit 7a09383d0c9d4fb4a2a9c221c2f73968301e4934
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 5 14:41:10 2015 +0200

    Fix windows build.
    
    As on windows the binaries are started and stopped using the layered
    approach we need the terminate functions of the dir and sd to be
    non-static.

 src/dird/dird.c     |  8 +++++++-
 src/stored/stored.c | 10 ++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

commit 3d09826176f0f22e125a96f5ae1cb02ba1017f12
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 4 21:02:16 2015 +0200

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 88765d11a2427115628cd752a21ae849170af263
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 4 10:07:04 2015 +0200

    Fix state file truncation when running bareos-dir -t
    
    When bareos-dir -t is run (which is done from the systemd startup) we
    never read the state-file nor create a pid-file but in the
    terminate_dird() function we unconditionally write a new state-file
    which means we clobber its content.
    
    We now keep track of the test_config flag using a static global variable
    and don't try updating the state-file nor removing the pid-file in
    terminate_dird() when we are in test_config mode.
    
    Also made the terminate_dird() and terminate_stored() static as they are
    not referenced from anywhere else anyway so lets not clobber the
    namespace with it.
    
    Fixes #499: Director state file gets truncated

 src/dird/dird.c     | 10 ++++++----
 src/stored/stored.c |  4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

commit 9d303b2122da5485c6e9ca17406a0b33306c600d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 4 18:54:56 2015 +0200

    Fix problem reported by coverity.

 src/dird/sd_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c0ad310a336e99010974ae4ae849e770e5f58ba7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 4 14:56:40 2015 +0200

    Don't use DmsgX macros in plugins but Dmsg(ctx, ...

 src/plugins/filed/cephfs-fd.c | 4 ++--
 src/plugins/filed/gfapi-fd.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit c034edde1d2e77b2472260d69110e770788da7d0
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Aug 4 13:00:52 2015 +0200

    Install and remove python plugin .py files
    
    Now that we do have the python-xx.dll for windows, we also need to
    install the corresponding .py files.

 platforms/win32/winbareos-nsi.spec | 12 ++++++++++--
 platforms/win32/winbareos.nsi      | 25 +++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 2 deletions(-)

commit 5378785e9c3140e83ed4ccd90844c1052b21d96e
Author: Evgeni Golov <evgeni@golov.de>
Date:   Tue Aug 4 08:01:18 2015 +0200

    adjust manpage sections to match the file extensions
    
    some manpages had section 8 in the header but a .1 extension
    and vice versa. fix these to match the extension.
    
    thanks to Debian's Lintian tool for spotting the issue

 manpages/bconsole.1   | 2 +-
 manpages/bregex.1     | 2 +-
 manpages/btraceback.8 | 2 +-
 manpages/bwild.1      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 6c439cb70da82602aa90fe12f752683f8fd3645a
Author: Evgeni Golov <evgeni@debian.org>
Date:   Mon Aug 3 19:28:50 2015 +0200

    call openssl rand with an excplicit RANDFILE=/dev/urandom
    
    this will prevent the creation of $HOME/.rnd in the users home

 scripts/bareos-config-lib.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 840ec7e3397ba42dbd7b37d6d41b13a759cfbe1f
Author: Evgeni Golov <evgeni@debian.org>
Date:   Mon Aug 3 19:28:23 2015 +0200

    set dbuser and dbname in apply_dbconfig_settings()

 scripts/bareos-config-lib.sh.in | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 4ab95a564c26e95240808d3ca7f3079836b1a66f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Jul 28 16:30:45 2015 +0200

    Remove python plugins on uninstall

 platforms/win32/winbareos.nsi | 3 +++
 1 file changed, 3 insertions(+)

commit b75a5b013bad95070597f6821585259157ec3686
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 28 08:29:38 2015 +0200

    Fix error with list copies.
    
    List copies without any jobid=<jobid_list> is also a valid command which
    it wasn't after unwinding the old spaghetti code.

 src/dird/ua_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6d12a020263fc4fcb58b688b3a1bb4ee633d47b7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 28 08:07:23 2015 +0200

    Fix compiler warning due to typo.

 src/dird/ua_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e0f2f48dd8abae3045ee4f00d89538498d1099c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 27 16:45:38 2015 +0200

    Fix errors found by Coverity.

 src/dird/ua_cmds.c   | 3 +--
 src/dird/ua_output.c | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

commit 360721051c1bb8ecb9a0e551a31e9348fa148d46
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 19 16:19:21 2015 +0200

    Switch to bourne shell constructions.
    
    Some platforms have only a simple bourne shell and this simple changes
    make things work on those platforms too.

 scripts/bareos-config-lib.sh.in     | 23 ++++++++++++-----------
 scripts/git-info.sh                 |  6 ++++--
 src/cats/Makefile.in                |  4 ++--
 src/cats/drop_bareos_tables.in      |  3 ++-
 src/cats/grant_bareos_privileges.in |  3 ++-
 src/cats/make_bareos_tables.in      |  3 ++-
 6 files changed, 24 insertions(+), 18 deletions(-)

commit 1b56f9a043405dc95d87286b545efe185b6a890d
Author: Daniel Holtkamp <holtkamp@riege.com>
Date:   Fri Aug 8 21:29:17 2014 +0200

    Make consecutive tape reads more like writing to tape
    
    No rewinding between each job! but if we need the same tape and
    the device has the always open flag set the header cannot really change
    so rereading it has little value. The Storage daemon should just
    reposition the tape and start reading.
    
    Fixes #322: Make consecutive tape reads more like writing to tape
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/acquire.c | 75 +++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 53 insertions(+), 22 deletions(-)

commit 7bd052fb03cb0eb86cb055fd469597e946290d3f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 17 22:00:51 2015 +0200

    Add the guid cache pointer to the useragent.
    
    From now on useragent has a guid cache to store the uid and gid to
    name mappings.  The cache is freed when the useragent is destroyed.
    
    Until now only the interactive ua_tree.c used a guid cache from
    uid/gid to user/group mapping but we also want the BVFS api mode 2
    (JSON) to have this information for file selection.

 src/dird/ua.h         |  1 +
 src/dird/ua_dotcmds.c | 50 +++++++++++++++++++++++++++++++++-----------------
 src/dird/ua_server.c  |  3 +++
 src/dird/ua_tree.c    |  6 ++----
 4 files changed, 39 insertions(+), 21 deletions(-)

commit 620475afdf8565083403b5e4f824e1780656f2ed
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jul 13 10:45:58 2015 +0200

    Make failing load of backend less confusing.
    
    Change exit from M_ABORT to M_ERROR_TERM on problems with configuration
    file, preventing a Segmentation Fault when running bareos-dbcheck on an
    uninitialized config file.
    
    M_ABORT forces a traceback but for some failures those only confuse end-users.

 src/cats/cats_backends.c | 6 +++---
 src/stored/sd_backends.c | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

commit 8b033a3d3edbf4d8cb07277a1a492bcd4a6df770
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jul 8 16:18:33 2015 +0200

    JSON: write all keys in lower case
    
    Postgresql and MySQL use different cases for database tables (lower
    case vs. CamelCase).
    To prevent problems, the JSON output converts all keys to
    lowercase.
    
    Fixes #493: bareos-webui with MySQL

 src/lib/mem_pool.c         | 5 +++++
 src/lib/mem_pool.h         | 1 +
 src/lib/output_formatter.c | 9 +++++++--
 3 files changed, 13 insertions(+), 2 deletions(-)

commit a3f26c571fe28a51d9eccc82c0d7a70e91e03ebd
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jun 29 13:17:26 2015 +0200

    Show loglevel in debug output

 src/lib/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 71f51db9292d22bc0769dc9fb52633103f0e9a2a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Jun 30 17:00:27 2015 +0200

    Allow to specify arrays in JSON output structure
    
    Before, the JSON output handled arrays implicitly.
    The result was partly unexpected behavior,
    like some data was overwritten when adding several nameless objects.
    
    The new version destinguishes between
    
      * named objects (object_start(NAME))
        * can be added to objects (named and nameless objects)
    
      * nameless objects (object_start(NULL))
        * can be added to arrays
    
      * arrays (array_start(NAME))
        * can be added by name to an object
        * contain nameless objects (object_start(NULL))
    
    The JSON result root element is now an object. It has been an array
    before, but external tools (bareos-webui) normally only evaluate the first
    array element.

 src/cats/sql.c             |  17 +++--
 src/cats/sql_list.c        |  48 ++++++++-------
 src/dird/ua_cmds.c         |   4 +-
 src/dird/ua_dotcmds.c      | 150 +++++++++++++++++++++++----------------------
 src/lib/output_formatter.c | 137 +++++++++++++++++++++++++++++------------
 src/lib/output_formatter.h |   8 ++-
 6 files changed, 217 insertions(+), 147 deletions(-)

commit 7d739f074c0f914c4a65b95c5eb78378e9077f5b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Jun 30 11:29:24 2015 +0200

    Command .defaults: enable JSON output
    
    This command was only indented for api mode 1,
    separating the different entries only by sending them in separate
    packets.
    
    This patch makes the command also usable in other api modes,
    while leaving api mode 1 unchanged.

 src/dird/ua_dotcmds.c | 166 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 106 insertions(+), 60 deletions(-)

commit 1011da19c5c4325984bae2555f4ae71650523aac
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Jun 30 08:51:09 2015 +0200

    Command .sql: enable JSON output
    
    before, the .sql command was only intended for api mode 1
    and printed the fields separated by tabs.
    
    Each row was sent as seperate packet, but had no more line
    separations, making the output unusable in interactive mode (api=0).
    
    The new implementation reuses the normal sql table output for all api
    modes except 1 (the output there is used by bat).
    
    It formats the table nicely and usable in the different api modes.

 src/dird/ua_dotcmds.c | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)

commit 8dc1c57f78c02559a9fbbd021626ecbf4d321553
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jun 29 17:46:27 2015 +0200

    Cleanup dotcommands
    
    added some comments, sorted commands

 src/cats/sql_list.c   |  4 +--
 src/dird/ua_dotcmds.c | 83 +++++++++++++++++++++++++++++++--------------------
 2 files changed, 53 insertions(+), 34 deletions(-)

commit 4851d0ddb11c6515803e8c1a0e4f9ee87fd81aa2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sun Jun 28 20:43:52 2015 +0200

    Integrate messages to OUTPUT_FORMATTER
    
    This patch integrates message handling into the OUTPUT_FORMATTER so
    that messages (info, warnings or errors messages) can not degrade
    JSON output anymore.
    
    In JSON API mode, messages are now kept separate from the actual output.
    Normally messages will not be send, except if one of the messages is
    an error message.
    In this case, the whole JSON result will be marked as error and the
    current result plus the messages will be delivered as an error message.
    
    Also this patch sets batch mode in api mode JSON.
    
    In batch mode, commands do not show additional prompts.
    If not all parameter are given, a command fails to execute.
    This is the wanted behaviour for the API mode JSON.

 src/dird/ua_cmds.c         |  2 +-
 src/dird/ua_dotcmds.c      | 40 ++++++++++++++-------------
 src/dird/ua_output.c       | 28 +++++++++++++------
 src/lib/output_formatter.c | 69 +++++++++++++++++++++++++++++++++++++++++-----
 src/lib/output_formatter.h |  9 ++++++
 5 files changed, 113 insertions(+), 35 deletions(-)

commit e52b57d625fa68b8560248ed2059c58891828105
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jun 28 14:34:36 2015 +0200

    Refactor list and llist.
    
    Over time the list and llist code really developed into some serious
    spaghetti code. To make thing somewhat more like what you expect from
    the command its now refactored to do the following:
    
    - Add offset parameter
    - Select what to do based on the first keyword after the list or llist
    - Only do one action at a time.
    - Remove the somewhat strange features like:
      - list jobs jobid=1
        - Which lists first all jobs and then the specifics for jobid 1
      - list fileset jobid=1
        - Which lists the fileset used by jobid 1
        - The jobs specifics of JobId 1
      - list pools jobid=1
        - Which lists all pools
        - The jobs specifics of JobId 1

 src/cats/protos.h    |   6 +-
 src/cats/sql.c       |   1 +
 src/cats/sql_list.c  |  48 ++---
 src/dird/ua_cmds.c   |   4 +-
 src/dird/ua_output.c | 548 +++++++++++++++++++++++----------------------------
 src/dird/ua_select.c |   2 +-
 6 files changed, 266 insertions(+), 343 deletions(-)

commit c47ad826e0c1d59b9f5f66195c3ccc41f1cca5d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jun 28 10:17:09 2015 +0200

    Cleanup Media Record Enbled handling.
    
    - Use enum with the values it can have that mean something when reading
      the code.
    - Removed whole argument parsing in update_volume() as update_volenabled()
      is called which calls get_enabled() which already does the whole parsing.

 src/dird/autoprune.c |  2 +-
 src/dird/catreq.c    |  2 +-
 src/dird/dird.h      |  6 ++++++
 src/dird/newvol.c    |  2 +-
 src/dird/ua_cmds.c   |  4 ++--
 src/dird/ua_input.c  | 20 +++++++++++---------
 src/dird/ua_label.c  |  2 +-
 src/dird/ua_prune.c  |  9 ++++-----
 src/dird/ua_purge.c  |  2 +-
 src/dird/ua_update.c | 15 +++------------
 10 files changed, 31 insertions(+), 33 deletions(-)

commit 53f03b32527972760dd957b9f0c1b51235ee9164
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 23 19:32:34 2015 +0200

    Replaced .backups by "list backups"
    
    - Seems .backups never printed enough fields as the query retrieves 10 fields
      and the original format string has only 8 times a %s and 9 arguments
      to the print function.
    - Added support for the JSON API mode.
    - Allow .backups client=name fileset=any in which it will show any
      fileset that is defined in the config and to which the console has
      access to and run the original query for that fileset. For the JSON
      mode this will generate an empty JSON set when the client doesn't have
      any jobs with a given fileset.
    - Fix the argument scanning to use find_arg_with_value() and not be
      fixed on the order of arguments as it used to be.
    - Allow selection on jobstatus
    - Allow selection on level
    - Allow ordering direction on the entries to return.
    - Allow a limit on the number of entries to return.
    
    As this dotcmd doesn't seem to be used anywhere (not even in BAT),
    replacing it with "list backups" should have no side effect on anything else.

 src/cats/protos.h     |  43 +++++---
 src/cats/sql_cmds.c   |  12 ++-
 src/cats/sql_list.c   |  16 ++-
 src/dird/ua_cmds.c    |   4 +-
 src/dird/ua_dotcmds.c |  46 +-------
 src/dird/ua_output.c  | 286 ++++++++++++++++++++++++++++++++++++++++++++++----
 src/dird/ua_query.c   |  10 +-
 src/dird/ua_restore.c |  10 +-
 src/dird/ua_update.c  |   2 +-
 9 files changed, 329 insertions(+), 100 deletions(-)

commit bda4cde2a06f2e18edf53b022e5ed350e4195c93
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 23 17:21:59 2015 +0200

    Add support for JSON version of dot_bvfs_get_jobids

 src/dird/ua_dotcmds.c | 72 +++++++++++++++++++++++++++++++++++----------------
 1 file changed, 50 insertions(+), 22 deletions(-)

commit b9d1d47d44b067eeeed8de78211cb41a748d334d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 15:49:19 2015 +0200

    Suppress output of auto select info in API mode.

 src/dird/ua_select.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit a0310dbe37d2e0c067cd9e619bb2dade1c37f66c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 16:39:00 2015 +0200

    Cleanup director and use bool instead of int
    
    We have a lot of functions that return an int 0 or 1 which can
    just as well return a proper boolean as return value. This patch
    tries to cleanup this in more places as already done before so we
    mostly use bool where possible and int only when things cannot be
    solved by a bool e.g. when false and true are not enough.

 src/dird/job.c          |  12 +-
 src/dird/migrate.c      |   2 +-
 src/dird/protos.h       |  23 +--
 src/dird/ua.h           |   6 +-
 src/dird/ua_cmds.c      | 396 ++++++++++++++++++++++++------------------------
 src/dird/ua_configure.c |   4 +-
 src/dird/ua_dotcmds.c   |  16 +-
 src/dird/ua_impexp.c    |  12 +-
 src/dird/ua_input.c     |  41 ++---
 src/dird/ua_label.c     |   4 +-
 src/dird/ua_output.c    |  44 +++---
 src/dird/ua_prune.c     |   2 +-
 src/dird/ua_purge.c     |  56 +++----
 src/dird/ua_query.c     |  10 +-
 src/dird/ua_restore.c   |  24 +--
 src/dird/ua_run.c       |  20 ++-
 src/dird/ua_select.c    | 364 +++++++++++++++++++++++++++++---------------
 src/dird/ua_server.c    |   2 +-
 src/dird/ua_status.c    |  35 ++---
 src/dird/ua_update.c    |  97 ++++++------
 20 files changed, 648 insertions(+), 522 deletions(-)

commit d59301aa2660b2ef16612b643a89b29188163ff0
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Mon Jun 22 18:36:52 2015 +0200

    Cleanup of python plugin framework.
    
    - Code cleanups to comply with flake8 --max-line-length=100
    - Added python class based base-class for Python SD plugin.
    - Uniform layout of DebugMessage() and JobMessage()
    - Added mandatory options handling and check
    - Allow backslash escaping in option values

 debian/bareos-storage-python-plugin.install.in  |   3 +
 platforms/packaging/bareos.spec                 |   3 +
 src/plugins/dird/BareosDirPluginBaseclass.py    | 115 +++++++------
 src/plugins/dird/BareosDirWrapper.py            |   3 +
 src/plugins/dird/bareos-dir-class-plugin.py     |   2 +-
 src/plugins/dird/bareos_dir_consts.py           | 134 +++++++--------
 src/plugins/filed/BareosFdPluginBaseclass.py    | 194 +++++++++++++++------
 src/plugins/filed/BareosFdPluginLocalFileset.py | 120 ++++++++++---
 src/plugins/filed/BareosFdWrapper.py            |   1 +
 src/plugins/filed/bareos-fd-mock-test.py        |  22 ++-
 src/plugins/filed/bareos_fd_consts.py           | 218 ++++++++++++------------
 src/plugins/stored/BareosSdPluginBaseclass.py   | 121 +++++++++++++
 src/plugins/stored/BareosSdWrapper.py           |  40 +++++
 src/plugins/stored/bareos-sd-class-plugin.py    |  54 ++++++
 src/plugins/stored/bareos_sd_consts.py          | 134 +++++++--------
 15 files changed, 782 insertions(+), 382 deletions(-)

commit 05591370d769341d02e5829e4ccd05cf84748359
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 16 10:37:55 2015 +0200

    Clear encryption and compression flags if unsupported.
    
    Analog to how we clear the ACL and XATTR flags in a fileset if we run a
    backup Job on a filed which doesn't support the wanted feature we now
    also clear any compression or encryption flag. By clearing the flag
    before we start the actual Job we no longer get those nasty errors
    in which by the time we call blast_data_to_storage_daemon() we abort
    the Job due to missing features.
    
    Clearing compression flags should be no problem and a warning is logged
    anyway. For the encryption not being available one could use the new
    force encrypt flag in the fileset to fail the Job if encryption is an
    absolute requirement.
    
    Fixes #496: File daemon without compression support / director with
                compression enabled - weird error message

 src/filed/dir_cmd.c   | 80 +++++++++++++++++++++++++++++++++++++++++++++++----
 src/lib/compression.c | 55 ++++++++++++++---------------------
 src/lib/protos.h      |  1 +
 3 files changed, 98 insertions(+), 38 deletions(-)

commit 39de4603658ef8b4543e5ca787893392954c9924
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 15 16:30:19 2015 +0200

    AllowCompression setting doesn't work with LZ4/LZFast
    
    Fixes #497: AllowCompression setting doesn't work with LZ4/LZFast

 src/dird/fd_cmds.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit d4dac4e47d96f299216212e42a3b2c269eec500a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 10 13:28:01 2015 +0200

    Fix copyright.
    
    - Major refactoring and new features contributed by Planets Communications B.V.

 src/filed/accurate.c                          | 1 +
 src/filed/accurate.h                          | 1 +
 src/filed/accurate_htable.c                   | 1 +
 src/filed/accurate_lmdb.c                     | 1 +
 src/lib/scsi_tapealert.c                      | 1 +
 src/lib/scsi_tapealert.h                      | 1 +
 src/plugins/dird/python-dir.c                 | 2 +-
 src/plugins/dird/python-dir.h                 | 1 +
 src/plugins/filed/cephfs-fd.c                 | 1 +
 src/plugins/filed/gfapi-fd.c                  | 1 +
 src/plugins/filed/python-fd.c                 | 4 ++--
 src/plugins/filed/python-fd.h                 | 1 +
 src/plugins/filed/rados-fd.c                  | 1 +
 src/plugins/stored/autoxflate-sd.c            | 1 +
 src/plugins/stored/python-sd.c                | 2 +-
 src/plugins/stored/python-sd.h                | 1 +
 src/plugins/stored/scsitapealert-sd.c         | 1 +
 src/stored/backends/cephfs_device.c           | 1 +
 src/stored/backends/cephfs_device.h           | 1 +
 src/stored/backends/elasto_device.c           | 1 +
 src/stored/backends/elasto_device.h           | 1 +
 src/stored/backends/generic_tape_device.c     | 1 +
 src/stored/backends/generic_tape_device.h     | 1 +
 src/stored/backends/gfapi_device.c            | 1 +
 src/stored/backends/gfapi_device.h            | 1 +
 src/stored/backends/object_store_device.c     | 1 +
 src/stored/backends/object_store_device.h     | 1 +
 src/stored/backends/rados_device.c            | 1 +
 src/stored/backends/rados_device.h            | 1 +
 src/stored/backends/unix_fifo_device.c        | 1 +
 src/stored/backends/unix_fifo_device.h        | 1 +
 src/stored/backends/unix_file_device.c        | 1 +
 src/stored/backends/unix_file_device.h        | 1 +
 src/stored/backends/unix_tape_device.c        | 1 +
 src/stored/backends/unix_tape_device.h        | 1 +
 src/stored/sd_backends.c                      | 1 +
 src/stored/sd_backends.h                      | 1 +
 src/win32/plugins/filed/mssqlvdi-fd.c         | 1 +
 src/win32/stored/backends/win32_fifo_device.c | 1 +
 src/win32/stored/backends/win32_fifo_device.h | 1 +
 src/win32/stored/backends/win32_file_device.c | 1 +
 src/win32/stored/backends/win32_file_device.h | 1 +
 src/win32/stored/backends/win32_tape_device.c | 1 +
 src/win32/stored/backends/win32_tape_device.h | 1 +
 44 files changed, 45 insertions(+), 4 deletions(-)

commit c4709ed701ea13826e1c69ff527c28a406e128f9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 26 11:07:54 2015 +0200

    Fix comment.
    
    Move comment to right place so it makes sense to the table it talks
    about.

 src/cats/ddl/creates/mysql.sql | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

commit ecb539bc44c0224b378e6e9626b86ea718da5c2c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 21:48:08 2015 +0200

    Need to call init_crypto() before check_resources()
    
    As check_resources() does a setup of the TLS contexts we need to have
    called init_crypto() by then. This makes sure that all daemons start
    again after the patch for calling the init_crypto() after started the
    daemon and closing all filedescriptors.

 src/dird/dird.c     | 21 ++++++++++++---------
 src/filed/filed.c   | 20 ++++++++++----------
 src/stored/stored.c | 18 +++++++++---------
 3 files changed, 31 insertions(+), 28 deletions(-)

commit 4b73c7f87a73df55e033f7a37383665d8c2d0725
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 25 18:53:53 2015 +0200

    fix shell parsing of Bareos configuration files
    
    without this patch, the database password for mysql have not been set automatically during package install on Debian.

 scripts/bareos-config-lib.sh.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 635f86ea4a3dcc640713b1fd9b21044e1e5cb89f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 17:02:08 2015 +0200

    Added Holger Weiss to AUTHORS

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit 78bb459ceb0b7c7aa9e99aa973ca2b1eab23fbba
Merge: aef2253 070a482
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 16:59:53 2015 +0200

    Merge pull request #26 from weiss/accept-slash
    
    bconsole: Add '/' to the list of acceptable volume name characters

commit aef22531e8b150fbba16939dceae66ac4d02a595
Merge: bb1529f 9097aae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 16:59:30 2015 +0200

    Merge pull request #25 from weiss/master
    
    Don't initialize TLS library before daemonizing

commit bb1529f88585da31a0053f06727c74f2a7cb0dc1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 12:37:04 2015 +0200

    Fix error found by coverity.

 src/dird/sd_cmds.c | 1 +
 1 file changed, 1 insertion(+)

commit 070a4824b3dce9577717801eb1da78824c2652bb
Author: Holger Weiß <holger@zedat.fu-berlin.de>
Date:   Thu Jun 25 11:38:12 2015 +0200

    bconsole: Fix list of acceptable volume name chars
    
    Bareos accepts slashes in volume names since commit
    7969af665ad5b38e88763b6456b0b13b564dbbc3.

 src/lib/edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e3a8bd5890d4d2161035c78b5e98d611d4bd77ce
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 09:51:13 2015 +0200

    Sync lmdb.

 src/lmdb/lmdb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c5a362f92a5cf36de20467dae7b8a54e62b4300a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 25 09:42:03 2015 +0200

    Add missing breaks.

 src/lib/output_formatter.c | 2 ++
 1 file changed, 2 insertions(+)

commit 6ccc2142da5c233cfcde6db188c5259a8578a8d5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 24 21:07:39 2015 +0200

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6d0f03608b7e9debae81dbe7a5d097c1d40dea97
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 24 19:15:47 2015 +0200

    Rebuild configure.

 configure | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

commit 76cebc59643fee73f338adbc41a9c15fab2adce8
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jun 24 17:56:26 2015 +0200

    cleanup of the default configuration
    
    - removes from bareos-dir.conf, Client configuration:
      File Retention = 30 days            # 30 days
      Job Retention = 6 months            # six months
      AutoPrune = no                      # Prune expired Jobs/Files
      as these values are default anyway,
      in most situations it makes no sense to use Client pruning (only Volume retentions should be used),
      and this setting might cause more confusions than it helps.
    - added comment about "Heartbeat Interval"
    - make order of ressources in bareos-fd.conf the same as in bareos-sd.conf

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 12 ++++---
 src/defaultconfigs/diskonly/bareos-sd.conf.in  |  2 +-
 src/filed/bareos-fd.conf.in                    | 43 +++++++++++++-------------
 3 files changed, 30 insertions(+), 27 deletions(-)

commit def74587fd5c85bf67e37da524cdf85f85ba334a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 16:53:25 2015 +0200

    univention-bareos: adapted for bareos >= 14.2
    
    The univention-bareos (UCS AppCenter version) has been based on bareos-13.2.
    This commit integrated the UCS extensions better into the normal build environment of Bareos.

 autoconf/configure.in                              |   4 +-
 debian/bareos-director.postinst.in                 |   7 +
 debian/bareos-filedaemon.postinst.in               |   7 +
 debian/bareos-storage.postinst.in                  |   7 +
 debian/control.univention-bareos                   |  14 +-
 debian/control.univention-bareos-schema            |   6 +-
 debian/univention-bareos.config                    |  17 -
 debian/univention-bareos.dirs                      |   2 +-
 debian/univention-bareos.docs                      |   1 +
 debian/univention-bareos.install.in                |   1 -
 debian/univention-bareos.postinst.in               |  28 +-
 debian/univention-bareos.postrm                    |   7 -
 debian/univention-bareos.prerm                     |   3 -
 .../univention-bareos.univention-config-registry   |  22 +-
 ...ion-bareos.univention-config-registry-variables |  38 +-
 platforms/debian/Makefile.in                       |   4 +-
 platforms/debian/set_dbconfig_vars.sh.in           |   4 +-
 platforms/packaging/bareos-Univention_4.0.dsc      |   2 +-
 platforms/univention/AppCenter/LICENSE_AGREEMENT   |  17 -
 .../univention/AppCenter/LICENSE_AGREEMENT.in      |  27 ++
 platforms/univention/AppCenter/README_POST_INSTALL |   7 +
 .../univention/AppCenter/univention-bareos.ini     |  53 ---
 .../univention/AppCenter/univention-bareos.ini.in  |  56 +++
 platforms/univention/Makefile.in                   |  12 +-
 .../conffiles/etc/bareos/bareos-dir.conf           | 361 -----------------
 .../univention/conffiles/etc/bareos/bareos-fd.conf |  54 ---
 .../univention/conffiles/etc/bareos/bareos-sd.conf |  72 ----
 .../univention/conffiles/etc/bareos/bconsole.conf  |  16 -
 .../8.4/main/pg_hba.conf.d/25-univention-bareos    |   1 -
 platforms/univention/create_ucs_template_files.sh  | 139 +++++++
 platforms/univention/fd-generic.template           |  16 +-
 platforms/univention/fd-windows.template           |  15 +-
 platforms/univention/job-generic.template          |   4 -
 platforms/univention/job-windows.template          |   4 -
 platforms/univention/postgres_create.sql           | 442 ---------------------
 platforms/univention/restart_director              |   6 +-
 platforms/univention/univention-bareos.cron        |   2 +-
 scripts/bareos-config-lib.sh.in                    |  82 +++-
 scripts/bareos.png                                 |   8 -
 src/images/bareos_logo_shadow.png                  | Bin 0 -> 4634 bytes
 40 files changed, 411 insertions(+), 1157 deletions(-)

commit 9097aaeaefe904b40af602caddf5d9cd59959625
Author: Holger Weiß <holger@zedat.fu-berlin.de>
Date:   Tue Jun 23 17:01:20 2015 +0200

    Don't initialize TLS library before daemonizing
    
    At least GnuTLS may open file descriptors (e.g., for /dev/urandom)
    during library initialization. Such file descriptors would be closed
    during daemonization.

 src/dird/dird.c     | 10 +++++-----
 src/filed/filed.c   | 10 +++++-----
 src/stored/stored.c |  8 ++++----
 3 files changed, 14 insertions(+), 14 deletions(-)

commit fdcab57a873059aab5744cf30700d5047219d1d4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 11 16:10:06 2015 +0200

    Build all python plugins on windows.

 platforms/win32/winbareos-nsi.spec |  3 ++
 platforms/win32/winbareos.nsi      |  8 ++--
 platforms/win32/winbareos32.spec   |  4 +-
 platforms/win32/winbareos64.spec   |  3 ++
 src/plugins/filed/python-fd.c      |  3 +-
 src/win32/plugins/Makefile         |  2 +-
 src/win32/plugins/dird/Makefile    | 75 ++++++++++++++++++++++++++++++++++++++
 src/win32/plugins/filed/Makefile   | 16 +++++++-
 src/win32/plugins/stored/Makefile  | 22 ++++++++++-
 9 files changed, 125 insertions(+), 11 deletions(-)

commit 51c39261ef1e01921b93d4d93d44121c68be17cc
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jun 1 16:10:47 2015 +0200

    Clear vss mutex when regex fails

 src/filed/dir_cmd.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit f5a6f469044f7f1d50e810ac59585fde5fc4ba02
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 28 15:31:53 2015 +0200

    also package bregtest.exe

 platforms/win32/winbareos32.spec |  1 +
 platforms/win32/winbareos64.spec |  1 +
 src/win32/tests/Makefile         | 12 ++++++++----
 3 files changed, 10 insertions(+), 4 deletions(-)

commit b08afa292305d11750b707aa8fca2395dc03806b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 28 15:19:33 2015 +0200

    Fix "Message too long to display." on Windows
    
    We now define HAVE_VA_COPY on windows so that we do not
    get the "Message too long to display." during long output
    on windows, especially on "status scheduler".

 src/win32/compat/include/compat.h | 2 ++
 1 file changed, 2 insertions(+)

commit c4575468c7c94fe41fa590834e0087b45bbdc33e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 20 17:46:27 2015 +0200

    Status storage should only show configured devices.
    
    When you do a status storage from the director to a defined storage on a
    storage daemon you expect that it only shows you the actually configured
    devices in the director and not all devices configured in the storage
    daemon. For that to work we now send the list of devices (normally one)
    that are configured in the director config and use that as the selection
    criteria for showing the right devices only.

 src/dird/sd_cmds.c   |  24 +++++++++--
 src/stored/dir_cmd.c |   4 +-
 src/stored/protos.h  |   7 +++
 src/stored/status.c  | 118 +++++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 130 insertions(+), 23 deletions(-)

commit 18112f177818be492725a1f5d17e5c9ccc396992
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 20 17:40:03 2015 +0200

    Switch programs to use config class derived from BRSRES

 src/console/console.c                | 23 +++++++------
 src/console/console_conf.c           | 34 +++++++++++++------
 src/console/console_conf.h           | 10 +++---
 src/dird/dird_conf.c                 | 64 ++++++++++++++++++------------------
 src/filed/authenticate.c             |  2 +-
 src/filed/dir_cmd.c                  |  2 +-
 src/filed/filed.c                    | 24 +++++++-------
 src/filed/filed_conf.c               | 14 ++++----
 src/filed/filed_conf.h               | 10 +++---
 src/filed/fileset.c                  |  2 +-
 src/qt-console/bat_conf.cpp          |  7 ++--
 src/qt-console/bat_conf.h            | 23 +++----------
 src/qt-console/main.cpp              |  4 +--
 src/qt-tray-monitor/authenticate.cpp |  6 ++--
 src/qt-tray-monitor/tray_conf.cpp    | 12 +++----
 src/qt-tray-monitor/tray_conf.h      | 37 ++++++++-------------
 src/stored/askdir.c                  |  6 ++--
 src/stored/authenticate.c            |  2 +-
 src/stored/autochanger.c             |  8 ++---
 src/stored/bcopy.c                   |  2 +-
 src/stored/bextract.c                |  2 +-
 src/stored/bls.c                     |  2 +-
 src/stored/bscan.c                   |  2 +-
 src/stored/btape.c                   |  2 +-
 src/stored/butil.c                   |  4 +--
 src/stored/dev.c                     |  6 ++--
 src/stored/dir_cmd.c                 | 16 ++++-----
 src/stored/job.c                     |  6 ++--
 src/stored/reserve.c                 | 43 ++++++++++++------------
 src/stored/sd_plugins.c              |  4 +--
 src/stored/sd_stats.c                |  4 +--
 src/stored/spool.c                   |  2 +-
 src/stored/status.c                  | 15 ++++++---
 src/stored/stored.c                  | 22 ++++++-------
 src/stored/stored_conf.c             | 21 ++++++------
 src/stored/stored_conf.h             | 19 +++--------
 36 files changed, 220 insertions(+), 242 deletions(-)

commit 4bb54d0ee32e07017c580c085673df2fe681424f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 19 17:43:42 2015 +0200

    Remove ridiculous arbitrary limit on plugin messages.
    
    Seems we inherited some really ridiculous arbitrary limits on the
    upper limit of debug and Job messages. Lets use a POOL_MEM so we
    can handle any size.

 src/dird/dir_plugins.c  | 16 +++++++++-------
 src/filed/fd_plugins.c  | 14 +++++++-------
 src/stored/sd_plugins.c | 16 +++++++++-------
 3 files changed, 25 insertions(+), 21 deletions(-)

commit 690e9ed29043443742b3c5c9a8ab13ad90f50b17
Merge: 914b8b8 0f258b0
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 16:11:19 2015 +0200

    Merge branch 'rkarlsba-patch-1'

commit 914b8b80f5af66aaa2cb2f04a39864717c383d74
Merge: e501082 9ce0e6f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 16:11:11 2015 +0200

    Merge branch 'debfx-build-flags'

commit 0f258b0bb85b7ed52334e778e21f15456f6c09bf
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 15:12:28 2015 +0200

    added Roy Sigurd Karlsbakk

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit a80f92a54852aa71765c1d5d87ce235a93786610
Merge: e501082 65f9f73
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 14:50:52 2015 +0200

    Merge branch 'patch-1' of https://github.com/rkarlsba/bareos into rkarlsba-patch-1

commit 9ce0e6feb4db228f7154f006566aad297399737c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 14:38:01 2015 +0200

    added Felix Geyer

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit c35b6b2341c088fe3c0a72ba5bbf3427775db637
Merge: e501082 0946c55
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 18 14:36:37 2015 +0200

    Merge branch 'build-flags' of https://github.com/debfx/bareos into debfx-build-flags

commit e5010829a3d91d3e2fc3b10ba898bbc7f781c13b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 17 10:13:11 2015 +0200

    Updated README.md

 README.md | 78 +++++++++++++++++++++++++++++++--------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

commit 25838bbe574cf7a9e4d51d9d17160fc3f5906444
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 17 10:08:15 2015 +0200

    Updated README.md

 README.md | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

commit 65f9f73233d0a5fc594a22c099e04dbca2fa9cc7
Author: rkarlsba <roy@karlsbakk.net>
Date:   Tue Jun 16 15:12:00 2015 +0200

    Add zfs to the list of filesystems
    
    Add zfs to the default fs list

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 1 +
 1 file changed, 1 insertion(+)

commit 0946c55bcf62afcf4eb8ff73c0d1e8b264450bb4
Author: Felix Geyer <debfx@fobos.de>
Date:   Sat Jun 13 14:06:42 2015 +0200

    Pass $CXXFLAGS and $CPPFLAGS to all compiler invocations.
    
    In some cases they were missing.

 src/plugins/dird/Makefile.in   | 6 +++---
 src/plugins/filed/Makefile.in  | 8 ++++----
 src/plugins/stored/Makefile.in | 8 ++++----
 src/tools/Makefile.in          | 2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)

commit 23ff0297002accaf5e2f3861a342aed191c65b32
Author: Felix Geyer <debfx@fobos.de>
Date:   Sat Jun 13 14:06:28 2015 +0200

    Pass build flags to qmake.
    
    qmake doesn't use $CPPFLAGS and $LDFLAGS from the environment
    so they need to be passed manually.

 autoconf/configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2993fbdce3510b6e64cabdedb1a7ff2d3e19b542
Author: Felix Geyer <debfx@fobos.de>
Date:   Sat Jun 13 14:01:11 2015 +0200

    Fix typos regarding CPPFLAGS.
    
    CPPFLAGS from the environment were overwritten in some cases.

 autoconf/configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c868a14d7fd76d935e4bf9e85c41f4d8117b052c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 10 16:22:05 2015 +0200

    Rebuild configure.

 configure | 98 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 75 insertions(+), 23 deletions(-)

commit 86a4982404f1ebcab613d1e3d35ff68303f744f9
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Jun 5 19:04:23 2015 +0200

    Debian: add systemd support
    
    Debian >= 8 and Ubuntu >= 15.04 do use systemd as primary init system.
    This change let Bareos use the already existing systemd service files.
    Limitations:
    - The systemd service files have the same name as the package
      (e.g. bareos-filedaemon.service instead of bareos-fd.service).
      However, the service files contain aliases to the short name
      and are therefore also usable with the short name.
    - During compile, the package dh-systemd must be installed.
      However, it is not added in the control/dsc files,
      as it is not available on older platforms.
    
    Other changes:
    - use ${datarootdir}/dbconfig-common/
      instead of /usr/share/dbconfig-common/
      to able able to manual build and install it as normal user.

 autoconf/configure.in                   | 59 +++++++++++++++++++++------------
 debian/bareos-director.service.in       |  1 +
 debian/bareos-filedaemon.service.in     |  1 +
 debian/bareos-storage.service.in        |  1 +
 debian/control.in                       |  2 ++
 debian/rules                            |  5 +--
 platforms/debian/Makefile.in            | 24 +++++++-------
 platforms/systemd/bareos-dir.service.in |  2 ++
 platforms/systemd/bareos-fd.service.in  |  2 ++
 platforms/systemd/bareos-sd.service.in  |  2 ++
 10 files changed, 64 insertions(+), 35 deletions(-)

commit 3e587c09644846e37e03608e9f3343db4912e12f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 9 18:46:33 2015 +0200

    Sync lmdb.

 src/lmdb/lmdb.h | 18 ++++++++--------
 src/lmdb/mdb.c  | 67 ++++++++++++++++++++++++++++++++++++---------------------
 2 files changed, 51 insertions(+), 34 deletions(-)

commit 64475ea64947a44fafc852092ca7c865740a3be2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 9 09:25:14 2015 +0200

    Tweak code to solve compiler warning.

 src/dird/ua_status.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 55d87f7e183da5cf22760e9aa7d2056f53b9d217
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 6 22:42:24 2015 +0200

    Add FIFO device abstraction for Windows.

 src/stored/backends/unix_fifo_device.h        |   2 +-
 src/stored/dev.c                              |   6 +-
 src/win32/stored/Makefile                     |   3 +-
 src/win32/stored/backends/win32_fifo_device.c | 337 ++++++++++++++++++++++++++
 src/win32/stored/backends/win32_fifo_device.h |  50 ++++
 5 files changed, 395 insertions(+), 3 deletions(-)

commit abc88bd80eb8b7fd9be032773afbddd9cba0c634
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 5 15:51:38 2015 +0200

    Fix typo.

 src/lib/output_formatter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4907f96063b311d9091137bc9a1aa5330b5b9575
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 31 21:45:50 2015 +0200

    Implement api mode 2 (JSON) for autochanger content

 src/dird/ua_status.c | 203 +++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 187 insertions(+), 16 deletions(-)

commit da1f26aaa7e172a5244a395f26e9944f169357ff
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Feb 8 21:29:13 2015 +0100

    Volume manager cleanup
    
    - Cleanup comments
    - Make concurrent read from filedevice configurable
    - Use find_read_volume() instead of is_on_read_volume_list()
    - Make free_volume_list() a generic function.
    
      Instead of some trickery with using some temp vars give
      free_volume_list() two args e.g. a comment what about what its freeing
      and a dlist with the actual volume list it needs to free. Then we can
      reuse this in 3 places to delete any volume list. We also don't have
      to lock the vol_list when freeing the temp_vol_list as it now no longer
      "misuses" the global dlist pointer.
    
    Issues #414: Bareos storage daemon crashes during backups

 src/stored/reserve.c     |   1 +
 src/stored/stored_conf.c |   1 +
 src/stored/stored_conf.h |   1 +
 src/stored/vol_mgr.c     | 280 +++++++++++++++++++++++++----------------------
 4 files changed, 152 insertions(+), 131 deletions(-)

commit ecd961f031affe4ac3826d6fbd2c408c88c9a2bc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 30 12:01:56 2015 +0200

    Don't call PyCheckFile()
    
    When we have a inactive python-fd instance in a Job e.g. no option or
    file plugin definition in the fileset we are still called as part of the
    Checkfile method which calls each plugin loaded. This gives problems as
    we try to lookup the entry point into a non-existing python script and
    as such we have no dictonary at all which means the lookup will
    dereference a null pointer.
    
    Fixes #473: Incremental backup failure

 src/plugins/filed/python-fd.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 4dc244c9c4b8cb51844d7dc9af33549936f25f7e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 29 21:05:14 2015 +0200

    Fix python-fd incremental/differential backup handling.

 src/plugins/filed/python-fd.c | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

commit 8185b9c684fc5290c40e0879de9cc2e7987d3da7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 29 13:44:57 2015 +0200

    switch to bareos-addon package
    
    We now have a bareos-addon rpm package
    that contains everything from the bareos-addons
    repo

 platforms/win32/winbareos-nsi.spec | 30 +++++++++++++++++++-----------
 platforms/win32/winbareos32.spec   | 30 ++++++++++++------------------
 platforms/win32/winbareos64.spec   | 30 ++++++++++++------------------
 3 files changed, 43 insertions(+), 47 deletions(-)

commit 044a81ef36fb506f653b828519bf099eebd4c5e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 28 21:34:55 2015 +0200

    OpenSSL deprecated SSLv23_method so use TLS_method
    
    For OpenSSL version 1.1.0 and higher the SSLv23_method() is deprecated
    and one should use TLS_method() e.g. not TLSv1*_method as we did before.

 src/lib/tls_openssl.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 652de0b173dbb6521329b271405e40e1c3202dac
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu May 28 09:55:00 2015 +0200

    traymonitor: compile fix for usage message

 src/qt-tray-monitor/tray-monitor.cpp | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

commit 9998d541a3b2435d66abe8a19df9dab0ac5d86fa
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue May 26 20:05:37 2015 +0200

    Tweak help commands
    
    The output of the help and .help command have been handled differently.
    The usage descriptions contain line breaks and tabs.
    
    However, the output of the .help command must be machine parseable,
    so these characters are removed during runtime.
    
    For the api modes, these characters should also be removed.
    Therefore the parameter "wrap" have been added to the
    OUTPUT_FORMATTER::object_key_value function,
    with following meanings:
      * wrap < 0: no modification
      * wrap = 0: single line
      * wrap > 0: wrap line after x characters (if api==0)

 src/dird/ua_cmds.c         | 101 ++++++++++++++++-------------------
 src/dird/ua_dotcmds.c      |   3 +-
 src/lib/output_formatter.c | 127 +++++++++++++++++++++++++++++++++++++++------
 src/lib/output_formatter.h |  15 ++++--
 4 files changed, 170 insertions(+), 76 deletions(-)

commit db143d696de5165c9ef290d063b53359bf3f6144
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue May 26 15:45:01 2015 +0200

    added cmd "list filesets"

 src/cats/protos.h    |   1 +
 src/cats/sql_list.c  |  49 ++++++++++++++++
 src/dird/ua_cmds.c   |   6 +-
 src/dird/ua_output.c | 156 ++++++++++++++++++++++++++++++++++++---------------
 4 files changed, 166 insertions(+), 46 deletions(-)

commit a6dd4ffd655630d5711fc76f0382fb7a6b2040be
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue May 26 12:51:35 2015 +0200

    remove configuration item RunACL
    
    This ACL have never been used, so can can safely be removed.

 src/dird/dird_conf.c | 2 --
 1 file changed, 2 deletions(-)

commit 02fa72adadd8a1d6b118f2b961863bee8ea7b20a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue May 26 12:32:52 2015 +0200

    Fix json structure in schema export
    
    datatype is a top level object and not a sub object of resource.

 src/dird/dird_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a19cea8a9ca77cb8490f5e7545743e988cd11fe9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Feb 22 23:01:00 2015 +0100

    Allow scanning and storing restore objects with bscan.
    
    Now that we start using restore objects in more plugins
    we should also be able to restore these objects using
    bscan.

 src/stored/bscan.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 61 insertions(+), 6 deletions(-)

commit 50a20ee9286382c196a6407a7df3855f851f8fa3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Nov 12 15:37:43 2014 +0100

    Cleanup bscan code.
    
    - Use bool instead of int for return value.
    - Tweak layout.

 src/stored/bscan.c | 216 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 114 insertions(+), 102 deletions(-)

commit b1bd2bbf84d41b8dd61a3b5ee6776c59b1cfa23f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 25 22:18:33 2015 +0200

    Print ALIST_STR, ALIST_DIR and PLUGIN_NAMES as quoted strings.
    
    Update config pretty printer to print certain config types as quoted
    strings and not as unquoted ones. This makes things more failsafe if
    we use the printed config as input for the actual config eventually.

 src/lib/res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dfcf1dfc664dc8c8358ee1018c4a6f50562cfc66
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 25 16:27:14 2015 +0200

    Rebuild configure.

 configure | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

commit 4603530304296a18c0bf5484ea9e5a03b015791d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 25 16:23:26 2015 +0200

    Change configure logic to return yes or no.
    
    In no other check we use AC_MSG_WARN so lets also not use it for the
    cmocka tests.

 autoconf/configure.in | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

commit 6f1a9d00ee99190cd0972adebbc5e86771e8e455
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 23 23:05:27 2015 +0200

    Fix compiler warning.

 src/stored/btape.c | 2 ++
 1 file changed, 2 insertions(+)

commit 0e4eb11df8f09b2bc06dbf1268652e5999cdc304
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 23 23:01:27 2015 +0200

    Fix compiler warning.

 src/filed/verify_vol.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 43beec07e7a23495dd98591303bd7ea4a20383ae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 23 10:12:38 2015 +0100

    Fix FIXME from ages ago.
    
    Check ACL for access to pool by ua in update_all_vols_from_pool.
    
    Seems merging some branches removed this commit so applying it again.

 src/dird/ua_update.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

commit 84849df9145c663992ee3406b35d3ef4ab5c850b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 22 14:56:44 2015 +0200

    added filetype FT_UNSET
    
    We initialize the FF_PKT->type to FT_UNSET so that
    we can detect if the type was never correctly set

 src/findlib/find_one.c  | 1 +
 src/include/filetypes.h | 1 +
 2 files changed, 2 insertions(+)

commit b75dbb84551b93a4f2359db71dea7527edfd0541
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 22 09:44:07 2015 +0200

    Do not assume a filetype in digest_file
    
    Unfortunately, the ff_pkt->type is not set correctly when
    digest_file is called during accurate comparison.
    
    We get the value that stored before in ff_pkt->type by the last
    file/directory that was processed, not by what we actually see.
    
    That is why we do always calculate the digest now.
    
    Fixes 462: windows file daemon and zero-length files in Inc backup Description

 src/filed/verify.c | 29 ++++++++++++-----------------
 1 file changed, 12 insertions(+), 17 deletions(-)

commit 9d31fd565acb35962905dbbb917431ffe7bab140
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 22 15:43:29 2015 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in | 11 ++++++++++-
 configure            | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 1 deletion(-)

commit fb6a9a365a169cfad1fe348b0dff2695c8ad45ab
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon May 18 11:44:09 2015 +0200

    cmocka: cleanup build integration

 platforms/packaging/bareos.dsc  |  2 +-
 platforms/packaging/bareos.spec | 42 +++++++++++++++++------------------------
 2 files changed, 18 insertions(+), 26 deletions(-)

commit 4b0a7cf92f72e408d415695e77e80ee75b599f98
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Mar 6 18:15:14 2015 +0100

    improved JSON support
    
    In order to better interact with other programs,
    the Bareos Director console now supports
    the ".api json" command, to switch to JSON output.
    Currently only a subset of the commands are supported
    (the ones required by bareos-webui).
    
    To archieve this, Bareos can be linked against the jansson library.
    Other parts of Bareos (output of the configuration options)
    now also use the jansson library.

 autoconf/configure.in                         |  41 ++++
 platforms/packaging/bareos-Univention_4.0.dsc |   2 +-
 platforms/packaging/bareos.dsc                |   2 +-
 platforms/packaging/bareos.spec               |   2 +
 src/cats/cats.h                               |  11 +-
 src/cats/protos.h                             |  22 +-
 src/cats/sql.c                                | 145 ++++++-----
 src/cats/sql_list.c                           |  76 +++---
 src/console/Makefile.in                       |   5 +
 src/console/console.c                         |  15 +-
 src/console/console_conf.c                    |  32 ++-
 src/dird/Makefile.in                          |   6 +
 src/dird/dird.c                               |   5 +-
 src/dird/dird_conf.c                          | 199 +++++++--------
 src/dird/inc_conf.c                           |  12 +-
 src/dird/protos.h                             |   8 +
 src/dird/sd_cmds.c                            |   2 +-
 src/dird/ua.h                                 |   3 +-
 src/dird/ua_cmds.c                            |  25 +-
 src/dird/ua_dotcmds.c                         | 338 ++++++++++++++++++--------
 src/dird/ua_output.c                          |  50 ++--
 src/dird/ua_query.c                           |  10 +-
 src/dird/ua_restore.c                         |  12 +-
 src/dird/ua_run.c                             |   2 +-
 src/dird/ua_select.c                          |   4 +-
 src/dird/ua_server.c                          |   5 +
 src/dird/ua_update.c                          |  17 +-
 src/filed/Makefile.in                         |  23 +-
 src/filed/filed.c                             |   5 +-
 src/filed/filed_conf.c                        |  32 ++-
 src/include/baconfig.h                        |   6 +
 src/lib/Makefile.in                           |  42 +++-
 src/lib/json.c                                |  59 +++++
 src/lib/lib.h                                 |   1 +
 src/lib/mem_pool.c                            |  62 ++++-
 src/lib/mem_pool.h                            |   6 +
 src/lib/output_formatter.c                    | 291 ++++++++++++++++++++++
 src/lib/output_formatter.h                    |  88 +++++++
 src/lib/parse_conf.h                          |  19 +-
 src/lib/protos.h                              |   3 +
 src/lib/res.c                                 | 117 +++------
 src/qt-tray-monitor/tray-monitor.cpp          |   5 +-
 src/qt-tray-monitor/tray-monitor.pro.in       |   1 +
 src/qt-tray-monitor/tray_conf.cpp             |  32 ++-
 src/stored/Makefile.in                        |  10 +
 src/stored/stored.c                           |   5 +-
 src/stored/stored_conf.c                      |  36 ++-
 src/win32/lib/Makefile                        |   5 +-
 48 files changed, 1326 insertions(+), 573 deletions(-)

commit 7804e55cddc05a201c4f06b4aab5a4fb0ebe2498
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 20 13:54:54 2015 +0200

    Treat deduplicated reparse points correctly
    
    IO_REPARSE_TAG_DEDUP reparse points were treated like symlinks before.
    We now understand these reparese points and treat them like normal
    files, which is called
    
    "Nonoptimized Backup and Restore of Data Deduplication-Enabled Volumes"
    
    This means the files are treated like normal files and not like reparse
    points.
    
    Files on deduplicated volumes can be backed up and restored like files
    on any other windows filesystem.
    
    For more details see:
    
    https://msdn.microsoft.com/en-us/library/hh769304%28v=vs.85%29.aspx
    
    Fixes #467: Error in restoring deduplicated files

 src/findlib/attribs.c     | 15 ++++++++++++---
 src/win32/compat/compat.c | 49 ++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 50 insertions(+), 14 deletions(-)

commit 905ed4d9e7c414802ac3444daa67fbe01a7f5590
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 21 08:27:38 2015 +0200

    Removed debug messages with level 0

 src/win32/findlib/win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 189aa9ced242cfd486905949af8b1f6b429181d5
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 20 11:32:12 2015 +0200

    Fix newline in debug message

 src/filed/backup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 21eb07e6668c0f8892e0149517723d3a26472cca
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 13 13:44:25 2015 +0200

    Add support for RESTORE_OBJECTS in verify jobs

 src/dird/verify.c      |  5 +++++
 src/filed/verify_vol.c | 12 ++++++++++++
 2 files changed, 17 insertions(+)

commit 92f1ddde8698bca27a4ee35053328b133b730c08
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 8 10:33:28 2015 +0200

    build grow.exe to windows build

 platforms/win32/winbareos32.spec |  1 +
 platforms/win32/winbareos64.spec |  1 +
 src/win32/Makefile               |  2 +-
 src/win32/tests/Makefile         | 62 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 1 deletion(-)

commit dc35074ad4e3244e49dfba64c95987f582a3d8c0
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue May 12 15:31:37 2015 +0200

    Fix pattern matching crash on windows
    
    fileregexp-test crashed the sd when the file matches

 src/stored/bsr.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 3b539ad2f91b4b6523824c01709f32e0e7e52bef
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon May 11 22:24:08 2015 +0200

    bwild and bregex for windows

 platforms/win32/winbareos-nsi.spec |  2 ++
 platforms/win32/winbareos.nsi      |  4 ++++
 platforms/win32/winbareos32.spec   |  2 ++
 platforms/win32/winbareos64.spec   |  2 ++
 src/win32/Makefile                 | 10 ++++++++++
 src/win32/tools/Makefile           | 32 ++++++++++++++++++++++++++------
 src/win32/tools/bregexres.rc.in    | 31 +++++++++++++++++++++++++++++++
 src/win32/tools/bwildres.rc.in     | 31 +++++++++++++++++++++++++++++++
 8 files changed, 108 insertions(+), 6 deletions(-)

commit c33a33c7736fa92f1f8b51e2cce5fa2c34534d89
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 8 09:37:36 2015 +0200

    Use better wording in error message
    
    BScan uses the term  "driver" for the different databases that
    can be used, so it should say "unknown database driver" if no driver is
    specified instead of "unknown database type"

 src/cats/cats_backends.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 37b9113bbcfc66a62607494e221875c8bb808825
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 7 11:35:23 2015 +0200

    Build and Package bscan also for windows

 platforms/win32/winbareos-nsi.spec |  1 +
 platforms/win32/winbareos.nsi      |  2 ++
 platforms/win32/winbareos32.spec   |  1 +
 platforms/win32/winbareos64.spec   |  1 +
 src/win32/Makefile                 |  5 +++++
 src/win32/stored/Makefile          | 12 +++++++++++-
 src/win32/stored/bscanres.rc.in    | 31 +++++++++++++++++++++++++++++++
 7 files changed, 52 insertions(+), 1 deletion(-)

commit 7f645303b655eaf56b65c041723166f647e9cf65
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 21 16:55:06 2015 +0200

    Fix typo.

 src/lib/tls_none.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9af8ab14f67bec26811eab9ae8f3dee70eacbbef
Author: Andreas Helmcke <ahe@helmcke.name>
Date:   Tue May 19 14:41:07 2015 +0200

    Dir crashes if media.ScratchPoolId = NULL
    
    Wrong array indices while checking for NULL corrected.
    
    Fixes #469: Dir crashes if media.ScratchPoolId = NULL
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 AUTHORS            | 1 +
 src/cats/sql_get.c | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

commit 40c9908380c7503595d252b6c05bbde089c418ca
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 16 10:38:24 2015 +0200

    Only collect SD statistics from native SDs.
    
    It makes no sense to try collecting statistics from NDMP storage
    devices as we have no support for that.

 src/dird/stats.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 360832b4ca8803e3f8336127b8ad84562f709df7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue May 12 16:50:03 2015 +0200

    Revert "Make NDMP ImageStream buffer dynamically allocated size."
    
    This reverts commit d4ea100b69cdd586dfd55d9145cff5dbb54ca185.
    
    It seems we don't have the right info for dynamically sizing
    the buffers at the specific place in the library. So this needs more
    testing.

 src/ndmp/ndma_image_stream.c | 9 ---------
 src/ndmp/ndmagents.h         | 6 +++++-
 2 files changed, 5 insertions(+), 10 deletions(-)

commit 0a711790f73344d83ec5231b8f7cba18f220c766
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 11 20:18:38 2015 +0200

    Fix config pretty printer.
    
    When printing the compression used it eats an extra char so the pretty
    printer doesn't print the next option in the option string. We should
    also print GZIP without \n as we print the level after it, currently
    its printed on the next line.
    
    Fixes #466: option noatime = yes in bconcole displays like 6 (digit)

 src/dird/dird_conf.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 63706583d81f97499c42bdcde2d3c31c4763e211
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 7 18:49:38 2015 +0200

    Sync lmdb.

 src/lmdb/mdb.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

commit 91b7e928cbef076db8cf3bf4e42fc99000537025
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 7 16:28:50 2015 +0200

    Fix python-fd to process savepkt flags.
    
    For a non-option plugin which is saving a non restore first object we
    should copy the value of no_read and delta_seq from the python savepkt
    to the native one.

 src/plugins/filed/python-fd.c | 3 +++
 1 file changed, 3 insertions(+)

commit f10d37243270bcfd6eb892646d3e54be5f81d356
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 3 21:37:34 2015 +0200

    For a command plugin always use the no_read field of savepkt
    
    A command plugin can set the no_read flag in the savepkt returned by the
    startBackupFile() method in the plugin events. Up until now setting this
    no_read flag to true would not make a lot of difference as the code only
    checks for 'ff_pkt->cmd_plugin && !ff_pkt->no_read' to enable the
    do_read variable but if the do_read was already set to true and the
    plugin has set no_read to true then do_read will never be set to false
    again.
    
    These changes make the no_read flag from the plugin leading and always
    use that setting (which is false by default) as the setting to determine
    the do_read flag. Only for a non cmd-plugin we will determine the actual
    reading of the file or not by looking at the specific file type.

 src/filed/backup.c | 41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)

commit f780a233c2738d7e5306856b21520a78e85bbe41
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 6 13:04:54 2015 +0200

    Fix bareos logrotate errors
    
    Fixes #417: bareos logrotate errors

 scripts/logrotate.in | 1 +
 1 file changed, 1 insertion(+)

commit ddebdc12b0d6559b3a807edde6736149b462bd1f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 6 09:55:58 2015 +0200

    Fix PostgreSQL 9.4 on windows db setup problems
    
    Unfortunately since PostgreSQL 9.4 on windows the installer
    fails to setup the database.
    
    Obviously it is not enough anymore to set the PATH environment variable
    and call psql.exe alone. So we now call the psql.exe with full path.

 platforms/win32/winbareos.nsi | 33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)

commit 9f7ff08c600983f37e5397257d8731289bda2a1d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue May 5 16:23:00 2015 +0200

    Add win32_restore_file_attributes() to compat.c
    
    Anticipating on more file attributes that need restoring in the future
    and giving these things are pretty close to the lowlevel Windows API we
    better use some abstraction function that restores the different file
    attributes. This removes some low level calls from the more generic
    findlib.

 src/findlib/attribs.c             | 77 ++++-------------------------------
 src/findlib/bfile.c               |  2 +-
 src/win32/compat/compat.c         | 86 +++++++++++++++++++++++++++++++++++++++
 src/win32/compat/include/compat.h |  3 ++
 4 files changed, 97 insertions(+), 71 deletions(-)

commit 49f2f397341d6410065d635fe40fcd495bd950b4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue May 5 14:53:12 2015 +0200

    Fix restore of compressed files
    
    The compressed file restoration failed before on Windows 2008.
    
    We now use the variable types from the microsoft documentation,
    also now have a bytesreturned variable which is mandatory
    if lpOverlapped is NULL according to the documentation.
    
    See documentation of FSCTL_SET_COMPRESSION control code at Microsoft:
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa364592%28v=vs.85%29.aspx
    
    Fixes #463: Crash when restore compressed files

 src/findlib/attribs.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit c02e5731aef94b6b31b29be001e5221deff97b22
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 1 10:58:49 2015 +0200

    Move TRACEFILEDIRECTORY define to baconfig.h
    
    Prototype files shouldn't contain generic defines.

 src/include/baconfig.h | 2 ++
 src/lib/protos.h       | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

commit dc93de9b7835fe9117a65c877c450b51acf2f01c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Apr 30 15:21:16 2015 +0200

    Rerun overhaul
    
    - Only allow rerun of Job types that make sense e.g.
      - Backup
      - Copy
      - Migration
    
    - Rerun now also works with virtual full backups.
    
      We need to set the pool to the original sourcepool,
      not to the pool that is saved in the job record
      as that is the nextpool.
    
      Therefore we get the pool from the job definition
      so that the virtual full backup can be rerun
    
    - Only set successful Jobs to L_FULL when running as L_VIRTUAL_FULL
      This saves us from doing all kind of black magic along the way.
      Set jr.JobLevel to L_FULL only for successful jobs.
    
    Fixes #370: rerun since_jobid= runs Virtual Fulls as Fulls.

 src/cats/sql_update.c |  10 ++--
 src/dird/jobq.c       |  16 +-----
 src/dird/ua_run.c     |  89 ++++++++++++++++++++++++++++-----
 src/dird/vbackup.c    | 134 ++++++++++++++++++++++++++++----------------------
 src/include/jcr.h     |   1 -
 5 files changed, 159 insertions(+), 91 deletions(-)

commit 4da213b00f3263fdad5402e8fd13db4cf285d072
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 30 10:23:10 2015 +0200

    Use new_vol_item() in dup_vol_list()
    
    For windows not initializing the mutex leads to a fatal error as the
    cleanup of the phtread mutex will dereference a NULL pointer. The
    small overhead of using new_vol_item() is probably not a real problem.

 src/stored/vol_mgr.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit 04f0f56d1aa44c6780e5298e347143087f627c3d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Apr 28 12:17:03 2015 +0200

    Setdebug now also tells the tracefile filename

 src/dird/ua_cmds.c   | 21 ++++++++++++++-------
 src/filed/dir_cmd.c  | 15 +++++++++------
 src/lib/message.c    |  4 ++--
 src/lib/protos.h     |  2 ++
 src/stored/dir_cmd.c | 15 +++++++++------
 5 files changed, 36 insertions(+), 21 deletions(-)

commit 6f68043c5da9498150799fbca88d06d6392cdb60
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Apr 29 12:49:22 2015 +0200

    Fix debug package to contain sourcecode again

 platforms/win32/winbareos-nsi.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit c2deedfde4d96ccbc6b8d1b5a8bee27857193644
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Mar 23 15:58:48 2015 +0100

    Added cmocka unit tests
    
    First implementation of unit testing in bareos
    using the cmocka test framework.
    
    Therefore we built the cmocka libraries for
    all platforms we support (also windows).
    
    On Unix/Linux, the unit tests are executed now
    during package build by calling
       "make check"
    ,on windows we package the test exes so
    that they can be executed on the target
    system during ci tests.
    
    For the first we moved the existing
    TEST_PROGRAM main() unit tests
    of src/lib and src/findlib to a special
    test that is being compiled in the subdirectory
    unittests/ of each directory.
    
    The specfiles were also refactored.
    
    It should be easy to add unittests to other
    directories in the same manner.

 GNUmakefile.in                            |   8 +
 Makefile.in                               |   7 +
 autoconf/config.h.in                      |   3 +
 autoconf/configure.in                     |  46 +++-
 configure                                 | 103 +++++++-
 platforms/packaging/bareos.dsc            |   2 +-
 platforms/packaging/bareos.spec           |   4 +
 platforms/win32/mingw-debugsrc-devel.spec |  46 +---
 platforms/win32/winbareos-nsi.spec        |   9 +-
 platforms/win32/winbareos.nsi             |  12 +
 platforms/win32/winbareos32.spec          |  37 +--
 platforms/win32/winbareos64.spec          |  37 +--
 src/findlib/Makefile.in                   |   3 +
 src/findlib/drivetype.c                   |  47 ----
 src/findlib/fstype.c                      |  58 -----
 src/findlib/unittests/Makefile.in         | 109 ++++++++
 src/findlib/unittests/drivetype_test.c    |  58 +++++
 src/findlib/unittests/fstype_test.c       |  56 ++++
 src/findlib/unittests/protos.h            |  24 ++
 src/findlib/unittests/test_findlib.c      |  43 +++
 src/lib/Makefile.in                       |  60 +----
 src/lib/alist.c                           |  47 ----
 src/lib/base64.c                          | 137 ----------
 src/lib/berrno.c                          |   6 -
 src/lib/bsnprintf.c                       | 217 ----------------
 src/lib/devlock.c                         | 360 -------------------------
 src/lib/dlist.c                           | 194 --------------
 src/lib/edit.c                            |  21 --
 src/lib/fnmatch.c                         |  98 -------
 src/lib/guid_to_name.c                    |  23 --
 src/lib/htable.c                          |  83 ------
 src/lib/ini.c                             | 196 --------------
 src/lib/ini.h                             |   1 -
 src/lib/rblist.c                          | 118 ---------
 src/lib/rwlock.c                          | 361 --------------------------
 src/lib/scan.c                            |  78 ------
 src/lib/sellist.c                         |  40 ---
 src/lib/tree.c                            | 159 ------------
 src/lib/unittests/Makefile.in             | 109 ++++++++
 src/lib/unittests/alist_test.c            |  76 ++++++
 src/lib/unittests/base64_test.c           | 174 +++++++++++++
 src/lib/unittests/bsnprintf_test.c        | 201 ++++++++++++++
 src/lib/unittests/devlock_test.c          | 413 +++++++++++++++++++++++++++++
 src/lib/unittests/dlist_test.c            | 207 +++++++++++++++
 src/lib/unittests/edit_test.c             | 155 +++++++++++
 src/lib/unittests/htable_test.c           | 116 +++++++++
 src/lib/unittests/ini_test.c              | 201 ++++++++++++++
 src/lib/unittests/passphrase_test.c       |  45 ++++
 src/lib/unittests/protos.h                |  33 +++
 src/lib/unittests/rblist_test.c           | 151 +++++++++++
 src/lib/unittests/rwlock_test.c           | 418 ++++++++++++++++++++++++++++++
 src/lib/unittests/scan_test.c             | 125 +++++++++
 src/lib/unittests/sellist_test.c          |  84 ++++++
 src/lib/unittests/test_lib.c              |  60 +++++
 src/lib/unittests/tree_test.c             | 189 ++++++++++++++
 src/win32/Makefile                        |   2 +-
 src/win32/findlib/unittests/Makefile      |  66 +++++
 src/win32/lib/unittests/Makefile          |  68 +++++
 58 files changed, 3420 insertions(+), 2384 deletions(-)

commit fa7a54a3b19f2f003a076b36532e277d98aaa812
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Feb 21 11:20:28 2015 +0100

    Fix split brain problem.
    
    The storage daemon asks the director for the next volume to use but it
    can happen that this volume is already loaded but due to restrictions in
    the storage daemon config the job cannot reserve the volume for append.
    In the previous code this would lead to the storage daemon asking for
    a new volume and getting exactly the same as the director has no
    knowledge of the reservation limitiations but then the Storage daemon
    would give up as it already knows that the volume cannot be used. This
    patch adds some stop-gap logic in which we let the director know what
    volumes we already tried and which we don't want to get in return for
    the next available volume. The real problem is that the reservation
    logic is split between DIR and SD without both having a full overview of
    reality so this is bound to fail. The only real solution is a redesign
    of the whole reservation logic from scratch without trying to work
    around the weird way things work now.

 src/cats/protos.h    |   2 +-
 src/cats/sql_find.c  | 238 +++++++++++++++++++++++++++++++--------------------
 src/dird/catreq.c    |  98 +++++++++++----------
 src/dird/dird.h      |   6 +-
 src/dird/next_vol.c  |  23 ++---
 src/dird/protos.h    |  12 +--
 src/dird/recycle.c   |  13 +--
 src/dird/ua_output.c |   2 +-
 src/dird/ua_status.c |   2 +-
 src/stored/askdir.c  |  35 ++++----
 10 files changed, 252 insertions(+), 179 deletions(-)

commit f9690a12166c0881a2347b8cacb6e7156b691c53
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 6 16:03:29 2015 +0100

    Reformat code layout.

 src/dird/next_vol.c | 216 +++++++++++++++++++++++++++++-----------------------
 src/dird/recycle.c  |  12 ++-
 src/stored/askdir.c | 164 +++++++++++++++++++++++----------------
 3 files changed, 229 insertions(+), 163 deletions(-)

commit c959bddd5853bac64aab2f96f47e4ef4e36cdf8c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 30 10:40:21 2014 +0100

    First attempt at fixing some strange behaviour.
    
    3307 Issuing autochanger "unload slot 6, drive 0" command.
    No slot defined in catalog (slot=0) for Volume "XXXX"
    Cartridge change or "update slots" may be required.
    Warning: mount.c:207 Open device ... ERR=I/O error
    ...
    No slot defined in catalog (slot=0) for Volume "XXXX"
    Cartridge change or "update slots" may be required.
    Warning: mount.c:207 Open device
    
    Please mount append Volume "XXXX" or label a new one for:
    
    Fixes #369: Autochanger tries to load volume that is not in autochanger.

 src/stored/autochanger.c | 65 ++++++++++++++++++++++++-------------
 src/stored/mount.c       | 84 +++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 107 insertions(+), 42 deletions(-)

commit 0eb48963870fcf468dac2c3b092ee63fdb335db5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 28 23:44:50 2015 +0200

    Fix problems reported by Coverity.

 src/stored/btape.c | 4 ++--
 src/stored/dev.c   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ffc2e2ee6fb61f2a14eaedfe8fa03d4245d6ef64
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 27 13:06:51 2015 +0200

    Sync lmdb.

 src/lmdb/lmdb.h |  12 +++---
 src/lmdb/mdb.c  | 116 ++++++++++++++++++++++++++++++++++++--------------------
 2 files changed, 81 insertions(+), 47 deletions(-)

commit f4fcead94307c4c896c242e1d216c85ffb7159d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 25 17:06:01 2015 +0200

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos-Univention_4.0.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 20 ++++++++++----------
 12 files changed, 35 insertions(+), 29 deletions(-)

commit 974fdaac48dd4457f6024d6e0f5b754cb26c0f30
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Apr 10 16:50:04 2015 +0200

    Windows installer is code-signed
    
    We now use osslsigncode to sign the windows binaries.
    
    The Windows Installer as well as the dlls and exes are
    being signed.
    
    For now only with a dummy certificate.
    
    Also refactored the specfile a bit

 platforms/win32/winbareos-nsi.spec | 75 +++++++++++++++++++++++---------------
 platforms/win32/winbareos32.spec   | 37 +++++++++++++------
 platforms/win32/winbareos64.spec   | 39 ++++++++++++++------
 3 files changed, 99 insertions(+), 52 deletions(-)

commit 4b2b7d73e069fd9e6525348b0e32b665729cf64b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Apr 17 19:08:21 2015 +0200

    Fileset encryption overhaul.
    
    This patch adds the following changes:
       - Add new fileset option that forces encryption.
         This new fileset option will fail a backup when encryption is not
         enabled at the client side for a backup.
       - Implement the encryption=<cipher> fileset option which was as it
         seems available but never implemented in the fileset exchange protocol
         between the director and the filed.
    
    In the new setup things work like this:
       - When in compat mode we always fall back to CRYPTO_CIPHER_AES_128_CBC
       - When the fileset has a crypto cipher set we use that one.
         Only one cipher can be set for a backup so multiple ciphers in one
         fileset will give a fatal error.
       - When the fileset has no encryption cipher override the global configured
         encryption cipher is used.
       - When the encryption cipher is determined the force encryption fileset flag
         is checked to see if encryption is enabled for the backup.

 src/dird/inc_conf.c      |   1 +
 src/dird/inc_conf.h      |  20 +++++--
 src/filed/backup.c       |  14 ++---
 src/filed/crypto.c       |  37 ++++++-------
 src/filed/dir_cmd.c      | 138 +++++++++++++++++++++++++++++++++++++++++++----
 src/filed/filed_conf.c   |   3 +-
 src/filed/fileset.c      |  65 +++++++++++++++++++++-
 src/filed/protos.h       |   4 +-
 src/findlib/find.h       |   2 +
 src/findlib/match.c      |  72 +++++++++++++++++++++++--
 src/include/fileopts.h   |   7 +--
 src/lib/crypto.h         |  32 +++++------
 src/lib/crypto_openssl.c |  15 ++++--
 13 files changed, 342 insertions(+), 68 deletions(-)

commit 048182021911befccf4f7550498ed05ba1bd1e67
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 7 22:09:13 2015 +0100

    Make resource propagation a standard operation.

 src/dird/dird.c      |   2 +-
 src/dird/dird_conf.c | 484 ++++++++++++++++++++++++++++++---------------------
 src/dird/protos.h    |   2 +-
 3 files changed, 290 insertions(+), 198 deletions(-)

commit 894d61a159068a5a58ccefe918687539a65dff83
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 7 20:20:31 2015 +0200

    First attempt at more robust database connectivity.
    
    - Allow reconnect of database connection when no transaction is pending.
    - Allow setting of database connection failure to be fatal e.g. end
      program.

 src/cats/bdb_dbi.h        |   4 +-
 src/cats/bdb_ingres.h     |   4 +-
 src/cats/bdb_mysql.h      |   4 +-
 src/cats/bdb_postgresql.h |   4 +-
 src/cats/bdb_priv.h       |  24 ++++----
 src/cats/bdb_sqlite.h     |   4 +-
 src/cats/cats_backends.c  |  17 ++++--
 src/cats/cats_backends.h  |   4 +-
 src/cats/dbi.c            |  26 ++++++---
 src/cats/ingres.c         |  22 ++++++--
 src/cats/mysql.c          | 140 +++++++++++++++++++++++++++++++++++++++-------
 src/cats/postgresql.c     | 136 +++++++++++++++++++++++++++++++-------------
 src/cats/protos.h         |  10 +++-
 src/cats/sql_glue.h       |   4 +-
 src/cats/sql_pooling.c    |  40 ++++++++++---
 src/cats/sqlite.c         |  18 ++++--
 src/dird/dird.c           |   2 +
 src/dird/dird_conf.c      |  42 +++++++-------
 src/dird/dird_conf.h      |   6 +-
 19 files changed, 379 insertions(+), 132 deletions(-)

commit 7b2f2813366ddefc2793545eb821c4bf516b3d31
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 8 13:22:18 2014 +0100

    Refactor storage daemon flag handling.
    
    Changed all defines to an enum and switch to using bit operations.

 src/lib/parse_conf.c                      |   4 +-
 src/lib/parse_conf.h                      |   1 +
 src/lib/res.c                             |  30 ++--
 src/stored/backends/generic_tape_device.c |  74 ++++++---
 src/stored/backends/generic_tape_device.h |   2 +-
 src/stored/btape.c                        |  80 ++++++---
 src/stored/butil.c                        |  46 ++---
 src/stored/dev.c                          |  77 +++++++--
 src/stored/dev.h                          | 267 +++++++++++++++++-------------
 src/stored/lock.h                         |   2 +-
 src/stored/ndmp_tape.c                    |   4 +-
 src/stored/read_record.c                  |  30 ++--
 src/stored/record.c                       |  29 ++--
 src/stored/record.h                       |  36 ++--
 src/stored/reserve.c                      |   2 +-
 src/stored/status.c                       |  34 ++--
 src/stored/stored.c                       |   6 +-
 src/stored/stored_conf.h                  |   2 +-
 18 files changed, 424 insertions(+), 302 deletions(-)

commit eb1fd1ce66275be43d52df12a86e19e8275eb943
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 27 19:05:52 2015 +0200

    Remove sled-release/sles-release/openSUSE-release testing.

 platforms/packaging/bareos.spec | 11 -----------
 1 file changed, 11 deletions(-)

commit ae0fdba1307576c5343fed48736ae2afdd69fbc9
Author: Oleg Livshyts <oleg@dass-it.de>
Date:   Thu Apr 23 15:21:02 2015 +0200

    Always use new block for autoexclude
    
    Fixes #415: For Windows clients not working include, only exlude works

 src/win32/findlib/win32.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

commit 1ed27cbabe51839b4588d8dfcde202d2b4fb6829
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 22 20:42:05 2015 +0200

    Fix coding error.

 src/dird/ndmp_dma.c | 2 ++
 1 file changed, 2 insertions(+)

commit 69aaf4d423692984182b242422bc904aa69864ca
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Apr 12 17:13:50 2015 +0200

    Tweak layout.

 src/lib/jcr.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

commit ed0bfb4599b70e3de98a8bfa1cc740b5e2cbf3db
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 16 23:02:06 2015 +0200

    Fix accurate mode when using strip path.
    
    Fixes #366: Accurate Mode and strippath

 src/filed/accurate.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

commit 4c5c6d4eb291a012fe5e548afe5669aa6ef31726
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 16 21:50:53 2015 +0200

    Fix some problems in unsupported database pooling code.
    
    Although the pooling code is unsupported it currently crashes if you run
    reload twice. We should not use foreach_dlist() in a loop when we remove
    and free members of that list in the loop. Now we use first() and lookup
    the next element using get_next() and store things in a temp variable
    which we use in the loop to switch to the next element.

 src/cats/sql_pooling.c | 48 +++++++++++++++++++++++++++++++++++-------------
 1 file changed, 35 insertions(+), 13 deletions(-)

commit 2237247cba94498ba1c62e2f2ade786e07504c87
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Apr 10 22:23:58 2015 +0200

    Updates needed for new libdroplet API.
    
    This driver still doesn't work but at least it should compile again.

 src/stored/backends/object_store_device.c | 3 +++
 1 file changed, 3 insertions(+)

commit 4cdd92e850bc6553cee6696f1af0ff233eb96188
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Apr 10 13:05:27 2015 +0200

    remove quotes to generate valid json output

 src/dird/dird_conf.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 9081d869ee018a2729ab8f42b53ee6392fa11439
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Apr 7 12:59:42 2015 +0200

    Also replace @bindir@ in windows config files

 platforms/win32/fillup.sed | 1 +
 1 file changed, 1 insertion(+)

commit be8a917f83d3d5874848f346017d0e62c4dcb068
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Apr 3 15:38:32 2015 +0200

    Statistics thread should lock resources.
    
    As the statistics thread runs as a JT_SYSTEM thread it needs to lock the
    resource tree while traversing it as it could be reloaded. So we now
    keep track of the current store we are processing and lock things as
    short as possible. On determining the next store to use we have now the
    name of the previous one we processed in the current_store variable.
    When current_store is set we lookup that name and determine the next
    store, if for whatever reason that gets removed (by the reload) we just
    start from the beginning again collecting stats from each storage
    daemon. We also cache the storageid after connecting to the daemon and
    use that info in the actual statistics retrieval. Connecting to the SD
    is also limited to 2 retries and 1 second wait time. We want to quickly
    probe the SDs and when they are not available they will get polled in a
    next run for their statistics.

 src/dird/stats.c | 49 ++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 38 insertions(+), 11 deletions(-)

commit 666ffbe2ac5ce9ded3e87440ab1c14740e735638
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 2 10:44:57 2015 +0200

    Add support for setting the dbg_timestamp flag via setdebug.
    
    There was no way to enable the dbg_timestamp after starting the daemon
    so added functionallity analog to setting the level and trace flag to
    the generic set_debug cmd.

 src/dird/dird.h          |   1 +
 src/dird/ua_cmds.c       | 145 ++++++++++++++++++++++++++++++++++-------------
 src/filed/authenticate.c |   3 +-
 src/filed/dir_cmd.c      |  41 ++++++++++----
 src/lib/message.c        |  21 ++++++-
 src/lib/protos.h         |   4 +-
 src/stored/dir_cmd.c     |  27 +++++++--
 7 files changed, 182 insertions(+), 60 deletions(-)

commit 9f9a88d47e4a74507e74a774ceec18c6bfebd2c7
Author: Frank Bergkemper <frank.bergkemper@dass-it.de>
Date:   Mon Mar 30 11:56:30 2015 +0200

    Spelling error correction

 scripts/bareos-config-lib.sh.in     | 4 ++--
 src/cats/grant_bareos_privileges.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit e308fdc2fde68a66b502a05edc63b4b7df447993
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jan 23 11:02:49 2015 +0100

    Change the order of output for list jobs
    
    We now ORDER BY JobId instead of
           ORDER BY StartTime,JobId
    
    This prevents showing jobs without starttime timestamp
    always as last output.
    
    Fixes #403: "list jobs" command output is not always sorted

 src/cats/sql_list.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit ea3b114e957f669b316bce8f7ab3bcff6732aa13
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Mar 31 14:11:45 2015 +0200

    Use proper variable type for format attribute.
    
    DeviceIoControl with flag FSCTL_SET_COMPRESSION expect the format to be
    as unsigned short not integer which can be 32 or 64 bits depending on
    the compile. Switched this variable to uint16_t which should be an
    unsigned short.
    
    Fixes #436: Restore crash file daemon

 src/findlib/attribs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4ab4a70924c323ec597067e2303bf245b57931ea
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 27 22:53:46 2015 +0100

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bd4f42fbe2c4ea1c79d597c33498c758d7ad8c26
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 27 20:01:53 2015 +0100

    Fix compiler warning.

 src/lib/bsock.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b30eb3eedf22f94770dcca85e3f945c70c1df287
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 27 19:37:34 2015 +0100

    Some more hacking on usage() of traymonitor.

 src/qt-tray-monitor/tray-monitor.cpp | 41 ++++++++++++++++++++++++------------
 1 file changed, 27 insertions(+), 14 deletions(-)

commit b886b51be0f47c15f519b31f68ab258adc38ede7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 27 19:02:12 2015 +0100

    Fix problems on Fedora 19 and 21.
    
    Glusterfs on Fedora 19 seems to be old and as such does not allow us to
    build the gfapi-fd plugin. As Fedora 19 is not supported anyway it makes
    little sense to add a lot of work to make the gluster stuff work on that
    platform.
    
    On Fedora 21 it seems the compile flags are more strict which leads to
    the following error:
    
    tray-monitor.cpp:65:32: error: format not a string literal and no format
    arguments [-Werror=format-security]

 platforms/packaging/bareos.spec      | 2 ++
 src/qt-tray-monitor/tray-monitor.cpp | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 2b0bb00231d6a8d52baffb4b71e7edfb9195c88a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 27 18:46:58 2015 +0100

    Fix problem found by coverity.
    
    ** CID 1291923:  Memory - illegal accesses  (UNINIT)
    /src/plugins/filed/bpipe-fd.c: 780 in
    parse_plugin_definition(bpContext *, void *)()
    
    CID 1291923:  Memory - illegal accesses  (UNINIT)
    Using uninitialized value "argument_value".

 src/plugins/filed/bpipe-fd.c | 1 -
 1 file changed, 1 deletion(-)

commit cdf44495a01db9f45318c2d3028c80e3296fbd3c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Mar 5 17:32:35 2015 +0100

    Tweak layout.
    
    - If crypto is disabled on the drive make the plugin inactive.
    - As build system only builds this module when requirements are
      met no need to have dummy stubs for functions.
    - Some code layout changes.

 src/plugins/stored/autoxflate-sd.c | 55 ++++++--------------------------------
 src/plugins/stored/scsicrypto-sd.c | 17 +++++-------
 2 files changed, 15 insertions(+), 57 deletions(-)

commit 1c435ae29d78647046944d11dee019abe47329f1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Mar 27 15:50:33 2015 +0100

    Refactor "prtit" to "printit"

 src/dird/protos.h     |  2 +-
 src/dird/ua_output.c  | 36 ++++++++++++++++++------------------
 src/dird/ua_query.c   | 10 +++++-----
 src/dird/ua_restore.c | 12 ++++++------
 src/dird/ua_select.c  |  4 ++--
 src/dird/ua_update.c  |  2 +-
 6 files changed, 33 insertions(+), 33 deletions(-)

commit e1e34be4fda4cdc4fff9903f8f61e47438a70c12
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Mar 25 10:23:07 2015 +0100

    Sync lmdb.

 src/lmdb/lmdb.h |  38 +++++----
 src/lmdb/mdb.c  | 259 +++++++++++++++++++++++++++++++++++++++++---------------
 src/lmdb/midl.c |   2 +-
 src/lmdb/midl.h |   2 +-
 4 files changed, 216 insertions(+), 85 deletions(-)

commit 0a34bd6baabb3843d60c482b48214bbaee4dbe64
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Mar 24 10:20:09 2015 +0100

    Don't crash when ua->UA_sock == NULL in prtit()
    
    Some admin jobs have an UA context but not a ua->UA_sock and when you
    then blind use ua->UA_sock->fsend() you crash in the worst possible way.
    We now call ua->send_msg() which has some fallback logic when
    ua->UA_sock is NULL and then uses Jmsg with M_INFO to redirect the info
    to the Job.
    
    Its might not fully fix #418 as its seems the admin Job want to have
    interaction with the user which ain't going to work in an admin Job but
    crashing is about the worse what can happen.
    
    Fixes #418: traceback runnning after job

 src/dird/ua_output.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit a150cd1fab869b486d73f70a36358c1b2e193e6c
Author: Camilo Viecco <cviecco@gmail.com>
Date:   Thu Mar 19 20:19:02 2015 +0100

    Allow TLS 1.2 connections when using openssl
    
    Adding TLS 1.2 support will allow us to be more future-proof and have
    better ciphersuites such as as the use of ECDHE-ECDSA-AES256-GCM-SHA384.
    This patch allows tls 1.2. 1.1 and 1.0 while the broken sslv2 and
    sslv3 are disabled.
    
    Fixes #440: Allow TLS 1.2 connections when using openssl

 AUTHORS               |  1 +
 src/lib/tls_openssl.c | 16 +++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

commit 1848cdc7958bc570f9c79199d3eea782c5b4022c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Mar 21 11:58:43 2015 +0100

    Increase debug message timestamp resolution to include usecs.
    
    From a debugging standpoint you need much higher resolution then the
    existing second granularity in the debug messages. This adds the usecs
    to the debug message so we have the wanted granularity.

 src/lib/message.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 8bf64ea1338b2a1a686b328e66a23f5242673bcc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Mar 21 10:23:56 2015 +0100

    When printing protocol messages drop printing \n
    
    All protocol messages exchanged between the daemons already include an
    \n at the end so no need to print an extra one and as such create debug
    info that is much harder to parse.

 src/dird/restore.c    |  4 ++--
 src/dird/scheduler.c  |  2 +-
 src/filed/backup.c    | 12 ++++++------
 src/stored/askdir.c   |  6 +++---
 src/stored/fd_cmds.c  |  4 ++--
 src/stored/job.c      | 12 ++++++------
 src/stored/read.c     |  4 ++--
 src/stored/sd_stats.c |  6 +++---
 8 files changed, 25 insertions(+), 25 deletions(-)

commit 543bea78835e9b228b6237fd5c08a9b3123d977a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 20 16:51:08 2015 +0100

    When enabling tracing for all daemons also do it for the director.

 src/dird/ua_cmds.c | 1 +
 1 file changed, 1 insertion(+)

commit 5b42862b485352aa4b69bde4a753bd32991129c2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 20 16:34:32 2015 +0100

    Set JCR in TSD for stored and filed.

 src/filed/dir_cmd.c  | 1 +
 src/stored/dir_cmd.c | 2 ++
 2 files changed, 3 insertions(+)

commit 9a5cd605e63bcb5346f4dbbadc757dad868767eb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Mar 19 16:46:06 2015 +0100

    Changed sample files for cloud backends for new syntax.

 src/defaultconfigs/bareos-sd.d/device-ceph-rados.conf | 10 +++++++++-
 src/defaultconfigs/bareos-sd.d/device-gluster.conf    | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

commit f5df5af41aaa3c64aaaa3fca2a32d54606708583
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Mar 18 09:46:05 2015 +0100

    Use compressbound()

 src/filed/backup.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 095f66ea7743978758fcd96944baee37ed96876c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Mar 17 16:30:45 2015 +0100

    Make now stops on first error with GNUmakefile
    
    Instead of going on with the build in other
    subdirectories. As the new Makefile is not portable
    to e.g Solaris the new behaviour is added as "GNUmakefile"
    which is used by gnu make, other makes will use "Makefile".

 GNUmakefile.in        | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++
 autoconf/configure.in |   1 +
 configure             |   3 +-
 src/lib/Makefile.in   |   2 +
 4 files changed, 248 insertions(+), 1 deletion(-)

commit 5fee772b1935f3aef6eb46ddc4ba3fb9229793c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Mar 17 17:05:23 2015 +0100

    Add small README on how to add additional storage backends.

 README.storagebackend | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

commit 6cc660d74189b177e5b293e50eccd67fae0b1eb6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Mar 1 10:53:07 2015 +0100

    Updated README.md

 README.md | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

commit f9214b8f4a07d263894cf56d962575da0a99f28b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 27 20:54:58 2015 +0100

    Add escape parsing to generic plugin option parser.
    
    Backport the new escaping of the ':' using '\:' to all existing plugin
    config parsers. This code comes from the new cephfs-fd and gfapi-fd
    plugins.
    
    Fixes #428: bpipe plugin on windows and colon character problem

 src/plugins/dird/python-dir.c         | 38 +++++++++++++++++++++---
 src/plugins/filed/bpipe-fd.c          | 55 ++++++++++++++++++++++++++++++-----
 src/plugins/filed/python-fd.c         | 39 ++++++++++++++++++++++---
 src/plugins/filed/rados-fd.c          | 39 ++++++++++++++++++++++---
 src/plugins/stored/python-sd.c        | 38 +++++++++++++++++++++---
 src/win32/plugins/filed/mssqlvdi-fd.c | 39 ++++++++++++++++++++++---
 6 files changed, 220 insertions(+), 28 deletions(-)

commit 89db0759f3101e5e89b09f1fb8e6fba79bfcffa6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 23 10:12:38 2015 +0100

    Fix FIXME from ages ago.
    
    Check ACL for access to pool by ua in update_all_vols_from_pool.

 src/dird/ua_update.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

commit e1c406d4ab0e22eab0d9af3bf61cb74d1ff2ac24
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 19 13:35:02 2015 +0100

    Fix compile problem with newer droplet libs.

 src/stored/backends/object_store_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dbcd8cc7e4a82cdf70177cccfa50006c8c0fb669
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 23 10:52:53 2015 +0100

    Switch cloud backends to use the new device options
    
    Instead of parsing the archive device name of the storage device use the
    new device options string as configuration for the different cloud
    plugins.

 src/stored/backends/Makefile.in           |   3 +-
 src/stored/backends/cephfs_device.c       |  83 +++++++++++++++++---
 src/stored/backends/elasto_device.c       | 125 +++++++++++++++++++-----------
 src/stored/backends/gfapi_device.c        |  85 ++++++++++++++++++--
 src/stored/backends/gfapi_device.h        |   3 +-
 src/stored/backends/object_store_device.c |  91 ++++++++++++++++++----
 src/stored/backends/object_store_device.h |   1 +
 src/stored/backends/rados_device.c        | 104 +++++++++++++++----------
 8 files changed, 378 insertions(+), 117 deletions(-)

commit c5e93afb9612aa93c297ac46bda5ebfd986ae064
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 23 10:23:09 2015 +0100

    Add special device options config field.
    
    This adds a special field to the device resource where you can specify
    specific device options. This is mostly interesting for the cloud
    storage backends so you can specify the cloud specific parameters
    including things like usernames and passwords. We don't want to store that
    in the archive devicename as that is shown on storage status.

 src/stored/dev.c         | 10 +++++++++-
 src/stored/dev.h         |  1 +
 src/stored/stored_conf.c |  4 ++++
 src/stored/stored_conf.h |  1 +
 4 files changed, 15 insertions(+), 1 deletion(-)

commit 7a09b934e16e1bb41e10d316c24b146c145f3081
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 18:39:58 2015 +0100

    Add SPECfile packaging for Gluster and CEPH FD plugins.

 platforms/packaging/bareos.spec | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

commit f22b2a8816fecc6cdd3df60d7bd412a5f140c44b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 10:01:03 2015 +0100

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  6 +++---
 platforms/win32/mingw-debugsrc-devel.spec     |  4 ++--
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 24 ++++++++++++------------
 11 files changed, 38 insertions(+), 32 deletions(-)

commit d65baecb230b15b01e42357f004932a6d4c72500
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 09:52:34 2015 +0100

    Rebuild configure.

 autoconf/config.h.in |   9 ++++
 configure            | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+)

commit 238999251f9613d9489d89f17692d4c46a9eac39
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 09:52:33 2015 +0100

    First version of cephfs FD plugin.

 autoconf/configure.in         |    4 +
 src/plugins/filed/Makefile.in |   10 +
 src/plugins/filed/cephfs-fd.c | 1799 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1813 insertions(+)

commit 358b33b0c6b4ce53e7e4d048696b66ca98d2a4b1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 09:52:33 2015 +0100

    First version of gfapi FD plugin.

 autoconf/configure.in         |    6 +
 src/plugins/filed/Makefile.in |   10 +
 src/plugins/filed/gfapi-fd.c  | 2036 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 2052 insertions(+)

commit 6b1decf7a716083df604812bfccb1f50e413d04a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 09:52:32 2015 +0100

    First version of rados FD plugin.

 autoconf/configure.in         |   16 +
 src/plugins/filed/Makefile.in |   10 +
 src/plugins/filed/rados-fd.c  | 1114 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1140 insertions(+)

commit 9d5d356dabf303566dbf752db5ad5425986a2b65
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 2 09:52:31 2015 +0100

    Move path_list code from findlib to normal lib.

 src/findlib/mkpath.c   |  90 -------------------------------------
 src/findlib/protos.h   |   4 --
 src/lib/Makefile.in    |  10 ++---
 src/lib/path_list.c    | 120 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/lib/protos.h       |   6 +++
 src/win32/lib/Makefile |  10 ++---
 6 files changed, 136 insertions(+), 104 deletions(-)

commit 3f65364c2e0b04e6bcd3fa51d54ff06b8acd453f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Mar 26 14:02:29 2015 +0100

    Added descriptions to some config directives
    
    These descriptions are used for automatically for the documentation.

 src/dird/dird_conf.c | 87 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 58 insertions(+), 29 deletions(-)

commit 461c815f8b0974bfc84a03d6d9d5e68675924604
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Mar 26 12:36:35 2015 +0100

    VirtualFull: check if storage is configured

 src/dird/vbackup.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 83e06c189a9a1c465949eb5bcec9cca45be88b48
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Mar 23 10:56:18 2015 +0100

    allow building SLES 10 packages

 platforms/packaging/bareos.spec | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

commit fe20ed8a8a0410764568629fe8c25d0981f3e29f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Mar 19 10:36:22 2015 +0100

    Enable restore on storage with different name
    
    Before, the restoration of a backup done on a different
    storage resource was not possible.
    
    To reproduce make a backup on a autochanger, change the
    autochanger name and try to restore the old backup.
    
    JobId 38: Warning: Could not get storage resource 'Autochanger'.
    JobId 38: Fatal error: No Volume names found for restore.
    JobId 38: Fatal error: dir_cmd.c:2169 Bad response to Read Data command. Wanted 3000 OK data
    , got 3000 error
    JobId 38: Fatal error: Could not get storage resource 'Autochanger'.
    
    With this change now it works:
    
    JobId 55: Start Restore Job
    JobId 55: Using Device "Drive-1" to read.
    JobId 55: Warning: Could not get storage resource 'Autochanger'.
    JobId 55: Ready to read from volume "E01002L4" on device "Drive-1" (/dev/nst0).
    JobId 55: Forward spacing Volume "E01002L4" to file:block 0:1.
    JobId 55: End of Volume at file 1 on device "Drive-1" (/dev/nst0), Volume "E01002L4"
    JobId 55: End of all volumes.

 src/dird/bsr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 43bf86011c89a7102960b685a2ebbba72ae54e88
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Mar 13 18:32:58 2015 +0100

    Don't trash dcr->rec while doing autolabeling.
    
    Fixes #437: When storing on multiple volumes via File backend, a data
                block of 64k gets lost

 src/stored/label.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

commit d58126ed38f691b36539db294de18052ec98b5c0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 18 17:00:55 2015 +0100

    Don't RecoverAfterRestore when we restore to a file.

 src/win32/plugins/filed/mssqlvdi-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 281785694e6839809fee0d20f3187e9f50fbe4bf
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Fri Mar 6 11:46:41 2015 +0100

    Patch proposed by Marco to fix bareos-fd and bareos-sd -t segfault

 src/dird/socket_server.c   | 16 ++++++----------
 src/filed/socket_server.c  | 13 +++++++------
 src/stored/socket_server.c | 12 +++++++-----
 3 files changed, 20 insertions(+), 21 deletions(-)

commit c0b2f27c22082cce64ad3e4b479183036e2b5912
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 17 10:40:01 2015 +0100

    Fix mssqlvdi plugin to interpret where argument correctly.
    
    Fixes #425: Mssqlvdi always restores to file.

 src/win32/plugins/filed/mssqlvdi-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 81840b9e971cf4a367a76f1485e9df3744070df2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Feb 9 16:52:50 2015 +0100

    Adapt opsi specfile to single windows project

 platforms/opsi/winbareos-opsi.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit c0a0c90995c1ee671f386ed04bcbc5188c515dcc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Feb 8 13:36:15 2015 +0100

    Fix use of wrong variable for WeekOfMonth check in next hour.
    
    wom ==> nh_wom
    
    Fixes #424: Scheduling select wrong run line in schedule.

 src/dird/scheduler.c | 50 ++++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 24 deletions(-)

commit 2237fb23c9ba87509f042acda88dad242a569f0b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Feb 4 17:18:25 2015 +0100

    make Makefile more portable again
    
    Fixes 0000423: Non-portable cp in Makefile.in

 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0359c29cd4ed0721aec4bd4821483dc9fe437549
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jan 28 13:28:31 2015 +0100

    Univention 4.0: added build configuration

 platforms/packaging/bareos-Univention_3.1.dsc |  4 ++--
 platforms/packaging/bareos-Univention_3.2.dsc |  4 ++--
 platforms/packaging/bareos-Univention_4.0.dsc | 12 ++++++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

commit 2f6972ac02756e2b0df1b3973b9beb8a875c78e6
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jan 30 16:18:03 2015 +0100

    Enable build of all windows flavors in one obs project
    
    We now are able to build all windows packages in one project.
    
    Fixes #421: modify windows builds to be able to build all flavors in one obs project

 platforms/win32/mingw-debugsrc-devel.spec |  43 ++++++
 platforms/win32/winbareos-nsi.spec        | 182 +++++++++++++-----------
 platforms/win32/winbareos32.spec          | 221 ++++++++++++++++++++---------
 platforms/win32/winbareos64.spec          | 223 +++++++++++++++++++++---------
 4 files changed, 466 insertions(+), 203 deletions(-)

commit a76020b524cfd9bbccb4cdaa0eccc5de701205f2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 3 15:45:41 2015 +0100

    Use argument_value not argument in bpipe config parser.
    
    Fixes #422: bpipe plugin: Error closing stream for pseudo file file:

 src/plugins/filed/bpipe-fd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 4bce1072b629cbac2fe72215a107931b86474a26
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 6 19:32:18 2015 +0100

    Major TLS overhaul.
    
    - Make tls verify peer checking more consistent.
       - Implement the TLSVerifyPeer keyword in more places.
       - Added TlsAllowedCn keyword in more places.
    - Added the possibility to set a TlsCipherList as an
      explicit cipher list to be used for the TLS connection.
      (Format depends on the TLS library used.)
    
    Fixes #371: "TLSVerifyPeer" not available in Client resource

 src/console/console.c            |  7 +++-
 src/console/console_conf.c       | 16 ++++++++
 src/console/console_conf.h       |  4 ++
 src/dird/authenticate.c          | 20 ++++++----
 src/dird/dird.c                  | 65 ++++++++++++++++++++-----------
 src/dird/dird_conf.c             | 18 +++++++++
 src/dird/dird_conf.h             |  6 +++
 src/filed/authenticate.c         | 10 +++--
 src/filed/filed.c                |  2 +
 src/filed/filed_conf.c           |  9 +++++
 src/filed/filed_conf.h           |  2 +
 src/lib/bnet.c                   | 40 ++++++++++---------
 src/lib/bsock.c                  |  5 ++-
 src/lib/bsock.h                  |  3 +-
 src/lib/protos.h                 |  4 +-
 src/lib/tls_gnutls.c             | 14 ++++++-
 src/lib/tls_none.c               |  6 +++
 src/lib/tls_nss.c                |  6 +++
 src/lib/tls_openssl.c            | 12 +++++-
 src/qt-console/bat_conf.cpp      | 84 ++++++++++++++++++++++++----------------
 src/qt-console/bat_conf.h        |  4 ++
 src/qt-console/bcomm/dircomm.cpp | 41 +++++++++++++-------
 src/stored/authenticate.c        |  2 +-
 src/stored/stored.c              |  2 +
 src/stored/stored_conf.c         |  8 ++++
 src/stored/stored_conf.h         |  2 +
 26 files changed, 286 insertions(+), 106 deletions(-)

commit e6425a10e61be47cdc12a8f46461653c856bf73a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 12 18:42:33 2014 +0200

    First refactoring of Migrate/Copy selection code.
    
    Copy and migration jobs do the selection as part of the migration_init
    function in migrate.c. This means that this selection is done before
    the actual copy Job is about to run due to Job priority etc. As such
    it looks as if they are executed directly after being scheduled and
    do not respect maximum job settings. It would be nice if the selection
    of the jobs to be copied would be done when a normal job would start
    as such we moved the selection code to the do_migration() function
    which gets executed when the actual migration/copy Job is really
    executing.
    
    Copy and migration jobs used to make n-1 queued jobs and does one job
    itself. Also, the job seems to change its id to become the worker job.
    Wouldn't it be much better if the copy job would only queue new worker
    jobs for all jobids selected and terminate afterwards.
    
    Also made the number of Job a copy/migrate Job can spawn configurable
    instead of a hardcoded value of 100.
    
    Fixes #342: copy job enhancements

 src/dird/dird_conf.c |    1 +
 src/dird/dird_conf.h |    3 +-
 src/dird/job.c       |    3 +-
 src/dird/jobq.c      |    2 +-
 src/dird/migrate.c   | 2458 ++++++++++++++++++++++++++------------------------
 src/dird/ua_run.c    |    2 +-
 src/include/jcr.h    |    1 +
 7 files changed, 1292 insertions(+), 1178 deletions(-)

commit 80dc343d454dcd15f48399b38cc8b3c100ad674e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 27 20:59:11 2015 +0100

    Enable NDMP level support for SM_TAPE backups.
    
    Fixes #410: START BACKUP 'LEVEL' not provided, defaulting to LEVEL 0'
                after launching differential backup

 src/dird/ndmp_dma.c    | 4 ++--
 src/stored/ndmp_tape.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

commit 7ed54924eb789139761197606566e9deedf6476b
Author: Oleg Livshyts <oleg@dass-it.de>
Date:   Thu Jan 29 10:30:08 2015 +0100

    Added until_jobid parameter to "rerun" command
    
    Fixes #405: rerun command shoud be able to accept jobid interval

 src/dird/ua_cmds.c |  4 ++--
 src/dird/ua_run.c  | 23 +++++++++++++++++++----
 2 files changed, 21 insertions(+), 6 deletions(-)

commit 0d201be3c1854200a5bfec8439b4ec518b3eda1a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 28 15:11:10 2015 +0100

    Fix unknown include/exclude option: c
    
    Fixes #411: Unknown include/exclude option: c

 src/dird/dird_conf.c | 3 +++
 1 file changed, 3 insertions(+)

commit 740e35460be4853966c69ae96bfae88222f180e1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 27 09:38:21 2015 +0100

    Refactor pretty printer of schedules.
    
    Seems the pretty printer had some problems with printing some schedules,
    Given that this is almost a programming language this is not to
    surprising. Changed the code to first determine if all bits are set so
    we don't do hard work of finding intervals if we are not going to print
    the interval at all.
    
    Fixes #407: print_config_run() doesn't print months
    Fixes #409: Console Shows Incorrect Schedule

 src/dird/dird_conf.c | 316 +++++++++++++++++++++++++++++++++++----------------
 1 file changed, 219 insertions(+), 97 deletions(-)

commit 59ae44f97f10b4eea0644a55a4ae84e1603faf9b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Jan 27 14:49:57 2015 +0100

    New openssl packages have two subpackages
    
    Now the libs have their own package which we also need.

 platforms/win32/winbareos-nsi.spec | 4 ++++
 1 file changed, 4 insertions(+)

commit ceefbd2563e98b3c441190be2d417245b0630535
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 26 14:31:29 2015 +0100

    Explicitly say the protocol needs to be set before setting a password.

 README.NDMP | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bb43ec03b353a40ccddeb8feefb7a9bafa3bb71e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 26 14:23:26 2015 +0100

    Explitly check password encoding for NDMP resources.
    
    If you define for a client or storage daemon the protocol after you
    configured the password it will store the password using the wrong
    encoding as at the time of parsing it still thinks you will be using the
    native protocol.
    
    Fixes #408: Director crashes on password encoding for NDMP storage.

 src/dird/ndmp_dma.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 30bfb245acfdf44c10f7169364bf0a9594449576
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Jan 23 16:17:11 2015 +0100

    added requires for useradd in preinstall
    
    Some Bareos packages create user/group "bareos" during preinstall.
    This change added the neccessary package requirements.

 platforms/packaging/bareos.spec | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit 53fa745060609b5f6123c03258fc1f809435ab01
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jan 22 16:14:24 2015 +0100

    debian: changed package dependencies
    
    to get rid of a problem introduced when fixing #769536 (get rid of circular dependencies).
    Now the package bareos-database-common can be installed and purged
    without configure problems because of missing database backends.
    
    Closes: #771870 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771870)

 debian/bareos-database-common.postrm | 10 +++++-----
 debian/bareos-database-common.prerm  | 10 ++++++----
 debian/control                       | 14 +++++++-------
 debian/control.in                    | 14 +++++++-------
 scripts/bareos-config-lib.sh.in      | 11 ++++++++---
 5 files changed, 33 insertions(+), 26 deletions(-)

commit efb0aba201d9dc307cf965da725d475b7d4a0092
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jan 22 12:42:06 2015 +0100

    Make btape use a BTAPE_DCR instead of a DCR
    
    After the changes introduced with commit
    8a90b586d9d15838b9b9e5becccc44df109a7755
    ( Implement the DCR (Device Control Record)
      as an inherited class of SMARTALLOC)
    , btape used the wrong type of DCR.
    
    Now we use a BTAPE_DCR.
    
    Fixes #400: btape fill test fails

 src/stored/bcopy.c    | 13 +++++++++++--
 src/stored/bextract.c |  3 ++-
 src/stored/bls.c      |  3 ++-
 src/stored/bscan.c    |  9 ++++++---
 src/stored/btape.c    |  7 +++++--
 src/stored/butil.c    | 31 ++++++++++++++++---------------
 src/stored/protos.h   |  2 +-
 7 files changed, 43 insertions(+), 25 deletions(-)

commit b3dc3741955a593febd9142d47f66eebbe5a2044
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jan 21 11:47:29 2015 +0100

    Fix btape problem with new reservation logic
    
    btape was not able to reserve the first tape
    for reading because dcr->m_will_write was not cleared.

 src/stored/btape.c | 2 ++
 1 file changed, 2 insertions(+)

commit bd050a99f682f0e991d6f288209bceff9654964a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 21 13:38:01 2015 +0100

    Fix removing of supplemental groups.
    
    Need some coding as usermod -a doesn't work on all platforms.
    We now figure out if we are creating a user from scratch e.g.
    its doesn't exist at all or need to update it. For that we look
    at all groups the user currently is in and add the wanted groups
    if they are missing. This should work on all platforms as we
    script around and only use options available on all platforms.
    When we use usermod -G we supply the full list groups including
    any specific groups added by the sysadmin.
    
    Fixes #382: Don't remove supplemental groups on install.

 scripts/bareos-config-lib.sh.in | 95 ++++++++++++++++++++++++++++++-----------
 1 file changed, 70 insertions(+), 25 deletions(-)

commit 7ce405700c565cb820d9a70b0f8c0cde1ebf048f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 21 14:35:04 2015 +0100

    Add missing B_ELASTO_DEV to is_file() method.

 src/stored/dev.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit df71d8a1b91954712fba9a0be8474be63aa00759
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 19 17:25:13 2015 +0100

    Rename dbcheck.exe -> bareos-dbcheck.exe
    
    on unix the name is bareos-dbcheck

 platforms/win32/winbareos-nsi.spec | 2 +-
 platforms/win32/winbareos.nsi      | 4 ++--
 platforms/win32/winbareos32.spec   | 2 +-
 platforms/win32/winbareos64.spec   | 2 +-
 src/win32/dird/Makefile            | 8 ++++----
 src/win32/dird/dbcheckres.rc.in    | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

commit fdab404d80810b8e58142fc4be88f7875eb474e6
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 19 14:40:28 2015 +0100

    Fix show job=<jobname> by keyword order change
    
    As job is also the beginning of jobdefs, the keyword
    parser matches jobdefs if show job is called.
    
    Reordering the keywords fixed the problem.
    
    Fixes #399: show job=<jobname> does not work

 src/dird/ua_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 760e16d04f23475c6bdb2d051531ef5e7792bf0d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jan 18 10:39:43 2015 +0100

    Fix compiler warning.

 src/console/console_conf.c | 1 -
 1 file changed, 1 deletion(-)

commit 941c821c8cf806a41515654b03ec824ec7bd7caf
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 16 20:37:01 2015 +0100

    Fix windows build for new configure cmd.

 src/win32/dird/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 0aa1d97f5bdca7eac3b370f594e28b3e6cf1a23e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 16 19:13:26 2015 +0100

    No git-core on RHEL5 and CentOS5.

 platforms/packaging/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit 86244619b86c78718aa63285189329de3fe16a90
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 15 20:08:54 2015 +0100

    Use PM_FNAME instead of PM_NAME for some path like buffers.

 src/dird/testfind.c | 4 ++--
 src/dird/ua_tree.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 1231e43f8afa65249d41834a87788d227f166113
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 13 10:36:53 2015 +0100

    Ignore tape labels in NDMP code.
    
    When we encounter some sort of tape label in the backup stream
    (e.g. FileIndex < 0) then we should just skip that data and not
    use the default handling which leads to an EOF. When we now encounter a
    unknown data stream we also print an error including the number of the
    unwanted datastream.

 src/stored/ndmp_tape.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit d4ea100b69cdd586dfd55d9145cff5dbb54ca185
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jan 10 10:46:50 2015 +0100

    Make NDMP ImageStream buffer dynamically allocated size.
    
    Instead of hardcoding the Image Stream buffer to 100 K size it to the
    actual recordsize in use by the NDMP Job. This way we don't have to
    check if the recordsize specified is outside the allowable size.

 src/ndmp/ndma_image_stream.c | 9 +++++++++
 src/ndmp/ndmagents.h         | 6 +-----
 2 files changed, 10 insertions(+), 5 deletions(-)

commit 5835d07a1ac79baad3ee66df1c743816a8b71b62
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 18 10:36:51 2014 +0100

    Add checks for SMTAPE blocksizes.

 src/dird/ndmp_dma.c | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

commit f0f7fb656bd7276f7e2779b867950a8abf5982c3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jan 11 19:48:59 2015 +0100

    Add configure console command.
    
    For now this is a dummy command but eventually this will implement
    the interactive configuration of the director. For now we only use
    this command to determine if we should print the sensitive data
    when dumping resources in the show command. If you have a console
    that allows either the configure or any command you will see the
    sensitive data (passwords) otherwise not.

 src/console/console_conf.c        | 10 +++++++---
 src/dird/Makefile.in              |  7 ++++---
 src/dird/dird_conf.c              | 36 +++++++++++++++++++-----------------
 src/dird/dird_conf.h              |  3 +--
 src/dird/ua_cmds.c                |  3 +++
 src/dird/ua_configure.c           | 36 ++++++++++++++++++++++++++++++++++++
 src/dird/ua_output.c              | 13 ++++++++++---
 src/filed/filed_conf.c            |  6 ++++--
 src/lib/parse_conf.c              |  9 ++++-----
 src/lib/parse_conf.h              | 12 +++++++-----
 src/lib/res.c                     | 33 +++++++++++++++++++--------------
 src/qt-console/bat_conf.cpp       |  6 ++++--
 src/qt-tray-monitor/tray_conf.cpp |  5 +++--
 src/stored/status.c               |  2 +-
 src/stored/stored_conf.c          |  6 ++++--
 15 files changed, 126 insertions(+), 61 deletions(-)

commit ae7f8ab613e8300954a374ba1081968b817a85ac
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Dec 5 17:10:28 2014 +0100

    daemons: dumping configuration and schema
    
    json schema export (-xs):
        This has already been implemented for bareos-dir.
        This patch adds exporting the configuration schema
        by calling the program with the "-xs" option
        also for bareos-fd, bareos-sd, bconsole and tray-monitor.
    
        json schema export by using option "-xs", instead of option "-x".
    
        Add schema export schema of datatypes.
    
    extend RES_ITEM with versions and description
        Configuration directives can now contain information about
        when they have been added and a short description.
        This helps creating an update-to-date documentation.
    
    beautfied JSON output
    
    Daemons dumps current configuration when called with option "-xc"
    
    Issues: #190: Bareos should be able to provide information about possible configuration options

 src/console/console.c                |  52 +-
 src/console/console_conf.c           | 133 +++--
 src/console/console_conf.h           |   4 +
 src/dird/dird.c                      |  50 +-
 src/dird/dird_conf.c                 | 969 ++++++++++++++++++++++-------------
 src/dird/dird_conf.h                 |   5 +
 src/dird/inc_conf.c                  | 104 ++--
 src/dird/protos.h                    |   6 +
 src/dird/run_conf.c                  |   2 +-
 src/filed/filed.c                    |  50 +-
 src/filed/filed.h                    |   3 +-
 src/filed/filed_conf.c               | 199 ++++---
 src/filed/filed_conf.h               |   5 +-
 src/lib/msg_res.h                    |  34 +-
 src/lib/parse_conf.c                 |  13 +-
 src/lib/parse_conf.h                 |  65 ++-
 src/lib/res.c                        | 149 +++---
 src/qt-console/bat_conf.cpp          |  68 +--
 src/qt-tray-monitor/tray-monitor.cpp |  42 +-
 src/qt-tray-monitor/tray-monitor.h   |   4 +
 src/qt-tray-monitor/tray_conf.cpp    | 157 +++---
 src/qt-tray-monitor/tray_conf.h      |   3 +
 src/stored/stored.c                  |  54 +-
 src/stored/stored_conf.c             | 478 ++++++++---------
 src/stored/stored_conf.h             |   6 +-
 25 files changed, 1585 insertions(+), 1070 deletions(-)

commit 4fee68d7f0df7645751d4e5fa8151c5cc002d09b
Author: Bruno Friedmann <bruno@ioda-net.ch>
Date:   Sun Jan 4 09:47:30 2015 +0100

    Make systemd aware of normal daemon exit status
    
    Make systemd aware of normal daemon exit status, so service are in
    success state after stop or restart.
    
    Fixes #386: Add special SIGNAL to service unit (systemd) to support
                correctly normal exit status
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/systemd/bareos-dir.service.in | 1 +
 platforms/systemd/bareos-fd.service.in  | 1 +
 platforms/systemd/bareos-sd.service.in  | 1 +
 3 files changed, 3 insertions(+)

commit 68613645dc29443e5284c0738000bcfbaa21ff4e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 1 10:50:47 2015 +0100

    Make the old syntax parsing of bpipe somewhat more robust.
    
    Instead of triggering on the fact that we find a = in the syntax
    explicitly check if we find the new syntax keywords and if not pretend
    its an old syntax plugin definition. Still make mixing of syntax however
    fatal.

 src/plugins/filed/bpipe-fd.c | 89 ++++++++++++++++++++++++--------------------
 1 file changed, 48 insertions(+), 41 deletions(-)

commit b8bd09405ea9a6c0ade7d5e947f2d5881681d889
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 29 16:26:47 2014 +0100

    ACL enhancements
    
    - Add support for console profiles
    
    This adds some basic support for defining a profile with some basic ACLS
    which can be referenced by any console resource. This way you don't have
    to define the same ACLs over and over again for each named console.
    
    The way this works is that the ACL definition in the console resource is
    checked first to see if it already allows you to access the wanted
    resource. If that is not the case it will check if your named console is
    connected to a certain profile and use the ACL setting in that profile
    to get access to the resource.
    
    There is one special case and that is the where ACL if you want to use
    the where ACL in the profile you should set the where ACL of the named
    console to something like *none* as an empty where ACL means allow
    restore anywhere.
    
    - Add support for regular expressions in ACLs.
    
    This makes ACLs a lot more universal and usable.
    
    e.g. you can now use a poolAcl which states: .*NDMP.* and get access to
    all pools which match that regular expression (Thing are compared case
    insensitive).
    
    - Add support for deny ACLs
    
    e.g. a command acl like this will work now: !show, *all*
    
    Which will allow all commands but not show.

 src/console/console.c |   3 ++
 src/dird/dird_conf.c  |  43 ++++++++++++++-
 src/dird/dird_conf.h  |  15 ++++--
 src/dird/ua_acl.c     | 146 +++++++++++++++++++++++++++++++++++++++++---------
 src/dird/ua_cmds.c    |   6 ++-
 src/dird/ua_dotcmds.c |  65 +++++++++++++++++++---
 src/dird/ua_output.c  |   1 +
 7 files changed, 240 insertions(+), 39 deletions(-)

commit 09e281cff5db53b8fe7179e30e90e53de36d8748
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 29 18:47:50 2014 +0100

    Add show disabled schedules cmd.
    
    Analog to show disabled jobs and show disabled clients

 src/dird/ua_output.c | 47 +++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 6 deletions(-)

commit b4869fbf3f1960751ca6876620661c0f562e0a5f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 30 09:56:40 2014 +0100

    Cleanup signal handling.
    
    SIGTSTP should not redirect you to the internal signal handler but just
    use the normal signal handling e.g. stop the process.

 src/lib/signal.c | 192 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 103 insertions(+), 89 deletions(-)

commit 51d54565116640e0602edc616ff7b02509ec74f5
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Jan 13 14:49:48 2015 +0100

    add git log and configure settings to packages
    
    Added a build subdirectory to the documentation path in the bareos-common
    packages that contain information about the source code and the configure options used
    to build this package.
    
    Fixes 394: add git and configure information to the packages

 Makefile.in                     |  8 +++++++-
 debian/bareos-common.docs       |  1 +
 platforms/packaging/bareos.dsc  |  2 +-
 platforms/packaging/bareos.spec |  9 ++++++++-
 scripts/git-info.sh             | 42 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 59 insertions(+), 3 deletions(-)

commit bca51e3148b4fc890aeae06ec0fc6c0c2fe80f64
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 16 11:12:48 2015 +0100

    Use either the CreationTime or ChangeTime of the FILE_BASIC_INFO.
    
    We switched to using the GetFileInformationByHandleEx() API call
    when available to also get changes to directories when ACLs get
    updated. It seems we need to take the highest value of the
    CreationTime and ChangeTime value of the FILE_BASIC_INFO structure
    to get a proper st_ctime stat structure field.

 src/win32/compat/compat.c | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

commit a095aae44ef78491342630065dfdc818d1fb583a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jan 12 17:47:45 2015 +0100

    make get_database_version_by_release more flexible
    
    instead of requireing a full list of all releases,
    fetch the closests smaller release and take database version from it.
    
    Fixes 391: make get_database_version_by_release don't rely on a versions.map that contains information about all releases

 scripts/bareos-config-lib.sh.in | 10 +++++++++-
 src/cats/ddl/versions.map.in    | 21 ++-------------------
 2 files changed, 11 insertions(+), 20 deletions(-)

commit 7f36c9834e1f4db5e641884e5b37cf0726c4d70b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jan 12 15:14:05 2015 +0100

    fixes a problem with none existing DDL files

 platforms/debian/Makefile.in | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

commit d82d644ac1ed9d9e72d59733e5750aa05c23bdd4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jan 8 16:15:03 2015 +0100

    update database version list

 src/cats/ddl/versions.map.in | 6 ++++++
 1 file changed, 6 insertions(+)

commit cd0049a2a81762c9d9f4ee1b1cc3aa54ebfd2e55
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jan 7 16:47:07 2015 +0100

    Do not show false messagebox when moving cfgfile

 platforms/win32/winbareos.nsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 000119a525ede3e4ebeeb3e5181cc1017c909d01
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jan 7 16:05:16 2015 +0100

    Do not check DB if dir is not installed
    
    Fixes #0000389: Windows installer asks for postgres settings while installing
    client only

 platforms/win32/winbareos.nsi | 2 ++
 1 file changed, 2 insertions(+)

commit a5c94e4bb1f51c1df71b5e74604c7eba4953459f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Dec 31 18:29:57 2014 +0100

    fixes typo (Check Label -> Check Labels)

 src/defaultconfigs/bareos-sd.d/device-tape-with-autoloader.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2d13e5643dc123daf83e7e4cf1cb7b65c6c8e252
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 30 21:44:06 2014 +0100

    Use explicitly uint32_t in btape for filling.

 src/stored/btape.c | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

commit c12d25ff1abec2d57381f666b0e75eb2b032300c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 24 13:21:55 2014 +0100

    Fix director crash on dir command with long filenames
    
    Fixes #383: dir command in bconsole crash bareos-dir

 src/dird/ua_tree.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit ac7bd72d92b4035e92cb62026529adab8787f555
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 23:19:19 2014 +0100

    Revert supplemental groups scripting.
    
    This might not be fully right but until we have time to fix
    the new code this is better then nothing.

 scripts/bareos-config-lib.sh.in | 73 ++++++++++-------------------------------
 1 file changed, 18 insertions(+), 55 deletions(-)

commit 2d942109d6a32a0ce51f40f7247ae3067c26889c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 22:14:35 2014 +0100

    Some more fixes to the supplemental groups scripting.

 scripts/bareos-config-lib.sh.in | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit 1ce286e155a9803c52321e65622ce39987d1073c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 21:01:44 2014 +0100

    Work around the fact that the usermod doesn't always have -a
    
    Fixes #382: Don't remove supplemental groups on install.

 scripts/bareos-config-lib.sh.in | 61 ++++++++++++++++++++++++++++++-----------
 1 file changed, 45 insertions(+), 16 deletions(-)

commit 59d925f29abfd3ca1dfd62e7c5770b7f403489e6
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat Dec 20 13:44:57 2014 +0100

    Debian: fixes a problem when migrating to dbconfig
    
    The Bareos database maintenance scripts for the postgres backend
    create the Bareos database using the database administrator account
    and grant permission to the Bareos database user.
    When a Bareos update requires a database schema update,
    the user has to call
    update_bareos_tables
    and
    grant_bareos_privileges.
    
    When using dbconfig (Bareos >= 14.1),
    only update_bareos_tables is performed,
    as grant_bareos_privileges would require variable substitutions (db_name, db_user and db_password),
    which is not supported in dbconfig (dbc_sql_substitutions only works on installing, not on updates).
    Therefore it is necessary, that new tables are created as the Bareos database user,
    so it automatically has sufficient permissions.
    As the Bareos database user can not drop tables not created by himself,
    the drop statement must be executed as database administrator user.
    
    This patch implements this.
    
    The resuls to:
    
    Updating from Bareos < 14.1:
    database: owner postgres
    tables already existing before 14.1: owner postgres, permission to baroes
    tables created after 14.1: owner bareos
    
    Installing Bareos >= 14.1:
    database: owner bareos
    tables:   owner bareos
    
    Fixes #380: Debian: when migrating from 13.2 to 14.2 with postgres backend, database permissions are not set correctly

 debian/bareos-database-common.config.in      |  2 +-
 debian/bareos-database-common.postinst.in    |  3 +++
 debian/bareos-database-mysql.install.in      |  2 +-
 debian/bareos-database-postgresql.install.in |  1 +
 debian/bareos-database-sqlite3.install.in    |  2 +-
 platforms/debian/Makefile.in                 | 30 +++++++++++++++++++++-------
 6 files changed, 30 insertions(+), 10 deletions(-)

commit 6fe0fb92f84dce7665d4bc56d184d4c67bfcccf7
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Dec 19 17:45:28 2014 +0100

    Debian: fixes migrating from psql with password
    
    Prevents a problem if migrating from a version without dbconfig to a version with dbconfig
    and have a postgresql database with password access.

 debian/bareos-database-common.config.in | 5 +++++
 1 file changed, 5 insertions(+)

commit 217730a962eee3e95ad8eb76e8bf858fee0bb09e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 14:20:46 2014 +0100

    Fix problem with getting symlink data on windows.

 src/win32/compat/compat.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

commit 0ee66a2257332942fe5ba8ea01d632a0904d72f1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 09:50:42 2014 +0100

    Cleanup device backend cache on exit.

 src/stored/btape.c  | 4 ++++
 src/stored/protos.h | 4 ----
 src/stored/stored.c | 4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)

commit f97017526d5770eba313b1a7be2d49ad4b06d82c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 23 19:20:49 2014 +0100

    Fix removing of supplemental groups.
    
    When we add bareos to the right supplemental groups we should use
    the -a option of usermod so it leaves the other supplemental groups
    alone.
    
    Fixes #382: Don't remove supplemental groups on install.

 scripts/bareos-config-lib.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4aef19a5f7e292dc599e8f4f4427bca4bc908ce1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Dec 23 09:36:43 2014 +0100

    Fix compiler warnings in btape

 src/stored/btape.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 65f1435806e39f8e560f415416ef3906de3fb735
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 22 17:11:35 2014 +0100

    Add JobACL to monitor console to see jobs
    
    Looks like before the status command did not limit the
    view of jobs according to the JobACL.
    
    As the ACLs now have been fixed, we need to allow the
    monitor ressource to see all jobs because otherwise
    we see nothing.
    
    Fixes #378: Bareos tray monitor - not accurate information from
    bareos-dir

 platforms/univention/conffiles/etc/bareos/bareos-dir.conf | 1 +
 src/defaultconfigs/diskonly/bareos-dir.conf.in            | 1 +
 src/defaultconfigs/legacy/bareos-dir.conf.in              | 1 +
 3 files changed, 3 insertions(+)

commit 4e7107b0850ad00a4c721a7ae78a34e8c92e7817
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 22 12:08:21 2014 +0100

    Fix btape bug with big blocksizes
    
    there is an overflow when calculating the maximum file size, which leads
    to a eof being written to the tape where btape does not expect it.
    
    Then during the read of the data the unexpected eof lets the test fail.
    
    This fix corrects this overflow.
    
    We also set a higher debug level on the block writings in block.c
    
    Fixes #381: btape tests fail on blocksizes > 256k

 src/stored/block.c | 4 ++--
 src/stored/btape.c | 7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

commit 841f4f74333aee3a31974485689eeb9d27b75020
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 18 14:59:42 2014 +0100

    Add missing bpipe fd plugin to filedaemon pkg.

 debian/bareos-filedaemon.install.in | 1 +
 1 file changed, 1 insertion(+)

commit 773aa2bf63d43d3cf1ea61754a5cb86ba8a79a5d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 17 14:27:57 2014 +0100

    When initiating the TLS connection use tls_server.

 src/filed/authenticate.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit 441f73febddeff2278c6ceda39a9ac187e356be4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Dec 17 19:14:16 2014 +0100

    Debian: fixes a problem when migrating to dbconfig
    
    in some cases, Bareos fails to apply dbconfig setting to the Bareos configuration file.
    With this change, these failures only result in a warning,
    instead of letting the package installation fail.
    
    Fixes #376: dkpg error

 debian/bareos-database-common.postinst.in | 4 ++--
 scripts/bareos-config-lib.sh.in           | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

commit 1941cbbf86d6a30c8286f529617d0d31bf0b7b4f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Dec 17 12:20:53 2014 +0100

    OPSI: limit version to 32 characters

 platforms/opsi/winbareos-opsi.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 276d78a5fca4c162320dc546aa3f4cad1e549295
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Dec 15 17:24:23 2014 +0100

    adapted for current obs git service

 platforms/opsi/winbareos-opsi.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 20cc0f96932f34442336391f9c87a3b695104716
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Fri Dec 12 17:18:36 2014 +0100

    Add missing set_file_attributes() method to base class.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/BareosFdPluginBaseclass.py | 7 +++++++
 1 file changed, 7 insertions(+)

commit 4fdcca02995f4c987aff944c76fb7d87eb68ad09
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 12 13:08:51 2014 +0100

    Add support for changed rados_write API.
    
    Seems from version 0.68 to 0.69 the rados_write
    function all of a sudden gives back 0 when succeeded and
    no longer the actual bytes it wrote. As we also want to
    support the old API it now checks the LIBRADOS_VERSION_CODE

 src/stored/backends/rados_device.c | 36 ++++++++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)

commit 2ce0c0ce02e92dad8f1a531bc8b8de5b6743b2e7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 12 10:00:15 2014 +0100

    Cleanup bit operations.

 src/filed/fd_plugins.c | 10 +++++-----
 src/findlib/find.c     |  4 ++--
 src/findlib/match.c    |  2 +-
 src/lib/bits.h         |  7 ++++++-
 4 files changed, 14 insertions(+), 9 deletions(-)

commit 48bb37c48ece0415990aa10f7d838e33ee9ef5f7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 9 15:16:10 2014 +0100

    First try at adding ceph storage backends for RHEL7.

 platforms/packaging/bareos.spec | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

commit f65231c6fc8316da6002072c2892ce3ab1791228
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 11 17:11:09 2014 +0100

    Fix plugin flag handling.
    
    - Save ff_pkt->flags before processing a file by a plugin.
    - Restore the ff_pkt->flags after processing.
    - Fix python-fd so it handles the flag field now everywhere correctly.

 src/filed/fd_plugins.c        | 18 ++++++++++++++----
 src/plugins/filed/python-fd.c | 30 ++++++++++++++++--------------
 2 files changed, 30 insertions(+), 18 deletions(-)

commit 8fbcc80bb3ea04632e0cffa71a82c73b99a353d5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 11 14:29:45 2014 +0100

    Fix thinko.

 src/plugins/filed/python-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4572b7f7c9617ab90e32bbeb8372b7a03cbddd70
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 10 20:18:09 2014 +0100

    Remove some build noise by linking against libbareos.

 src/cats/Makefile.in            | 22 +++++++++++-----------
 src/findlib/Makefile.in         |  2 +-
 src/lib/Makefile.in             |  2 +-
 src/stored/Makefile.in          |  2 +-
 src/stored/backends/Makefile.in | 32 ++++++++++++++++----------------
 5 files changed, 30 insertions(+), 30 deletions(-)

commit 738bef9441a7c422bb49de1420d2ebfd298287c6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 10 17:18:02 2014 +0100

    Upgrade path cache to generic interface.

 src/filed/dir_cmd.c       |  6 +++-
 src/findlib/create_file.c | 17 ++++++----
 src/findlib/mkpath.c      | 82 +++++++++++++++++++++++++++--------------------
 src/findlib/protos.h      |  7 ++--
 4 files changed, 68 insertions(+), 44 deletions(-)

commit 2777a30058b99e3e3a86205090f2f9e50ba0ee74
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 9 12:49:16 2014 +0100

    Fix error message.

 src/stored/sd_backends.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 8fcc68f0353802b7cb90747f5e893f4135bfe4a9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 8 14:03:37 2014 +0100

    One more patch to LMDB to fix non GCC builds.
    
    Use different memory barrier when compiled with Solaris Studio compiler
    as __sync_synchronize is GCC only.

 src/lmdb/mdb.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit b0ab829894cdea6d790351cc24bce14c37283fcc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Dec 7 22:16:27 2014 +0100

    Fix typo.

 README.dbconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 227840dfdd6ae1fd2e916f652dedcc1d9417ce33
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat Dec 6 22:10:21 2014 +0100

    Fix silent uninstall problem

 platforms/win32/winbareos.nsi | 5 +++++
 1 file changed, 5 insertions(+)

commit 20b3b322b08c4965b02a9bc9d2b67a260f1289c6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Dec 6 15:15:37 2014 +0100

    Try to make LMDB code work on more platforms.

 src/lmdb/Makefile.in | 1 +
 src/lmdb/mdb.c       | 2 ++
 2 files changed, 3 insertions(+)

commit af5555fad75eff3df2689f4358414b5c873c19f9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Dec 6 13:04:47 2014 +0100

    Sync lmdb.

 src/lmdb/lmdb.h |  31 ++-
 src/lmdb/mdb.c  | 626 +++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 435 insertions(+), 222 deletions(-)

commit c78413ca562a5a39bebab31fbdc1c5ea71cb92e1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 5 16:44:24 2014 +0100

    Fix python-fd save packet flag handling.

 src/plugins/filed/python-fd.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 5a5c47678c39ab7674520df491ca60c9f6485ef0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 4 19:27:19 2014 +0100

    Fix problem with *all* acl.
    
    We more or less ignored this setting for named consoles. Probably a side
    effect of the adding of the auditing. So we didn't ever allow access
    which we should have done.

 src/dird/ua_acl.c | 1 +
 1 file changed, 1 insertion(+)

commit 4d2613b8beb78b7a7b6c0810b1cdd30220c9473b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 4 18:47:12 2014 +0100

    Make sanity check configurable.
    
    Use some macros for setting the minimum and maximum size
    of an Hello message used for protecting our connections into
    the SD and DIR.
    
    This also fixes the problem for the console director message
    which can be shorter then 25 bytes.

 src/dird/socket_server.c   | 8 +++++++-
 src/stored/socket_server.c | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

commit f6d12db619a9f8187d180d6678e7b63f360592fa
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Dec 4 14:48:20 2014 +0100

    tweak console help message
    
    Issues #181: Add command for doing a name resolution on client

 src/dird/ua_cmds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 20ba22b473fd8011ec28dd07c6b721fe904ae9d4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Dec 4 14:37:11 2014 +0100

    added hint how to preserve foreign tapes
    
    Fixes #351: Detect and refuse to write Label on LTFS formatted tapes

 src/defaultconfigs/bareos-sd.d/device-tape-with-autoloader.conf | 4 ++++
 1 file changed, 4 insertions(+)

commit 2427c2037ecf0fc8c63fcabc03d253333b4e9398
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 3 15:46:20 2014 +0100

    Mark subsysdirectory as deprecated.
    
    SubSysDirectory is not used anywhere but it could be some people have it
    in their configs so for now its deprecated and will be removed in a
    future version.

 src/dird/dird_conf.c      | 4 ++++
 src/dird/dird_conf.h      | 1 +
 src/filed/filed_conf.c    | 2 +-
 src/stored/stored.conf.in | 1 -
 src/stored/stored_conf.c  | 2 +-
 5 files changed, 7 insertions(+), 3 deletions(-)

commit 565ff129eca3c02968a127cfec5343660ad76ed2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Dec 3 12:39:22 2014 +0100

    Fix silent install for client only
    
    We now skip database check if dir not being installed

 platforms/win32/winbareos.nsi | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

commit 7f582574d397ed66b7c9a54e6e6a02babe65a3ba
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 3 12:50:49 2014 +0100

    Fix windows build without QT.

 src/win32/Makefile | 3 +++
 1 file changed, 3 insertions(+)

commit 67ef26302a8ceb232d14b87b9ef5ca9949c4ebf8
Author: Oleg Livshyts <oleg@dass-it.de>
Date:   Wed Dec 3 10:32:50 2014 +0100

    Automatic detection of volume mount points
    
    Volume Mount Points are now automatically detected.
    
    If we detect a volume mount point, we check wich volume is
    mounted there and add it to the snapshotset.
    
    If the volume is not already in the snapshotset, we add it and
    check if the new volume also has volume mount points.
    
    The total number of volume mount points and the number of volume mount
    point volumes added to the snapshotset is reported, if VMPs exist.
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/filed/dir_cmd.c           |  27 +++----
 src/findlib/find_one.c        |  12 ++--
 src/findlib/protos.h          |   1 +
 src/win32/filed/vss_generic.c | 162 +++++++++++++++++++++++++++++++++++-------
 src/win32/findlib/win32.c     |  24 +++++++
 src/win32/include/vss.h       |  51 +++++++------
 6 files changed, 215 insertions(+), 62 deletions(-)

commit 8184f63c6d8559edf5aff0b2bfe6a83e6097d76e
Author: Oleg Livshyts <oleg@dass-it.de>
Date:   Wed Dec 3 10:32:49 2014 +0100

    We now support symlink-like objects on windows
    
    Support was added for the following types of symlinks:
    - Symlinks on Files
    - Symlinks on Directories
    - Junction Points
    
    These are implemented in windows as Reparse Points.
    
    All these objects are treated like ordinary symlinks
    (FT_LNK) in bareos, also Junction Points and Symlinks on
    Directories which are directories in windows logic.
    
    The Information on what kind of symlink-like object we have
    is stored in the st_rdev member of the stat information.
    
    There we have now
    - FILE_ATTRIBUTES_JUNCTION_POINT
    - FILE_ATTRIBUTES_SYMBOLIC_LINK
    
    During Backup, the function "get_symlink_data" gets the information
    where the symlink/junction/volume mount points points to.
    
    During restore, the function "symlink" creates the symlink-like object.
    To be able to determine what kind of "symlink" needs to be created, it
    also gets the st_rdev information.
    
    Depending on what kind of symlink it needs to create it either calls
    the windows api function "CreateSymbolicLink" or the self-implemented
    Function "CreateJunction"
    
    The symlink target is not altered during restore, even if it is
    restored with a prefix (where), because this makes absolute links
    unusable.
    
    Fixes #314: On Windows 2008 and Windows 2012 the junction points / links
                are not backed up properly
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/filed/backup.c                |  11 +-
 src/findlib/create_file.c         |  50 ++++--
 src/findlib/find_one.c            |   8 +-
 src/findlib/mkpath.c              |  51 +++---
 src/lib/attr.c                    |   6 -
 src/win32/compat/compat.c         | 336 +++++++++++++++++++++++++++++++++++---
 src/win32/compat/include/compat.h |  16 +-
 7 files changed, 403 insertions(+), 75 deletions(-)

commit b6199620e5532f5bc4ab72284b0c72b8d865232a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Dec 3 10:05:48 2014 +0100

    Rebuild configure.

 configure | 198 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 108 insertions(+), 90 deletions(-)

commit d4f38eafb4adffc48a6d1dcf041897cd8d258630
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 28 16:58:20 2014 +0100

    configure: distinguish sysconfdir and confdir
    
    Before this patch, sysconfdir has been set to /etc/bareos.
    However, there are files that reside at other paths inside /etc,
    e.g. /etc/logrotate.d/bareos-dir.
    This patch adds the configure option --with-confdir.
    A typically of configure should be:
    configure --sysconfdir=/etc --with-confdir=/etc/bareos.
    Without these options, sysconfdir is $prefix/etc and confdir is $sysconfdir/bareos.
    
    Fixes: #132 "make install" ignores prefix for some files

 Makefile.in                                        |   7 +-
 autoconf/Make.common.in                            |   1 +
 autoconf/config.h.in                               |   5 +-
 autoconf/configure.in                              | 193 ++++++++++---------
 debian/bareos-bat.install.in                       |   2 +-
 debian/bareos-bconsole.install.in                  |   2 +-
 debian/bareos-director.bareos-dir.init.in          |   2 +-
 debian/bareos-director.install.in                  |   2 +-
 debian/bareos-filedaemon.install.in                |   2 +-
 debian/bareos-storage.install.in                   |   2 +-
 debian/bareos-traymonitor.install.in               |   2 +-
 debian/rules                                       |   3 +-
 platforms/bsdi/bareos-dir.in                       |   2 +-
 platforms/bsdi/bareos-fd.in                        |   2 +-
 platforms/bsdi/bareos-sd.in                        |   2 +-
 platforms/debian/Makefile.in                       |  16 +-
 platforms/freebsd/bareos-dir.in                    |   2 +-
 platforms/freebsd/bareos-fd.in                     |   2 +-
 platforms/freebsd/bareos-sd.in                     |   2 +-
 platforms/gentoo/bareos-dir.in                     |   2 +-
 platforms/gentoo/bareos-fd.in                      |   2 +-
 platforms/gentoo/bareos-init.in                    |  12 +-
 platforms/gentoo/bareos-sd.in                      |   2 +-
 platforms/gentoo/bareos.ebuild                     |   3 +-
 platforms/hurd/bareos-dir.in                       |   2 +-
 platforms/hurd/bareos-fd.in                        |   2 +-
 platforms/hurd/bareos-sd.in                        |   2 +-
 platforms/irix/bareos-dir.in                       |   2 +-
 platforms/irix/bareos-fd.in                        |   2 +-
 platforms/irix/bareos-sd.in                        |   2 +-
 platforms/mandrake/bareos-dir.in                   |   2 +-
 platforms/mandrake/bareos-fd.in                    |   2 +-
 platforms/mandrake/bareos-sd.in                    |   2 +-
 platforms/openbsd/bareos-dir.in                    |   2 +-
 platforms/openbsd/bareos-fd.in                     |   2 +-
 platforms/openbsd/bareos-sd.in                     |   2 +-
 platforms/packaging/bareos.spec                    |   3 +-
 platforms/redhat/Makefile.in                       |  22 +--
 platforms/redhat/bareos-dir.in                     |   4 +-
 platforms/redhat/bareos-fd.in                      |   2 +-
 platforms/redhat/bareos-sd.in                      |   2 +-
 platforms/slackware/functions.bareos.in            |   6 +-
 platforms/solaris/bareos-dir.in                    |   2 +-
 platforms/solaris/bareos-fd.in                     |   2 +-
 platforms/solaris/bareos-sd.in                     |   2 +-
 platforms/suse/Makefile.in                         |  34 ++--
 platforms/suse/bareos-dir-suse-sqlite.patch        |  13 --
 platforms/suse/bareos-dir.in                       |   4 +-
 platforms/suse/bareos-fd.in                        |   2 +-
 platforms/suse/bareos-sd.in                        |   2 +-
 platforms/suse/bareos.in                           | 213 ---------------------
 platforms/systemd/bareos-dir.service.in            |   4 +-
 platforms/systemd/bareos-fd.service.in             |   2 +-
 platforms/systemd/bareos-sd.service.in             |   2 +-
 platforms/win32/fillup.sed                         |   2 +-
 scripts/Makefile.in                                |   8 +-
 scripts/bareos-config-lib.sh.in                    |   2 +-
 scripts/bareos-ctl-dir.in                          |   2 +-
 scripts/bareos-ctl-fd.in                           |   2 +-
 scripts/bareos-ctl-sd.in                           |   2 +-
 scripts/bconsole.in                                |   6 +-
 scripts/defaultconfig                              |   1 +
 scripts/mtx-changer.in                             |   6 +-
 src/cats/make_catalog_backup.pl.in                 |   2 +-
 src/console/Makefile.in                            |  10 +-
 src/defaultconfigs/diskonly/bareos-dir.conf.in     |   2 +-
 src/defaultconfigs/legacy/bareos-dir.conf.in       |   2 +-
 src/dird/Makefile.in                               |  10 +-
 src/filed/Makefile.in                              |   8 +-
 src/lib/parse_conf.c                               |   2 +-
 src/qt-console/bat.desktop.in                      |   2 +-
 src/qt-console/bat.pro.in                          |   2 +-
 src/qt-console/install_conf_file.in                |   8 +-
 src/qt-tray-monitor/bareos-tray-monitor.desktop.in |   2 +-
 src/qt-tray-monitor/tray-monitor.pro.in            |   2 +-
 src/stored/Makefile.in                             |  10 +-
 src/stored/backends/Makefile.in                    |   4 +-
 src/win32/qt-tray-monitor/tray-monitor.pro         |   2 +-
 78 files changed, 257 insertions(+), 459 deletions(-)

commit 5eedbe2b665d005bf58cae3e353659b26b79c786
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 24 14:23:49 2014 +0100

    Fix compiler warnings when xattr is not enabled.

 src/filed/fd_plugins.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit fcf0025678821687540661efd189ac68c04fe8fe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 1 14:30:52 2014 +0100

    Remove some unused config keywords.

 src/dird/dird_conf.c | 5 -----
 src/dird/dird_conf.h | 2 --
 2 files changed, 7 deletions(-)

commit f3c25622c267fe977bb45ac22b479c3efd020a60
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 1 14:18:53 2014 +0100

    Fix typo.

 src/dird/dird.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 61bd549283d64f62559cd6018f5788ef2a2de96e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 1 10:41:32 2014 +0100

    Upstreamed patch for elasto headers.

 src/stored/backends/elasto_device.h | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

commit 5f11f1939f43f26ae4749371685bb76a5a3081f7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Nov 28 20:56:32 2014 +0100

    New individual Icons for windows binaries

 platforms/win32/bareosdir.ico           | Bin 0 -> 13094 bytes
 platforms/win32/bareosfd.ico            | Bin 0 -> 13094 bytes
 platforms/win32/bareossd.ico            | Bin 0 -> 13094 bytes
 platforms/win32/bareostools.ico         | Bin 0 -> 13094 bytes
 platforms/win32/bconsole.ico            | Bin 0 -> 13094 bytes
 platforms/win32/bsmtp.ico               | Bin 0 -> 13094 bytes
 platforms/win32/traymon.ico             | Bin 0 -> 13094 bytes
 src/win32/Makefile                      |  12 ++++++++++++
 src/win32/console/consoleres.rc.in      |   2 +-
 src/win32/dird/Makefile                 |   2 +-
 src/win32/dird/dbcheckres.rc.in         |   2 +-
 src/win32/dird/dirdres.rc.in            |   2 +-
 src/win32/filed/filedres.rc.in          |   2 +-
 src/win32/qt-tray-monitor/traymon.rc.in |   2 +-
 src/win32/stored/Makefile               |  21 +++++++++++++++------
 src/win32/stored/bextractres.rc.in      |  32 ++++++++++++++++++++++++++++++++
 src/win32/stored/blsres.rc.in           |  32 ++++++++++++++++++++++++++++++++
 src/win32/stored/btaperes.rc.in         |  32 ++++++++++++++++++++++++++++++++
 src/win32/stored/storedres.rc.in        |   2 +-
 src/win32/tools/bsmtpres.rc.in          |   2 +-
 20 files changed, 131 insertions(+), 14 deletions(-)

commit 49e770038afc3a8b05688e3532342311be9c6b46
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 30 14:35:49 2014 +0100

    Disable elasto storage devices for now.
    
    Until we crack the problem of writing/reading to Azure using the
    libelasto_file library disable the use of these kind of devices.

 src/stored/backends/elasto_device.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 9ed123083f2a491915953bbde3c5caeae35f0919
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 30 14:34:15 2014 +0100

    Disable object storage devices for now.
    
    Until we crack the problem of writing/reading to S3 using the droplet
    library disable the use of these kind of devices.

 src/stored/backends/object_store_device.c | 5 +++++
 1 file changed, 5 insertions(+)

commit d108d43bfadb0fca027970fdbef15095219792df
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 7 23:30:08 2014 +0100

    Rebuild configure and config.h.in

 autoconf/config.h.in |   3 ++
 configure            | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

commit 42c4c17f28f05ff96a67e3c0238b7f2ee3cabce2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 7 19:50:25 2014 +0100

    Add first attempt for support libelasto stored backend.

 autoconf/configure.in               |  52 +++++
 src/stored/Makefile.in              |  13 +-
 src/stored/backends/Makefile.in     |  14 ++
 src/stored/backends/cephfs_device.c |  12 +-
 src/stored/backends/elasto_device.c | 373 ++++++++++++++++++++++++++++++++++++
 src/stored/backends/elasto_device.h |  63 ++++++
 src/stored/dev.c                    |   8 +
 src/stored/dev.h                    |   3 +-
 src/stored/sd_backends.h            |   1 +
 src/stored/stored_conf.c            |   1 +
 10 files changed, 529 insertions(+), 11 deletions(-)

commit 9f2b15cf811d7f8d03250035554ab3f1f9c40a5a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 29 20:13:59 2014 +0100

    Fix enum values.

 src/include/fileopts.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 777e28bfa0822bc9c872376fb7473fca4c012431
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 29 20:03:21 2014 +0100

    Update copyright.

 src/win32/plugins/filed/mssqlvdi-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 780edd9a0e39a8c8915162a3ce63138133eb6da1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Nov 27 16:26:49 2014 +0100

    Quote Plugin Dir

 platforms/win32/fillup.sed | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit baeea8b3ba7c3976e6038d4734a9701b10d91df6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 28 19:31:45 2014 +0100

    Fix some Coverity issues.

 src/stored/label.c       | 72 +++++++++++++++++++++++-------------------------
 src/stored/reserve.c     | 12 ++------
 src/stored/stored_conf.c |  3 +-
 3 files changed, 37 insertions(+), 50 deletions(-)

commit 6cb6418417390d588bc51a4e4e622f8acd851e1c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 27 17:24:56 2014 +0100

    Fix typo.

 src/include/fileopts.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 178e63131d8ddfa0159f8c0916624b1954afc89a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Nov 21 12:28:43 2014 +0100

    Windows Installer Overhaul
    
    - Database Setup is now done by the installer itself
    - Added database dialog for that
    - Interactively the administrator login is directly checked
      and installation cannot go on if administrative account cannot login
    - Added logging functions to better be able to debug installer
      Variable $WriteLogs is used for that.
    - Debug installer always writes logs
    - Passwords for psql login are transferred in environment variables, no
      passwords are written to files.
    - Help text if called with /? now really is the first done.
    - If silent installer aborts, it writes a file "abortreason" to $TEMP
    - Installer Parameters added:
      - /INSTALLDIRECTOR select director section for install
        this also selects bconsole section
      - /INSTALLSTORAGE selects storage section for install
      - /DBADMINUSER=<user> sets the database admin user,
        default=postgres
      - /DBADMINPASSWORD=<password> sets the database admin password
        default=<empty>
        DBADMINUSER and DBADMINPASSWORD are used to create the bareos
        databases. If login is not possible silent installer will abort
      - /WRITELOGS makes also non-debug installer write logs

 platforms/win32/databasedialog.ini | 116 ++++++++++++
 platforms/win32/directordialog.ini |   5 +-
 platforms/win32/winbareos-nsi.spec |   7 +-
 platforms/win32/winbareos.nsi      | 378 ++++++++++++++++++++++++++++---------
 4 files changed, 417 insertions(+), 89 deletions(-)

commit 148da566d66d6e590fbbb0a0da94e0c8a556f0f8
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Nov 26 15:54:21 2014 +0100

    recreated configure

 autoconf/config.h.in |  6 ++++++
 configure            | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

commit b8da9acbc38c58b867b464d5774cbd74fe20727c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Nov 26 11:56:18 2014 +0100

    GnuTLS: check for required function
    
    added a check for function gnutls_cipher_init (GnuTLS >= 2.10.0).
    Without it, Bareos will fail to build with GnuTLS,
    therefore GnuTLS will be disabled.

 autoconf/configure.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit dcd630e804f4e10bce2d73b2da2b5207f7115ebf
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 24 15:00:39 2014 +0100

    GnuTLS: use gnutls_transport_set_int if available
    
    gnutls_transport_set_ptr may cause problems on some platforms,
    therefore the replacement gnutls_transport_set_int is used
    when available (since GnuTLS >= 3.1.9).

 autoconf/configure.in | 4 ++++
 src/lib/tls_gnutls.c  | 7 +++++++
 2 files changed, 11 insertions(+)

commit f3c5fd7f565c67c8c91dcbb2f094c1c995e5d5de
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 25 21:58:46 2014 +0100

    Don't count failed restored files.

 src/filed/fd_plugins.c | 2 +-
 src/filed/restore.c    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 312e20f881afb46706b75ce7db7aad9b96c221e4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 24 19:19:33 2014 +0100

    Add support for incremental/differential time checking.
    
    The original plugin interface has no support for setting the save_time
    in the FF_PKT so the check_changes method can never check the since time
    for incremental and differential backups done by a plugin.

 src/filed/dir_cmd.c           |  2 +-
 src/filed/fd_plugins.c        | 18 +++++-------------
 src/filed/fd_plugins.h        |  1 +
 src/findlib/find.c            |  2 +-
 src/findlib/protos.h          |  2 +-
 src/include/jcr.h             |  2 +-
 src/plugins/filed/python-fd.c | 10 +++++++---
 src/plugins/filed/python-fd.h |  3 +++
 8 files changed, 20 insertions(+), 20 deletions(-)

commit 95dd447660f73b27d052bf1b0ee07d663cb87005
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 24 14:35:06 2014 +0100

    Use DB engine specific queries for dropping temp table.
    
    Fixes #368: Bareos and PostgreSQL errors

 src/cats/sql_cmds.c | 17 +++++++++++++++--
 src/dird/ua_prune.c |  5 +----
 2 files changed, 16 insertions(+), 6 deletions(-)

commit 48ffb52a12e0138c42c9401ad9c466103a994a82
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 24 16:05:51 2014 +0100

    fixes usage of dbconfig-common when installing

 debian/bareos-database-common.config.in   | 5 +++--
 debian/bareos-database-common.postinst.in | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit becf8a50c8fb77bd3dfae60dad46369482ddcddd
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 21 11:50:16 2014 +0100

    set Debian section to python for Python packages

 debian/control                                 | 3 +++
 debian/control.bareos-director-python-plugin   | 1 +
 debian/control.bareos-filedaemon-python-plugin | 1 +
 debian/control.bareos-storage-python-plugin    | 1 +
 4 files changed, 6 insertions(+)

commit a7d4af580c534adfa88bae01df24b15b98766fbc
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 21 11:13:57 2014 +0100

    get rid of circular dependencies
    
    Remove circular dependency between bareos-database-common, bareos-database-mysql, bareos-database-postgresql and bareos-database-sqlite3.
    
    Closes: #769536 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769536)
    Thanks: Bill Allombert

 debian/control    | 8 ++++----
 debian/control.in | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit f727d0e6cbd70b959495069becb92db1d7387dce
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 21 10:54:13 2014 +0100

    on purge, also remove /etc/bareos/.rndpwd
    
    Closes: #769096 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769096)
    Thanks: Andreas Beckmann

 debian/bareos-common.postrm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 7db7c82dce860afd841fff9307d18e39dd1a1fe8
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 21 10:52:40 2014 +0100

    let git ignore some more files

 .gitignore | 6 ++++++
 1 file changed, 6 insertions(+)

commit 5fff28ae4e07b3775c2ac89d93f1ddd09ae6afbd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 23 17:44:39 2014 +0100

    Last change to lowlevel parsing of SCSI pages via NDMP

 src/ndmp/smc_parse.c |  5 ++---
 src/ndmp/smc_raw.h   | 14 +++++++++-----
 2 files changed, 11 insertions(+), 8 deletions(-)

commit 6ec8808935d10771bf36793604c12bc66efc2166
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 23 17:01:42 2014 +0100

    Fix some more problems reported by coverity.

 src/cats/sql_get.c           |  4 +++-
 src/cats/sql_update.c        | 10 ++++++----
 src/dird/ua_output.c         | 21 +++++++++++++++------
 src/dird/ua_purge.c          | 21 +++++++++++++--------
 src/filed/fd_plugins.c       | 18 ++++++++++--------
 src/findlib/bfile.c          | 31 ++++++++++++++++---------------
 src/lib/bregex.c             |  4 +++-
 src/ndmp/ndma_cops_robot.c   |  1 +
 src/ndmp/ndma_data_fh.c      |  2 +-
 src/ndmp/ndma_image_stream.c |  2 --
 src/ndmp/ndma_listmgmt.c     |  2 +-
 src/ndmp/ndma_tape.c         |  1 -
 src/ndmp/ndml_conn.c         |  3 ++-
 src/ndmp/smc_parse.c         |  1 +
 src/plugins/filed/bpipe-fd.c |  3 ++-
 15 files changed, 74 insertions(+), 50 deletions(-)

commit d59304d2c40cf623c56403ec84a560680a6a04c4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 22 22:54:47 2014 +0100

    Fix problems reported by coverity in NDMP code.
    
    Only fix the obvious problems of code that actually is used.
    Change sprintf to snprintf where fixed buffer size is used.

 src/ndmp/ndma_comm_dispatch.c | 17 ++++++-----
 src/ndmp/ndma_cops_query.c    | 69 +++++++++++++++++++++++++++++++++++--------
 src/ndmp/ndma_cops_robot.c    |  2 +-
 src/ndmp/ndma_ctrl_media.c    |  2 +-
 src/ndmp/ndma_ctrl_robot.c    |  6 ++--
 src/ndmp/ndma_ctst_data.c     |  6 ++--
 src/ndmp/ndma_ctst_mover.c    |  8 ++---
 src/ndmp/ndma_ctst_subr.c     |  6 ++--
 src/ndmp/ndma_ctst_tape.c     | 38 ++++++++++++------------
 src/ndmp/ndma_data.c          | 11 ++++---
 src/ndmp/ndmjob_args.c        |  2 +-
 src/ndmp/ndmjob_main_util.c   |  8 ++---
 src/ndmp/ndml_fhdb.c          |  8 ++---
 src/ndmp/ndml_log.c           |  2 +-
 src/ndmp/ndmos_common.c       |  6 ++--
 src/ndmp/ndmp3_translate.c    | 44 ++++++++++++++++-----------
 src/ndmp/wraplib.c            |  4 ++-
 17 files changed, 149 insertions(+), 90 deletions(-)

commit f2698d682bd064592ac0f9d3cca540ebae6a3805
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 21 14:08:15 2014 +0100

    Update README.md

 README.md | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

commit 5b8fbd01275be76edb453e3b263d367d83786968
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 22 16:04:54 2014 +0100

    Fix typo.

 src/filed/accurate_lmdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e9a34a68d50339fabcc020c58425dc6052bf9cea
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 21 09:38:21 2014 +0100

    Fix FD plugin handling.
    
    Seems we broke the FD plugin handling while converting it to the new
    plugin framework. These changes make the regression script at least
    working again and also cleanup the test if we are processing an entry
    of a plugin by a new method in the JCR is_plugin() which checks for
    the cmd_plugin or option_plugin boolean.

 src/filed/backup.c     |   8 ++--
 src/filed/fd_plugins.c | 115 +++++++++++++++++++++----------------------------
 src/filed/fd_plugins.h |   1 +
 src/filed/restore.c    |   6 +--
 src/include/jcr.h      |   7 ++-
 5 files changed, 64 insertions(+), 73 deletions(-)

commit 7870eb7a3a8b000d4e69c25b2663ef139851b66b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 20 23:17:28 2014 +0100

    Fix overflow in visual bitmap.
    
    Should allocate FO_MAX + 1 bytes (one for every 0 or 1 in the bitmap)
    and not FOPTS_BYTES which is one bit per option.

 src/plugins/filed/python-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e95e1af014daa3626c4f0d4ee76014258d46e5a8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 26 13:23:09 2014 +0100

    Allow to restore mssqlvdi database dumps to a file on the filesystem.

 src/win32/plugins/filed/mssqlvdi-fd.c | 160 ++++++++++++++++++++++++++++++----
 1 file changed, 141 insertions(+), 19 deletions(-)

commit 7795e9adcd6c4d6e3346dd5bbca3b15375dab871
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 26 13:22:00 2014 +0100

    Add ability to specify server address for ADO connect string.
    
    Fixes #321: Add ability to specify server address for ADO connect string.

 src/win32/plugins/filed/mssqlvdi-fd.c | 47 ++++++++++++++++++++++++-----------
 1 file changed, 33 insertions(+), 14 deletions(-)

commit afdbb68615243ebc39323703d1c94eca53a00c55
Author: Maik Aussendorf <maik.aussendorf@bareos.org>
Date:   Wed Nov 19 14:14:53 2014 +0100

    Wrapper and baseclass for class based Bareos Director Python plugins
    
    Fixes #365: include baseclass for python director plugins

 debian/bareos-director-python-plugin.install.in |   3 +
 platforms/packaging/bareos.spec                 |   4 +-
 src/plugins/dird/BareosDirPluginBaseclass.py    | 133 ++++++++++++++++++++++++
 src/plugins/dird/BareosDirWrapper.py            |  37 +++++++
 src/plugins/dird/bareos-dir-class-plugin.py     |  53 ++++++++++
 5 files changed, 229 insertions(+), 1 deletion(-)

commit 5aea849d60bfb41dcb2636d407211e4e828b1fd6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 10 23:11:41 2014 +0100

    Tweak queries a bit.
    
    Create a second query for finding the last full backup when no specific
    pool is specified as then we don't need to JOIN the JobMedia and Media
    table into the query as we don't select on the Media's PoolId.
    
    Also drop the JOIN on Client as we don't select any column from that
    table anyway and the query is also kind of clumbsy by specifying twice
    the ClientId instead of using a single WHERE on the ClientId and use
    an AND Client.ClientId = Job.ClientId.
    
    Fixes #363: zero-byte Full backups are ignored for restore

 src/cats/sql_cmds.c   | 17 ++++++++++---
 src/cats/sql_cmds.h   |  1 +
 src/dird/ua_restore.c | 66 +++++++++++++++++++++++++++++++++++----------------
 3 files changed, 61 insertions(+), 23 deletions(-)

commit 8c8b5b04fbb56e89ea771b24ea3d833158939127
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 13 13:56:52 2014 +0200

    Added support for Max VirtualFull Interval and Virtual Full Pool override.
    
    Implement a Max Virtual Full Interval analog to the existing Max Full
    Interval and a Virtual Full Backup Pool analog to the existing Full
    Backup Pool.
    
    Fixes #239: Max VirtualFull Interval like Max Full Interval

 src/dird/dird_conf.c |  8 ++++++++
 src/dird/dird_conf.h |  3 +++
 src/dird/job.c       | 50 ++++++++++++++++++++++++++++++++++++++++++--------
 src/dird/run_conf.c  |  4 ++++
 src/dird/scheduler.c | 17 +++++++++++++++++
 src/include/jcr.h    |  2 ++
 6 files changed, 76 insertions(+), 8 deletions(-)

commit 89a4bea8465263797b092cdd415e5d005fa2a7ad
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 18 14:02:35 2014 +0100

    Use wchar_2_UTF8 instead of sprintf_s.

 src/win32/plugins/filed/mssqlvdi-fd.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

commit 2311ecac2283ea4ba2d52410f99150b959909d03
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 14 22:01:48 2014 +0100

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e07416f47fb8670c74ef2dd564a498cd1d5ca9bc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 16 11:55:17 2014 +0100

    Tweak for some compiler warnings.

 src/dird/ndmp_dma.c    | 9 +++++----
 src/stored/ndmp_tape.c | 7 ++++---
 2 files changed, 9 insertions(+), 7 deletions(-)

commit 4c430541c02cec6c70142efb4a161c870448ce76
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 26 15:17:22 2014 +0100

    Refactor socket handling.
    
    Try to align the socket server in each daemon to work in the same way.
    Extracted the code for this socket server into a seperate file which
    dispatches to the right connection handler.
    
    Added first steps for allowing different type of connections on the socket
    the director has open. Analog to how the filed and stored determines based
    on the Hello message what type of connections is established. For now
    things should always connect as a normal console connection but the
    logic for determining if a Client connects are implemented only there
    is nothing done and the connection gets aborted right away.
    
    Use same kind of refactoring that already happened to FD and SD for
    allowing to reuse the two way challenge authentication for multiple
    connections without recoding the same over and over again.

 src/dird/Makefile.in       |  11 +-
 src/dird/authenticate.c    | 467 ++++++++++++++++++++++-----------------------
 src/dird/dird.c            |  19 +-
 src/dird/dird_conf.c       |   4 +-
 src/dird/dird_conf.h       |   4 +-
 src/dird/fd_cmds.c         |  24 ++-
 src/dird/protos.h          |  26 +--
 src/dird/sd_cmds.c         |   2 +-
 src/dird/socket_server.c   | 129 +++++++++++++
 src/dird/ua_server.c       |  65 +------
 src/filed/Makefile.in      |   2 +-
 src/filed/authenticate.c   |  15 +-
 src/filed/dir_cmd.c        |  50 +----
 src/filed/filed.c          |  28 +--
 src/filed/protos.h         |   7 +
 src/filed/socket_server.c  | 115 +++++++++++
 src/stored/Makefile.in     |   4 +-
 src/stored/authenticate.c  |  22 ++-
 src/stored/dir_cmd.c       |  61 +-----
 src/stored/ndmp_tape.c     |   8 +-
 src/stored/protos.h        |  10 +-
 src/stored/sd_cmds.c       |   2 +-
 src/stored/socket_server.c | 124 ++++++++++++
 src/stored/status.c        |   1 -
 src/stored/stored.c        |  29 +--
 src/win32/dird/Makefile    |  11 +-
 src/win32/filed/Makefile   |   2 +-
 src/win32/stored/Makefile  |   2 +-
 28 files changed, 728 insertions(+), 516 deletions(-)

commit a20c11c9488c69c57f8e2d70a3bfd5dde40cb6c6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 15 15:44:32 2013 +0200

    Change close method of DEV class to return if it failed or not.

 src/stored/dev.c | 18 +++++++++++++-----
 src/stored/dev.h |  2 +-
 2 files changed, 14 insertions(+), 6 deletions(-)

commit b621db454e10880892e2eea92d3493123664ed7e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 31 20:02:03 2014 +0100

    Rebuild configure and config.h.in

 autoconf/config.h.in |  3 ++
 configure            | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

commit 11fa5a730dfb628c527ae2a353ad479eedf5fe2c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 11 20:55:20 2014 +0200

    Add support to rados SD backend for libradosstriper.

 autoconf/configure.in              |  63 ++++++++++++++++
 src/stored/backends/Makefile.in    |   4 +-
 src/stored/backends/rados_device.c | 150 +++++++++++++++++++++++++++++++++++--
 src/stored/backends/rados_device.h |  12 +++
 4 files changed, 221 insertions(+), 8 deletions(-)

commit 07b877e12965a15945741a5a24788ac590f27527
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 10 09:55:06 2014 +0100

    Add ANSI label compatibility with Bacula ANSI labels.

 src/stored/ansi_label.c | 135 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 94 insertions(+), 41 deletions(-)

commit 990e63423f7f59d7044f0449dc0d33d183501a4c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 13 20:26:30 2014 +0100

    Fix syslog message destinations.
    
    - Up until now every message send to syslog was logged as LOG_DAEMON and LOG_ERR
    - This code adds the knowledge to use the right log level for things
      like debug, notice, info, error and critical errors into syslog.
    - The message destination parsing now also allows you to specifiy an
      syslog facility that should be used to log the syslog messages against.
    
    e.g. the following should now work:
    
      syslog = local0 = all
    
    To get all messages logged using the right log level to the LOG_LOCAL0 facility.

 src/lib/message.c                 | 123 ++++++++++++++++++++++++++++++++++++--
 src/lib/message.h                 |   1 +
 src/lib/parse_conf.h              |   8 +--
 src/lib/res.c                     |  55 ++++++++++++++++-
 src/win32/compat/compat.c         |   6 +-
 src/win32/compat/include/syslog.h | 122 +++++++++++++++++++++++++++++--------
 6 files changed, 274 insertions(+), 41 deletions(-)

commit 3d0559fab3eb422ec8bdb61adc24305af67bb71b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 15 13:03:42 2014 +0200

    Add new plugin variable handling to python-sd plugin.

 src/plugins/stored/bareos_sd_consts.py | 27 +++++++++++--------------
 src/plugins/stored/python-sd.c         | 36 ++++++++++++++++++++++++++++++++--
 2 files changed, 45 insertions(+), 18 deletions(-)

commit 84b356e062af360e5f8cb60765f0aa8bd5d7b1d5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 15 11:44:44 2014 +0200

    Implement missing SD plugin variables.
    
    Seems when designing the SD plugin variables a copy was made of the
    stuff available in the director. That of course doesn't work to well in
    the SD as some info is just not available there. Implemented now as many
    vars which can be filled with valuable info and removed the others
    which make little sense.
    
    Also did a cleanup of all plugin files to output the debug messages
    generated for a variable retrieval to look the same.

 src/dird/dir_plugins.c  | 65 +++++++++++++++++-----------------
 src/filed/fd_plugins.c  | 27 +++++++++------
 src/stored/sd_plugins.c | 84 +++++++++++++++++++++++++++++++++++++++++---
 src/stored/sd_plugins.h | 92 +++++++++++++++++++++++--------------------------
 4 files changed, 171 insertions(+), 97 deletions(-)

commit 8d30abc1e9a49ad2e31ccf0e4e7dfc1ec5ada8a6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 9 17:15:58 2014 +0200

    Don't print an extra \n for protocol messages.

 src/stored/dir_cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f5d05f9352cd8452507c3d243d8bcaebd70fd45c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 3 21:52:43 2014 +0200

    First attempt to move python-sd plugin to use plugin options.

 src/plugins/stored/bareos-sd.py.template |  27 ++-
 src/plugins/stored/bareos_sd_consts.py   |   3 +-
 src/plugins/stored/python-sd.c           | 360 +++++++++++++++++++++++++++----
 src/plugins/stored/python-sd.h           |  23 +-
 4 files changed, 368 insertions(+), 45 deletions(-)

commit 823ad90d2e7f7e6e3433ce925ea1ed114ac82844
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 1 20:12:47 2014 +0200

    First attempt to move python-dir plugin to use plugin options.

 src/plugins/dird/bareos-dir.py.template |  27 ++-
 src/plugins/dird/bareos_dir_consts.py   |   3 +-
 src/plugins/dird/python-dir.c           | 358 ++++++++++++++++++++++++++++----
 src/plugins/dird/python-dir.h           |  23 +-
 src/plugins/filed/bareos-fd.py.template |   2 +-
 5 files changed, 369 insertions(+), 44 deletions(-)

commit c28ad25e8a3d70b1f11aaed09209861d53fcd060
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 27 20:39:31 2014 +0200

    Refactor daemon plugin handling.
    
    Major refactoring for allowing to drop the one-to-one plugin and
    plugin context relationship. We eventually want to allow multiple
    instances of one plugin (python plugin comes to mind). When we use
    an alist for storing the plugin context which has a pointer to the
    actual plugin that the context is linked to we can easily use the
    actual callback we need to call in the plugin with the active context.
    As we are no longer walking the shared plugin alist we also don't need
    to always use the foreach_alist_index to be sure we don't run into
    problems with multi threading.
    
    Some state is captured in the shared plugin data which is used by
    multiple threads in the filed. This is probably not to smart as it
    means that the state is shared between multiple threads and so multiple
    backup jobs what is not something you want. As this is mostly core code
    and probably not used by any important plugin in the wild it might for
    now not be a big problem but it may become a problem if we implement
    some more filed plugins.
    
    Added the bDirEventNewPluginOptions event which will allow the dir to
    implement the loading of multiple instances of the same plugin each with
    its private context.
    
    Added the bsdEventNewPluginOptions event which will allow the storage
    daemon to implement the loading of multiple instances of the same plugin
    each with its private context.

 src/dird/dir_plugins.c  | 198 ++++++++++++++++++++++++++-------
 src/dird/dir_plugins.h  |   8 +-
 src/dird/dird_conf.c    |  71 +++++++++---
 src/dird/dird_conf.h    |   4 +-
 src/dird/job.c          |   5 +-
 src/dird/msgchan.c      |   8 ++
 src/dird/protos.h       |   1 +
 src/dird/sd_cmds.c      |  33 +++++-
 src/filed/backup.c      |   1 -
 src/filed/dir_cmd.c     |   4 -
 src/filed/fd_plugins.c  | 290 +++++++++++++++++++++++-------------------------
 src/filed/restore.c     |   6 +-
 src/include/jcr.h       |   7 +-
 src/lib/parse_conf.h    |   2 +-
 src/lib/plugins.c       |  21 ++--
 src/lib/plugins.h       |  24 ++--
 src/stored/dir_cmd.c    |  34 ++++++
 src/stored/job.c        |   7 +-
 src/stored/sd_plugins.c | 194 +++++++++++++++++++++++++-------
 src/stored/sd_plugins.h |   6 +-
 20 files changed, 637 insertions(+), 287 deletions(-)

commit 11e026bcc46e2bda4e1b4f35cf7c5c8f24124714
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sun Nov 16 16:48:25 2014 +0100

    Fix problems with autoexlude
    
    - We now do not always create a new options block, only if none exists.
    
    - Because of known wrong-formatted entry in FilesNotToBackup Registry
      Key in W2k3/XP SP1 we check for single characters and skip them.
    
    - We print an information output if we skip files because of an empty
      options block.
    
    Fixes #360: Incremental Backups with fd Version 14 fail to
    include files

 src/findlib/find.c        |  1 +
 src/win32/findlib/win32.c | 92 ++++++++++++++++++++++++++---------------------
 2 files changed, 52 insertions(+), 41 deletions(-)

commit c5b80cbdd53243534ae546b9bd61764f6521f3b2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Nov 14 08:26:28 2014 +0100

    Skip autoexcluding FilesNotToBackup if configured
    
    If the autoexclude = no fileset option is set, we do
    not automatically exclude entries form the FilesNotToBackup
    Registry Key

 src/win32/findlib/win32.c | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

commit 9044cfcab50ec3f5ebba9e337864205c8320c6d4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Nov 12 19:06:17 2014 +0100

    Make python-fd work with new flags bitmap.

 src/plugins/filed/python-fd.c | 73 ++++++++++++++++++++++++++++++++++++++-----
 src/plugins/filed/python-fd.h |  4 +--
 2 files changed, 68 insertions(+), 9 deletions(-)

commit 870885f77662c9124ee4d83f2eb433b17fcd9c7b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 7 17:23:21 2014 +0200

    Hooks for doing acl/xattr save and restore from plugin.

 src/filed/backup.c                           |  30 +-
 src/filed/fd_plugins.c                       | 289 ++++++++++++-
 src/filed/fd_plugins.h                       | 112 +++--
 src/filed/filed.h                            |   1 +
 src/filed/restore.c                          |  32 +-
 src/findlib/acl.c                            |   4 +-
 src/findlib/find.h                           |   1 -
 src/findlib/protos.h                         |   7 +
 src/findlib/xattr.c                          |  28 +-
 src/include/streams.h                        |   2 +
 src/plugins/filed/BareosFdPluginBaseclass.py |  22 +-
 src/plugins/filed/BareosFdWrapper.py         |  19 +
 src/plugins/filed/bareos-fd-mock-test.py     |   1 -
 src/plugins/filed/bareos-fd.py.template      |  26 +-
 src/plugins/filed/bpipe-fd.c                 |  30 +-
 src/plugins/filed/example-plugin-fd.c        |  30 +-
 src/plugins/filed/python-fd.c                | 617 ++++++++++++++++++++++++++-
 src/plugins/filed/python-fd.h                | 137 +++++-
 src/plugins/filed/test-deltaseq-fd.c         |  10 +-
 src/plugins/filed/test-plugin-fd.c           |  30 +-
 20 files changed, 1329 insertions(+), 99 deletions(-)

commit 6853a9d958982d39c8e3acc8bdbd7732b16584fa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 11 13:58:57 2014 +0100

    Use an enum and bit fields for File Option flags.
    
    We will run out of bits for the fileopts on 32 bits so switch to a
    proper bitmap and use the set_bit/clear_bit/bit_is_set macros.

 src/dird/dird_conf.c                 |  3 ++
 src/dird/inc_conf.c                  | 19 ++++++--
 src/dird/inc_conf.h                  |  6 ++-
 src/dird/testfind.c                  | 51 +++++++++++----------
 src/filed/accurate.c                 |  5 ++-
 src/filed/backup.c                   | 60 +++++++++++++------------
 src/filed/compression.c              | 10 ++---
 src/filed/crypto.c                   | 20 ++++-----
 src/filed/dir_cmd.c                  |  8 ++--
 src/filed/estimate.c                 |  2 +-
 src/filed/fd_plugins.c               | 38 ++++++++--------
 src/filed/fd_plugins.h               |  3 +-
 src/filed/fileset.c                  | 73 +++++++++++++++---------------
 src/filed/protos.h                   |  2 +-
 src/filed/restore.c                  | 40 +++++++++--------
 src/filed/restore.h                  |  4 +-
 src/filed/verify.c                   | 24 +++++-----
 src/findlib/attribs.c                | 28 ++++++------
 src/findlib/find.c                   | 56 +++++++++++------------
 src/findlib/find.h                   | 27 +++++------
 src/findlib/find_one.c               | 31 ++++++-------
 src/findlib/match.c                  | 65 ++++++++++++++-------------
 src/findlib/shadowing.c              |  5 ++-
 src/findlib/xattr.c                  |  6 +--
 src/include/fileopts.h               | 87 +++++++++++++++++++++---------------
 src/lib/bits.h                       | 61 +++++++++++++++++--------
 src/plugins/filed/fd_common.h        |  4 +-
 src/plugins/filed/test-deltaseq-fd.c |  9 ++--
 src/win32/findlib/win32.c            |  4 +-
 29 files changed, 408 insertions(+), 343 deletions(-)

commit d6814a349cf1c4bf7de835814dab700a7a115297
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 17 13:47:59 2014 +0100

    Remove trademark symbol from Python header.

 src/plugins/dird/bareos-dir.py.template         | 2 +-
 src/plugins/dird/bareos_dir_consts.py           | 2 +-
 src/plugins/filed/BareosFdPluginBaseclass.py    | 2 +-
 src/plugins/filed/BareosFdPluginLocalFileset.py | 2 +-
 src/plugins/filed/BareosFdWrapper.py            | 2 +-
 src/plugins/filed/bareos-fd-local-fileset.py    | 2 +-
 src/plugins/filed/bareos-fd-mock-test.py        | 2 +-
 src/plugins/filed/bareos-fd.py.template         | 2 +-
 src/plugins/filed/bareos_fd_consts.py           | 2 +-
 src/plugins/stored/bareos-sd.py.template        | 2 +-
 src/plugins/stored/bareos_sd_consts.py          | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

commit 99886281bab337d85e45640f12818f8da89008ae
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Nov 7 13:40:08 2014 +0100

    Be able to build also for windows < vista

 platforms/win32/winbareos32.spec | 4 +++-
 platforms/win32/winbareos64.spec | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 5e0b0d5d60392f50e93c38a5e38420a7ba2a5a80
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Nov 13 13:43:29 2014 +0100

    travis: reintegrate Coverity service
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>

 .travis.yml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

commit 0710f16ac1db6f47b7fe79d1cef99cafb2c6ce2c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Nov 11 14:42:00 2014 +0100

    Fix regression problems with weird-files tests
    
    Fixes #362: regression tests using the "weird files" are failing on
    solaris and Ubuntu 12.4 and 14.4

 src/dird/catreq.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit d3edea6f5845be1d1929cbab7c5cce36f51a6696
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Nov 11 10:34:20 2014 +0100

    Fix travis.

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 23a5a41666acb9740f52bc6af8d1331c4d0638f4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 10 16:24:09 2014 +0100

    change travis behavior: build and install packages
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 41 ++++++++++++++++++++++++++---------------
 test/all    | 19 -------------------
 2 files changed, 26 insertions(+), 34 deletions(-)

commit 2a5fbca6e3954b05fce3637171b0e86ad87225ce
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 10 13:47:36 2014 +0100

    Fix problem with Job Lookup.
    
    Only perform lookup of previous Job when we found a JobName.

 src/dird/job.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit c1d98b051c29406fdd0905a6c1f91f905339f69d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 10 12:02:46 2014 +0100

    clearified description for bareos-database-common
    
    Closes: #768606 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768606)
    Thanks: Davide Prina

 debian/control                  | 3 ++-
 debian/control.in               | 3 ++-
 platforms/packaging/bareos.spec | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

commit 30686169bece24bd6a3ab36de55ab6d1cba010fb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 3 20:23:03 2014 +0100

    Tweak attribute insert code.

 src/dird/fd_cmds.c | 55 +++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 38 insertions(+), 17 deletions(-)

commit 1f822979d720fe6449f55d973acaa223777250fb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 10 10:51:14 2014 +0100

    Rebuild configure.

 configure | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

commit 82f459ca807028e90ff5b8d0080e471bf1931905
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 7 12:23:32 2014 +0100

    store Debian config templates in directory configured by --with-configtemplatedir
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in                       | 27 +++++++++++
 debian/bareos-bat.install.in                |  1 +
 debian/bareos-bat.postinst                  | 57 -----------------------
 debian/bareos-bat.postinst.in               | 57 +++++++++++++++++++++++
 debian/bareos-bconsole.install.in           |  1 +
 debian/bareos-bconsole.postinst             | 57 -----------------------
 debian/bareos-bconsole.postinst.in          | 57 +++++++++++++++++++++++
 debian/bareos-common.install.in             |  6 ---
 debian/bareos-common.postinst               | 47 -------------------
 debian/bareos-common.postinst.in            | 46 +++++++++++++++++++
 debian/bareos-director.install.in           |  1 +
 debian/bareos-director.postinst             | 65 --------------------------
 debian/bareos-director.postinst.in          | 61 +++++++++++++++++++++++++
 debian/bareos-filedaemon.install.in         |  1 +
 debian/bareos-filedaemon.postinst           | 65 --------------------------
 debian/bareos-filedaemon.postinst.in        | 65 ++++++++++++++++++++++++++
 debian/bareos-storage-fifo.postinst         | 45 ------------------
 debian/bareos-storage-fifo.postinst.in      | 45 ++++++++++++++++++
 debian/bareos-storage-tape.postinst         | 45 ------------------
 debian/bareos-storage-tape.postinst.in      | 45 ++++++++++++++++++
 debian/bareos-storage.install.in            |  1 +
 debian/bareos-storage.postinst              | 68 ---------------------------
 debian/bareos-storage.postinst.in           | 68 +++++++++++++++++++++++++++
 debian/bareos-traymonitor.install.in        |  1 +
 debian/bareos-traymonitor.postinst          | 57 -----------------------
 debian/bareos-traymonitor.postinst.in       | 57 +++++++++++++++++++++++
 debian/rules                                |  2 +-
 debian/univention-bareos-schema.postinst    | 13 ------
 debian/univention-bareos-schema.postinst.in | 13 ++++++
 debian/univention-bareos.postinst           | 71 -----------------------------
 debian/univention-bareos.postinst.in        | 71 +++++++++++++++++++++++++++++
 31 files changed, 619 insertions(+), 597 deletions(-)

commit 50a30ec88ee2b0504b6a7e86ac77f409cd5d5e06
Author: Evgeni Golov <evgeni@debian.org>
Date:   Mon Nov 3 18:19:30 2014 +0100

    do not install files as conffiles in /etc/bareos
    
    If we install those files as conffiles, we are not allowed to replace
    passwords etc in them.
    
    This change installs the files into /usr/share/bareos-common by default
    and uses them templates for the generated files in /etc/bareos in postinst.
    
    Ideally, we would register them with ucf and merge the newer versions in
    the future, but this task is left to future-me or someoneelse who has the
    needed time.
    
    Closes: #767819
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-bat.install.in         |  2 --
 debian/bareos-bat.postinst           | 16 +++++++++++++---
 debian/bareos-bat.postrm             | 18 ++++++++++++++++++
 debian/bareos-bconsole.install.in    |  1 -
 debian/bareos-bconsole.postinst      | 16 +++++++++++++---
 debian/bareos-bconsole.postrm        | 18 ++++++++++++++++++
 debian/bareos-common.install.in      |  6 ++++++
 debian/bareos-director.install.in    |  1 -
 debian/bareos-director.postinst      | 20 +++++++++++++++-----
 debian/bareos-director.postrm        | 18 ++++++++++++++++++
 debian/bareos-filedaemon.install.in  |  1 -
 debian/bareos-filedaemon.postinst    | 16 +++++++++++++---
 debian/bareos-filedaemon.postrm      | 18 ++++++++++++++++++
 debian/bareos-storage.install.in     |  1 -
 debian/bareos-storage.postinst       | 16 +++++++++++++---
 debian/bareos-storage.postrm         | 18 ++++++++++++++++++
 debian/bareos-traymonitor.install.in |  1 -
 debian/bareos-traymonitor.postinst   | 16 +++++++++++++---
 debian/bareos-traymonitor.postrm     | 18 ++++++++++++++++++
 19 files changed, 194 insertions(+), 27 deletions(-)

commit 918c94d22e0dc9c7b17bb452ece5cf4a1fec09b4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat Nov 8 11:45:40 2014 +0100

    fixes some warnings from qa.debian.org
    
    See https://packages.qa.debian.org/b/bareos.html:
    file permission of the copyright file,
    file permission of the logrotate config file,
    remove automatic password helper file,
    do not suggests dds2tar, as it is only for DAT tape drives and not directly used by Bareos.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/Makefile                    |  2 +-
 debian/bareos-common.dirs          |  4 ++--
 debian/bareos-director.dirs        |  2 +-
 debian/control                     | 10 +++++-----
 debian/control.in                  | 10 +++++-----
 debian/control.univention-bareos   |  3 ++-
 debian/copyright                   |  0
 debian/univention-bareos.substvars |  1 -
 platforms/debian/Makefile.in       |  2 +-
 platforms/hurd/Makefile.in         |  2 +-
 platforms/redhat/Makefile.in       |  2 +-
 scripts/Makefile.in                |  2 +-
 12 files changed, 20 insertions(+), 20 deletions(-)

commit 054c043850101919b2c6a4df38b2f4adface9eea
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 6 17:36:10 2014 +0100

    Use normal read/write API instead of fread/fwrite.
    
    Attribute spooling for whatever reason uses fread/fwrite for
    reading and writing spool files but it also has all kind of
    other low level interface calls. See little sense in using
    stdio buffering for writing attribute spool files.

 src/dird/catreq.c   |  28 ++++++---------
 src/lib/bsock.c     |  24 +++++++------
 src/lib/bsock.h     |   6 ++--
 src/lib/bsock_tcp.c |   2 +-
 src/stored/spool.c  | 101 ++++++++++++++++++++++++++++------------------------
 5 files changed, 83 insertions(+), 78 deletions(-)

commit bf56869cfa7157ccd7c29c77766518b850aa1470
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 30 22:22:54 2014 +0100

    Refactor restore object handling.
    
    - Send also FT_PLUGIN_CONFIG restore objects as part of the
      send_restore_objects() function.
    - Send override plugin options before sending any restore objects.
    - send_restore_objects() function got two extra arguments that allow you
      to pass a JobId and a boolean if it needs to send the global restore
      objects or the ones specific to the given JobId.
    - On an incremental and differential backup we lookup the previous Job on
      which we are based and lookup the restore objects created by that Job
      and send those to the file daemon so they can be used as information
      on what config the previous backup either used or generated as
      information for a next backup.

 src/dird/backup.c  |   4 ++
 src/dird/fd_cmds.c | 109 ++++++++++++++++++++++++++++++++++++++++-------------
 src/dird/job.c     |  13 ++++++-
 src/dird/protos.h  |   3 +-
 src/dird/restore.c |  10 ++---
 5 files changed, 105 insertions(+), 34 deletions(-)

commit 6e04b6074aee114445d32039fb5e52c5c1ed6f74
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 3 17:13:25 2014 +0100

    fixes some CamelCase names for Director resources

 src/dird/dird_conf.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 7f672f29fa8b402eecf6cccd41b804c8a6881212
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 3 16:28:39 2014 +0100

    recreated configure

 configure | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

commit 08b0fec2e4fe897c46e7a19a71571053c851cd0a
Author: Evgeni Golov <evgeni@debian.org>
Date:   Wed Oct 29 17:34:36 2014 +0100

    Add more conflicts against Bacula packages
    
    Our binaries have the same names as the ones from Bacula, so add proper Conflicts.
    
    Closes: #767058
    Thanks: Ralf Treinen <treinen@free.fr>
    
    Signed-off-by: Joerg Steffens <joerg.steffens@bareos.com>

 debian/control    | 4 ++++
 debian/control.in | 4 ++++
 2 files changed, 8 insertions(+)

commit 22412d3a4515c4802778e115bb41edf155173582
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Nov 3 13:21:01 2014 +0100

    add configure option dynamic-debian-package-list
    
    When building packages for Debian,
    the resulting packages are defined in the file debian/control.
    This file must exist at the beginning of the build process.
    As Bareos is build for different plattforms, the resulting packages differ.
    Therefore configure can overwrite debian/control
    so that is matches the configured options.
    However, the Debian project does not allow this file to be changed.
    Therefore we make this feature optional.
    The configure default is to keep the static debian/control file.
    When configure is used with the option
    --enable-dynamic-debian-package-list
    debian/control will be overwritten with the template debian/control.in.

 autoconf/configure.in |  28 +++-
 debian/Makefile       |   6 +-
 debian/control        | 353 +++++++++++++++++++++++++++++++++++++++++++++++++-
 debian/control.dummy  | 287 ----------------------------------------
 debian/control.in     |  15 ++-
 debian/rules          |   1 +
 6 files changed, 387 insertions(+), 303 deletions(-)

commit aa30ed0823a1458fe1f9e153bc9d30205093208b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Oct 30 18:54:27 2014 +0100

    Fix SLE-12 spec to also enable OpenSUSE 13.2

 platforms/packaging/bareos.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4d8ed1f29915bb9765940310e569655c1c62fa15
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 30 17:34:02 2014 +0100

    Tweak NDMP makefiles a bit more.

 src/ndmp/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b6fc31da2c72242ba59c02a19061cbb36cb0a894
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 30 17:27:08 2014 +0100

    Compile NDMP code with C-compiler and use CFLAGS.

 src/ndmp/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9544aa11546a683d579aa8a9aeaa13f82b5e2b5c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 22 17:27:10 2014 +0200

    Tweak layout.

 src/filed/fd_plugins.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit faf9ae3c98f95a42661c796e8797d0bbe02d48a5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 28 10:27:07 2014 +0100

    Add proper headers to python scripts.

 src/plugins/dird/bareos-dir.py.template         | 21 +++++++++++++++++++++
 src/plugins/dird/bareos_dir_consts.py           | 21 +++++++++++++++++++++
 src/plugins/filed/BareosFdPluginBaseclass.py    | 24 +++++++++++++++++++++---
 src/plugins/filed/BareosFdPluginLocalFileset.py | 25 +++++++++++++++++++++----
 src/plugins/filed/BareosFdWrapper.py            | 21 +++++++++++++++++++++
 src/plugins/filed/bareos-fd-local-fileset.py    | 22 ++++++++++++++++++++++
 src/plugins/filed/bareos-fd-mock-test.py        | 21 +++++++++++++++++++++
 src/plugins/filed/bareos-fd.py.template         | 21 +++++++++++++++++++++
 src/plugins/filed/bareos_fd_consts.py           | 21 +++++++++++++++++++++
 src/plugins/stored/bareos-sd.py.template        | 21 +++++++++++++++++++++
 src/plugins/stored/bareos_sd_consts.py          | 21 +++++++++++++++++++++
 11 files changed, 232 insertions(+), 7 deletions(-)

commit 06462acb89b166462d4b88b537be93f7cdca63e2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 25 10:32:47 2014 +0200

    Update copyright date.

 src/plugins/stored/autoxflate-sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0f624e5e559914634dd70270ce9a9b8a46f54734
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 25 10:32:08 2014 +0200

    Fix typo.

 src/plugins/stored/scsicrypto-sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 537444a0d4a18e8bbaa985ce1a37c5a85b5042fd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 24 22:20:37 2014 +0200

    Given we are not plugin compatible anyway loose Bacula.

 src/dird/dir_plugins.c  | 1 -
 src/filed/fd_plugins.c  | 1 -
 src/stored/sd_plugins.c | 1 -
 3 files changed, 3 deletions(-)

commit ec2bd7ba1f142d3bfe633de7ca33dedbf17094bc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 25 13:19:50 2014 +0200

    Fix some errors related to restore objects in the core.
    
    - Set the JobType of a JCR early before processing of the restore
      objects begins so we have the proper JobType and not JT_SYSTEM.
    - Move the test of having metadata and needing VSS after the restore
      objects are processed so we know for sure actually need VSS as
      the restore object triggers the setting of jcr->got_metadata.

 src/filed/dir_cmd.c | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

commit 61f2228b993803a6f2710f3d70522d978d81460f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 24 14:56:13 2014 +0200

    Fixes for restore objects in python-fd

 src/dird/fd_cmds.c            | 51 ++++++++++++++++++++----------
 src/filed/dir_cmd.c           | 61 +++++++++++++++++++++++++++++-------
 src/plugins/filed/python-fd.c | 73 +++++++++++++++++++++++++++++++++++++------
 src/plugins/filed/python-fd.h |  6 ++--
 4 files changed, 150 insertions(+), 41 deletions(-)

commit 13b68a173c028f38b3bfa6d562a0eb32e0387fee
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 26 12:33:53 2014 +0100

    Revert "Sync LMDB code."
    
    This reverts commit c028a49e976eb747c11b7c38b6620176e855971c.
    
    Wait until upstream fixes pthread mess current code has problems
    on several distributions.

 src/lmdb/lmdb.h |  18 +--
 src/lmdb/mdb.c  | 494 +++++++++++++++++++-------------------------------------
 2 files changed, 176 insertions(+), 336 deletions(-)

commit b4fbc9194bb8db001cdcdf91fb8eec2eb88313a4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sun Oct 26 17:29:30 2014 +0100

    Fix build when using GNUTLS instead of OpenSSL

 src/lib/tls_gnutls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8053d3d69f2e6c38842d9c5f4d6ccbab5b1d5598
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Oct 28 21:17:20 2014 +0100

    Support for SLE-12 in spec file

 platforms/packaging/bareos.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1ea610b6940a12bafcb64c7e734055f17ad1d775
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Oct 23 15:21:34 2014 +0200

    Small fixes for restore objects in python plugin
    
    Fixed a bool inversion and set forgotten
    sp->object

 src/plugins/filed/python-fd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 777ace021f8c22df6f3a5b89cbc6ec20e128d700
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Fri Oct 17 12:41:48 2014 +0200

    code cleanup to comply with pep8 and enable static code analysis, passes flake8 check now.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/BareosFdPluginBaseclass.py    | 268 +++++++++++++++---------
 src/plugins/filed/BareosFdPluginLocalFileset.py |  99 +++++----
 src/plugins/filed/BareosFdWrapper.py            |  36 ++--
 src/plugins/filed/bareos-fd-local-fileset.py    |  28 ++-
 4 files changed, 263 insertions(+), 168 deletions(-)

commit 9f0d58a618684679be87b07dc20406c6eccce555
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 17 10:27:47 2014 +0200

    Tweak address conf code.

 src/lib/address_conf.c | 107 +++++++++++++++++++++++++++++++++----------------
 1 file changed, 72 insertions(+), 35 deletions(-)

commit dd5f3f350b16fda31a9ad5b6e7bc8c673902e83f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 17 10:11:58 2014 +0200

    Sync LMDB code.

 src/lmdb/lmdb.h |  18 ++-
 src/lmdb/mdb.c  | 494 +++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 336 insertions(+), 176 deletions(-)

commit 05df2ba56f797609e0fff6a9631e19ff20b46fd0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 14 21:02:13 2014 +0200

    Make estimate command somewhat more robust.
    
    Fixes #349: Director crashes on estimate command of Copy Job

 src/dird/ua_cmds.c | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

commit ca13cbc619af4b4dbf38bcd1c6d71bf46636cd77
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 14 16:07:23 2014 +0200

    Tweak Job Scheduling code layout.

 src/dird/jobq.c | 122 ++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 88 insertions(+), 34 deletions(-)

commit 7359561a33213a0da56e13a679e585efd17aa4e0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 12 11:12:57 2014 +0200

    Fix level override.
    
    Fixes #348: When using pool overrides a level change doesn't
                change the pool used

 src/dird/ua_run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7ff775fbb10b629337b086df2f47bc9a866942ec
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Oct 11 16:15:57 2014 +0200

    Fix build when not using OpenSSL.
    
    Apply some fixes to the alternative crypto solutions so they work again
    with the new MD5 and SHA1 fallback code in the library.

 src/lib/crypto_gnutls.c | 25 ++++++++-----------------
 src/lib/crypto_none.c   | 25 ++++++++-----------------
 src/lib/crypto_nss.c    | 25 ++++++++-----------------
 src/lib/sha1.c          |  6 +++---
 4 files changed, 27 insertions(+), 54 deletions(-)

commit df9422673419c1c4816f99ff3e4cee7197cfdd12
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 10 21:54:56 2014 +0200

    Revert "Make consecutive tape reads more like writing to tape"
    
    This reverts commit 7bf1ea4faa76682e4f4301546174ec035deeb0f6.
    
    Breaks scsi-crypto.

 src/stored/acquire.c | 71 ++++++++++++++++------------------------------------
 1 file changed, 22 insertions(+), 49 deletions(-)

commit 87c3ff67c89c30e887c6e94c24a307e0898e753b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 10 20:24:45 2014 +0200

    Fix some problems with reporting of autoxflate plugin.

 src/plugins/stored/autoxflate-sd.c | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

commit 2c8ed10e32bc098458a2d1c2d5e80380a634cbfe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 10 20:16:04 2014 +0200

    Store KeyEncryptionKey as s_password
    
    Seems we forgot to change the KeyEncryptionKey storing to use the new
    s_password encoding.

 src/plugins/stored/scsicrypto-sd.c | 6 +++---
 src/stored/stored_conf.c           | 4 ++--
 src/stored/stored_conf.h           | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

commit de976350ca5829d3c11920e701d03f9f999fc20b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 10 17:13:21 2014 +0200

    Store KeyEncryptionKey as s_password
    
    Seems we forgot to change the KeyEncryptionKey storing to use the new
    s_password encoding.

 src/dird/dird_conf.c | 4 ++--
 src/dird/dird_conf.h | 2 +-
 src/dird/ua_label.c  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 544633e21ed45e40b8d1365ca744af6171155c6a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 9 15:43:22 2014 +0200

    Tweak.

 src/plugins/stored/autoxflate-sd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit d10005a151ae9c901fc397081c521cf2d9beea2e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 6 11:12:59 2014 +0200

    NDMP SMTAPE restore does need namelist.
    
    Fixes #345: NDMP restore does not work

 src/dird/ndmp_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9f59dc63573eec303207b7a648242ccdaeededcb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Oct 9 11:06:15 2014 +0200

    Fix Runscript parsing for new CamelCase confignames.

 src/dird/dird_conf.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 20f3077bd52d53fecbb259afa9ab7438281150e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 8 16:06:58 2014 +0200

    Tweak layout.

 src/dird/dird_conf.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 9fd0854eb81808cb388573e004cbf3d2c3af6c96
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 8 13:10:54 2014 +0200

    Bump version number.

 configure                                     |    18 +-
 platforms/packaging/bareos-Univention_3.1.dsc |     2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |     2 +-
 platforms/packaging/bareos.changes            |     6 +
 platforms/packaging/bareos.dsc                |     2 +-
 platforms/packaging/bareos.spec               |     4 +-
 platforms/win32/mingw-debugsrc-devel.spec     |     2 +-
 platforms/win32/winbareos-nsi.spec            |     2 +-
 platforms/win32/winbareos32.spec              |     2 +-
 platforms/win32/winbareos64.spec              |     2 +-
 po/POTFILES.in                                |  1114 +-
 po/de.po                                      | 22738 +++++++++----------
 po/es.po                                      | 28128 ++++++++++++------------
 po/fr.po                                      | 25421 ++++++++++-----------
 po/it.po                                      | 18930 ++++++++--------
 po/nl.po                                      | 20090 ++++++++---------
 po/pl.po                                      | 27309 +++++++++++------------
 po/sv.po                                      | 18930 ++++++++--------
 po/uk.po                                      | 20304 ++++++++---------
 src/cats/ddl/versions.map.in                  |     1 +
 src/include/version.h                         |    20 +-
 21 files changed, 91835 insertions(+), 91192 deletions(-)

commit 0a37498a0aae265ee578b219e463d1bf21f027d6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 8 12:54:25 2014 +0200

    Fix some compiler warnings.

 src/lib/res.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit b4610502d0371d75d41dbf72173a7e74e71fe9d3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 7 19:16:04 2014 +0200

    Fix some compiler warnings.

 src/dird/dird_conf.c          | 14 +++++++-------
 src/dird/ndmp_dma.c           |  4 +---
 src/ndmp/Makefile.in          |  2 +-
 src/plugins/filed/python-fd.c |  2 +-
 src/stored/ndmp_tape.c        |  8 +++-----
 5 files changed, 13 insertions(+), 17 deletions(-)

commit 285d3e63ae44c2da68bfc7f375ee4bd4c62a615f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 6 22:03:30 2014 +0200

    set Director resource item names to CamelCase
    
    while this did not affect manual created configuration files,
    it make configuration outputs of the daemon more readable.

 src/dird/dird_conf.c | 612 +++++++++++++++++++++++++--------------------------
 src/lib/msg_res.h    |  32 +--
 2 files changed, 322 insertions(+), 322 deletions(-)

commit b244204cd95c99383aeb65d6713a8820a80bd471
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 6 22:03:30 2014 +0200

    add a flag to mark defaults platform specific
    
    this flag helps when automatically generating documentation.

 src/dird/dird_conf.c | 8 ++++----
 src/lib/parse_conf.h | 6 ++++++
 src/lib/res.c        | 3 +++
 3 files changed, 13 insertions(+), 4 deletions(-)

commit f697dcebb790f7208079d8917062bf545de01f5a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 6 22:03:29 2014 +0200

    print config file schema without valid config file
    
    print config file schema even without a valid configuration file.

 src/dird/dird.c      | 16 +++++++++-------
 src/dird/dird_conf.c |  8 +++++++-
 src/dird/dird_conf.h |  2 ++
 3 files changed, 18 insertions(+), 8 deletions(-)

commit 3c74fd4ee699b8610b95380081d22f9a87a03ee7
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Oct 6 22:03:29 2014 +0200

    add missing break

 src/dird/dird_conf.c | 1 +
 1 file changed, 1 insertion(+)

commit 50215f075a62a16729e4730949ebc12d1f81cd44
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 6 15:29:28 2014 +0200

    Fix runscript printing.
    
    Keep track if a runscript is entered as a short runscript using the
    short_form boolean so when printing it we also know if we need to print
    it either in its short form or in the new long form. Also keep track
    using the from_jobdef boolean if a runscript is inherited from a JobDef
    as then we also don't have to print it in the dumping of the current
    config.

 src/dird/dird_conf.c | 59 ++++++++++++++++++++++++++++++++--------------------
 src/lib/runscript.h  | 20 ++++++++++--------
 2 files changed, 48 insertions(+), 31 deletions(-)

commit 448e904777746b01dd8172b8ae3b4b5ed7462bfe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 5 19:38:01 2014 +0200

    Implement missing option printing.
    
    Some fileset options are added over time but the config printing code
    doesn't know how to print these. This patch adds all missing fileset
    options and adds printing of options now using Camel case.
    
    Also added some code for a FIXME that has been there for ages for
    Verify, Accurate and Base options checking.
    
    Fixes #347: show all gives errors.

 src/dird/dird_conf.c | 131 +++++++++++++++++++++++++++++++++++----------------
 src/dird/inc_conf.c  |  51 +++++++++++++++-----
 src/dird/inc_conf.h  |   5 ++
 3 files changed, 135 insertions(+), 52 deletions(-)

commit ed5f1bef7c60772a9c63cb64400e16abd0120560
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 5 16:46:10 2014 +0200

    Ditch useless unions in dird config.
    
    In essence they save a maximum of one pointer value which is not worth
    the side effect it has for printing a config data. To be able to
    determine what data is actual in the union you need an extra variable
    describing what is the pointer about so then there is little value left
    in using an union.

 src/dird/dird_conf.c |  3 +++
 src/dird/dird_conf.h | 12 ++++--------
 2 files changed, 7 insertions(+), 8 deletions(-)

commit dd9180e314882d9beb53ff85bb99223ff2b0295a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 5 15:41:43 2014 +0200

    Tweak debug output.

 src/lib/res.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5374f09e9f25cde1aa922c1d83fd148eb396189b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 5 11:45:49 2014 +0200

    Print config should suppress data from JobDefs
    
    Some specific config items in the Job resource could be coming from a
    JobDef so we should not print those values in the actual Job resource.
    
    We add a new bitmap analog to item_present bitmap already existing in
    the RES class. When we mark that bit when we populate the jobdef in the
    populate_jobdefs() function in src/dird/dird_conf.c we can check this
    bit in the printing function. (Overhead is currently 80 / 8 = 10 bytes)
    
    We also use the same bitmap for defaults so we can use some shortcut
    logic when printing the config as we then know that the default was
    set and never replaced by an other setting. We clear the bit in all
    other parse functions so we know the default is cleared. If the default
    is replaced with the same value as the original default that is still
    detected. Only real exception is when omit defaults is set to true
    then we just like before always print the defaults (but not the data
    populated from a JobDef.)
    
    Fixes #343: Print config should suppress data from JobDefs

 src/dird/dird_conf.c     |  18 +++++
 src/dird/inc_conf.c      |   1 +
 src/dird/run_conf.c      |   1 +
 src/filed/filed_conf.c   |   1 +
 src/lib/parse_conf.c     |  15 +++-
 src/lib/parse_conf.h     |  27 +++----
 src/lib/res.c            | 183 ++++++++++++++++++++++++++++-------------------
 src/stored/stored_conf.c |   4 ++
 8 files changed, 163 insertions(+), 87 deletions(-)

commit e5cb12a583fe3b0d83ddf8469de452cba25784db
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Mon Sep 29 15:19:07 2014 +0200

    apply Debian specific settings
    
    There is no libfastlz-dev in Debian.org, do not Build-Depend on it.
    However, it is available at bareos.org and there it will be used
    (installed via platforms/packaging/bareos.dsc).
    Set source format to 3.0 quilt.
    Set Vcs-* headers to the proper GitHub repository and branch,
    using these, tracker.debian.org will show proper links to the repository
    and tools like debcheckout will be able to fetch the source from git.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control.dummy | 8 +++++---
 debian/control.in    | 8 +++++---
 debian/source/format | 1 +
 3 files changed, 11 insertions(+), 6 deletions(-)

commit ae49552ad4aa206f5655827f7e9dbbc6ace2056a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Oct 3 16:12:58 2014 +0200

    Fix SD_NR_EVENTS.

 src/stored/sd_plugins.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 77326aa53d556024eeacf4964fd03be2e9f07347
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Oct 2 10:02:32 2014 +0200

    Fix coverity detected defects

 src/plugins/stored/autoxflate-sd.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 561a63e15b8ad2e8a2b5beabaa0948d6c4e552a2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 26 10:42:28 2014 +0200

    Autoxflate writes jobmessages what it does
    
    - What compression algo is being used for deflate
    - does it deflate/enflate
    - what ratio was compressed/decompressed

 src/plugins/stored/autoxflate-sd.c | 234 ++++++++++++++++++++++++++++++-------
 1 file changed, 194 insertions(+), 40 deletions(-)

commit d775334018ce26ca45f3659ee3e2227d042d9867
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Sep 30 16:01:33 2014 +0200

    Fix compiler warning.

 src/lib/parse_conf.h | 1 -
 src/lib/res.c        | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

commit 1399cad532afa7c81e35468cc66421c9a4b41a47
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Sep 29 17:06:28 2014 +0200

    Dump bareos-dir configuration options
    
    Add command line option -x to let bareos-dir dump his configuration
    options in JSON format.
    
    This output will get used to autogenerated documentation for Bareos.
    
    Issues #190: Bareos director should be able to provide information
                 about possible configuration options

 src/dird/dird.c          |  15 ++-
 src/dird/dird_conf.h     |  38 --------
 src/filed/filed_conf.h   |   7 --
 src/lib/parse_conf.h     |  93 ++++++++++++++++---
 src/lib/res.c            | 237 +++++++++++++++++++++++++++++++++++++++++++++--
 src/stored/stored_conf.h |  11 ---
 6 files changed, 327 insertions(+), 74 deletions(-)

commit ec320ff6484abf4b474477777bdf403756a88832
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 29 15:06:35 2014 +0200

    Inherit FILESETRES class from BRSRES class.

 src/dird/dird_conf.h | 7 +------
 src/lib/parse_conf.h | 1 -
 2 files changed, 1 insertion(+), 7 deletions(-)

commit 1a995f9069fb7820d27a1f45b6b46088142a08b8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 27 19:50:47 2014 +0200

    Add support for printing JobDefs.

 src/dird/ua_cmds.c   | 2 +-
 src/dird/ua_output.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

commit f60f942f4c724fdb6fe4884e1706c2ce3ed31718
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 26 11:33:51 2014 +0200

    print_config: check if resource it used at all
    
    prevents a segfault on director, when running with debug >= 900
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/lib/parse_conf.h | 4 ++--
 src/lib/res.c        | 8 ++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

commit f9201455287709d0dafe10cf92885896cc0226e1
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Thu Sep 18 08:49:38 2014 +0200

    be more precise why files are in the public-domain
    
    As per [1], "License: public-domain" needs an explanation why the work
    is in the public-domain.
    
    [1] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/copyright        | 15 ++++++++++++++-
 debian/copyright.footer | 15 ++++++++++++++-
 2 files changed, 28 insertions(+), 2 deletions(-)

commit 64b9b8520e0e3cbb2762a7ee9f8ddfb79d3ec246
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 26 15:22:07 2014 +0200

    Add missing config printing for new audit events configtype.

 src/dird/dird_conf.c | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

commit c2124896ef470363060a58a9204742747d3ba5e2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 26 10:07:17 2014 +0200

    Don't let sd and dir python plugins setup signalhandlers.
    
    Just as we already did in the python-fd use Py_InitializeEx(0)

 src/plugins/dird/python-dir.c  | 2 +-
 src/plugins/stored/python-sd.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit bc423fe9571a8e6573684191141adb6f1671c3fb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 26 09:10:59 2014 +0200

    Make comment somewhat more understandable.

 src/plugins/filed/python-fd.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit ef98a9fc0ebb6ec3cbd31e8dc3b465e04c427d71
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 26 09:10:54 2014 +0200

    Allow multiple plugin names.
    
    Next to specifying plugin names a a single colon separated plugin name
    list also allow to specify multiple lines with plugin names with one or
    more names.

 src/dird/dir_plugins.c   |  2 +-
 src/dird/dir_plugins.h   |  2 +-
 src/dird/dird_conf.c     | 11 +++++++----
 src/dird/dird_conf.h     |  2 +-
 src/filed/fd_plugins.c   |  2 +-
 src/filed/fd_plugins.h   |  2 +-
 src/filed/filed_conf.c   | 10 ++++++----
 src/filed/filed_conf.h   |  2 +-
 src/lib/parse_conf.h     |  3 ++-
 src/lib/plugins.c        | 34 +++++++---------------------------
 src/lib/plugins.h        |  2 +-
 src/lib/res.c            | 43 ++++++++++++++++++++++++++++++++++++++++++-
 src/stored/sd_plugins.c  |  2 +-
 src/stored/sd_plugins.h  |  2 +-
 src/stored/stored_conf.c | 10 ++++++----
 src/stored/stored_conf.h |  2 +-
 16 files changed, 80 insertions(+), 51 deletions(-)

commit 511fbcb7fc821c184bc67294ba2300ba51e03b8a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 24 15:27:46 2014 +0200

    Fix typo.
    
    Fixes #341: stored compile fails

 src/stored/backends/generic_tape_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2a81988f761babbad14ee42467b6c92f85d7d22b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 19 11:59:36 2014 +0200

    cleanup RPM package descriptions
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>

 platforms/packaging/bareos.spec | 266 ++++++++++++++++++++--------------------
 1 file changed, 133 insertions(+), 133 deletions(-)

commit 177d88cbcba2cdd8bda1a9bfb4a95d9ea90ccc17
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 19 13:00:22 2014 +0200

    glusterfs backend requires expliciet dependency
    
    otherwise only the GlusterFS libraries getting installed,
    but not the support files and daemon.

 platforms/packaging/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit 13d7b17b607e8f8daa451d4f13de97a52292768b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 19 10:58:23 2014 +0200

    Add console host in audit messages.
    
    Log the remote hostname of the console session in the audit messages so
    you at least know the remote host that uses the default console entry.

 src/dird/ua_audit.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

commit 5b32430e7eaf5fcd94692d625e90f0f0965aa3cc
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Sep 18 12:31:36 2014 +0200

    disable auditing by default, but active it in conf
    
    auditing is a new feature.
    To prevent chaniging behavior, set the default to disable,
    but active it in the default configuration.

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 1 +
 src/dird/dird_conf.c                           | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 0405bac042769d5e7a54c4587133e3b867ed05e5
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Sep 18 12:46:36 2014 +0200

    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>

 scripts/logrotate.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c8b02dd979541e99627f27b847d8595dc5a94756
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Sep 18 10:24:45 2014 +0200

    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>

 platforms/osx/Makefile.in | 4 ++++
 1 file changed, 4 insertions(+)

commit 00ae8d133dba9621a355e8b86982001a432df278
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 17 16:15:27 2014 +0200

    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>

 src/defaultconfigs/diskonly/bareos-dir.conf.in |   8 +-
 src/defaultconfigs/diskonly/bareos-sd.conf.in  |   6 +-
 src/filed/bareos-fd.conf.in                    |   6 +-
 src/plugins/dird/Makefile.in                   |   2 +-
 src/plugins/dird/bareos-dir.py                 |  32 ------
 src/plugins/dird/bareos-dir.py.template        |  31 +++++
 src/plugins/filed/Makefile.in                  |   2 +-
 src/plugins/filed/bareos-fd.py                 | 149 -------------------------
 src/plugins/filed/bareos-fd.py.template        | 149 +++++++++++++++++++++++++
 src/plugins/stored/Makefile.in                 |   2 +-
 src/plugins/stored/bareos-sd.py                |  24 ----
 src/plugins/stored/bareos-sd.py.template       |  23 ++++
 12 files changed, 222 insertions(+), 212 deletions(-)

commit a049cb7a35212fb6f1601fe9add0f97406075d48
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 18 09:55:42 2014 +0200

    Fix sample.

 src/defaultconfigs/bareos-sd.d/device-ceph-rados.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 064dad7e5c12ce2dd1d31b6cf21831c4e42b1df5
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Wed Sep 17 13:18:51 2014 +0200

    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>

 debian/copyright        | 28 ----------------------------
 debian/copyright.footer | 28 ----------------------------
 2 files changed, 56 deletions(-)

commit e739e53c4a772d026b887441545ca59620337755
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Fri Aug 15 12:33:54 2014 +0200

    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>

 debian/Makefile                               |  2 +-
 debian/control.dummy                          |  1 +
 debian/control.in                             | 10 ++++++++--
 debian/rules                                  | 19 +++++++++++++++++--
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos.dsc                |  2 +-
 7 files changed, 30 insertions(+), 8 deletions(-)

commit 58872daf63fc4c4c8702221a178315573a1a2720
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 17 16:41:41 2014 +0200

    Rebuild configure.

 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 1e0f913bc56283e10a7b7d80f9b6b6d3efb53a1d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Sep 15 20:22:02 2014 +0200

    added storage device example configuration files
    
    added configuration files for the Storage Daemon backends tape and fifo.
    Also setting file permissions properly.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in                              |  6 +--
 debian/bareos-storage-fifo.install.in              |  1 +
 debian/bareos-storage-fifo.postinst                | 45 ++++++++++++++++++++
 debian/bareos-storage-tape.install.in              |  1 +
 debian/bareos-storage-tape.postinst                | 45 ++++++++++++++++++++
 platforms/packaging/bareos.spec                    | 14 ++++---
 .../bareos-sd.d/device-ceph-rados.conf             | 10 ++---
 src/defaultconfigs/bareos-sd.d/device-fifo.conf    | 26 ++++++++++++
 src/defaultconfigs/bareos-sd.d/device-gluster.conf | 10 ++---
 .../bareos-sd.d/device-tape-with-autoloader.conf   | 49 ++++++++++++++++++++++
 src/defaultconfigs/diskonly/bareos-sd.conf.in      |  2 +-
 11 files changed, 189 insertions(+), 20 deletions(-)

commit 0f8e63def78e68f979a815c8eb7a30ca2007d698
Author: aussendorf <maik.aussendorf@bareos.org>
Date:   Tue Sep 16 17:39:20 2014 +0200

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

 src/plugins/filed/BareosFdPluginBaseclass.py | 49 +++++++++++++++++++++++-----
 1 file changed, 40 insertions(+), 9 deletions(-)

commit 649a2f766d3c33a54bdae21275c36dd86f64fa0f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Sep 16 10:48:05 2014 +0200

    Check for encryption before loading key
    
    Now we check if we need an encryption key
    before we try to get it.
    
    Fixes #338: bls always fails when scsicrypto-sd plugin is loaded
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/stored/scsicrypto-sd.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

commit 43004af1bc3ddf3c125eaa0dade110b848e8bc18
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Sep 16 15:43:37 2014 +0200

    Pass Python debug and job messages as literals.
    
    We don't want the Jmsg and Dmsg calls to expand the data that it
    gets passed in from a plugin. So we pass it now using a simple '%s'
    format and just print the whole buffer.

 src/plugins/filed/python-fd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 53e7557f211c8244a850c1e8580a8abaedb65bb4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Sep 15 20:32:56 2014 +0200

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

 platforms/packaging/bareos.spec | 2 ++
 1 file changed, 2 insertions(+)

commit fdbb9ad55135c328f4227c659986e0d33417b181
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 15 10:27:48 2014 +0200

    Fix small memory leak.
    
    When we start using the ignoredir alist we should initialize it to let
    the code know its owns the data so it will free all data on a destroy.

 src/dird/inc_conf.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 4152deb39d8d5caa0a57b61571f1b72e87c08251
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat Sep 13 13:13:35 2014 +0200

    no /etc/bareos/bareos-dir.d in client-only builds
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos.spec | 2 ++
 1 file changed, 2 insertions(+)

commit 40c475037b9e44a9cd95af46b31eefc6faef97b8
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 12 17:02:04 2014 +0200

    fixed packages dependencies
    
    Required dependencies are determined automatically by build process.
    Add missing bareos-storage dependencies.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit f8901fa5a71bc2db7fbc98871078e80f5857ee7c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 13 11:54:53 2014 +0200

    Rebuild configure.

 configure | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit e985170fa67f8ded9489b71a659bc4407488ac25
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Sep 12 16:57:46 2014 +0200

    add config include files for storage backends
    
    Different configuration backends require different configurations.
    With this patch, backend specific include files can be installed
    at /etc/bareos/bareos-sd.d/.
    If they should be used, they have to be included in the main configuration file.
    The configuration files bareos-sd.conf and bareos-dir.conf
    have been twice in git. One version is replaced by a link.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in                              |  15 +
 debian/bareos-common.dirs                          |   1 +
 debian/bareos-common.postinst                      |   1 +
 debian/bareos-storage.dirs                         |   1 +
 debian/bareos-storage.postinst                     |   1 +
 platforms/packaging/bareos.spec                    |   3 +
 .../bareos-sd.d/device-ceph-rados.conf             |  25 ++
 src/defaultconfigs/bareos-sd.d/device-gluster.conf |  18 ++
 src/defaultconfigs/diskonly/bareos-dir.conf.in     |  18 +-
 src/defaultconfigs/diskonly/bareos-sd.conf.in      |   8 +
 src/dird/Makefile.in                               |   1 +
 src/dird/bareos-dir.conf.in                        | 334 +--------------------
 src/stored/Makefile.in                             |   1 +
 src/stored/backends/Makefile.in                    |   9 +-
 src/stored/bareos-sd.conf.in                       |  62 +---
 15 files changed, 94 insertions(+), 404 deletions(-)

commit 99e00987eb40860afbdcab0225143f8ba7575af2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 12 10:21:52 2014 +0200

    Make nsi build more robust for pnglib updates

 platforms/win32/winbareos-nsi.spec | 2 +-
 platforms/win32/winbareos.nsi      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

commit ff7e665d110c10dd184d67c0262bd54ed7e0d123
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 12 09:45:36 2014 +0200

    Updated libnames for new windows buildchain

 platforms/win32/winbareos32.spec | 6 +++---
 platforms/win32/winbareos64.spec | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 4bb6458bc3edaa6affb277c211e1b39d86b1ed32
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 10 17:23:27 2014 +0200

    don't create bareos-doc packages on Debian
    
    This packages has nearly no content and is also not build as RPM.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control.dummy | 14 --------------
 debian/control.in    | 14 --------------
 2 files changed, 28 deletions(-)

commit f4df8def88f81bba5b910da977e7079a2084bbf2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 10 13:55:23 2014 +0200

    build bareos-storage-glusterfs packages on RedHat
    
    RHEL7 includes current glusterfs packages,
    therefore the Bareos GlusterFS backend is build on this platform.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos.spec | 71 ++++++++++++++++++++++++++++++-----------
 1 file changed, 52 insertions(+), 19 deletions(-)

commit 9f88c06983fbfd6cf4a7c45dca793629d21cb9d4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 10 13:13:33 2014 +0200

    added debian/copyright file
    
    Added debian/copyright file, generated from LICENSE file.
    Debian policy requires that the file debian/copyright is part of the source
    and not generated during build.
    LICENSE: moved fastlzlib, fastlz and lz4 to section 1e
    to clarify, that these are additions to the original Bacula license.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 LICENSE          |  191 ++++----
 debian/Makefile  |    4 +-
 debian/copyright | 1403 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1502 insertions(+), 96 deletions(-)

commit 34bb44dbcc8df1a1da4fda0573f5d8557372f403
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 8 12:49:38 2014 +0200

    Update AUTHORS.

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit 0df2a47a9eb0faa6f857dd036a8f4ccca207618c
Author: Stephan Duehr <stephan.duehr@bareos.com>
Date:   Mon Sep 8 12:45:10 2014 +0200

    Inherit base class from object
    
    By inheriting from object, it becomes a so calles "new style" class in
    python, which is common nowadays, and also default in python 3.x
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/BareosFdPluginBaseclass.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 88003c622dd69ae9cf493c44a41a344c7fa36fcf
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 22 14:41:27 2014 +0200

    Revert removal of POOL_MEM::max_size method.

 src/dird/bsr.c     |  2 +-
 src/lib/mem_pool.c | 16 +++++++++++++++-
 src/lib/mem_pool.h |  1 +
 src/lib/message.c  | 26 +++++++++++++-------------
 4 files changed, 30 insertions(+), 15 deletions(-)

commit 7313be5c20c6eb3a2c92003d77011818b0c136c1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Sep 3 17:55:17 2014 +0200

    make init scripts compatible with Ubuntu 8.04
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-director.bareos-dir.init.in  | 39 +++++++++++++++++++++++++++++-
 debian/bareos-filedaemon.bareos-fd.init.in | 39 +++++++++++++++++++++++++++++-
 debian/bareos-storage.bareos-sd.init.in    | 39 +++++++++++++++++++++++++++++-
 3 files changed, 114 insertions(+), 3 deletions(-)

commit 34a12112edc3e997894cb65d6997e83fcf6fddc1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 3 17:26:53 2014 +0200

    Fix wrong sanity check.
    
    When comparing if we use the same read and write storage in migrations
    and copies we should ignore any autochanger devices as its fine to use
    those as both read and write device.

 src/dird/migrate.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

commit b4edc293001f55a5df42126a2160fd79a73e93b7
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Sep 1 15:07:18 2014 +0200

    Some changes to make clean target.

 Makefile.in           | 7 +++----
 debian/Makefile       | 4 ++--
 platforms/Makefile.in | 4 ++--
 src/dird/Makefile.in  | 4 ++--
 4 files changed, 9 insertions(+), 10 deletions(-)

commit 5a0c86919f9a24c99f07c26743c7054ea0ce9deb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 1 22:16:16 2014 +0200

    Rebuild configure.

 configure | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

commit 7e945126b5eb0b69559a884201073c20d92933ca
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Aug 29 12:44:39 2014 +0200

    added build support for Ubuntu 8.04
    
    let Bareos build on Ubuntu 8.04.
    However, QT-based programs (BAT, traymonitor) and Python plugins will not be build.
    Note: also not part of Ubuntu 8.04, debhelper >= 7.0.50 is required for building.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 Makefile.in                                    |   1 -
 autoconf/configure.in                          |  30 +-
 debian/Makefile                                |  21 ++
 debian/control                                 | 364 +------------------------
 debian/control.bareos-bat                      |  17 ++
 debian/control.bareos-director-python-plugin   |   9 +
 debian/control.bareos-filedaemon-python-plugin |   9 +
 debian/control.bareos-storage-python-plugin    |   9 +
 debian/control.bareos-traymonitor              |  15 +
 debian/control.common                          | 363 ------------------------
 debian/control.dummy                           | 298 ++++++++++++++++++++
 debian/control.in                              | 307 +++++++++++++++++++++
 debian/control.univention-bareos               |  10 +
 debian/control.univention-bareos-schema        |   8 +
 debian/rules                                   |  20 +-
 platforms/debian/Makefile.in                   |   6 +-
 platforms/packaging/bareos-xUbuntu_8.04.dsc    |  12 -
 platforms/packaging/bareos.dsc                 |   2 +-
 platforms/ubuntu/Makefile.in                   |   3 +-
 platforms/univention/Makefile.in               |   3 +-
 platforms/univention/debian/control.additional |  20 --
 21 files changed, 748 insertions(+), 779 deletions(-)

commit 0689422b6b61d85fcf4ef3b3aaad8653de16c876
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Aug 31 15:41:20 2014 +0200

    Small fixes to EFS restore code.

 src/lib/cbuf.c            | 12 ++++++------
 src/win32/findlib/win32.c |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

commit 40b6cd718f4839a4b8144c4a7896d21117777c58
Author: Olivier Gagnon <ogagnon@ludia.com>
Date:   Fri Aug 29 23:12:56 2014 -0400

    Miss casts and zeroing of integers

 src/dird/dir_plugins.c        | 8 ++++----
 src/plugins/dird/python-dir.c | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

commit c487d385943e267353bb8c7f21fbc55936421dbc
Author: Olivier Gagnon <ogagnon@ludia.com>
Date:   Fri Aug 29 08:54:18 2014 +0200

    Give access to job size to the plugins + enhancements/corrections
    
    The JobBytes, ReadBytes and LastRate values were not available to the
    plugins of the Director.
    
    Also, since the plugin needs to know about Canceled jobs, I moved the
    is_job_canceled() function after it passed through the plugins.
    
    While testing my changes, I came unto a signed/unsigned problem with
    values >2^31 (0000002:0000002,100,000,000). Python does not sign its
    integers so when passing an unsigned value to Python, it needs to be
    made explicitly. I added a function to correctly send the added
    variables (JobBytes, ReadBytes and LastRate) to Python as unsigned but I
    also moved some variables sent as signed integer to Python while they
    may be over 2^31 to that function (*JobFiles and *Errors) since they are
    defined as unsigned in the C code.
    
    Fixes #334: Give access to job size to the plugins +
                enhancements/corrections
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 AUTHORS                               |  1 +
 src/dird/dir_plugins.c                | 20 +++++++--
 src/dird/dir_plugins.h                | 79 ++++++++++++++++++-----------------
 src/plugins/dird/bareos_dir_consts.py |  6 ++-
 src/plugins/dird/python-dir.c         | 19 +++++++--
 5 files changed, 78 insertions(+), 47 deletions(-)

commit b1641194d7c92df0c43856f285b903624ba9bd99
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Aug 27 13:01:25 2014 +0200

    Make the output of bextract a bit clearer
    
    bextract does not work if the archive-device and directory are not given
    as the last two parameters.
    
    We now give this info to the caller.

 src/stored/bextract.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f49a0771e2872752144858b2f1baf4cbf5063736
Author: Frank Bergkemper <f.bergkemper@gmail.com>
Date:   Mon Aug 25 11:56:17 2014 +0200

    Missing job states in DB table Status
    
    Adds the missing and currently used states, which are defined in jcr.h,
    to the status table of the database.
    
    Fixes #333: Missing job states in DB table Status
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/ddl/creates/ingres.sql             | 10 ++++++++++
 src/cats/ddl/creates/mysql.sql              |  5 +++++
 src/cats/ddl/creates/postgresql.sql         | 10 ++++++++++
 src/cats/ddl/creates/sqlite3.sql            | 10 ++++++++++
 src/cats/ddl/updates/mysql.14_2001.sql      |  7 +++++++
 src/cats/ddl/updates/postgresql.14_2001.sql | 11 +++++++++++
 src/cats/ddl/updates/sqlite3.14_2001.sql    | 11 +++++++++++
 7 files changed, 64 insertions(+)

commit 3e4697f3658e3563c227e5352960a92803c3e707
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 25 23:30:37 2014 +0200

    openssl added

 platforms/packaging/bareos-xUbuntu_8.04.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 16260672eb111d437009da7fefc360bf0003f2ed
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 25 20:52:17 2014 +0200

    xUbuntu-8.04 dsc file added

 platforms/packaging/bareos-xUbuntu_8.04.dsc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit de8d6ec2027897fb8dcaa078e8757b65ff18c77a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 22 10:18:27 2014 +0200

    Sync LMDB code.

 src/lmdb/lmdb.h |   5 +-
 src/lmdb/mdb.c  | 163 ++++++++++++++++++++++++++++++++++++++------------------
 src/lmdb/midl.c |  14 +++++
 src/lmdb/midl.h |   9 ++++
 4 files changed, 137 insertions(+), 54 deletions(-)

commit 50226b4cc73ce851a9fd997ce4ef27bdd167c964
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 21 21:39:06 2014 +0200

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2303ecf8659d5401b8041837b3a2b794fca4bd4e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 21 21:28:17 2014 +0200

    Fix typo.

 src/dird/ndmp_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68c8df0ee8aaf31d9cf77186e78271799ca826ac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 21 17:24:12 2014 +0200

    Don't save filehist for NDMP backup when requested.
    
    Some NDMP implementations send their FILEHIST information in an out of
    order way which we currently don't handle fully correct so allow the user
    to set a config option to allow not to save the FILEHIST only count the
    files and directories saved.

 src/dird/dird_conf.c |   1 +
 src/dird/dird_conf.h |   1 +
 src/dird/ndmp_dma.c  | 198 +++++++++++++++++++++++++++------------------------
 3 files changed, 107 insertions(+), 93 deletions(-)

commit 044ea068228f316d26967bb20a0f3569bc1b74d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 21 17:23:22 2014 +0200

    Add some safeguards.
    
    Add some safeguards against running a Native Backup Job on NDMP client
    or storage.
    
    Fixes #329: Add some safeguards against running a Native Backup Job on
                NDMP client or storage.

 src/dird/backup.c    | 48 +++++++++++++++++++++++++++++++----
 src/dird/dird_conf.c | 12 +++++++++
 src/dird/ndmp_dma.c  | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/dird/protos.h    |  1 +
 4 files changed, 128 insertions(+), 5 deletions(-)

commit ff1287e1492fb370e1d9e265e8bef310d7d1f653
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 20 18:56:01 2014 +0200

    Like with MD5 only use SHA1 implementation as fallback.
    
    Like what we have done with MD5 the SHA1 implementation included is only
    used on platforms where we cannot (or do not want) to use the openssl
    SHA1 implementation. We include the right include file via the sha1.h
    header. We also no longer build the test sha1sum program as the new SHA1
    has no test program buildin anymore.

 src/lib/Makefile.in | 9 +--------
 src/lib/md5.c       | 4 ++--
 src/lib/sha1.c      | 8 +++++---
 src/lib/sha1.h      | 6 +++---
 4 files changed, 11 insertions(+), 16 deletions(-)

commit ab1eb37a6af77924e89131808470cdbdbccbd61a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Aug 20 16:33:48 2014 +0200

    adapted copyright information for SHA and MD5
    
    The SHA and MD5 have been replaced by public domain versions.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 LICENSE                 | 6 ++++++
 debian/copyright.footer | 9 +++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

commit febfc164f3531b66c01fdfe35b4bb4409a4c1c36
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 20 14:00:03 2014 +0200

    Make the mediatype selection configurable.
    
    Add an extra config option "device reserve by mediatype" which controls
    if we try to reserve a certain non autochanger device by the mediatype
    it has configured.
    
    Some people configure different different devices with the same media
    type. Although this will lead to all kind of problems lets make the new
    device reserve by mediatype something you have to explictly enable as
    probably very little people need this very specific reservation type.

 src/stored/reserve.c     | 62 +++++++++++++++++++++++++++++-------------------
 src/stored/stored_conf.c |  1 +
 src/stored/stored_conf.h |  1 +
 3 files changed, 40 insertions(+), 24 deletions(-)

commit 7aaf23762a78e68f614c92d3fcaea48426415fb6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 19 16:16:09 2014 +0200

    Proper fix for using fallback MD5 support.
    
    If we don't use the openssl MD5 support on windows we need to fallback
    to using a C++ version so we don't have a name clash with the normal md5
    routines available. So if we use our public domain version of MD5 we
    always compile it as C++ code from now on.

 src/lib/md5.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f1314f23e895c8795244489a0ab5fef6312ee3e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 19 16:03:55 2014 +0200

    Revert "Compile MD5 as C and not C++ symbols."
    
    This reverts commit 3f5943ef25d5d373848213c81cc319f3d66ff984.

 src/lib/md5.c | 6 +++---
 src/lib/md5.h | 7 -------
 2 files changed, 3 insertions(+), 10 deletions(-)

commit 76008a0a0273b0eadde8fc8f69c604c13c24c452
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 19 11:18:27 2014 +0200

    Compile MD5 as C and not C++ symbols.

 src/lib/md5.c | 6 +++---
 src/lib/md5.h | 7 +++++++
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 015e96b1e1f26aebf17efb4086fc63b20b89a64d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 19 11:03:16 2014 +0200

    Use local MD5 on Windows.

 src/lib/md5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b108aa4addb9ebd5f21c41e1c81359830959d5c1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 19 10:47:29 2014 +0200

    Fix windows build.

 src/win32/findlib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9532e714d96e6e0dd961874c57797996cc339b8a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 18 16:17:42 2014 +0200

    Fix use of uninitialized jcr member in DCR constructor.

 src/stored/acquire.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 86cd22f45e7950ec46fb41d362cf9ff98d06fa2f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 14 22:52:27 2014 +0200

    Update AUTHORS.

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit 11990839de67b3568d99826316f0e767b43826e6
Author: Daniel Holtkamp <holtkamp@riege.com>
Date:   Fri Aug 8 21:29:23 2014 +0200

    Enhance read device selection to respect media_type
    
    When looking for a device to mount a volume that is to be read bareos
    goes for the device the volume was last mounted in. If the original
    device is blocked but there are other devices that can be used those
    will not be selected and the job will fail.
    
    Fixes #326: Enhance read device selection to respect media_type
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/reserve.c | 65 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 49 insertions(+), 16 deletions(-)

commit bf8c0d90e0285edf2ee8c666698c5cbd9d9835ce
Author: Daniel Holtkamp <holtkamp@riege.com>
Date:   Fri Aug 8 21:29:17 2014 +0200

    Make consecutive tape reads more like writing to tape
    
    No rewinding between each job! but if we need the same tape and
    the device has the always open flag set the header cannot really change
    so rereading it has little value. The Storage daemon should just
    reposition the tape and start reading.
    
    Fixes #322: Make consecutive tape reads more like writing to tape
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/acquire.c | 71 ++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 49 insertions(+), 22 deletions(-)

commit 2d2d0710d35970c58b45c1e5661dab00b0c62c63
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 11 20:54:23 2014 +0200

    Drop the duplicate hash table implementation.
    
    Findlib has a hash table implementation for keeping hardlinked files
    its cleaner to use the htable class we already have in the generic
    library. So this patch adds support for binary keys in the htable class
    so we can store there the combined inode/device key. We now also use the
    hash_malloc of the htable class which allocates memory from a big memory
    block so it should also scale a bit better.

 src/filed/fd_plugins.c  |  74 +++++++++++++--
 src/findlib/Makefile.in |   6 +-
 src/findlib/find.c      |  59 +++++++-----
 src/findlib/find.h      |  27 +++++-
 src/findlib/find_one.c  | 176 +++++++++++------------------------
 src/findlib/hardlink.c  | 102 +++++++++++++++++++++
 src/findlib/protos.h    |  10 +-
 src/lib/htable.c        | 237 +++++++++++++++++++++++++++++++++++-------------
 src/lib/htable.h        |  76 +++++++++-------
 9 files changed, 503 insertions(+), 264 deletions(-)

commit 94e6b71e660815c08b2235400ccfefca2391fffb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 14 17:17:20 2014 +0200

    Refactor message printing.
    
    - Drop fixed size arrays of 5000 bytes (arbitrary length)
    - Code all message printing using POOL_MEM where it makes sense.
    - Reindented wrongly indented functions.
    - Don't use the new stuff using POOL_MEM from:
      - src/lib/mem_pool.c
      - src/lib/smartalloc.c
      - src/lib/lockmgr.c

 src/include/baconfig.h |  31 ++-
 src/lib/lockmgr.c      |  38 ++-
 src/lib/mem_pool.c     |  59 +++--
 src/lib/message.c      | 627 +++++++++++++++++++++++++++++--------------------
 src/lib/message.h      |   2 -
 src/lib/smartall.c     | 184 ++++++++-------
 6 files changed, 546 insertions(+), 395 deletions(-)

commit e0d63ca55f32de1ba31f9078dde7593eb76777c0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jun 15 17:34:10 2014 +0200

    Sync md5 and sha1 code to what others use.
    
    We have stuff that could make some distributions scream that things might be
    not fully opensource so we sync here to what other projects use e.g. a
    fully public domain version of sha1 and md5. When things are compiled
    using OpenSSL we even fall back to their implementation of md5 and don't
    compile an own version at all. The rest of the code was changed to use
    the new context names and the small change in the function names.

 src/dird/dird_conf.h    |   2 +-
 src/dird/inc_conf.c     |   6 +-
 src/dird/job.c          |   4 +-
 src/lib/crypto_gnutls.c |   4 +-
 src/lib/crypto_none.c   |   4 +-
 src/lib/crypto_nss.c    |   4 +-
 src/lib/hmac.c          |  26 +-
 src/lib/md5.c           | 601 ++++++++++++++++++++--------------------------
 src/lib/md5.h           |  76 +++---
 src/lib/res.c           |   8 +-
 src/lib/sha1.c          | 621 +++++++++++-------------------------------------
 src/lib/sha1.h          | 113 ++-------
 src/lib/util.c          |  14 +-
 13 files changed, 495 insertions(+), 988 deletions(-)

commit bc2d49db33da0cae3090ae492d195ce2a30cd4b4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 11 10:26:09 2014 +0200

    When we have a valid BSR also use it.
    
    When scanning volumes and we have a valid BSR we should really use it
    for scanning SOS_LABEL and EOS_LABEL parsing and if they don't pass the
    BSR filter they should be ignored.

 src/stored/bscan.c | 263 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 152 insertions(+), 111 deletions(-)

commit 4382f52deefb440a56988853a7c275d2ab31d7df
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 29 13:04:58 2014 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in | 21 +++++++++++++++++++++
 configure            | 14 +++++++++++++-
 2 files changed, 34 insertions(+), 1 deletion(-)

commit 41af4be846bd839e150aa0eff94d98aa878a7b3f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 29 12:47:01 2014 +0200

    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.

 autoconf/configure.in  |   3 +-
 src/findlib/attribs.c  | 286 +++++++++++++++++++++++++++++++++++++++----------
 src/findlib/find.h     |   3 +
 src/findlib/find_one.c |  67 ++++++++----
 src/findlib/mkpath.c   |  20 +++-
 src/findlib/protos.h   |   2 +-
 6 files changed, 295 insertions(+), 86 deletions(-)

commit 0cfa3d0717446da1ba1c3bed7cf640debfbcb29a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Aug 7 13:00:22 2014 +0200

    Fix wrong call of acl_access_ok
    
    A typo in calling acl_access_ok was fixed.
    
    Fixes #327: "No authorization for Client" on any operations from BAT.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a5c79d3cafdbec1ee8e3dd21a99637f46c4c5a95
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 4 17:06:50 2014 +0200

    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.

 src/cats/cats_backends.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit ba22d9ee8709812db4f252bb9e791645a49478d8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Aug 2 00:15:51 2014 +0200

    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.

 src/lib/bsock_sctp.c | 4 ++++
 src/lib/bsock_sctp.h | 2 +-
 src/lib/bsock_udt.c  | 4 ++++
 src/lib/bsock_udt.h  | 2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)

commit 4218e8863625319cfbafb9f9313655caec4c033d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 1 23:16:55 2014 +0200

    Tweak BSOCK classes one more time.
    
    Got bitten by the famous undefined reference to `vtable for ...`

 src/lib/bsock.c      | 4 ++++
 src/lib/bsock.h      | 2 +-
 src/lib/bsock_sctp.h | 1 +
 src/lib/bsock_tcp.c  | 4 ++++
 src/lib/bsock_tcp.h  | 2 +-
 src/lib/bsock_udt.h  | 1 +
 6 files changed, 12 insertions(+), 2 deletions(-)

commit a23182b00a5f2ef579c5ed6c67fa7e75fafe53e6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 31 23:38:43 2014 +0200

    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.

 src/stored/backends/cephfs_device.c           | 1 -
 src/stored/backends/gfapi_device.c            | 1 -
 src/stored/backends/object_store_device.c     | 1 -
 src/stored/backends/rados_device.c            | 1 -
 src/stored/backends/unix_fifo_device.c        | 1 -
 src/stored/backends/unix_file_device.c        | 1 -
 src/stored/backends/unix_tape_device.c        | 1 -
 src/stored/dev.c                              | 5 +++++
 src/stored/dev.h                              | 2 +-
 src/win32/stored/backends/win32_file_device.c | 1 -
 src/win32/stored/backends/win32_tape_device.c | 1 -
 11 files changed, 6 insertions(+), 10 deletions(-)

commit 30a3904131874b3161ebb27ef96183c91bf77615
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 31 23:01:55 2014 +0200

    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.

 src/stored/butil.c  | 7 ++++---
 src/stored/stored.c | 3 ++-
 2 files changed, 6 insertions(+), 4 deletions(-)

commit c8fd4f44bfd8eed400af77c32adb7231be306fdb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 31 22:50:15 2014 +0200

    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.

 src/lib/bsock.c      | 11 ++++++++++-
 src/lib/bsock.h      |  6 +++---
 src/lib/bsock_sctp.c | 46 ----------------------------------------------
 src/lib/bsock_sctp.h |  2 --
 src/lib/bsock_tcp.c  | 46 ----------------------------------------------
 src/lib/bsock_tcp.h  |  1 -
 src/lib/bsock_udt.c  | 46 ----------------------------------------------
 src/lib/bsock_udt.h  |  2 --
 8 files changed, 13 insertions(+), 147 deletions(-)

commit 37218b8dc380fda4260dcacccdbef74dc35e7d53
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 31 22:48:34 2014 +0200

    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.

 src/stored/acquire.c | 12 ++++++------
 src/stored/askdir.c  |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

commit 1390c5598780179a47e347675c932a5b5da27365
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 30 17:22:10 2014 +0200

    Tweak layout.

 src/stored/askdir.c      |  2 +-
 src/stored/autochanger.c |  3 +-
 src/stored/dir_cmd.c     | 75 ++++++++++++++++--------------------------------
 src/stored/protos.h      |  3 --
 4 files changed, 27 insertions(+), 56 deletions(-)

commit 1fa34a2d31c61acb8efb9e325bd0940a25cb1975
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 28 11:51:01 2014 +0200

    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.

 platforms/win32/winbareos-nsi.spec |   1 +
 platforms/win32/winbareos.nsi      |   1 +
 platforms/win32/winbareos32.spec   |   1 +
 platforms/win32/winbareos64.spec   |   1 +
 src/stored/Makefile.in             |  20 ++--
 src/stored/acquire.c               |  76 ++++++------
 src/stored/append.c                |   2 +-
 src/stored/askdir.c                | 232 +++++++++++++++++++++----------------
 src/stored/autochanger.c           |   2 +-
 src/stored/bcopy.c                 |  32 -----
 src/stored/bextract.c              |  31 -----
 src/stored/block.c                 |  12 +-
 src/stored/bls.c                   |  32 -----
 src/stored/bscan.c                 |  37 +-----
 src/stored/btape.c                 |  88 +++++++-------
 src/stored/butil.c                 |   9 +-
 src/stored/dev.h                   |  63 +++++++++-
 src/stored/device.c                |   4 +-
 src/stored/dir_cmd.c               |  13 ++-
 src/stored/dummy.c                 |  36 ------
 src/stored/label.c                 |   4 +-
 src/stored/mount.c                 |  32 +++--
 src/stored/ndmp_tape.c             |   2 +-
 src/stored/protos.h                |  21 +---
 src/stored/reserve.c               |  13 ++-
 src/stored/scan.c                  |   2 +-
 src/stored/sd_plugins.c            |   2 +-
 src/stored/sd_stats.c              |   6 +-
 src/stored/spool.c                 |   5 +-
 src/stored/stored.c                |  14 +--
 src/stored/stored.h                |   8 +-
 src/stored/wait.c                  |  17 ++-
 src/win32/stored/Makefile          |  64 +++++-----
 src/win32/stored/make_def          |  40 +++++++
 34 files changed, 441 insertions(+), 482 deletions(-)

commit 3cdcb5134281ba42ebcd643de4e0a409263497df
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 28 16:59:16 2014 +0200

    Sync LMDB code.

 src/lmdb/lmdb.h |  17 ++++----
 src/lmdb/mdb.c  | 118 ++++++++++++++++++++++++++------------------------------
 2 files changed, 65 insertions(+), 70 deletions(-)

commit 18b60cac786c6e3d94566263151ae023055654be
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jul 26 20:24:31 2014 +0200

    Fix Windows build.

 src/win32/compat/include/mingwconfig.h |  3 +++
 src/win32/dird/Makefile                |  2 +-
 src/win32/stored/Makefile              | 18 +++++++++---------
 3 files changed, 13 insertions(+), 10 deletions(-)

commit cf470d8b1fddd8d74b81a4f7af656a1b19dc9451
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 24 22:56:35 2014 +0200

    Fix compiler warnings when not using dynamic backend loading.

 src/dird/dbcheck.c    | 6 +++++-
 src/stored/bscan.c    | 6 ++++--
 src/tests/bbatch.c    | 4 +++-
 src/tests/bvfs_test.c | 4 +++-
 4 files changed, 15 insertions(+), 5 deletions(-)

commit a67cefb620562c21e590531f0c7cba301349e9aa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 24 22:44:05 2014 +0200

    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.

 src/stored/backends/generic_tape_device.c | 75 +++++++++++++++++++++++--------
 1 file changed, 57 insertions(+), 18 deletions(-)

commit af115f01b487747e8c3da4acba6651d7b5dfa3aa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 24 11:00:08 2014 +0200

    Update NLS files.

 po/POTFILES.in |  1074 +-
 po/de.po       | 23537 ++++++++++++++++++++++---------------------
 po/es.po       | 30029 ++++++++++++++++++++++++++++---------------------------
 po/fr.po       | 26711 +++++++++++++++++++++++++------------------------
 po/it.po       | 19538 ++++++++++++++++++------------------
 po/nl.po       | 20579 +++++++++++++++++++-------------------
 po/pl.po       | 28849 ++++++++++++++++++++++++++--------------------------
 po/sv.po       | 19538 ++++++++++++++++++------------------
 po/uk.po       | 21317 ++++++++++++++++++++-------------------
 9 files changed, 96500 insertions(+), 94672 deletions(-)

commit 0741069cbf72ba33382621678a607a28f9f14f6f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 24 10:47:32 2014 +0200

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.dsc                |  2 +-
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/mingw-debugsrc-devel.spec     |  2 +-
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/cats/ddl/versions.map.in                  |  2 ++
 src/include/version.h                         |  6 +++---
 12 files changed, 29 insertions(+), 21 deletions(-)

commit 7f9ca6e1d6a7200d764dd0affb1958caeb8d8ec0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 23 22:30:08 2014 +0200

    Update README.md

 README.md | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

commit 9d64cf7965505fe5fa31cc38d5bf6b0a27793869
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 23 12:48:04 2014 +0200

    Fix compiler warning.

 src/stored/sd_backends.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ac2ffca0855261b57dfb4950e8cb41f50275e4d7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 23 12:02:11 2014 +0200

    Fix compiler warning.

 src/ndmp/ndma_control.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 3890d24461c94dfe53ea0fb34f880e0467a7a608
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:56:28 2014 +0200

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9df89ef16dce354c3a18348ec1f6a80f46f53cf0
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Mon Jul 21 20:46:46 2014 +0200

    rewrap description lines and extend description
    
    Signed-off-by: Joerg Steffens <joerg.steffens@bareos.com>

 debian/control        | 16 ++++++++++++----
 debian/control.common | 16 ++++++++++++----
 2 files changed, 24 insertions(+), 8 deletions(-)

commit 3f872582a35ad355110e783906ed81da89b50eb6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:46 2014 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |   6 ++
 configure            | 299 ++++++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 267 insertions(+), 38 deletions(-)

commit a62b7edecdb3e54518e2e06f761d217a24351c4a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jul 21 20:46:45 2014 +0200

    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>

 Makefile.in                                       |  1 +
 autoconf/configure.in                             | 71 ++++++++++++++---------
 debian/bareos-bat.install                         |  9 ---
 debian/bareos-bat.install.in                      |  8 +++
 debian/bareos-bconsole.install                    |  5 --
 debian/bareos-bconsole.install.in                 |  5 ++
 debian/bareos-common.install                      | 17 ------
 debian/bareos-common.install.in                   | 16 +++++
 debian/bareos-database-common.install             | 10 ----
 debian/bareos-database-common.install.in          | 10 ++++
 debian/bareos-database-mysql.install              |  4 --
 debian/bareos-database-mysql.install.in           |  4 ++
 debian/bareos-database-postgresql.install         |  4 --
 debian/bareos-database-postgresql.install.in      |  4 ++
 debian/bareos-database-sqlite3.install            |  4 --
 debian/bareos-database-sqlite3.install.in         |  4 ++
 debian/bareos-database-tools.install              |  4 --
 debian/bareos-database-tools.install.in           |  4 ++
 debian/bareos-devel.install                       |  1 -
 debian/bareos-devel.install.in                    |  1 +
 debian/bareos-director-python-plugin.install      |  3 -
 debian/bareos-director-python-plugin.install.in   |  3 +
 debian/bareos-director.install                    |  9 ---
 debian/bareos-director.install.in                 |  9 +++
 debian/bareos-filedaemon-python-plugin.install    |  8 ---
 debian/bareos-filedaemon-python-plugin.install.in |  8 +++
 debian/bareos-filedaemon.install                  |  3 -
 debian/bareos-filedaemon.install.in               |  3 +
 debian/bareos-storage-fifo.install.in             |  1 +
 debian/bareos-storage-python-plugin.install       |  3 -
 debian/bareos-storage-python-plugin.install.in    |  3 +
 debian/bareos-storage-tape.install                |  7 ---
 debian/bareos-storage-tape.install.in             |  7 +++
 debian/bareos-storage.install                     |  7 ---
 debian/bareos-storage.install.in                  |  7 +++
 debian/bareos-tools.install                       | 14 -----
 debian/bareos-tools.install.in                    | 14 +++++
 debian/bareos-traymonitor.install                 |  6 --
 debian/bareos-traymonitor.install.in              |  6 ++
 debian/rules                                      |  1 +
 debian/univention-bareos-schema.install           |  1 -
 debian/univention-bareos-schema.install.in        |  1 +
 debian/univention-bareos.install                  | 10 ----
 debian/univention-bareos.install.in               | 10 ++++
 platforms/packaging/bareos.spec                   | 31 +++++-----
 45 files changed, 189 insertions(+), 172 deletions(-)

commit 97ca18f888442f83845294780b2e064c7d9b10c7
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jul 21 20:46:45 2014 +0200

    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>

 Makefile.in                      |   2 +-
 debian/copyright                 | 299 ---------------------------------------
 debian/copyright.footer          | 274 +++++++++++++++++++++++++++++++++++
 debian/copyright.header          |  22 +++
 platforms/debian/Makefile.in     |   6 +-
 platforms/packaging/bareos.spec  |   2 +-
 platforms/univention/Makefile.in |   2 +
 platforms/unknown/Makefile.in    |   2 +
 8 files changed, 307 insertions(+), 302 deletions(-)

commit 3a5a29ce5384d6e21122fc215c08883a2b02606c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jul 21 20:46:44 2014 +0200

    get rid of special SPEC file for RHEL4
    
    use the normal bareos.spec also for RHEL4
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos-RHEL_4.spec | 1050 --------------------------------
 platforms/packaging/bareos.spec        |   42 +-
 2 files changed, 33 insertions(+), 1059 deletions(-)

commit 490e84fbfaf4f3ceee0395b1b53a80f0f97c1a9c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jul 21 20:46:44 2014 +0200

    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 #315: Support for NotToBackup Registry Key

 src/filed/fd_plugins.c    |  10 +--
 src/filed/fileset.c       | 137 +++++-------------------------
 src/filed/protos.h        |   4 -
 src/findlib/find.c        | 124 +++++++++++++++++++++++++++
 src/findlib/protos.h      |   8 ++
 src/win32/Makefile.inc    |   2 +-
 src/win32/findlib/win32.c | 207 ++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 366 insertions(+), 126 deletions(-)

commit 12396529be48c6d21a9cecc10091b74bbc190a01
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jul 21 20:46:44 2014 +0200

    Use a special backend dir to store both catalog and storage backends.
    
    We want to store the catalog and storage backends in a special dir so
    they are not in any lib directory as they are not really shared
    libraries but shared object with some very specific entry points.
    
    The code is now so that by default the configured backend dir set at
    compile time is set as default and the user can specify additional
    directories that should be searched for backend in the configfile of
    both the director and the storage daemon. The code checks if the wanted
    backend is located in one of the specified backend directories and it
    loaded from the first directory it is found in.
    
    The packaging is changed to do the following:
    - Enable building packages with dynamic-storage-backends.
    - Different backends are handled in separate libraries.
    - The bareos-storage-tape package does now also contain the required libraries.
    - The fifo backend is also handled by a separate package (bareos-storage-fifo).

 autoconf/Make.common.in                        |   1 +
 autoconf/config.h.in                           |   3 +
 autoconf/configure.in                          |  18 +++
 debian/bareos-common.install                   |  17 ++-
 debian/bareos-database-common.install          |   4 +-
 debian/bareos-database-mysql.install           |   2 +-
 debian/bareos-database-postgresql.install      |   2 +-
 debian/bareos-database-sqlite3.install         |   2 +-
 debian/bareos-storage-tape.install             |   3 +
 debian/control                                 |  15 ++-
 debian/control.common                          |  15 ++-
 debian/rules                                   |   4 +-
 manpages/bareos-dbcheck.8                      |  15 ++-
 manpages/bconsole.1                            |   2 +-
 manpages/bpluginfo.8                           |  35 +++---
 manpages/bscan.8                               |  31 ++---
 platforms/packaging/bareos-RHEL_4.spec         | 115 +++++++++----------
 platforms/packaging/bareos.dsc                 |   2 +-
 platforms/packaging/bareos.spec                | 127 ++++++++++++++------
 src/cats/Makefile.in                           |   7 +-
 src/cats/cats.h                                |  18 ---
 src/cats/cats_backends.c                       | 153 +++++++++++++++----------
 src/cats/protos.h                              |   8 +-
 src/defaultconfigs/diskonly/bareos-dir.conf.in |  11 +-
 src/dird/bareos-dir.conf.in                    |  11 +-
 src/dird/dbcheck.c                             |  27 +++--
 src/dird/dird.c                                |  13 ++-
 src/dird/dird_conf.c                           |  49 +++++---
 src/dird/dird_conf.h                           |   1 +
 src/filed/filed_conf.c                         |  20 ++--
 src/lib/parse_conf.c                           |  88 +++++++++++++-
 src/lib/parse_conf.h                           |   2 +-
 src/lib/res.c                                  |  43 +++++++
 src/stored/backends/Makefile.in                |  20 ++--
 src/stored/bcopy.c                             |   9 --
 src/stored/bextract.c                          |  11 +-
 src/stored/bls.c                               |  11 +-
 src/stored/bscan.c                             |  41 ++++---
 src/stored/btape.c                             |  11 +-
 src/stored/protos.h                            |   7 ++
 src/stored/sd_backends.c                       | 127 ++++++++++++--------
 src/stored/stored.c                            |   7 --
 src/stored/stored_conf.c                       |  45 ++++++--
 src/stored/stored_conf.h                       |   1 +
 src/tests/bbatch.c                             |  16 ++-
 src/tests/bvfs_test.c                          |  12 ++
 src/tests/cats_test.c                          |  12 +-
 src/tests/ing_test.c                           |  11 +-
 48 files changed, 789 insertions(+), 416 deletions(-)

commit 3e1bbfee0a1f941b6d90501c0c9050c4fe806bce
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:43 2014 +0200

    Some preliminary work for allowing to have audit events.

 src/dird/Makefile.in        |  14 ++--
 src/dird/bareos-dir.conf.in |  16 ++--
 src/dird/dird_conf.c        |  68 +++++++++++++---
 src/dird/dird_conf.h        |  37 +++++----
 src/dird/protos.h           |  10 ++-
 src/dird/ua_acl.c           |  70 ++++++++++++-----
 src/dird/ua_audit.c         | 138 ++++++++++++++++++++++++++++++++
 src/dird/ua_cmds.c          | 188 +++++++++++++++++++++++++-------------------
 src/dird/ua_dotcmds.c       | 136 +++++++++++++++++++-------------
 src/dird/ua_restore.c       |  14 ++--
 src/dird/ua_run.c           |  31 ++++----
 src/dird/ua_select.c        |  10 +--
 src/dird/ua_server.c        |  15 +++-
 src/dird/ua_status.c        |   6 +-
 src/dird/ua_update.c        |   2 +-
 src/lib/generic_res.h       |   1 +
 src/lib/message.h           |  95 ++++++++++++----------
 src/lib/res.c               |  50 +++++-------
 src/win32/dird/Makefile     |  10 +--
 19 files changed, 594 insertions(+), 317 deletions(-)

commit 1c7dfd902378c9fa69474bece6348582208946f8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:42 2014 +0200

    Initial code commit for keeping statistics in the SD and transfer to DIR.

 src/cats/cats.h                               | 208 ++++++---
 src/cats/ddl/creates/ingres.sql               |  23 +-
 src/cats/ddl/creates/mysql.sql                |  24 +-
 src/cats/ddl/creates/postgresql.sql           |  25 +-
 src/cats/ddl/creates/sqlite3.sql              |  24 +-
 src/cats/ddl/drops/ingres.sql                 |   2 +-
 src/cats/ddl/drops/mysql.sql                  |   2 +-
 src/cats/ddl/drops/postgresql.sql             |   2 +-
 src/cats/ddl/grants/ingres-readonly.sql       |   2 +-
 src/cats/ddl/grants/ingres.sql                |   2 +-
 src/cats/ddl/grants/postgresql-readonly.sql   |   2 +-
 src/cats/ddl/grants/postgresql.sql            |   2 +-
 src/cats/ddl/updates/mysql.2002_2003.sql      |  41 ++
 src/cats/ddl/updates/postgresql.2002_2003.sql |  48 ++
 src/cats/ddl/updates/sqlite3.2002_2003.sql    |  44 ++
 src/cats/protos.h                             |   3 +
 src/cats/sql_create.c                         | 399 ++++++++++++-----
 src/dird/Makefile.in                          |   2 +-
 src/dird/admin.c                              |   2 -
 src/dird/autoprune.c                          |  24 +-
 src/dird/backup.c                             |   3 +-
 src/dird/catreq.c                             |   1 +
 src/dird/dird.c                               |  40 +-
 src/dird/dird_conf.c                          |   2 +
 src/dird/dird_conf.h                          |   4 +-
 src/dird/inc_conf.c                           |   4 +-
 src/dird/job.c                                |  48 +-
 src/dird/migrate.c                            |   1 +
 src/dird/newvol.c                             |   4 +-
 src/dird/next_vol.c                           |   9 +-
 src/dird/protos.h                             |   5 +
 src/dird/run_conf.c                           |   2 +-
 src/dird/stats.c                              | 339 ++++++++++++++
 src/dird/ua_cmds.c                            |  12 +-
 src/dird/ua_dotcmds.c                         |   2 +-
 src/dird/ua_label.c                           |  43 +-
 src/dird/ua_output.c                          |   8 +-
 src/dird/ua_prune.c                           |  22 +-
 src/dird/ua_purge.c                           |  17 +-
 src/dird/ua_restore.c                         |   8 +-
 src/dird/ua_select.c                          |  28 +-
 src/dird/ua_server.c                          |   4 +-
 src/dird/ua_status.c                          |  14 +-
 src/dird/ua_update.c                          |  47 +-
 src/dird/verify.c                             |   2 +-
 src/lib/scsi_tapealert.c                      |   2 +-
 src/plugins/stored/scsitapealert-sd.c         |  10 +
 src/stored/Makefile.in                        |  12 +-
 src/stored/acquire.c                          |   9 +-
 src/stored/dir_cmd.c                          |  20 +-
 src/stored/dummy.c                            |  36 ++
 src/stored/fd_cmds.c                          |   8 +
 src/stored/job.c                              |   1 +
 src/stored/mac.c                              |  13 +
 src/stored/protos.h                           |   6 +
 src/stored/sd_cmds.c                          |   8 +
 src/stored/sd_plugins.c                       |  10 +
 src/stored/sd_plugins.h                       |   1 +
 src/stored/sd_stats.c                         | 606 ++++++++++++++++++++++++++
 src/stored/spool.c                            |   2 +-
 src/stored/stored.c                           |   3 +
 src/stored/stored_conf.c                      |   8 +-
 src/stored/stored_conf.h                      |   4 +
 src/win32/dird/Makefile                       |   2 +-
 src/win32/stored/Makefile                     |   4 +-
 65 files changed, 1950 insertions(+), 365 deletions(-)

commit da2f4aa5803f917517de4eea73fe5695645c08f9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:41 2014 +0200

    Initial commit for TapeAlert support.

 autoconf/configure.in                 |   2 +-
 src/lib/Makefile.in                   |  12 +-
 src/lib/protos.h                      |   3 +
 src/lib/scsi_lli.h                    |   2 +-
 src/lib/scsi_tapealert.c              | 121 +++++++++++++++++
 src/lib/scsi_tapealert.h              | 163 +++++++++++++++++++++++
 src/plugins/stored/Makefile.in        |   5 +
 src/plugins/stored/scsitapealert-sd.c | 235 ++++++++++++++++++++++++++++++++++
 src/stored/acquire.c                  | 109 ++++++++++------
 src/stored/mount.c                    |  15 ++-
 src/stored/sd_plugins.h               |   3 +-
 src/stored/stored_conf.c              |   1 +
 src/stored/stored_conf.h              |   1 +
 13 files changed, 617 insertions(+), 55 deletions(-)

commit 47b6b5cc4f2479f5815f298280c3c69d29e04420
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:41 2014 +0200

    First prototype dynamic loading SD backends.
    
    We now store all shared objects used in all SD programs
    (stored, btape, bls ...) in a shared library named
    libbareossd-<version>.so so the final binaries get much
    smaller and share the same code. Next to that we started
    the first work on making tape specific code abstracted in
    the tape_device class and no longer in the generic device
    code. Now we implement the different methods of the different
    device classes using virtual methods some are pure virtual
    which means that the derived class needs to implement this
    method itself and some have a default implementation which the
    class can override.
    
    This also contains the first try at making it possible to
    dynamically load the different SD backends. The file backend
    will always be part of the libbareossd.so but the tape and
    the different cloud storage backends are dynamically loadable
    using the same technique as what is used for loading the
    different catalog backends. This means that we can distribute
    the different storage programs without the need to have all
    kind of dependencies on the different cloud backend we support
    now.
    
    As part of this big refactoring we removed the vtape code which
    doesn't serve a real purpose anymore in Bareos as there are much
    better alternatives (MHVTL and QuadstorVTL) nowadays and we should
    carry on unmaintained code. The alternatives also see steady
    development while vtape hasn't been updates in ages. Also these
    alternative VTL emulators implement a true autochanger, encryption
    and much more like personality support for all major brands in
    real tape hardware which also means we test our tape code much
    more thoroughly.

 Makefile.in                                   |    2 +-
 autoconf/configure.in                         |   71 +-
 src/cats/Makefile.in                          |    5 +-
 src/include/baconfig.h                        |    4 +
 src/include/version.h                         |    2 +-
 src/lib/Makefile.in                           |    4 +-
 src/stored/Makefile.in                        |  171 +--
 src/stored/backends/Makefile.in               |  158 +++
 src/stored/backends/cephfs_device.c           |   30 +-
 src/stored/backends/cephfs_device.h           |    1 -
 src/stored/backends/generic_tape_device.c     | 1426 ++++++++++++++++++++
 src/stored/backends/generic_tape_device.h     |   68 +
 src/stored/backends/gfapi_device.c            |   30 +-
 src/stored/backends/gfapi_device.h            |    1 -
 src/stored/backends/object_store_device.c     |   22 +
 src/stored/backends/object_store_device.h     |    1 -
 src/stored/backends/rados_device.c            |   25 +-
 src/stored/backends/rados_device.h            |    1 -
 src/stored/backends/unix_fifo_device.c        |  360 +++++
 src/stored/backends/unix_fifo_device.h        |   50 +
 src/stored/backends/unix_file_device.c        |  289 +++-
 src/stored/backends/unix_file_device.h        |    5 +-
 src/stored/backends/unix_tape_device.c        |   51 +-
 src/stored/backends/unix_tape_device.h        |   14 +-
 src/stored/backends/vtape.c                   |  929 -------------
 src/stored/backends/vtape.h                   |   99 --
 src/stored/block.c                            |    7 +-
 src/stored/btape.c                            |    4 +-
 src/stored/butil.c                            |    2 +-
 src/stored/dev.c                              | 1772 +++----------------------
 src/stored/dev.h                              |  324 +++--
 src/stored/protos.h                           |    5 +-
 src/stored/sd_backends.c                      |  168 +++
 src/stored/sd_backends.h                      |   71 +
 src/stored/stored_conf.c                      |    1 -
 src/win32/stored/Makefile                     |    5 +-
 src/win32/stored/backends/win32_file_device.c |  164 ++-
 src/win32/stored/backends/win32_file_device.h |    3 +-
 src/win32/stored/backends/win32_tape_device.c |   22 +-
 src/win32/stored/backends/win32_tape_device.h |    9 +-
 40 files changed, 3385 insertions(+), 2991 deletions(-)

commit 5ca0ce9a607f0dce32612b35a27c8e450c75e907
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:40 2014 +0200

    Add first attempt for support libcephfs stored backend.

 autoconf/configure.in               |  77 ++++++++-
 src/stored/Makefile.in              |  10 +-
 src/stored/backends/cephfs_device.c | 300 ++++++++++++++++++++++++++++++++++++
 src/stored/backends/cephfs_device.h |  56 +++++++
 src/stored/dev.c                    |  12 ++
 src/stored/dev.h                    |   6 +-
 src/stored/stored_conf.c            |   1 +
 7 files changed, 453 insertions(+), 9 deletions(-)

commit 73dfa9806074be58f4d2a217fac684156bc85c52
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:40 2014 +0200

    Fix TODO from November 2008.

 src/stored/stored.c | 6 ------
 src/tests/testls.c  | 1 +
 2 files changed, 1 insertion(+), 6 deletions(-)

commit 09262f2443eaa60511cdd53f9b940e5c1704598f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:39 2014 +0200

    Drop last instances of generate_daemon_event()
    
    This is an reminiscent of the old python code. As we replaced it with a
    proper plugin interface now everywhere we can drop this old dummy
    functions and definitions.

 src/tests/testls.c    | 2 --
 src/tools/bsmtp.c     | 8 --------
 src/tools/drivetype.c | 4 ----
 src/tools/fstype.c    | 4 ----
 4 files changed, 18 deletions(-)

commit fb6aa95086093b85bd7e99a08459533ae5e0d56b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:39 2014 +0200

    Cleanup lockmgr.h
    
    Some platforms don't like spaces in #define and other preprocessor
    commands so lets cleanup this mess.

 src/lib/lockmgr.h | 154 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 84 insertions(+), 70 deletions(-)

commit 33a40c141fba346a2edadba176ce0acf019493ee
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:39 2014 +0200

    Flush console queued job messages

 src/dird/ua_output.c | 7 +++++++
 1 file changed, 7 insertions(+)

commit ccea6d8a44bfefd31a156e9b7e02876ed3f2bbf9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:39 2014 +0200

    Reschedule on error caused EndTime to be incorrect

 src/cats/sql_update.c |   2 +-
 src/dird/jobq.c       | 138 ++++++++++++++++++++++++++++----------------------
 2 files changed, 79 insertions(+), 61 deletions(-)

commit 01ce2f2e86300a74b7f4b2141bc85808b52a3776
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:38 2014 +0200

    Allow to read from file type devices multiple times.
    
    Up until now the volume reservation logic only allows you to have one
    Job access the same read volume. For file type devices multiple readers
    should be no problem and most filesystems are even optimized for this
    nowadays by allowing multi parallel sequential read streams which are
    handled very efficiently.

 src/stored/bcopy.c    |  17 +++++--
 src/stored/bextract.c |   2 +-
 src/stored/bls.c      |   2 +-
 src/stored/bscan.c    |   2 +-
 src/stored/btape.c    |   2 +-
 src/stored/butil.c    |  29 ++++++-----
 src/stored/dev.h      |  63 +++++++++++++----------
 src/stored/dir_cmd.c  |   1 +
 src/stored/protos.h   |   3 +-
 src/stored/reserve.c  |  24 ++++++---
 src/stored/spool.c    |   9 ++--
 src/stored/stored.c   |  13 +++--
 src/stored/vol_mgr.c  | 136 +++++++++++++++++++++++++++++++++++++++-----------
 13 files changed, 209 insertions(+), 94 deletions(-)

commit 29adff048b240bb5d01448747af82c784c92c7e6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:18 2014 +0200

    Don't check client concurrency for Migrate/Copy Jobs.
    
    Now that we set the actual client for which a migrate/copy is done we
    should no longer check the client concurrency as that makes no sense for
    a migrate/copy job as the client is not consultated at all so we can run
    with as many concurrency as allowed by the storage concurrency.

 src/dird/jobq.c | 42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)

commit 73363e3043d11a955267ed1d2e1f0d6ffebdb069
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 21 20:46:13 2014 +0200

    Make storage status somewhat more informative.

 src/stored/status.c | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

commit a3d7175c38d326fd88f9551865558992344c0b07
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Jul 11 16:59:04 2014 +0200

    renamed package: macbareos to bareos-filedaemon
    
    Renamed the Bareos MacOS package from macbareos to bareos-filedaemon
    to be aligned with most of the other platforms.

 platforms/osx/Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a8bbf2810041b3b7a59cc18a7ed664000ad67441
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 11 11:09:51 2014 +0200

    Create an empty rados object in d_open when O_CREAT is set.

 src/stored/backends/rados_device.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

commit 858a8a642b3d9e78ce7431be5f59e36498d057af
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 11 11:09:51 2014 +0200

    Some tweaks to copy/migrate config.
    
    The folllowing changes were made:
    
    - The copy and migration jobs up until now always needed that you specify a
      storage in the Job while most of the time it was never used as the real
      storage used also depends on what the original Job used for storage.
    
      This patch tries to relax the need for specifying a read storage and
      tries to always use the info of the original pool used by the previous
      Job being copied or migrated or the original storage settings of the Job
      itself.
    
      When you start a copy or migration you now don't see the somewhat random
      read storage that can change along the way but only the write storage.
      In essence it should also not matter what read storage is used as long
      its the right read storage.
    
    - We can now have migration and copy jobs without a dummy client setting
      but this means that the %c variable of the Job will not be filled and as
      such you won't see the client name in the completion mail subject. So we
      now copy the client pointer from the actual previous Job that is
      migrated or copied so that we do have the proper client name and also
      the client name of the actual client the migration or copy was done for
      an no longer the dummy name it was before.
    
    - Analog to using the client from the previous Job we also use the fileset
      and job level of the previous Job so that the copy migrate now always looks
      similar to the original Job its copying e.g. no longer a backup level
      incremental when copying/migrating a full level Job.
    
    - Try to be smart about when to use data spooling.
      Only use the Job data spooling setting when not enabled yet. e.g. when the
      JCR already has data spooling enabled we don't want to disable it because
      the Job has no explicit setting.
    
    - Restored printing of the client/fileset/level in the copy/migrate overview
      something we removed in a previous patch when we removed the explicit need
      for specifying these settings. Now that we set the correct information in
      the copy/migrate setup we can again print this data and now also show the
      correct info if you configure your copy/migrate jobs using the new config
      syntax e.g. without setting a dummy client and fileset.

 src/console/console.c |  1 +
 src/dird/dird_conf.c  | 22 +++++++--------
 src/dird/job.c        |  9 +++---
 src/dird/migrate.c    | 78 +++++++++++++++++++++++++++++++++++++++++++--------
 src/dird/ua_run.c     | 31 ++++++++++++--------
 5 files changed, 102 insertions(+), 39 deletions(-)

commit 01808dd71df9f3e9163f6133e8a4cc62906fe960
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 11 11:09:51 2014 +0200

    Sync LMDB code.

 src/lmdb/lmdb.h |  175 +++++--
 src/lmdb/mdb.c  | 1539 ++++++++++++++++++++++++++++++++++++++++---------------
 src/lmdb/midl.c |    4 +-
 src/lmdb/midl.h |    6 +-
 4 files changed, 1251 insertions(+), 473 deletions(-)

commit 83ab3f06fde21995e238ee50fe7dbd2078390c5f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jul 21 16:04:39 2014 +0200

    Fix 64Bit install dir problems
    
    On 64Bits, there were problems when a different install location was
    chosen.
    
    Now we only set PROGRAMFILES to PROGRAMFILES64, if the INSTDIR was not
    altered.
    
    On uninstall, we do not set the INSTDIR anymore as it is set correctly by
    the uninstaller.
    
    Fixes #324: Windows installer (64 bits) overwrites user install dir
    settings.

 platforms/win32/winbareos.nsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 546d54eef75388cd42c619c89289d850dc2a5b8a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 14 19:20:32 2014 +0200

    Move special flags for mig_jcr.
    
    We need to set the duplicate checking and maxtime check flags on
    a mig_jcr to disables as soon as we instantiated the mig_jcr as
    setup_job() already evaluates if the Job is a duplicate.
    
    Fixes #318: copy jobs & cancel duplicates

 src/dird/migrate.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

commit 993db346cb20841da7a3033b6ce15a425d19935e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 6 11:59:25 2014 +0200

    Update AUTHORS.

 AUTHORS | 2 ++
 1 file changed, 2 insertions(+)

commit 06fc51c7f9556fe43815f4a5d97161724bc168af
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jul 2 16:27:08 2014 +0200

    Set correct definition of _REPARSE_DATA_BUFFER
    
    It seems that our definition of _REPARSE_DATA_BUFFER
    was missing a Member called Flags.
    
    See here:
    
    http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012%28v=vs.85%29.aspx

 src/win32/compat/include/compat.h | 1 +
 1 file changed, 1 insertion(+)

commit 9708f26f76e4ab19d50007ded0d03c06638de232
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 1 15:53:06 2014 +0200

    Fix compiler warning.

 src/filed/accurate_lmdb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 5c39919b32631feace98ba056ffc5f57aeff5882
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 1 14:54:02 2014 +0200

    Enable systemd support for RHEL7 and CentOS7.

 platforms/packaging/bareos.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0f0f2408c055aec41c8f9489b9f88c6c34e0beed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 30 14:46:05 2014 +0200

    Make the build flags setable via a define.

 platforms/win32/winbareos32.spec | 6 +++++-
 platforms/win32/winbareos64.spec | 7 +++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 72344c482fae93fea1ab966e6c4c7e4a46984a95
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jun 30 10:43:25 2014 +0200

    Fix typo for Vista Compat in make call
    
    Now we call make correctly to use the vista stuff.

 platforms/win32/winbareos32.spec | 2 +-
 platforms/win32/winbareos64.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 955a888c0d50580dcd9af67d8708f2d85d8f7a69
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 28 21:48:52 2014 +0200

    Fix small problem with defaults cmd on copy job.
    
    Hopefully last occurrence of side effects now that a copy job doesn't
    need to have a client specified in its definition.

 src/dird/ua_dotcmds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8ec77d0ba03719d7798dd2b5848b0031b8dbce67
Author: Oleg Livshyts <oleg@dass-it.de>
Date:   Mon Jun 23 15:32:20 2014 +0200

    Traymonitor icon show warning icon
    
    When there is a connection problem like
     - connection cannot be established
     - authentication fails
    the icon of the traymonitor is changed to an exclamation mark
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/images/bareos_3.png                   | Bin 0 -> 1863 bytes
 src/qt-tray-monitor/authenticate.cpp      |   2 -
 src/qt-tray-monitor/main.qrc              |   1 +
 src/qt-tray-monitor/mainwindow.cpp        |  23 ++++++
 src/qt-tray-monitor/mainwindow.h          |   4 +
 src/qt-tray-monitor/monitoritem.cpp       | 130 +++++++++++++-----------------
 src/qt-tray-monitor/monitoritemthread.cpp |   8 +-
 src/qt-tray-monitor/systemtrayicon.cpp    |  24 +++---
 src/qt-tray-monitor/systemtrayicon.h      |   1 +
 9 files changed, 105 insertions(+), 88 deletions(-)

commit f0f69a67691a659fa3fd46f821f51bf8b7721d4d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 15:09:45 2014 +0200

    Fix typo.

 src/dird/ua_purge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 175b193755090919c7d6f6514fb13adc7953c300
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 14:34:29 2014 +0200

    Tweak.

 platforms/packaging/bareos-RHEL_4.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 22f84ffd31db95add11b64e2d41e0f7f46157ad9
Author: Jakub Hradil <jkhradil@gmail.com>
Date:   Tue May 27 23:34:29 2014 +0200

    Fix for purge command to purge and truncate volumes in a single run

 src/cats/protos.h   |  2 +-
 src/cats/sql_get.c  | 56 +++++++++++++++++++++---------------
 src/dird/ua_purge.c | 81 ++++++++++++++++++++++++++++++++++++++++-------------
 3 files changed, 95 insertions(+), 44 deletions(-)

commit d7b45ccb33cfb94b970cf261ae3f5524c9c7f08a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 14:03:29 2014 +0200

    Last fix for RHEL4 specfile.

 platforms/packaging/bareos-RHEL_4.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 98767f6113252cc59d2236fd9e35a3868233fe91
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 12:47:06 2014 +0200

    Tweak last change so things hopefully work again for all platforms.

 platforms/packaging/bareos-RHEL_4.spec | 6 +++++-
 platforms/packaging/bareos.spec        | 3 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

commit b01d42028bfb449f9d33c26d21ee50e224355607
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 11:32:34 2014 +0200

    Sync changes to specfile back to RHEL4 specfile.

 platforms/packaging/bareos-RHEL_4.spec | 28 +++++++++++++++-------------
 platforms/packaging/bareos.spec        |  2 +-
 2 files changed, 16 insertions(+), 14 deletions(-)

commit 11277d56cefff1f0af17d967c18f0893d4b400ae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 11:05:21 2014 +0200

    Don't use the install-autostart target when install target is called.

 platforms/aix/Makefile.in       | 2 +-
 platforms/alpha/Makefile.in     | 2 +-
 platforms/bsdi/Makefile.in      | 2 +-
 platforms/freebsd/Makefile.in   | 2 +-
 platforms/gentoo/Makefile.in    | 2 +-
 platforms/hurd/Makefile.in      | 2 +-
 platforms/irix/Makefile.in      | 2 +-
 platforms/mandrake/Makefile.in  | 2 +-
 platforms/openbsd/Makefile.in   | 2 +-
 platforms/packaging/bareos.spec | 6 ++----
 platforms/redhat/Makefile.in    | 2 +-
 platforms/slackware/Makefile.in | 2 +-
 platforms/solaris/Makefile.in   | 2 +-
 platforms/suse/Makefile.in      | 2 +-
 platforms/systemd/Makefile.in   | 2 +-
 platforms/unknown/Makefile.in   | 4 ++--
 16 files changed, 18 insertions(+), 20 deletions(-)

commit fa630556e7c298f6852d7e54071928c1d983f6c2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 24 10:54:10 2014 +0200

    Revert "Add an extra install target."
    
    This reverts commit 47a476d3ac11a063d240c53da7c5e590f5c739d8.

 Makefile.in | 3 ---
 1 file changed, 3 deletions(-)

commit d8b4b42673a0391579ea749954b2bae0f8b59ba1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 23 22:51:37 2014 +0200

    Fix some compiler warnings.

 src/dird/ndmp_dma.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit d2e07cc42fa572a261b8a1284dd9063ed660fd51
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 23 15:39:08 2014 +0200

    Add an extra install target.
    
    Added an extra make target named install-regression that does the same a
    a normal make install but doesn't do the specific platform install. On
    a regression install it makes little sense to install platform files
    like init scripts etc.

 Makefile.in | 3 +++
 1 file changed, 3 insertions(+)

commit 2e7bd2c5330372f73680aaf8d2dc43e4d94c4adb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 21 07:54:51 2014 +0200

    Rebuild configure.

 configure | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 66a752a12e7f20d1793d78695d03e68e497e0041
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jun 18 17:48:54 2014 +0200

    use bindir instead of sbindir for non system tools
    
    moved bat, bareos-tray-monitor, bconsole, bwild and bregex from sbin to bin directory.
    Also moved there man pages from section 8 to 1.
    
    Fixes a bug for building qt-console and qt-tray-monitor
    (library ordering), so that they can be compiled,
    even if an older version of Bareos is installed.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 Makefile.in                                        |  6 +-
 autoconf/Make.common.in                            |  3 +
 autoconf/configure.in                              | 11 +++-
 debian/bareos-bat.install                          |  2 +-
 debian/bareos-bconsole.install                     |  3 +-
 debian/bareos-common.install                       |  1 +
 debian/bareos-tools.install                        |  6 +-
 debian/bareos-traymonitor.install                  |  2 +-
 manpages/Makefile.in                               | 20 +++----
 manpages/bconsole.1                                | 58 ++++++++++++++++++
 manpages/bconsole.8                                | 58 ------------------
 manpages/bregex.1                                  | 65 ++++++++++++++++++++
 manpages/bregex.8                                  | 65 --------------------
 manpages/bwild.1                                   | 70 ++++++++++++++++++++++
 manpages/bwild.8                                   | 70 ----------------------
 platforms/debian/Makefile.in                       | 24 ++++++--
 platforms/packaging/bareos.spec                    | 16 +++--
 platforms/suse/Makefile.in                         |  6 +-
 src/console/Makefile.in                            |  5 +-
 src/qt-console/bat.desktop.in                      |  4 +-
 src/qt-console/bat.pro.in                          | 13 ++--
 src/qt-tray-monitor/bareos-tray-monitor.desktop.in |  2 +-
 src/qt-tray-monitor/tray-monitor.pro.in            |  5 +-
 src/tools/Makefile.in                              | 22 +++++--
 24 files changed, 292 insertions(+), 245 deletions(-)

commit eed817d3bd14d18e177cd94df0da66017874fe84
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 17 16:33:59 2014 +0200

    Tweak last patch.

 src/dird/restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3738dbf5b0fa47baae1e3c053e435bcb128e14f2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 17 16:17:08 2014 +0200

    No elapsed time info in restore job.
    
    Added code sniplet that calculates the elapsed time of a restore Job.
    This uses the same code used in the generate_backup_summary() function
    now in the generate_restore_summary() function.
    
    Fixes #312: no elapsed time info in restore job

 src/dird/backup.c  |  1 -
 src/dird/restore.c | 14 ++++++++++----
 2 files changed, 10 insertions(+), 5 deletions(-)

commit 64a37104cdb41f94cc4a562cf9b8990431361ba5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 17 11:01:05 2014 +0200

    Multiple "Exclude Dir Containing" Flags not honored
    
    It seems when implementing the Exclude Dir Containing option in the
    fileset unlike every other item it doesn't allow you to specify multiple
    values for this config item. Which is kind of strange and would make it
    somewhat better usable. This patch adds the missing support by just
    storing the values in an alist just like all others. This also fixes a
    memory leak which happens when you used to specify multiple entries as
    then it would overwrite the previous string dupped value with the new
    value without freeing the old value.
    
    Fixes #311: Multiple "Exclude Dir Containing" Flags not honored

 src/dird/dird_conf.c   |  14 ++---
 src/dird/dird_conf.h   |  50 ++++++++--------
 src/dird/fd_cmds.c     |   8 +--
 src/dird/inc_conf.c    |   4 +-
 src/filed/dir_cmd.c    |   8 +--
 src/filed/fileset.c    |  11 ++--
 src/findlib/find.h     | 158 ++++++++++++++++++++++++++-----------------------
 src/findlib/find_one.c |  28 +++++----
 8 files changed, 149 insertions(+), 132 deletions(-)

commit dd2dd9db834279ff16d3904f3ce387a61860cb85
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 13 11:30:31 2014 +0200

    Fix so that no dynamic loading of catalog backends works again.

 src/cats/cats_backends.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 875833c459b24738865975f2c0d77c0398acce52
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jun 11 14:28:47 2014 +0200

    moved bsmtp from bareos-director to bareos-common
    
    The program bsmtp is used by bareos-dir but also by btraceback.
    Therefore it is moved to the bareos-common package.
    
    Fixes #251: /usr/sbin/bsmtp is part of the director but is needed from btraceback
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-common.install    | 2 ++
 debian/bareos-director.install  | 2 --
 platforms/packaging/bareos.spec | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

commit 812ebf973054f9fc463ba407eb2cbb7c8982846a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jun 12 23:03:00 2014 +0200

    Change Filename of Mac Package

 platforms/osx/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d99bacb474727a2d20b1af016561237480f081eb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 12 15:56:18 2014 +0200

    Explicitly enable python support for debian.
    
    Up until now we build only dummy not functioning python plugins
    on Debian based systems. With the new build changes that means that the
    plugins are no longer build as it only enables building of plugins that
    actually do something.

 debian/rules | 1 +
 1 file changed, 1 insertion(+)

commit de00f1baa1646b8ca6a284be87a2d95327ad0f12
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 12 09:22:39 2014 +0200

    Tweak.

 src/plugins/dird/python-dir.c  | 3 +--
 src/plugins/stored/python-sd.c | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

commit 3580764d0afab6edb42ec15d69825e1702036e00
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 11 10:33:42 2014 +0200

    Fix typo.

 src/cats/cats_backends.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a463d173d10afdfa72093541429413c168899b0d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 5 11:35:26 2014 +0200

    Merge the dynamic backend loading into one file.

 src/cats/Makefile.in     |   7 +-
 src/cats/cats_backends.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++
 src/cats/cats_backends.h |  83 ++++++++++++++++
 src/cats/cats_dummy.c    |  51 ----------
 src/cats/cats_dynamic.c  | 222 ------------------------------------------
 src/cats/cats_dynamic.h  |  85 ----------------
 src/win32/cats/Makefile  |   2 +-
 7 files changed, 333 insertions(+), 362 deletions(-)

commit 4c6d92a084493fec3678ded5262140b8ba43e506
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 10 22:42:39 2014 +0200

    Rebuild configure.

 configure | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

commit ccaf1690ea478f9005a0a274ffcd25dc7d7549d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 10 21:45:45 2014 +0200

    Only build some plugins if their dependency is met.

 autoconf/configure.in          | 25 ++++++++++++++++++++++++
 src/plugins/dird/Makefile.in   | 10 +++++++---
 src/plugins/dird/python-dir.c  | 32 ------------------------------
 src/plugins/filed/Makefile.in  | 11 +++++++----
 src/plugins/filed/python-fd.c  | 44 ------------------------------------------
 src/plugins/stored/Makefile.in | 14 +++++++-------
 src/plugins/stored/python-sd.c | 32 ------------------------------
 7 files changed, 46 insertions(+), 122 deletions(-)

commit de010a8b9c801a93b9d341e2bf9b26ab34ebb203
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 6 17:01:18 2014 +0200

    Enable/Disable Scheduler
    
    Fixes #308: Enable/Disable Scheduler

 src/dird/dird_conf.c |  1 +
 src/dird/dird_conf.h |  2 ++
 src/dird/protos.h    |  1 +
 src/dird/scheduler.c |  4 +++-
 src/dird/ua_cmds.c   | 67 +++++++++++++++++++++++++++++++++++++---------------
 src/dird/ua_select.c | 27 +++++++++++++++++++++
 src/dird/ua_status.c |  4 ++++
 7 files changed, 86 insertions(+), 20 deletions(-)

commit 13f0725eb95252a11dfe1551d58c1fcc6a9870b4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jun 6 11:54:41 2014 +0200

    Add git revision to version string

 platforms/osx/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit f5e1c9862adc446a8b9fcce15782ebb93bd29e20
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 5 12:39:56 2014 +0200

    Debian: lintian
    
    remove some Debian lintian warnings.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control                                | 4 ++--
 debian/control.common                         | 4 ++--
 platforms/packaging/bareos-Univention_3.1.dsc | 4 ++--
 platforms/packaging/bareos-Univention_3.2.dsc | 4 ++--
 platforms/packaging/bareos.dsc                | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

commit ad7f28155eb165bd2edd1b773e6188ab2be9055a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jun 5 11:59:39 2014 +0200

    adding Debian copyright file
    
    Bareos license (AGPL3 with exceptions) is described in the file "LICENSE"
    (based on the Bacula LICENSE file).
    However, Debian require license information in a specific file and format (debian/copyright).
    This patch adds this file and also includes it to the bareos-common RPM.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 AGPL-3.0.txt                                  | 661 ++++++++++++++++++++++++++
 debian/bareos-common.docs                     |   4 +
 debian/bareos-doc.docs                        |   1 -
 debian/bareos-doc.install                     |   1 -
 debian/copyright                              | 299 ++++++++++++
 platforms/packaging/bareos-RHEL_4.spec        |   4 +-
 platforms/packaging/bareos-Univention_3.1.dsc |   2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |   2 +-
 platforms/packaging/bareos.dsc                |   2 +-
 platforms/packaging/bareos.spec               |   3 +-
 10 files changed, 969 insertions(+), 10 deletions(-)

commit 834855098cca5308486acf369ab8a2421f1193f3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Jun 5 15:50:26 2014 +0200

    Added missing file for MacOS

 platforms/osx/files/org.bareos.bareos-fd.plist.in | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit 15646d0c4c134f9967f6115583c2ddeec3094b57
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 5 08:53:53 2014 +0200

    Rebuild configure.

 configure | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

commit 8243f8aa46222fb07a3d171cc201ee41fed272a3
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Apr 2 15:45:06 2014 +0200

    handle Debian start scripts by dh_installinit
    
    the Debian package build mechanism
    (used for Debian, Ubuntu, Univention)
    offers support functions to handle daemon init scripts.
    This patch uses this mechanism.
    It also adapts the behavior of RPM packages to be identical to DEB packages.
    Changed behaviour:
    
       bareos-dir, bareos-sd and bareos-fd are enabled on install/update
         On install, daemons are normally not configured
         and therefore automatic activation often not useful.
         However, this the the default behavior of Debian
         and therefore we configured it in this way.
    
       bareos-fd is started/restarted on install/update
         bareos-dir and bareos-sd are not restarted, to prevent canceling running jobs.
    
       bareos-dir, bareos-sd and bareos-fd are stopped on deinstall
    
       When doing an install from source (make, make install) on Debian,
         init scripts will not be installed.
         An extra call "make install-autostart" is required.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml                                |   1 +
 autoconf/configure.in                      |  22 ++--
 debian/bareos-director.bareos-dir.init.in  | 193 +++++++++++++++++++++++++++++
 debian/bareos-director.install             |   1 -
 debian/bareos-director.postinst            |   6 -
 debian/bareos-director.prerm               |  14 ++-
 debian/bareos-filedaemon.bareos-fd.init.in | 176 ++++++++++++++++++++++++++
 debian/bareos-filedaemon.install           |   1 -
 debian/bareos-filedaemon.postinst          |   6 -
 debian/bareos-filedaemon.prerm             |   6 -
 debian/bareos-storage.bareos-sd.init.in    | 173 ++++++++++++++++++++++++++
 debian/bareos-storage.install              |   1 -
 debian/bareos-storage.postinst             |   6 -
 debian/bareos-storage.prerm                |  14 ++-
 debian/rules                               |   6 +-
 debian/univention-bareos-schema.postinst   |   8 +-
 debian/univention-bareos.postinst          | 105 ++++++++--------
 debian/univention-bareos.postrm            |   9 +-
 debian/univention-bareos.preinst           |   7 +-
 debian/univention-bareos.prerm             |  23 ++--
 platforms/debian/Makefile.in               |  16 ++-
 platforms/debian/bareos-dir.in             | 193 -----------------------------
 platforms/debian/bareos-fd.in              | 176 --------------------------
 platforms/debian/bareos-sd.in              | 173 --------------------------
 platforms/packaging/bareos-RHEL_4.spec     |  99 +++++++--------
 platforms/packaging/bareos.spec            | 149 +++++++++++++---------
 26 files changed, 802 insertions(+), 782 deletions(-)

commit 1910f9067eddfb8a8accee7217fb3576ee57b619
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 3 17:14:24 2014 +0200

    Insert missing keyword in job resource table.
    
    When replaying some old patches it seems we missed merging one
    new keyword added in the 13.4 version.
    
    Fixes #304: catalog configuration in job resource not available

 src/dird/dird_conf.c | 1 +
 1 file changed, 1 insertion(+)

commit 1660904b405bb3e6e2ae5d677b5d2d395cb4f241
Author: Sebastian Lederer <sebastian.lederer@dass-it.de>
Date:   Tue Jun 3 12:48:36 2014 +0200

    Updated the MacOS packaging
    
    This patch updates the MacOS packaging
    to the new package tool pkgbuild.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/osx/Makefile.in                         | 66 ++++++++++-------------
 platforms/osx/files/org.bareos.bacula-fd.plist.in | 17 ------
 platforms/osx/resources/ReadMe.html.in            | 11 ++--
 3 files changed, 31 insertions(+), 63 deletions(-)

commit bed33391552a320c410e7f1915581ad5b241cffd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 2 14:24:58 2014 +0200

    Fix Traymonitor does not close connections when login fails.
    
    Fixes #303: Traymonitor does not close connections when login fails

 src/qt-tray-monitor/authenticate.cpp | 41 ++++++++++++++++++------------------
 src/qt-tray-monitor/authenticate.h   |  2 +-
 src/qt-tray-monitor/monitoritem.cpp  |  9 +++++---
 3 files changed, 28 insertions(+), 24 deletions(-)

commit c6c9f9608ee8df99759df83a7990f90d43e60903
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 31 17:34:07 2014 +0200

    Fix printing of some default types.
    
    When a certain default type is used and we don't have a default value
    now check to see if the value is set and if so print the item.

 src/lib/res.c | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

commit 4b3d53955cb98dd6af76682b053d06b0c1b47efa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 31 12:21:46 2014 +0200

    Tweak version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7707326112f23494ff8454984609a20e0a01b43c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 21 15:59:51 2014 +0200

    Fix set_label_blocksize to set minimum_blocksize
    
    We now also set the minimum blocksize when writing labels
    so that we are sure that the label really has 63k instead of
    only 1k which it was without this fix.
    
    We also remove an unneeded newline in debug output of the autochanger.

 src/stored/autochanger.c | 2 +-
 src/stored/dev.c         | 6 ++----
 src/stored/label.c       | 5 -----
 3 files changed, 3 insertions(+), 10 deletions(-)

commit fee32fc99e07afa2547df31da97fed5b5e265132
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 30 22:49:16 2014 +0200

    Ditch some old cruft from ages ago.

 src/findlib/find.c | 1 -
 src/findlib/find.h | 1 -
 2 files changed, 2 deletions(-)

commit 61e7e876561ab87abc4616827c18af7a4225fe3e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 30 19:54:51 2014 +0200

    Fix missing release of ff_pkt.

 src/filed/accurate_lmdb.c | 3 +++
 1 file changed, 3 insertions(+)

commit 98f09906ff87803657baf35a1f91a61ac4f2b0e0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 29 21:57:26 2014 +0200

    Sync LMDB codebase.

 src/lmdb/COPYRIGHT | 2 +-
 src/lmdb/mdb.c     | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 883aacd91af815455ff0566ffeed7808f6b5bceb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 28 13:12:15 2014 +0200

    Fix typo.

 src/findlib/bfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 61820bd8148718b563b39fb441ca92deeca09015
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue May 27 17:26:59 2014 +0200

    Fix truncate volume using GFAPI.
    
    We didn't take into consideration that a volume could be located in a
    subdir.

 src/stored/backends/gfapi_device.c | 30 ++++++++++++++++--------------
 src/stored/backends/gfapi_device.h |  1 +
 2 files changed, 17 insertions(+), 14 deletions(-)

commit b2877a3f1490fba459cf69f1224a111d9c10eb38
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 26 17:15:27 2014 +0200

    Tweak last commit.

 src/dird/ua_select.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

commit d7e34de5b5e0b4adfcde4eef2d4eb189e4e74276
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 22 13:03:04 2014 +0200

    Limit storage list to autochangers automatically.
    
    There are several commands and command parameters
    that only make sense on autochangers like
    
    - label barcodes
    - status slots
    - import/export/move
    
    If those commands are given, we automatically limit the storage
    to autochangers only.

 src/dird/protos.h     |  5 +++--
 src/dird/ua_cmds.c    | 12 ++++++------
 src/dird/ua_dotcmds.c |  4 ++--
 src/dird/ua_impexp.c  |  2 +-
 src/dird/ua_label.c   |  2 +-
 src/dird/ua_purge.c   |  2 +-
 src/dird/ua_restore.c |  2 +-
 src/dird/ua_select.c  | 51 +++++++++++++++++++++++++++++++++------------------
 src/dird/ua_status.c  | 10 ++++++++--
 src/dird/ua_update.c  |  2 +-
 10 files changed, 57 insertions(+), 35 deletions(-)

commit a876af3192d13b5fe5f2878ac70edefddd706280
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 21 14:34:11 2014 +0200

    Cleanup block handling.

 src/stored/device.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit 2123c07c37be3a7d6cdf837ba2039d44a271253d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 23 12:56:56 2014 +0200

    Stop sd plugins from spamming.

 src/plugins/stored/autoxflate-sd.c | 3 +--
 src/plugins/stored/scsicrypto-sd.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

commit 9e52d23cb4b28d94be072bfb478ed2e3cd6774fb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 22 09:51:58 2014 +0200

    Fix typo.

 src/plugins/stored/autoxflate-sd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9711f7900cb4e4a550db3be540dfc3047b38a5cf
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 21 21:25:01 2014 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |  9 +++++++
 configure            | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

commit 2f86802d87682c97d9471b9dcc90b535adc85bf0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 21 21:23:16 2014 +0200

    Fix some problems on old platforms like Solaris 8 and 9

 autoconf/configure.in    | 29 +++++++++++++++++++++++++++++
 src/findlib/acl.c        |  2 +-
 src/lib/bsys.c           |  1 +
 src/lib/compression.c    |  5 +++++
 src/lib/crypto_openssl.c |  9 ++++++---
 5 files changed, 42 insertions(+), 4 deletions(-)

commit dc87abd98acf3f044f461f2f60ff0798fa5366d7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 19 13:12:30 2014 +0200

    Fix error in Shadowing
    
    Fixes #299: Error in Shadowing

 src/findlib/shadowing.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 1ba7bb672a4ca5b897f678eb93cbe3b8f7aa43e9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 21 12:55:34 2014 +0200

    Fix compile problems when no compression libs are available.

 src/filed/compression.c            |  6 ++++--
 src/lib/compression.c              |  3 ++-
 src/plugins/stored/autoxflate-sd.c | 23 +++++++++++++----------
 src/stored/bextract.c              |  8 +++++---
 4 files changed, 24 insertions(+), 16 deletions(-)

commit 03bb94a323417ccaac0ec9bc12ddd8680632b226
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 19 09:33:54 2014 +0200

    Fix hardware encryption (LTO) not creating cachefile/hangs bconsole
    
    Use bget_dirmsg() instead of bnet_recv() when automounting volume
    because as part of the mount request the stored can request catalog
    information for any plugin who listens to the bsdEventLabelVerified
    event.
    
    Fixes #297: hardware encryption (LTO) not creating cachefile/hangs bconsole

 src/dird/ua_label.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

commit 25439dba97cf6ebe748378f6b416bc205f8835f2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 18 23:29:33 2014 +0200

    Update AUTHORS

 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

commit a29e59feb4433b9274c8ac119ef0039ca7d4037a
Author: Evgeni Golov <evgeni.golov@credativ.de>
Date:   Fri Mar 21 17:08:23 2014 +0100

    Make Bareos packaging more Debian compliant
    
    Install READMEs as docs into bareos-doc,
    Set Standards-Version: 3.9.5,
    Do not ship .la files, as suggested in Policy 10.2,
    Remove dependency to hostname package, as it is always installed,
    Let bareos-dbg properly depend on all the packages it proves symbols for,
    Depending on the arch:all bareos package is wrong in several ways:
    - Using binary:Version for an arch:all package will cause problems
      with binNMUs (https://wiki.debian.org/binNMU)
    - It will force everyone to install ALL packages when debugging a
      (e.g.) filedaemon only problem
    Add debian/watch file,
    Depend on bsd-mailx | mailx instead of only mailx,
    Some changes to the descriptions (wording, fixing too long Description lines),
    Drop autoconf/config.log and add it to gitignore,
    Install bat help in a subfolder of htmldir
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .gitignore                             |  3 +++
 autoconf/config.log                    |  2 --
 debian/bareos-devel.install            |  1 -
 debian/bareos-doc.docs                 |  1 +
 debian/control                         | 38 +++++++++++++++++-----------------
 debian/control.common                  | 38 +++++++++++++++++-----------------
 debian/watch                           |  3 +++
 platforms/packaging/bareos-RHEL_4.spec | 21 +++++--------------
 platforms/packaging/bareos.spec        | 21 +++++--------------
 src/qt-console/bat.pro.in              |  2 +-
 10 files changed, 56 insertions(+), 74 deletions(-)

commit d72c5178437cab19f564b3c4611a70554fc6f564
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 1 08:12:06 2013 +0200

    See if enabling hardening on Ubuntu is now fixed.
    
    We remove the unsetting of the LDFLAGS so on Ubuntu it should now start
    using the default hardening flags again.

 debian/rules | 1 -
 1 file changed, 1 deletion(-)

commit ef36f57e969a0f31ef8b339fc0ba98e130b88c59
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 16 10:42:10 2014 +0200

    catalog backup on windows works
    
    Now the installer creates batchfiles for
    db dump and dump delete and configures
    the catalog backup job to call them.
    
    Also fixed uninstall so that everything
    installed (also psql dlls) are deleted
    on uninstall
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 63 +++++++++++++++++++++++++++++++++++++------
 1 file changed, 55 insertions(+), 8 deletions(-)

commit 6afaf2701b7c7d3a3e263311e085f137298778be
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 15 22:25:26 2014 +0200

    Drop reference to temporary statp_repr.

 src/plugins/filed/python-fd.c | 1 +
 1 file changed, 1 insertion(+)

commit f09ad157db3af187e375738c7fc79ebe4f333b85
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 15 22:00:35 2014 +0200

    Fix filed python plugin.
    
    - Fix repr functions regarding printing format %lld/%ld/%d
    - Fix missed conversion of some fields in NativeToPyStatPacket and
      PyStatPacketToNative().
    - Fix some debug messages which miss space between text and repr output.

 src/plugins/filed/BareosFdPluginBaseclass.py |  6 ++---
 src/plugins/filed/bareos-fd.py               |  6 ++---
 src/plugins/filed/python-fd.c                | 38 +++++++++++++++-------------
 3 files changed, 27 insertions(+), 23 deletions(-)

commit c1760a0b08c09e57a0d73bfd7eb44293082da2be
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 14 16:08:54 2014 +0200

    Fix root directory stat() call.
    
    Fixes #292: Fileset - Drive/Path-Error

 src/win32/compat/compat.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 9bdd4f66c4a39396a91ced026b9d93ad54779088
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 12 23:58:18 2014 +0200

    Add missing checkFile function pointer in mssqlvdi-fd.c.

 src/win32/plugins/filed/mssqlvdi-fd.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

commit faa449c8df5a557e6df2d12f64395ad808edf91b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 9 12:55:20 2014 +0200

    Fix missing breaks.

 src/findlib/acl.c | 2 ++
 1 file changed, 2 insertions(+)

commit 35855b8d5835015343931f045ea005f84ae94355
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 10 20:45:41 2014 +0200

    Fix possible memory leak.

 src/stored/dir_cmd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 696b6cd966f0016c975899dfadba9fddea0fe55c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 10 20:45:41 2014 +0200

    Don't show unauthorized schedules/jobs in status scheduler.
    
    Fixes #290: Error in bconsole-ACL

 src/dird/ua_status.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit bc5681b1b8142653c8f25288b600c819f1d676b6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 8 21:58:38 2014 +0200

    Director segfaults doing update slots when all slots are empty
    
    Fixes #293: Director segfaults doing update slots when all slots are empty

 src/dird/ua_update.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit d6a8d6e73ee1105b8f8b9f48a69d8038f6655eec
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 8 14:28:28 2014 +0200

    Rebuild configure.

 configure | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

commit d92cb41600a43f3c7e6f85b3482da17b4fafdb32
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu May 8 14:23:43 2014 +0200

    Use dbconfig for Debian based distributions
    
    dbconfig-common is a standard mechanism for Debian based distributions,
    to assists applications that require a database.
    
    The user still has the choice to configure the database manually, if not,
    dbconfig detects what database backends are installed, and the user gets
    asked, what connection parameter he wants to use.
    
    If dbconfig is configured correctly, database schema updated are done automatically
    on package updates. With export DEBIAN_FRONTEND=noninteractive the user don't get ask,
    and dbconfig configures the database backend as good as he can.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 README.dbconfig                           | 120 +++++++++++++++++++++++++++
 autoconf/configure.in                     |  17 ++--
 debian/bareos-database-common.config.in   |  98 ++++++++++++++++++++++
 debian/bareos-database-common.install     |   2 +
 debian/bareos-database-common.postinst.in |  56 +++++++++++++
 debian/bareos-database-common.postrm      |  13 +++
 debian/bareos-database-common.prerm       |  11 +++
 debian/bareos-database-mysql.install      |   2 +
 debian/bareos-database-postgresql.install |   2 +
 debian/bareos-database-sqlite3.install    |   2 +
 debian/bareos-director.postinst           |   1 +
 debian/control                            |  10 +--
 debian/control.common                     |  10 +--
 platforms/debian/Makefile.in              |  16 +++-
 platforms/debian/set_dbconfig_vars.sh.in  |  33 ++++++++
 platforms/packaging/bareos.dsc            |   2 +-
 platforms/packaging/bareos.spec           |   1 +
 platforms/ubuntu/Makefile.in              |  43 ++--------
 platforms/ubuntu/bareos-dir.in            |   1 -
 platforms/ubuntu/bareos-fd.in             |   1 -
 platforms/ubuntu/bareos-sd.in             |   1 -
 scripts/bareos-config-lib.sh.in           | 130 +++++++++++++++++++++++++++++-
 src/cats/Makefile.in                      |   1 +
 src/cats/ddl/versions.map.in              |  19 +++++
 24 files changed, 531 insertions(+), 61 deletions(-)

commit 148800b58f8e7e22fd6e2690a9a1e3875eabc398
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 28 22:33:00 2014 +0200

    Add openssl CRL reload logic.
    
    The Bareos daemons neither try to reread configured X.509
    CRLs from file system if they expire nor if the daemon receives a
    SIGHUP.
    
    Fixes #289: Add openssl CRL reload logic.

 src/lib/tls_openssl.c | 293 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 288 insertions(+), 5 deletions(-)

commit f80fc0182c510afe55642fc10cf7757e5a79f9f2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 2 09:55:30 2014 +0200

    Storage to storage copy jobs don't work with TLS.
    
    When both SDs think they are a TLS server the handshake will never be a
    success. Now changed the code to use the initiate variable we have which
    we already use to know who starts the challenge protocol. That way we
    get one TLS server and one TLS client which should work much better.
    
    Fixes #290: Storage to storage copy jobs don't work with TLS enabled.

 src/dird/authenticate.c   |  9 ---------
 src/filed/authenticate.c  |  6 ------
 src/lib/bnet.c            | 20 ++++++++++++--------
 src/stored/authenticate.c | 25 ++++++++++++++++---------
 4 files changed, 28 insertions(+), 32 deletions(-)

commit e288a04e8707cd5e92da6bc5d3b2a7756e89943a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Apr 25 23:48:20 2014 +0200

    Added spec for RHEL4
    
    We only build the client programs

 platforms/packaging/bareos-RHEL_4.spec | 1059 ++++++++++++++++++++++++++++++++
 1 file changed, 1059 insertions(+)

commit 2bdf5fcab8129a7a28fb56aab72af234f64c9f90
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 1 15:34:51 2014 +0200

    Switch to using a default DSC file.

 platforms/packaging/bareos-Debian_6.0.dsc    | 12 ------------
 platforms/packaging/bareos-Debian_7.0.dsc    | 12 ------------
 platforms/packaging/bareos-xUbuntu_10.04.dsc | 12 ------------
 platforms/packaging/bareos-xUbuntu_12.04.dsc | 12 ------------
 4 files changed, 48 deletions(-)

commit 6dda09c4327d72d8f2ede449bb9fe70ce29bef8f
Author: Malcolm Hunter <malcolm.hunter@gmx.co.uk>
Date:   Thu Mar 20 20:23:58 2014 +0000

    Translatable string fix

 src/dird/authenticate.c              | 24 ++++++++++++------------
 src/filed/authenticate.c             |  2 +-
 src/lib/bsock.c                      |  8 ++++----
 src/qt-tray-monitor/authenticate.cpp |  8 ++++----
 src/stored/authenticate.c            | 12 ++++++------
 5 files changed, 27 insertions(+), 27 deletions(-)

commit c0d8457d752056ae558098878d28c4dba1da88a6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 28 16:24:50 2014 +0200

    Drop vMmsg functions.

 src/include/baconfig.h |   3 --
 src/lib/ini.c          |  50 +++++++++++++++++-------
 src/lib/lex.c          |  52 ++++++++++++-------------
 src/lib/message.c      | 104 +++++++++++++------------------------------------
 src/lib/parse_bsr.c    |  46 ++++++++++------------
 5 files changed, 108 insertions(+), 147 deletions(-)

commit 1a6883abfa2707e57fa81fa662ad0e3d80bd31f0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Apr 27 22:37:39 2014 +0200

    Tweak layout.
    
    - Use enums instead of defines for config types.
    - Cleanup mem_pool.h
    - Refactor dir_db_log_insert() function.

 src/dird/dird.c          | 32 +++++++++---------------
 src/dird/dird_conf.h     | 64 +++++++++++++++++++++++++-----------------------
 src/filed/filed_conf.h   |  4 ++-
 src/lib/ini.h            | 18 ++++++++------
 src/lib/mem_pool.h       | 63 ++++++++++++++++++++++++-----------------------
 src/lib/parse_conf.h     | 57 ++++++++++++++++++++++--------------------
 src/stored/stored_conf.h | 12 +++++----
 7 files changed, 127 insertions(+), 123 deletions(-)

commit 02714d532659ee611504c1357524308e45b57f2a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Apr 24 17:37:53 2014 +0200

    handle unset parameter
    
    some scripts (eg. package postinstall script) include bareos-config-lib.sh with settings,
    that exit if a variable is undefined.
    To prevent problems, function parameter are now used as "${1-}", so that they are never undefined.
    Also fixes a bug, when using a database password that contains "/".
    "/" is now a allowed character, but "#" is forbidden.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/bareos-config-lib.sh.in | 47 +++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 21 deletions(-)

commit e5bd8428da0a544d1474d38a3afc7f324a29a2c9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 23 15:49:18 2014 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |  3 ---
 configure            | 36 ------------------------------------
 2 files changed, 39 deletions(-)

commit fdfdaf502c7c26618c298bbd26c8b5d5023bb847
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 23 14:21:43 2014 +0200

    Drop va_copy as it not fully portable.
    
    Also drop max_size() method of POOL_MEM and use size() method.

 autoconf/configure.in  |  14 ------
 src/dird/bsr.c         |   2 +-
 src/include/baconfig.h |  11 -----
 src/lib/lex.c          |  54 ++++++++++++++++------
 src/lib/mem_pool.c     |  11 -----
 src/lib/mem_pool.h     |   1 -
 src/lib/message.c      | 121 +++++++++++++++++++++++++++++--------------------
 src/lib/parse_bsr.c    |  72 +++++++++++++++++++----------
 8 files changed, 162 insertions(+), 124 deletions(-)

commit 77c5b3ec9b2014548e6444cea769567d0cb0b1ed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 22 15:16:47 2014 +0200

    Help static analyzer in understanding code.
    
    A static analyzer doesn't understand Emsg(M_ERROR_TERM, ...) so lets put
    the rest of the code into the else part of the if so things can be
    understood by the analyzer and the basic code path doesn't change much.

 src/console/console_conf.c |   6 +-
 src/dird/dird_conf.c       | 183 +++++++++++++++++++++++----------------------
 src/filed/filed_conf.c     |  37 ++++-----
 src/stored/stored_conf.c   |  61 +++++++--------
 4 files changed, 148 insertions(+), 139 deletions(-)

commit 04d1d24190fac54673534ec353dcc28d6ab3d283
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 22 09:56:16 2014 +0200

    Tweak layout.

 src/filed/status.c  | 31 +++++++++++++++----------------
 src/stored/status.c | 36 +++++++++++++++++++-----------------
 2 files changed, 34 insertions(+), 33 deletions(-)

commit 3e27bdace51a7926fd11fbd6a42ac103b2c178d4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 22:21:37 2014 +0200

    Lets not introduce an buffer overun trying to fix an other.

 src/tools/bsmtp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2e182863e04c215f391c6376e7630fef8304c461
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 22:11:47 2014 +0200

    Cleanup error handling.

 src/lib/var.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 23afadf7424ac914dfeae9ed3c7257f1332ca9e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 21:55:40 2014 +0200

    Fix some bugs detected by Coverity.

 src/cats/sql_update.c |  8 --------
 src/dird/ua_cmds.c    |  4 ++--
 src/dird/ua_update.c  |  4 ++--
 src/filed/status.c    |  1 +
 src/lib/var.c         | 39 ++++++++++++++++++++++++++-------------
 src/stored/spool.c    |  2 +-
 src/tools/bsmtp.c     |  6 ++++--
 7 files changed, 36 insertions(+), 28 deletions(-)

commit cd49f9ba07a259e4e7d52ab124d673f4a38fe568
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 20:50:20 2014 +0200

    Refactor status printing.
    
    Try to use a POOL_MEM whenever possible so we also don't make mistakes
    in the length of the status string a possibly overrun an string. Also
    if we don't print a string because of being in API mode it doesn't make
    sense to even build the status string (as we are not going to print it
    anyway.) Also fixes 2 other Coverity high impatct bugs.

 src/dird/catreq.c   |   1 +
 src/filed/status.c  | 179 +++++++++++++++++++++------------------
 src/lib/attribs.c   |   1 +
 src/stored/status.c | 236 ++++++++++++++++++++++++++++++++--------------------
 4 files changed, 246 insertions(+), 171 deletions(-)

commit 182bcebb7a1114e17c1deb509290ad70194c5cef
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 19:31:47 2014 +0200

    Update README.md

 README.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit 607410b9b7562bc597527e85e9c78e81e008b8a5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 21 10:41:15 2014 +0200

    Fix testfind for the changed world,

 src/dird/testfind.c | 44 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

commit 4f5e0490b0a0d2909794d76964950df506306203
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 19 16:24:02 2014 +0200

    Cleanup header file.

 src/include/baconfig.h | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

commit b0c1943bb567b555f3d8f0a8406ddf502a0633b2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 17 23:16:50 2014 +0200

    Change codepath.

 src/dird/ua_cmds.c | 2 --
 1 file changed, 2 deletions(-)

commit c35cdcda408f690568d3858d25cce6a94e4a8897
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 17 22:40:05 2014 +0200

    Add missing dlfcn.h include for flag defintions.

 src/win32/compat/compat.c | 1 +
 1 file changed, 1 insertion(+)

commit 8f33794cb436d5d2eb2d81daa9b6cbf888f81510
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 16 19:20:14 2014 +0200

    Allow to disable client in client configuration
    
    Fixes #288: Disable client in client configuration

 src/dird/dird_conf.c  |  1 +
 src/dird/dird_conf.h  |  3 +-
 src/dird/protos.h     |  1 +
 src/dird/scheduler.c  | 15 +++++++---
 src/dird/ua_cmds.c    | 76 +++++++++++++++++++++++++++++++++++++--------------
 src/dird/ua_dotcmds.c |  1 +
 src/dird/ua_output.c  | 53 +++++++++++++++++++++++++++++++----
 src/dird/ua_select.c  | 30 ++++++++++++++++++--
 src/dird/ua_status.c  | 14 ++++++----
 9 files changed, 155 insertions(+), 39 deletions(-)

commit 896671ebb1501efbce15daaa90a4a3553dcca09b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 17 09:09:29 2014 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in | 6 ++++++
 configure            | 3 +++
 2 files changed, 9 insertions(+)

commit 4cdb56c6307cb2a7a2f64f22179dcbe35de8241f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 17 09:43:47 2014 +0200

    Tweak windows dlopen code.

 src/win32/compat/compat.c        | 8 +++++++-
 src/win32/compat/include/dlfcn.h | 7 ++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

commit 61bdac1a0fc2f11290016b88605f6126814342e0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 14 18:25:23 2014 +0200

    Rework dlopen of plugins.
    
    Allow plugins to do lazy symbol binding when loading and allow
    the symbols to be global so in the python plugins we can load the
    dynload modules which are not linked against libpython. Otherwise
    we get symbol errors on load.

 autoconf/configure.in                  |  3 +++
 src/lib/plugins.c                      | 45 +++++++++++++++++++++++++++++++++-
 src/win32/compat/include/mingwconfig.h |  6 +++--
 3 files changed, 51 insertions(+), 3 deletions(-)

commit a37e29dcd636d5a3efbc42a143b0d0c33e4f5e0c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 16 15:33:52 2014 +0200

    Remove old global variable.

 src/stored/stored.h | 1 -
 1 file changed, 1 deletion(-)

commit f4213283f40ed4f069f9d793b0a428d7d9199061
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 16 15:27:11 2014 +0200

    Drop an unneeded global variable and make it local.

 src/stored/bcopy.c    | 1 -
 src/stored/bextract.c | 1 -
 src/stored/bls.c      | 1 -
 src/stored/bscan.c    | 1 -
 src/stored/btape.c    | 1 -
 src/stored/stored.c   | 1 -
 src/stored/wait.c     | 2 ++
 7 files changed, 2 insertions(+), 6 deletions(-)

commit 37c533534e38ffd8a0b561e0aab21f405d446a72
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 15 22:55:57 2014 +0200

    Make res_all a static variable.
    
    Also make the msgs resource config items a static array in the different
    config parsers of the daemons and no longder some global variable that
    is exported from the shared library. Jobdefs are now expanded using a
    dedicated function in src/dird/dird_conf.c

 src/console/console_conf.c |  10 +-
 src/dird/dird.c            | 211 +------------------------------------------
 src/dird/dird_conf.c       | 221 +++++++++++++++++++++++++++++++++++++++++++--
 src/dird/inc_conf.c        |  62 +++++--------
 src/dird/protos.h          |   1 +
 src/dird/run_conf.c        |  18 ++--
 src/filed/filed_conf.c     |  12 +--
 src/lib/msg_res.h          |  56 ++++++++++++
 src/lib/parse_conf.c       |  51 ++++-------
 src/lib/res.c              | 119 ++++++++++++------------
 src/stored/stored_conf.c   |  12 +--
 11 files changed, 390 insertions(+), 383 deletions(-)

commit e0307f3d937c8a3195b6c104f656a842cbc08e79
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 15 11:09:14 2014 +0200

    Fix typo.

 src/cats/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c039ff9dc056f166bbcf59b8aace13cddc9db138
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 15 10:20:25 2014 +0200

    Some loop variables are used outside the loop.
    
    So we cannot make them locally scoped.

 src/dird/dird_conf.c | 55 +++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 44 insertions(+), 11 deletions(-)

commit fc1b75e5fb5665e0c742d6d5ecf6c5121129b15a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 15 09:33:03 2014 +0200

    Use some locally scoped loop variables.

 src/dird/dird_conf.c | 105 +++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 63 deletions(-)

commit 4122e4c43f1fb7a94e132bc4feff6875480cc734
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 14 20:47:26 2014 +0200

    Make the work of a static analyzer a lot easier.
    
    Most static analyzers don't understand that a M_FATAL message means
    things will generate a NULL pointer dereference and blow up the daemon
    and that M_ERROR_TERM leads to the program doing an exit(1)

 src/dird/dbcheck.c |  4 ++--
 src/dird/dird.c    | 65 +++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 54 insertions(+), 15 deletions(-)

commit 14f247677c7024959be9b2ea13dbd3e381ed3820
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 14 19:29:12 2014 +0200

    Fix warnings from merged code.

 src/qt-console/bat_conf.cpp       |  8 ++++----
 src/qt-tray-monitor/tray_conf.cpp | 12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)

commit 7fe704f099becfcd448a85e3e4fb7f281cc377d0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 14 19:10:37 2014 +0200

    Fix warnings from merged code.

 src/dird/dird_conf.c               | 1 -
 src/plugins/filed/test-plugin-fd.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

commit b34fdea1b0f2f7d9720935a88b586296a0d2fb13
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Apr 14 17:11:20 2014 +0200

    Fix some errors detected by coverity.

 src/dird/dir_plugins.c  |  5 ++++-
 src/dird/dird_conf.c    | 14 +++++++++++---
 src/filed/accurate.h    |  2 +-
 src/filed/fd_plugins.c  |  3 ++-
 src/lib/ini.c           |  2 +-
 src/lib/res.c           |  4 ++--
 src/stored/sd_plugins.c |  5 ++++-
 7 files changed, 25 insertions(+), 10 deletions(-)

commit 5a777f4ab0d336c809dd880797c4c158c51cce4c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Apr 11 14:25:38 2014 +0200

    Fix packaging for new Python examples.
    
    Also created for debian the missing install files.

 debian/bareos-director-python-plugin.install   | 3 +++
 debian/bareos-filedaemon-python-plugin.install | 8 ++++++++
 debian/bareos-storage-python-plugin.install    | 3 +++
 platforms/packaging/bareos.spec                | 7 ++++++-
 4 files changed, 20 insertions(+), 1 deletion(-)

commit df09528aab916d5d8172ffcc3d3beb7a4948f745
Author: Maik Aussendorf <maik.aussendorf@bareos.org>
Date:   Fri Apr 11 12:24:33 2014 +0200

    FD python plugin baseclass and sample plugins
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/plugins/filed/BareosFdPluginBaseclass.py    | 136 ++++++++++++++++++++++++
 src/plugins/filed/BareosFdPluginLocalFileset.py |  77 ++++++++++++++
 src/plugins/filed/BareosFdWrapper.py            |  41 +++++++
 src/plugins/filed/bareos-fd-local-fileset.py    |  26 +++++
 src/plugins/filed/bareos-fd-mock-test.py        |  19 ++++
 5 files changed, 299 insertions(+)

commit 53b0e899a670fdbfb2c37573daa170e5e6257494
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Apr 10 09:04:06 2014 +0000

    Use Py_InitializeEx() instead of Py_Initialize().

 src/plugins/filed/python-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4b418ab8b5167da2898fab13254c51970e253635
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 9 13:54:08 2014 +0000

    Tweak docs.

 README.scsicrypto | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit cfd0d4531bef9aae9394e14aaed36e3674f9845f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Apr 9 10:10:31 2014 +0200

    Rebuild configure and config.h

 autoconf/config.h.in |  6 ++++
 configure            | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 82 insertions(+), 1 deletion(-)

commit b72aff3d2a832deea257a5ca6e22a21bb5607a36
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:30 2014 +0200

    Remove old versions of libraries.

 src/lmdb/Makefile.in | 1 +
 src/ndmp/Makefile.in | 1 +
 2 files changed, 2 insertions(+)

commit ce2ad8f5b4da4eaded39c51c8baafb27131b8fb9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:30 2014 +0200

    Bump version number.

 configure                                     |    18 +-
 platforms/packaging/bareos-Debian_6.0.dsc     |     2 +-
 platforms/packaging/bareos-Debian_7.0.dsc     |     2 +-
 platforms/packaging/bareos-Univention_3.1.dsc |     2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |     2 +-
 platforms/packaging/bareos-xUbuntu_10.04.dsc  |     2 +-
 platforms/packaging/bareos-xUbuntu_12.04.dsc  |     2 +-
 platforms/packaging/bareos.changes            |     6 +
 platforms/packaging/bareos.dsc                |     2 +-
 platforms/packaging/bareos.spec               |     4 +-
 platforms/win32/mingw-debugsrc-devel.spec     |     2 +-
 platforms/win32/winbareos-nsi.spec            |     2 +-
 platforms/win32/winbareos32.spec              |     2 +-
 platforms/win32/winbareos64.spec              |     2 +-
 po/POTFILES.in                                |  1070 +-
 po/de.po                                      | 23140 +++++++++---------
 po/es.po                                      | 29774 ++++++++++++------------
 po/fr.po                                      | 25949 +++++++++++----------
 po/it.po                                      | 19000 +++++++--------
 po/nl.po                                      | 19727 ++++++++--------
 po/pl.po                                      | 27594 ++++++++++++----------
 po/sv.po                                      | 19002 +++++++--------
 po/uk.po                                      | 20784 +++++++++--------
 src/include/version.h                         |    20 +-
 24 files changed, 96396 insertions(+), 89714 deletions(-)

commit a636cdfb3c058bfd83e8b60fefc823792b4abf64
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:28 2014 +0200

    Implement some missing functionality in python-fd plugin.
    
    - Implement bEventHandleBackupFile event.
    
      Implemented the missing code for handling the bEventHandleBackupFile event
      by calling a new entry point (handle_backup_file) in the python module and
      passing it in a savepacket structure with the file being processed. The
      return codes are also fixed along the way things work now like this:
    
      - bRC_OK: Options plugin will do backup e.g. call IOmethod in plugin.
      - bRC_Skip: Options plugin want to skip the backup of this file.
      - bRC_Core: Options plugin want the Bareos core to do the backup of the file.
      - bRC_*: Error abort backing up.
    
    - Implement check_file() method.
    
      Implemented the missing code for handling the check_file() method by calling
      a new entry point (check_file) in the python module and passing it the filename
      of the file currently being processed.
    
    - Implement create_file() method.
    
      Allow a python script to do everything a normal C-plugin can also do
      in the create_file() plugin method. For this we needed to implement the
      RestorePacket structure in Python and create a dummy create_file method
      in python that returns CF_EXTRACT in the create_status field of the
      restore_packet structure.
    
    - Implement event filtering for certain events.
    
      Some events get generated via a different code path and were up until
      now not filtered using the is_event_enabled() function. Added support
      to the following functions:
    
      - plugin_option_handle_file()
      - plugin_save()
      - plugin_estimate()
      - plugin_name_stream()
    
      Also refactored the code along the way.

 src/filed/backup.c             |  13 +-
 src/filed/fd_plugins.c         | 365 ++++++++++++------------
 src/plugins/filed/bareos-fd.py |  22 +-
 src/plugins/filed/python-fd.c  | 633 ++++++++++++++++++++++++++++++-----------
 src/plugins/filed/python-fd.h  |  95 ++++++-
 5 files changed, 778 insertions(+), 350 deletions(-)

commit 5aedc16cc2935cc269000d9dc9104365134d9f55
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:28 2014 +0200

    Drop config engine README which makes no sense anymore.

 src/dird/README-config | 130 -------------------------------------------------
 1 file changed, 130 deletions(-)

commit b67248522351ac10f7f19b1c9b4ffc29352750e8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Apr 11 11:14:26 2014 +0200

    Add packaging of LMDB.

 debian/bareos-common.install       | 2 ++
 debian/rules                       | 1 +
 platforms/packaging/bareos.spec    | 3 +++
 platforms/win32/winbareos-nsi.spec | 1 +
 platforms/win32/winbareos.nsi      | 2 ++
 platforms/win32/winbareos32.spec   | 1 +
 platforms/win32/winbareos64.spec   | 1 +
 7 files changed, 11 insertions(+)

commit 2932f44bed73aad6fb3ef96524355050915499a7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:27 2014 +0200

    Include the LMDB copyright information in our LICENSE file.

 LICENSE | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

commit 66fcc42b17d90b73f4ea764f5cf65fe8c51dac15
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:27 2014 +0200

    Refactored crypto chksum calculation.
    
    Merged the duplicate code from accurate.c and verify.c into one set of
    functions. Fixes a TODO from long long ago.

 src/filed/accurate.c | 120 ++++++-------------------------
 src/filed/protos.h   |   2 +
 src/filed/verify.c   | 195 ++++++++++++++++++++++++++++++++++-----------------
 3 files changed, 153 insertions(+), 164 deletions(-)

commit 45c5409014690dd90030807db6d8cf842122bd67
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:27 2014 +0200

    Abstract the accurate payload storage from the datatype used.
    
    Up until now the accurate payload was always stored in a htable
    (memory hash table) but that will not scale. We want to support multiple
    storage classes for the accurate payload (e.g. the actual accurate data
    accessed via the filename as key.) Things like Symas LMDB is a good
    candidate as a key/value store. This patch implements the accurate data
    using a class based abstraction that allows multiple implementations of
    the storage. Currently it supports the old HTABLE and LMDB. The
    prototype has some code that is not needed at this point as accurate
    data is written only ones and after that never updated so we don't
    strictly need an update method which is implemented for LMDB and is
    unneeded for HTABLE as there you get internal memory you can manipulate.
    The seen logic is moved into a simple bitmap that is part of the higher
    level B_ACCURATE class so we don't need to update the actual accurate
    payload when we only want to register that the item has been vistited.
    Otherwise for things like LMDB we keep on updating the data in the LMDB
    which is just to much overhead which we can easily work around with this
    bitmap.

 src/filed/Makefile.in                  |  11 +-
 src/filed/accurate.c                   | 334 +++++++------------
 src/filed/accurate.h                   | 152 +++++++++
 src/filed/accurate_htable.c            | 208 ++++++++++++
 src/filed/accurate_lmdb.c              | 581 +++++++++++++++++++++++++++++++++
 src/filed/filed_conf.c                 |   2 +
 src/filed/filed_conf.h                 |   2 +
 src/include/jcr.h                      |   3 +-
 src/win32/Makefile                     |   2 +-
 src/win32/Makefile.inc                 |   6 +
 src/win32/compat/include/mingwconfig.h |   3 +
 src/win32/filed/Makefile               |  12 +-
 src/win32/lmdb/Makefile                |  52 +++
 src/win32/lmdb/make_def                |  30 ++
 14 files changed, 1164 insertions(+), 234 deletions(-)

commit 080d3750458624f643f841ebde9b6e0c37d4dcf9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:26 2014 +0200

    Import LMDB support code.

 Makefile.in           |    2 +-
 autoconf/configure.in |   35 +
 src/include/version.h |    1 +
 src/lmdb/COPYRIGHT    |   20 +
 src/lmdb/LICENSE      |   47 +
 src/lmdb/Makefile.in  |  126 +
 src/lmdb/lmdb.h       | 1468 +++++++++
 src/lmdb/mdb.c        | 8612 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/lmdb/midl.c       |  346 ++
 src/lmdb/midl.h       |  177 +
 10 files changed, 10833 insertions(+), 1 deletion(-)

commit b8cb5b2f8fdf32754ad6c2cd319de079c2091f48
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:26 2014 +0200

    Fix typo.

 src/lib/cram-md5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a7943c09a370eb26447bf157d0bd2547f1cd5c0f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:25 2014 +0200

    Optimize checking of required and default values.
    
    When printing the configuration we now first check if we need to print
    the value by checking if its a required value or matches the default
    setting in the config table. By moving it before the big switch we can
    eliminate quite some duplicate code and always use the right type of
    value in the union with result types.

 src/dird/dird_conf.c |  26 +++-
 src/lib/res.c        | 337 +++++++++++++++++++++++----------------------------
 2 files changed, 175 insertions(+), 188 deletions(-)

commit 10df2e9f39562036d9a7f4255afa0c9a2363dc14
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:25 2014 +0200

    Don't print config keyword aliases.
    
    Some config keywords are an alias for an other when dumping the config
    we should not print these entries as otherwise we get the same config
    keyword set multiple times.

 src/dird/dird_conf.c | 20 ++++++++++----------
 src/lib/parse_conf.h |  9 +++++----
 src/lib/res.c        |  7 +++++++
 3 files changed, 22 insertions(+), 14 deletions(-)

commit 1544cfffec193047c0ab54061cca314cf5e6f065
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:25 2014 +0200

    Suppress printing of non existing resource types.
    
    Only print a resource type if one ore more exist when using show all.

 src/dird/ua_output.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

commit 3e354fd9acdca7cddc7b816512f6700418b10fc8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:25 2014 +0200

    Bump copyright on changed files.

 src/console/console_conf.c        | 2 +-
 src/dird/dird_conf.c              | 2 +-
 src/filed/filed_conf.c            | 2 +-
 src/lib/parse_conf.c              | 2 +-
 src/lib/parse_conf.h              | 2 +-
 src/lib/res.c                     | 1 +
 src/qt-console/bat_conf.cpp       | 1 +
 src/qt-tray-monitor/tray_conf.cpp | 2 +-
 src/stored/stored_conf.c          | 2 +-
 9 files changed, 9 insertions(+), 7 deletions(-)

commit 3d09d782eaf3ceb6bd1627c9e0b363b1e26300c6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:24 2014 +0200

    Bring config engine to 2014 and don't polute namespace.
    
    Implement a TODO from June 2008 and get ride of a slack of global
    variables used by the config engine. The code seems to be have been
    refactored in 2008 to access most configfile parsing via the CONFIG
    class and it already has most of the needed structures which also were
    kept as global variables. From now on the config engine is accessed via
    the CONFIG class and only res_all is left as global variable. As a side
    effect the config CLASS is now available as my_config and is a global
    variable.
    
    Global variable introduced:
    
    - CLASS CONFIG *my_config (Global configuration)
    
    Global variables removed:
    
    - res_all_size
    - r_first
    - r_last
    - resources
    - res_head
    
    It should be possible also to get ride of res_all but that needs some
    more testing. And is currently not very high on my urgency map.

 src/console/console_conf.c        | 15 +++++++-------
 src/dird/dird.c                   |  9 +++++----
 src/dird/dird_conf.c              | 14 ++++++-------
 src/dird/ua_output.c              |  6 +++---
 src/filed/filed_conf.c            | 12 +++++-------
 src/lib/parse_conf.c              | 13 ++++++-------
 src/lib/parse_conf.h              |  8 --------
 src/lib/res.c                     | 41 +++++++++++++++------------------------
 src/qt-console/bat_conf.cpp       | 10 ++++------
 src/qt-tray-monitor/tray_conf.cpp | 12 +++++-------
 src/stored/status.c               |  2 +-
 src/stored/stored_conf.c          | 14 ++++++-------
 12 files changed, 64 insertions(+), 92 deletions(-)

commit 6d4e8c888ddd5078f414d94a5f7ed03d27d57595
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:24 2014 +0200

    Transplant some code from parse_conf.c to res.c

 src/dird/dird_conf.c |    3 +-
 src/dird/dird_conf.h |    4 +-
 src/lib/parse_conf.c | 1267 +++++---------------------------------------------
 src/lib/parse_conf.h |    4 +-
 src/lib/res.c        | 1009 +++++++++++++++++++++++++++++++++++++++-
 5 files changed, 1141 insertions(+), 1146 deletions(-)

commit e603344a16806645e7a1395f8f5cbba3de17bfc3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:24 2014 +0200

    Promote the BRSRES::print_config() method.
    
    Lets make BRSRES::print_config() a generic method that is in the shared
    library and can be used by each daemon for printing the generic types
    support by libbareoscfg and allow specific printing via an additional
    callback that is initialized on init of the CONFIG class.

 src/console/console.c                |  14 +-
 src/console/console_conf.c           |  16 +-
 src/dird/dird_conf.c                 | 788 +++++++++--------------------------
 src/dird/dird_conf.h                 |  37 +-
 src/filed/filed.c                    |  17 +-
 src/filed/filed_conf.c               |  16 +-
 src/lib/parse_conf.c                 |   2 +
 src/lib/parse_conf.h                 |  50 ++-
 src/lib/res.c                        | 461 +++++++++++++++++++-
 src/qt-console/bat_conf.cpp          |  16 +-
 src/qt-console/main.cpp              |   7 +-
 src/qt-tray-monitor/tray-monitor.cpp |  15 +-
 src/qt-tray-monitor/tray_conf.cpp    |  16 +-
 src/stored/bcopy.c                   |   9 +-
 src/stored/bextract.c                |   9 +-
 src/stored/bls.c                     |   9 +-
 src/stored/bscan.c                   |   9 +-
 src/stored/btape.c                   |  19 +-
 src/stored/stored.c                  |  18 +-
 src/stored/stored_conf.c             |  16 +-
 src/stored/stored_conf.h             |  11 +-
 21 files changed, 849 insertions(+), 706 deletions(-)

commit 0519a4b0a18305b73ebf721ff5e41bf7905cd8b2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:23 2014 +0200

    Don't use me global variable in debug mode.

 src/dird/dird.c      | 23 ++++++++++++-----------
 src/dird/dird.h      |  3 ++-
 src/dird/dird_conf.c | 24 ++++++++++++------------
 src/lib/parse_conf.h | 27 ++++++++++++++-------------
 4 files changed, 40 insertions(+), 37 deletions(-)

commit 18b7db2a43467231de1c129df6a23720c0530bf0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:23 2014 +0200

    Use an item formatter to do the right indention level.
    
    From now on we use an indention function which we pass the wanted
    indention level so we no longer have to embed the right number of spaces
    in the output string. The options of a fileset should now be printed
    with the right indention level.

 src/dird/dird_conf.c   | 378 ++++++++++++++++++++++++-------------------------
 src/lib/address_conf.c |   4 +-
 2 files changed, 188 insertions(+), 194 deletions(-)

commit fd8a9ff24d3c1ff0d0907d95e2f96bc94282336c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:23 2014 +0200

    Only print when some items have a non zero setting.

 src/dird/dird_conf.c | 104 +++++++++++++++++++++++++++++----------------------
 1 file changed, 60 insertions(+), 44 deletions(-)

commit 95fdab1639a09f86c0215b445bfbd74c9917ed49
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:22 2014 +0200

    Move jobdefs before jobs in parser.
    
    That way we het a config that first has the JobDefs and then
    the Jobs which makes it easier to read for us mortals.

 src/dird/dird_conf.c | 10 +++++-----
 src/dird/dird_conf.h |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 961420fafb6cb675095e3fefba5a7064031f14ac
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat Apr 5 10:10:22 2014 +0200

    Implemented print of configuration

 src/console/console.c                |    6 +-
 src/console/console_conf.c           |   28 +-
 src/console/console_conf.h           |    4 +-
 src/dird/authenticate.c              |   20 +-
 src/dird/dbcheck.c                   |   21 +-
 src/dird/dird.c                      |   19 +-
 src/dird/dird_conf.c                 | 1952 ++++++++++++++++++++++++----------
 src/dird/dird_conf.h                 |  180 ++--
 src/dird/inc_conf.c                  |  154 +--
 src/dird/inc_conf.h                  |  180 ++++
 src/dird/job.c                       |    2 +-
 src/dird/migrate.c                   |    2 +-
 src/dird/ndmp_dma.c                  |   14 +-
 src/dird/ua_cmds.c                   |    4 +-
 src/dird/ua_output.c                 |    3 +-
 src/dird/ua_run.c                    |    3 +-
 src/filed/authenticate.c             |    9 +-
 src/filed/filed_conf.c               |   41 +-
 src/filed/filed_conf.h               |    8 +-
 src/lib/address_conf.c               |   12 +
 src/lib/address_conf.h               |    2 +-
 src/lib/edit.c                       |   30 +-
 src/lib/generic_res.h                |   88 ++
 src/lib/parse_conf.c                 |  190 ++--
 src/lib/parse_conf.h                 |  129 ++-
 src/lib/protos.h                     |    1 +
 src/lib/res.c                        |   78 ++
 src/lib/util.c                       |   38 +
 src/qt-console/bat_conf.cpp          |   34 +-
 src/qt-console/bat_conf.h            |    4 +-
 src/qt-console/bcomm/dircomm.cpp     |    6 +-
 src/qt-tray-monitor/authenticate.cpp |   44 +-
 src/qt-tray-monitor/tray_conf.cpp    |   49 +-
 src/qt-tray-monitor/tray_conf.h      |    6 +-
 src/stored/authenticate.c            |    6 +-
 src/stored/ndmp_tape.c               |    8 +-
 src/stored/stored_conf.c             |   74 +-
 src/stored/stored_conf.h             |   12 +-
 38 files changed, 2265 insertions(+), 1196 deletions(-)

commit 9fb8fc3ca279cd1e493042a32715b8fff7a208a4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:22 2014 +0200

    Remove MAXSTRING variable
    
    Fix long standing TODO to remove the MAXSTRING definition.
    Use POOLMEM and POOL_MEM to replace the fixed sized buffers.
    
    Fixes #164: Remove MAXSTRING variable

 autoconf/configure.in              | 18 ++++++++-
 src/dird/expand.c                  | 80 +++++++++++++++++---------------------
 src/dird/fd_cmds.c                 | 16 ++++----
 src/dird/ndmp_dma.c                | 14 +++----
 src/dird/newvol.c                  | 10 ++---
 src/dird/ua_select.c               | 11 +++---
 src/dird/verify.c                  | 26 ++++++-------
 src/filed/backup.c                 | 18 ++++-----
 src/filed/verify.c                 | 14 +++----
 src/findlib/xattr.c                |  2 +-
 src/include/baconfig.h             | 58 ++++++++++++++++-----------
 src/lib/cram-md5.c                 | 57 ++++++++++++++-------------
 src/lib/ini.c                      | 24 ++++++------
 src/lib/lex.c                      | 47 ++++++++++++----------
 src/lib/lex.h                      |  3 +-
 src/lib/message.c                  | 66 ++++++++++++++++++++++++-------
 src/lib/parse_bsr.c                | 16 ++++----
 src/lib/parse_conf.c               | 19 ++++++---
 src/lib/runscript.c                | 16 ++++----
 src/lib/util.c                     | 11 +++---
 src/qt-console/restore/restore.cpp |  8 ++--
 src/stored/acquire.c               | 10 +++--
 src/stored/ndmp_tape.c             | 37 +++++++++---------
 23 files changed, 329 insertions(+), 252 deletions(-)

commit 1055f1042e161f603aa93ba46a2fff37d0e2d148
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:21 2014 +0200

    Rewrite config engine to use integer types.
    
    Instead of using function pointers for storing the config parser function
    to call use integer types which are translated at runtime to the correct
    function to call. This should work around hardening being performed on
    shared libraries on some Linux platforms. On those platforms the actual
    comparing of the function pointers fail, using integers for the different
    data types makes it also possible to use an elegant switch to jump to the
    correct parsing function instead of using an endless set of ifs needed when
    comparing memory addresses of functions.
    
    An extra side effect of not using function pointers is that the store functions
    don't need to be global so the parse_conf.c in the shared library only exports
    10 instead of 32 symbols and also the daemon specific store function can be
    local only functions. The only thing needed is a callback to a dispatch function
    in the daemon when it has no standard config items which are not of a generic
    type (e.g. not bool, integer etc but things like protocol etc.) which leads to a
    very small extra payload which is probably not even measurable.

 src/console/console_conf.c         |  72 ++--
 src/dird/dird.c                    |  47 ++-
 src/dird/dird_conf.c               | 736 ++++++++++++++++++++-----------------
 src/dird/dird_conf.h               |  36 ++
 src/dird/inc_conf.c                | 555 +++++++++++++++-------------
 src/filed/filed_conf.c             | 152 ++++----
 src/filed/filed_conf.h             |   5 +
 src/lib/ini.c                      | 428 ++++++++++++---------
 src/lib/ini.h                      |  43 +--
 src/lib/parse_conf.c               | 241 ++++++++----
 src/lib/parse_conf.h               | 153 ++++----
 src/plugins/filed/test-plugin-fd.c |  13 +-
 src/qt-console/bat_conf.cpp        |  68 ++--
 src/qt-tray-monitor/tray_conf.cpp  |  64 ++--
 src/stored/stored_conf.c           | 343 +++++++++--------
 src/stored/stored_conf.h           |  10 +
 16 files changed, 1650 insertions(+), 1316 deletions(-)

commit d0cd5589c46bc342644dc7fb089b1f2360f944fd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:20 2014 +0200

    Update AUTHORS.

 AUTHORS | 3 +++
 1 file changed, 3 insertions(+)

commit 0e58894015fdf8b34221c828f3426c0e7059e312
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Apr 5 10:10:20 2014 +0200

    Fix wording.
    
    Restore original author of parts of the code and show that its part of
    a refactoring of the code.

 src/dird/migrate.c      | 2 +-
 src/dird/sd_cmds.c      | 2 ++
 src/filed/compression.c | 4 +++-
 src/filed/crypto.c      | 4 +++-
 src/filed/fileset.c     | 6 ++++--
 src/lib/bsock.c         | 2 +-
 src/lib/bsock_tcp.c     | 4 +++-
 src/lib/compression.c   | 4 +++-
 8 files changed, 20 insertions(+), 8 deletions(-)

commit 64e8575ec98835b84ddf36cc1ceaa7214a23aca4
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Tue Apr 8 20:49:32 2014 +0200

    remove mysql user bareos@%
    
    and tries to avoid problems with make_bareos_tables when called multiple times
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/ddl/creates/mysql.sql           | 3 +++
 src/cats/ddl/creates/postgresql.sql      | 4 ++++
 src/cats/ddl/creates/sqlite3.sql         | 3 +++
 src/cats/ddl/updates/mysql.2001_2002.sql | 6 ++++++
 4 files changed, 16 insertions(+)

commit 7f850aa9344060e5d6d1501e1d6ef5c3c65c5070
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Apr 2 10:48:22 2014 +0200

    get_database_param: return default value
    
    return the default value, if calling bareos-dhcheck fails.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/bareos-config-lib.sh.in | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

commit 14e375b2c0d56097ef4e976a31ad27453de79a32
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Mar 31 18:12:46 2014 +0200

    bareos-config get_database_param: use dbcheck
    
    modified get_database_param to use bareos-dbcheck to get database parameter
    instead of directly accessing the Bareos Director config file.
    Because bareos-dbcheck uses the Bareos config parser this prevents problems with different formating.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/bareos-config-lib.sh.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit abe1a06c7ea8eeb2be408be8b4b5e40d9b38f12a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Feb 3 13:45:41 2014 +0100

    use config file settings to configure database
    
    Let the database configuration scripts get the configuration parameter from the director config file.
    Now, the scripts try to get there values in following order:
      1. environment variable (db_name, db_user, db_password)
      2. director config file
      3. fallback value (from configure)
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control                         |  1 -
 scripts/bareos-config-lib.sh.in        | 99 +++++++++++++++++++++++++++-------
 src/cats/create_bareos_database.in     |  4 +-
 src/cats/ddl/grants/mysql-readonly.sql |  3 +-
 src/cats/ddl/grants/mysql.sql          |  5 +-
 src/cats/drop_bareos_database.in       |  4 +-
 src/cats/drop_bareos_tables.in         |  4 +-
 src/cats/grant_bareos_privileges.in    |  7 +--
 src/cats/make_bareos_tables.in         |  4 +-
 src/cats/update_bareos_tables.in       |  4 +-
 10 files changed, 98 insertions(+), 37 deletions(-)

commit d9d1fb03ea93a21bf63b8e3db12e2f53881072c2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Mar 26 11:49:14 2014 +0100

    dir startscript also checks the configuration
    
    Also added a debug message to the dummy libbareoscats library

 scripts/bareos-ctl-dir.in |  7 ++++++-
 scripts/bareos-ctl-funcs  | 15 +++++++++++++++
 src/cats/cats_dummy.c     |  2 +-
 3 files changed, 22 insertions(+), 2 deletions(-)

commit 4527c06856dec27538f93ba132f0a0f6f70ca76c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Mar 20 18:58:25 2014 +0100

    added check for unknown database
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/create_bareos_database.in  | 6 +++++-
 src/cats/grant_bareos_privileges.in | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 542d6e4ce011039d3a14e7dfc0944ea59c6d40a7
Author: NilByMouth <malcolm.hunter@gmx.co.uk>
Date:   Thu Mar 20 14:46:38 2014 +0000

    Update LINGUAS
    
    Add Polish language

 po/LINGUAS | 1 +
 1 file changed, 1 insertion(+)

commit 96455bba996423d37e0dfd011b732d510f2c68eb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Mar 20 10:35:09 2014 +0100

    Fix typo
    
    python_loaded is only a member of the p_ctx struct when Python is
    detected.

 src/plugins/filed/python-fd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cdaea93894ebf2f34cf6d3f1e1aa45e314bf5cb1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Mar 19 20:07:16 2014 +0100

    No need to check for this == NULL.

 src/lib/bsock_tcp.c | 8 --------
 1 file changed, 8 deletions(-)

commit 6c9046eadaf09bd17bd62aea5ebccdf298beaa6c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Mar 19 18:44:23 2014 +0100

    Implement generate_plugin_event bEventPluginCommand
    
    Up until now the so called Options Plugin never did a
    generate_plugin_event() for the bEventPluginCommand event when a Options
    plugin was specified in the fileset. Now when we finished parsing the
    fileset in the term_fileset() function we generate those events for each
    plugin which is configured as a Options Plugin in the fileset.
    
    Also added an extra check in the python plugin to check if the python
    specific module is loaded before trying to access the dictionary in the
    PluginIO() function so in the future we don't crash there anymore.
    
    Fixes #281: fd crashes when trying to execute a python plugin as option plugin

 src/filed/fileset.c           | 75 +++++++++++++++++++++++++++----------------
 src/plugins/filed/python-fd.c |  4 +++
 2 files changed, 51 insertions(+), 28 deletions(-)

commit 7b7379178708d9ad5a0470d88dff5bfc27647044
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Mar 19 13:11:01 2014 +0100

    check cfg and db conn before startup of director
    
    We now use the possibilty to check the configuration
    and database connection on startup of the director before
    we really startup the daemon so that we get direct
    feedback if something is wrong.
    
    Before, we did not get any feedback because the director
    forked so problems only were visible in the logfile.
    
    Without systemd, we get the output directly, with systemd we
    need to call "systemctl status bareos-dir.service"
    
    Fixes #286: Alter the startscripts to run the daemons with -t before starting them
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/debian/bareos-dir.in          | 16 ++++++++++++++++
 platforms/redhat/bareos-dir.in          | 29 ++++++++++++++++++++++-------
 platforms/suse/bareos-dir.in            | 25 +++++++++++++++++++++----
 platforms/systemd/bareos-dir.service.in |  5 +++--
 4 files changed, 62 insertions(+), 13 deletions(-)

commit 94a5502fd6baeadf699e19e7c539a24ec88e014e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Mar 17 15:31:58 2014 +0100

    Update AUTHORS file.

 AUTHORS | 7 +++++++
 1 file changed, 7 insertions(+)

commit a9168c2c2977ff1586012b5d3d665a59608e58be
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Mar 17 11:27:41 2014 +0100

    added default Debian build description file.
    
    bareos.dsc is used by OBS, if no distribution specific file (like bareos-Debian_7.0.dsc) is available.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos.dsc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit a07462bb43fdea1f44f9888bc3e559317fc8feb5
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Mar 17 11:27:02 2014 +0100

    use coverity@bareos.org for coverity scan reports
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 316849a4d8d22fe0f9bf9b1d1ac548f34ba7471f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Mar 17 11:26:17 2014 +0100

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

 src/cats/ddl/grants/mysql-readonly.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 34fef63d5ecfff530c2e3729e629655acb182127
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Mar 11 15:45:14 2014 +0100

    Fix for win32 installer
    
    We use some libs from the postgres installation, and
    in win32, libint is called libint.dll instead of libint-8.dll.
    
    We now use a glob to copy it over

 platforms/win32/winbareos.nsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit cd866f50f2a98e5d93bbdea244ef7267bf0d2bf9
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Mar 5 18:05:51 2014 +0100

    moved dir /etc/bareos/ to bareos-common package
    
    prior, it had been in bareos-director, but it is used in multiple packages.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 28e929203258c68f2a96e1dda965ece58d914050
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Mar 5 10:13:20 2014 +0100

    Fix comparisson.

 src/stored/backends/rados_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f3767cac2307a0179aea92cffcadb9aebd91f705
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Mar 2 12:04:13 2014 +0100

    Show an error when an unknown device type if configured.

 src/stored/dev.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 446dd5d5c6b6cfecd93babad70f81a95a853ac82
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Mar 1 23:02:18 2014 +0100

    Update README.md

 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit bdfc411590bdb08cf9631d02672225b44fcca2da
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Mar 1 22:56:44 2014 +0100

    Tweak rados device a bit with errno handling.

 src/stored/backends/rados_device.c | 69 +++++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 30 deletions(-)

commit d1fa18bf865d3c303fe6e25c1c3bbb892ac56d90
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Mar 1 09:17:16 2014 +0100

    Update README.md

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4ef9cf9fd6af70b6c1747aa09605920e65a2d91f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 28 09:08:36 2014 +0100

    Fix some typos and add error string.

 src/stored/backends/object_store_device.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit ec35d502d01b0525e78d2d8a43ffd2ec1879899d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 28 13:46:38 2014 +0100

    Remove hardcoded job timeout of 6 days.
    
    The current watchdog setup doesn't make any sense with the state the
    software is in 2014. So changed the watchdog timeout to be set to zero
    by default which means don't run a jcr watchdog thread in either the
    filed, stored or dird at all. You can still set an absolute timeout
    on the job length but in normal situations it makes little sense.

 src/dird/dird.c          |  4 +++-
 src/dird/dird_conf.c     |  1 +
 src/dird/dird_conf.h     |  3 ++-
 src/filed/filed.c        |  4 +++-
 src/filed/filed_conf.c   |  1 +
 src/filed/filed_conf.h   |  1 +
 src/include/jcr.h        |  2 +-
 src/lib/bsock.h          |  1 -
 src/lib/bsock_sctp.c     |  5 -----
 src/lib/bsock_tcp.c      |  5 -----
 src/lib/bsock_udt.c      |  5 -----
 src/lib/jcr.c            | 10 ++++++----
 src/stored/stored.c      |  4 +++-
 src/stored/stored_conf.c |  1 +
 src/stored/stored_conf.h |  1 +
 15 files changed, 23 insertions(+), 25 deletions(-)

commit b8e4184c580f2e6c013ce8bfd41e6749d59d7949
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 28 12:40:11 2014 +0100

    Make clear when vtape is compiled in.

 src/include/version.h       | 7 -------
 src/stored/backends/vtape.c | 4 ++--
 src/stored/dev.c            | 4 ++--
 3 files changed, 4 insertions(+), 11 deletions(-)

commit 9a532f485a8344ff968a269e803ee8ddd32d8319
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Feb 28 12:09:58 2014 +0100

    remove vtape autodetection in init_dev
    
    Annoyingly, the vtape code was automatically
    activated in init_dev without any notice if
    device->device_name was a regular file.
    
    We now deactivated that so that you explicitly
    have to set
    
       "DeviceType = Vtape"
    
    if you wish to use vtape instead of the stupid
    autodetection.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/dev.c | 7 -------
 1 file changed, 7 deletions(-)

commit d2d5c4d2a67178a00952f7b397be55cd0ef22127
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 27 17:05:37 2014 +0100

    Fix typo.

 src/stored/backends/object_store_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d4a0e3070371b93b8a4b1891f37d1949791c71c5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 27 15:15:05 2014 +0100

    Revert "Fix for purge command not purging and truncating."
    
    This reverts commit dc89f661cc20504279c16654e29d41dfeae170b1.

 src/dird/ua_purge.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 33e98376e6a9b6596ddb289f7929156a49d6bf6b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Feb 26 14:20:47 2014 +0100

    Fix regression problems
    
    ua_purge.c: keep blocksizes during relabel
    dev.c: do not set dev blocksize to zero
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_purge.c | 33 ++++++++++++++++++++++++---------
 src/stored/dev.c    | 17 ++++++++++-------
 2 files changed, 34 insertions(+), 16 deletions(-)

commit ae1e832350b80806ca4e17bbf2fdf1438468bcd4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 26 10:01:37 2014 +0100

    Fix typo.

 src/stored/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ce9571314d517f1b911bcedd03aedb118817b7c7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 26 09:10:57 2014 +0100

    Add support for special device types.
    
    We added some support for making sure a newly created devicetype
    is catched by any of the is_xxx macros but for that to work we need
    to test for all of those device testing macros.

 src/stored/dev.c   | 2 ++
 src/stored/mount.c | 2 ++
 2 files changed, 4 insertions(+)

commit 92bdc6e92d7e1a7ffa19c41cc187c012e9ae32c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 25 17:04:45 2014 +0100

    Updated README.md

 README.md | 5 +++++
 1 file changed, 5 insertions(+)

commit 58c948c08571722313f2dc2247df8d22e0cec50b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 20 09:52:03 2014 +0100

    Rebuild configure and config.h.in

 autoconf/config.h.in |   9 ++
 configure            | 274 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 283 insertions(+)

commit d0f4d744557815936a6c816a0a2c6c2c3d5228ef
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 20 13:12:53 2014 +0100

    Add first prototype for abstracting librados API.

 autoconf/configure.in              |  62 +++++++++
 src/stored/Makefile.in             |   9 +-
 src/stored/backends/rados_device.c | 251 +++++++++++++++++++++++++++++++++++++
 src/stored/backends/rados_device.h |  58 +++++++++
 src/stored/dev.c                   |  12 ++
 src/stored/dev.h                   |   6 +-
 src/stored/stored_conf.c           |   1 +
 7 files changed, 396 insertions(+), 3 deletions(-)

commit 13c583bb8b8af84a34dddc46d09828f5f59e6fcb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Feb 13 15:01:47 2014 +0100

    Add first prototype for object storage device abstraction.
    
    For this we use libdroplet from scality.

 autoconf/configure.in                     |  60 ++++
 src/stored/Makefile.in                    |   9 +-
 src/stored/backends/object_store_device.c | 475 ++++++++++++++++++++++++++++++
 src/stored/backends/object_store_device.h |  57 ++++
 src/stored/dev.c                          |  12 +
 src/stored/dev.h                          |   6 +-
 src/stored/stored_conf.c                  |   1 +
 7 files changed, 617 insertions(+), 3 deletions(-)

commit 9d2369eb93ddb2f4926436d7e5772b626e372388
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 23:08:16 2014 +0100

    Add first prototype for abstracting Gluster FS API.

 autoconf/configure.in              |  62 ++++
 src/stored/Makefile.in             |  13 +-
 src/stored/backends/gfapi_device.c | 565 +++++++++++++++++++++++++++++++++++++
 src/stored/backends/gfapi_device.h |  59 ++++
 src/stored/dev.c                   |  12 +
 src/stored/dev.h                   |   6 +-
 src/stored/stored_conf.c           |   1 +
 7 files changed, 715 insertions(+), 3 deletions(-)

commit e499f12d12b02af554c37cba9b7664a2a4fefcdb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 23:08:11 2014 +0100

    Tweak layout and naming.
    
    - Always use the virtual d_open method.
    - Open system call is called with 2 or 3 arguments but they are named
      path, oflag and mode so don't use mode for what is normally is
      called oflag as that could be misinterpretted as being the mode
      argument.
    - Tweak layout of comments and use spaces around or-ed values for
      readability.
    - Abstract truncate function to device specific truncate function.
    - Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY
      to work around namespace collision of ST_APPEND in statvfs.h
      on Linux.
    - Move device abstraction into src/stored/backends

 src/stored/Makefile.in                        |   20 +-
 src/stored/acquire.c                          |    2 +-
 src/stored/askdir.c                           |    2 +-
 src/stored/backends/unix_file_device.c        |  136 ++++
 src/stored/backends/unix_file_device.h        |   47 ++
 src/stored/backends/unix_tape_device.c        |   76 ++
 src/stored/backends/unix_tape_device.h        |   47 ++
 src/stored/backends/vtape.c                   |  929 +++++++++++++++++++++
 src/stored/backends/vtape.h                   |   99 +++
 src/stored/btape.c                            |    4 -
 src/stored/dev.c                              |  233 +++---
 src/stored/dev.h                              |   42 +-
 src/stored/mount.c                            |   14 +-
 src/stored/reserve.c                          |    6 +-
 src/stored/unix_device.c                      |   67 --
 src/stored/unix_device.h                      |   43 -
 src/stored/vtape.c                            |  924 ---------------------
 src/stored/vtape.h                            |   98 ---
 src/win32/stored/Makefile                     |   12 +-
 src/win32/stored/backends/win32_file_device.c |  131 +++
 src/win32/stored/backends/win32_file_device.h |   47 ++
 src/win32/stored/backends/win32_tape_device.c | 1079 +++++++++++++++++++++++++
 src/win32/stored/backends/win32_tape_device.h |   51 ++
 src/win32/stored/win32_file_device.c          |   63 --
 src/win32/stored/win32_file_device.h          |   43 -
 src/win32/stored/win32_tape_device.c          | 1074 ------------------------
 src/win32/stored/win32_tape_device.h          |   47 --
 27 files changed, 2806 insertions(+), 2530 deletions(-)

commit d815f53d0563401a4a6c557ff4eb0c02f18e56ac
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Feb 25 10:19:16 2014 +0100

    Adds support for different blocksizes.
    
    Min- and maxblocksize are now a property of the
    pool and are promoted to tapes in that pool.
    
    Therefore, the media and pool database tables were
    adapted to hold min and maxblocksize.
    
    In order to be able to read the tape label always,
    the label is always read and written with the
    DEFAULT_BLOCK_SIZE = 63k/64512 bytes
    
    For backward compatibility, the blocksize
    DEFAULT_BLOCK_SIZE is used if the blocksize
    for the medium is zero in the database table.
    
    The device blocksizes are set to the values
    of the mounted volume after it was mounted, so
    all blocks being written after the label block
    are written with the blocksizes configured in the
    medium/pool.
    
    Moving a tape from one pool to another through
    the scratch pool mechanism is supported,
    as then the pool's properties are promoted
    to the medium.
    
    This new feature makes it possible to move from
    one blocksize to a new one during normal operation
    while being able to restore the old backups at any
    time.
    
    For disaster recovery (DR) using bscan etc. you need to
    set the blocksize used during write of the tape for
    restore.
    
    Fixes #267: make blocksize a property of the pool

 src/cats/cats.h          |   4 ++
 src/cats/sql_create.c    |  17 +++---
 src/cats/sql_find.c      |   6 ++-
 src/cats/sql_get.c       |  13 +++--
 src/cats/sql_update.c    |  24 ++++++---
 src/dird/catreq.c        |   4 +-
 src/dird/dird_conf.c     |   4 ++
 src/dird/dird_conf.h     |   2 +
 src/dird/ua_cmds.c       |   7 ++-
 src/dird/ua_label.c      |  27 ++++++----
 src/lib/scan.c           |   5 +-
 src/stored/acquire.c     |  12 ++++-
 src/stored/askdir.c      |  33 +++++++-----
 src/stored/block.c       |  16 ++++--
 src/stored/block.h       |   4 +-
 src/stored/bscan.c       |   2 +-
 src/stored/butil.c       |   2 +-
 src/stored/dev.c         | 131 ++++++++++++++++++++++++++++++++++++++++++++---
 src/stored/dev.h         |  17 ++++--
 src/stored/dir_cmd.c     |  38 +++++++++-----
 src/stored/label.c       |  54 +++++++++++++++++--
 src/stored/mount.c       |  14 +++++
 src/stored/protos.h      |   2 +-
 src/stored/reserve.c     |   6 +--
 src/stored/sd_plugins.c  |   2 +-
 src/stored/spool.c       |   2 +-
 src/stored/stored.c      |   2 +-
 src/stored/stored.h      |   1 +
 src/stored/stored_conf.c |   1 +
 src/stored/stored_conf.h |   5 +-
 30 files changed, 366 insertions(+), 91 deletions(-)

commit 53a132bc4ea41dd760e982a2e295bdb08c06fe80
Author: Jakub Hradil <jkhradil@gmail.com>
Date:   Tue Feb 25 11:30:50 2014 +0100

    Fix for purge command not purging and truncating.
    
    Fix for purge command not purging and truncating volumes when run
    with action parameter
    
    Fixes #282: Running purge command with action parameter does not purge
                or truncates volumes
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_purge.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit e9e295cbdb8f1d7718fee977ceee7ec8b8f48c9b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Feb 22 10:20:22 2014 +0100

    Remove useless debug message.

 src/stored/block.c | 1 -
 1 file changed, 1 deletion(-)

commit 3e4c71b1f25fcd91ac75e4c2e65300e44968816e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 21 13:39:15 2014 +0100

    Don't return a pointer to a local variable.

 src/dird/expand.c | 4 ++--
 src/lib/var.c     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit b7ce247681462398836d5bb6d343265ca21af9d1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Feb 21 13:32:19 2014 +0100

    Use bstrncpy and not strncpy.

 src/dird/inc_conf.c | 2 +-
 src/lib/ini.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit e913758c6be2a8ae6eb3c1c480792214acec2c8c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 20:30:23 2014 +0100

    Fix socket closing.

 src/lib/bsock_tcp.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

commit 1b7c86a51c834884335639a688b036a65f480526
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 19:31:54 2014 +0100

    Fix wrong return.

 src/lib/mem_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 06f1dede676a7d5708246b39966177a2263459d7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 19:14:28 2014 +0100

    Explicitly return NULL or 0 on M_ABORT error.
    
    This makes the work for static analyzing tools a lot easier that
    don't understand that a M_ABORT means stop executing the program
    and abort creating a crash on our way out.

 src/lib/mem_pool.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit 9d0bf8076373cd099ca653abe4bf915936858bd8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 19:11:10 2014 +0100

    Fix resource leak.

 src/lib/bsock_tcp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 21c63d970e527e2b82feb476b6570cf12bdd3665
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 18:58:00 2014 +0100

    Fix buffer overrun.

 src/lib/scsi_crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7bed48f7be70dbbf1e5c60f3c2ecac500cbd6a4a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 18:55:38 2014 +0100

    Fix resource leak in create_pid_file().

 src/lib/bsys.c | 47 ++++++++++++++++++++++++++++++-----------------
 1 file changed, 30 insertions(+), 17 deletions(-)

commit 3192da1e9f0e86250af7f5e1c87e85653ad68507
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 14:24:25 2014 +0100

    Fix some more compiler warnings.

 src/dird/catreq.c     | 8 ++------
 src/dird/ua_dotcmds.c | 2 +-
 2 files changed, 3 insertions(+), 7 deletions(-)

commit 3e2d4264ded3be0594850bf3b12b117df55496b1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Feb 19 14:20:15 2014 +0100

    Fix some compiler warnings.

 src/lib/bsock_sctp.c | 2 +-
 src/lib/bsock_tcp.c  | 2 +-
 src/lib/bsock_udt.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 1e0e4ab95c626def6ab34fe2933eddcd5de69f96
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Feb 7 10:14:08 2014 +0100

    added Coverity Scan to travis
    
    see https://scan.coverity.com/
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 44 insertions(+), 6 deletions(-)

commit 2fc981ba6fb43fa08d02d747b68f16054c6551ab
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 18 16:48:13 2014 +0100

    Use proper filename for windows paths.
    
    For ASCII paths you need to use unix_name_to_win32() and for UTF8 paths
    make_win32_path_UTF8_2_wchar()
    
    We were always doing first a unix_name_to_win32() and that output as
    input for UTF8 make_win32_path_UTF8_2_wchar() that ain't going to work.
    
    Fixes #274: bareos-fd on windows 7 struggles with unix-style pathes

 src/win32/compat/compat.c         | 151 +++++++++++++++++++++++---------------
 src/win32/compat/include/compat.h |   4 +-
 2 files changed, 95 insertions(+), 60 deletions(-)

commit 01e39cc484e25fe776533399cd489f19e9d5d248
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Feb 18 16:48:04 2014 +0100

    Last part in windows support, director on windows.
    
    This patch adds the things needed to cross-compile the director using
    MINGW on Linux. It adds the build infrastructure for building the
    database backend infrastructure (catalog) and the actual director and
    dbcheck for windows. It also adds the bsmtp binary in tools and the
    changes needed to the installer to install all new stuff.
    
    It does however not supply the database (postgresql or sqlite3) you
    need to install those before running the bareos-installer.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/fillup.sed                    |  22 +-
 platforms/win32/mingw-debugsrc-devel.spec     |  48 ++++
 platforms/win32/tray-monitor-conf-fd-sd.patch |   6 +-
 platforms/win32/tray-monitor-conf.patch       |   6 +-
 platforms/win32/winbareos-nsi.spec            | 107 ++++++--
 platforms/win32/winbareos.nsi                 | 359 ++++++++++++++++++++++++--
 platforms/win32/winbareos32.spec              |  39 ++-
 platforms/win32/winbareos64.spec              |  39 ++-
 src/cats/bdb_priv.h                           |   2 +-
 src/cats/cats.h                               |   2 +-
 src/cats/cats_dynamic.c                       |   5 +
 src/cats/cats_dynamic.h                       |   4 +-
 src/cats/dbi.c                                |  24 +-
 src/cats/ingres.c                             |  24 +-
 src/cats/mysql.c                              |  24 +-
 src/cats/postgresql.c                         |  24 +-
 src/cats/sqlite.c                             |  24 +-
 src/dird/bareos-dir.conf.in                   |   2 +-
 src/include/baconfig.h                        |   7 +-
 src/win32/Makefile                            |  47 +++-
 src/win32/Makefile.inc                        |  12 +-
 src/win32/README.OBS                          |   4 +
 src/win32/cats/Makefile                       |  74 ++++++
 src/win32/cats/make_def                       |  61 +++++
 src/win32/compat/include/mingwconfig.h        |  21 ++
 src/win32/console/Makefile                    |  28 +-
 src/win32/console/consoleres.rc.in            |   2 +-
 src/win32/dird/Makefile                       |  80 ++++++
 src/win32/dird/dbcheckres.rc.in               |  31 +++
 src/win32/dird/dirdres.rc.in                  |  31 +++
 src/win32/dird/who.h                          |  31 +++
 src/win32/filed/Makefile                      |  20 ++
 src/win32/filed/who.h                         |   1 +
 src/win32/findlib/Makefile                    |  20 ++
 src/win32/generic/service.c                   |   2 +-
 src/win32/lib/Makefile                        |  20 ++
 src/win32/plugins/Makefile                    |  20 ++
 src/win32/plugins/filed/Makefile              |  38 ++-
 src/win32/plugins/stored/Makefile             |  20 ++
 src/win32/stored/Makefile                     |  20 ++
 src/win32/stored/who.h                        |   3 +-
 src/win32/tools/Makefile                      |  61 +++++
 src/win32/tools/bsmtpres.rc.in                |  31 +++
 43 files changed, 1280 insertions(+), 166 deletions(-)

commit b8deed16da4bc743e13859a1e58ab12fbe0b310d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Feb 13 10:02:48 2014 +0100

    Autodetermine WIN_DEBUG and WIN_VERSION values
    
    We now automatically determine the WIN_DEBUG value
    from the version info, so if the version contains debug,
    we set it to yes otherwise to no.
    
    For the WIN_VERSION, we check if the name contains "64",
    if so the WIN_VERSION is 64 else it is 32.

 platforms/win32/winbareos32.spec | 8 +++++++-
 platforms/win32/winbareos64.spec | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

commit c361f5fe61fca201c437f4c80caf68fa720b6765
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Feb 12 22:09:12 2014 +0100

    fixes path in univention-bareos-schema package
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/univention-bareos-schema.install | 2 +-
 platforms/univention/Makefile.in        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit f1a80357417e1efb1d436298565f0487f2008a2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 11 09:49:56 2014 +0100

    SD to SD replication makes SD crash
    
    Problem is that we wait up to 30 minutes for the SD-SD replication
    job to start but it could be that the total migration/copy run takes
    longer then 30 minutes to finish all jobs. The current code doesn't take
    this into consideration and doesn't check if there is actually a remote
    SD that connected for doing the replication.
    
    So fix is to not continue when sd replication socket is not connected.
    And also remove the timeout on starting a SD-SD replication session.
    The normal FD-SD connection is protected with a timeout so we don't hang
    when a FD never connects. As we support canceling a storage Job from the
    director and the director should cleanly cancel the storage job any way
    when it fails the copy or migration job it should be no problem.
    
    In a normal backup/restore there are 3 daemons involved e.g. director,
    storage daemon and file daemon but with migration the director controls
    everything and controls the at maximum two storage daemons.
    
    Fixes #276: SD to SD replication makes SD crash

 src/stored/dir_cmd.c | 12 ++++++++----
 src/stored/sd_cmds.c | 30 ++++++++++++++----------------
 2 files changed, 22 insertions(+), 20 deletions(-)

commit 0349eb4314b87ea4210ffa44eeee3814163c5988
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 17:19:42 2014 +0100

    Fix check of array value.

 src/stored/bsr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1c43405cebf7a8a492e41a468317a292124964dd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 17:17:34 2014 +0100

    Fix leaked file descriptor on error path.

 src/dird/fd_cmds.c | 1 +
 1 file changed, 1 insertion(+)

commit 56f052d2fcea4f3b0ca54ca042644378c3346fe2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 17:14:34 2014 +0100

    Only free a vollist when we have one.

 src/dird/ua_label.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 354629693d80e93f09a178c9ff0b05e8fbafc358
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 17:11:25 2014 +0100

    Protect all access to dcr->job_spool_size via dcr->dev->spool_mutex

 src/stored/spool.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 0a4fc0cce086f487d6e20acbeac49ccff66edbb7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 16:56:31 2014 +0100

    Fix typos.

 src/filed/restore.c      | 2 +-
 src/stored/stored_conf.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 8cf63519c77302dc24748ff863fba04238f7e9f3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 16:47:18 2014 +0100

    Fix some missing break statements.

 src/cats/sql.c           | 2 ++
 src/lib/crypto_openssl.c | 3 +++
 src/stored/status.c      | 1 +
 3 files changed, 6 insertions(+)

commit 9293821d935d6982f7cd8afed3973dd5815b10a5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 10 16:37:38 2014 +0100

    Fix leaked dl_handle.

 src/cats/cats_dynamic.c | 2 ++
 1 file changed, 2 insertions(+)

commit b1379b07e118c3f0d84b35a9811e2f65eb28123e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 3 16:55:51 2014 +0100

    Allow updates from Bacula 2.x to Bareos.
    
    Now that we have a smart database update script we can add the other
    database conversion scripts and allow a user to update his database
    also from an older Bacula version. (2.0 is what we cut off with the
    client so also for the server it makes sense to not support
    anything older.)

 src/cats/ddl/updates/mysql.10_11.sql      |  41 ++++++
 src/cats/ddl/updates/mysql.11_12.sql      |  41 ++++++
 src/cats/ddl/updates/mysql.12_14.sql      |  21 +++
 src/cats/ddl/updates/postgresql.10_11.sql |  20 +++
 src/cats/ddl/updates/postgresql.11_12.sql |  66 ++++++++++
 src/cats/ddl/updates/postgresql.12_14.sql |  27 ++++
 src/cats/ddl/updates/sqlite3.10_11.sql    | 208 ++++++++++++++++++++++++++++++
 src/cats/ddl/updates/sqlite3.11_12.sql    |  47 +++++++
 src/cats/ddl/updates/sqlite3.12_14.sql    |  22 ++++
 9 files changed, 493 insertions(+)

commit a08a3d3df69838da0ca550e39d5588d7a048b76a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 3 14:43:14 2014 +0100

    Update README.md

 README.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit ffbd5c11205da4679707be11adb143eb17f3e003
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 3 14:27:58 2014 +0100

    Bump version number.

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Debian_6.0.dsc     |  2 +-
 platforms/packaging/bareos-Debian_7.0.dsc     |  2 +-
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-Univention_3.2.dsc |  2 +-
 platforms/packaging/bareos-xUbuntu_10.04.dsc  |  2 +-
 platforms/packaging/bareos-xUbuntu_12.04.dsc  |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.spec               |  6 +++---
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 22 +++++++++++-----------
 13 files changed, 38 insertions(+), 32 deletions(-)

commit ec8ba3fb334f93d5cac4cfc89e444b75c8deb256
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Feb 3 09:45:46 2014 +0100

    Make comment a C comment not shell Comment.

 src/console/conio.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 4c6f8564a70a3602cff6e27e37612e5775d2cdc9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 30 10:00:33 2014 +0100

    Rebuild configure.

 configure | 43 +++----------------------------------------
 1 file changed, 3 insertions(+), 40 deletions(-)

commit 09f8f6a004949f17069fc0616268f3e879782f9c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 30 10:00:32 2014 +0100

    Add first cut of a script that collects runtime information.

 autoconf/configure.in           |   1 +
 debian/bareos-common.install    |   1 +
 platforms/packaging/bareos.spec |   1 +
 scripts/Makefile.in             |   1 +
 scripts/bareos-explorer.in      | 267 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 271 insertions(+)

commit 910ed935f337f171c1446e0cce6933cf1087a9eb
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Thu Jan 30 10:00:32 2014 +0100

    Rework database scripting.
    
    Having the actual DDL (Data Definition Language) in scripts is not very
    flexible so we move all DDL into seperate files. We also dropped all
    database specific scripting and as such the generic script now knows
    for all supported database types what to do on create/update/grant and
    drop.
    
    You can also have a read-only user on your database that is allowed
    to select stuff but not anything else that might be interesting for
    Management Queries.
    
    The update script now can also upgrade from a database that is several
    versions old. For now that means you can upgrade from a Bacula database
    to the first Bareos database schema and also to the new Database schema
    we are introducing with this patch. For the future it means the script
    will perform all needed updates for you if its has the wanted so called
    conversion available (e.g. the way to go from one version to an other.)
    
    We also added more functionality to the bareos-config script and splitted
    the function into a bareos-config-lib which can be included by scripts
    so they can get config information like the working dir etc. This is
    already used in all the new database scripts.
    
    We also no longer use explicit absolute pathnames for database utilities
    but make sure the utility can be found via the PATH, if your PATH already
    provides the utility it will be used and otherwise the value will be used
    that was determined at compile time.
    
    Fixes #236: Hardcoded path for postgres (verison) in scripts

 autoconf/configure.in                         |  38 +-
 debian/bareos-common.install                  |   1 +
 debian/bareos-database-mysql.install          |   2 +-
 debian/bareos-database-postgresql.install     |   2 +-
 debian/bareos-database-sqlite3.install        |   2 +-
 platforms/packaging/bareos.spec               |  12 +-
 scripts/Makefile.in                           |   1 +
 scripts/bareos-config-lib.sh.in               | 489 +++++++++++++++++++++++
 scripts/bareos-config.in                      | 278 +------------
 src/cats/Makefile.in                          |  48 +--
 src/cats/create_bareos_database.in            | 164 ++++++--
 src/cats/create_ingres_database.in            |  32 --
 src/cats/create_mysql_database.in             |  17 -
 src/cats/create_postgresql_database.in        |  61 ---
 src/cats/create_sqlite3_database.in           |  16 -
 src/cats/ddl/creates/ingres.sql               | 539 ++++++++++++++++++++++++++
 src/cats/ddl/creates/mysql.sql                | 454 ++++++++++++++++++++++
 src/cats/ddl/creates/postgresql.sql           | 477 +++++++++++++++++++++++
 src/cats/ddl/creates/sqlite3.sql              | 467 ++++++++++++++++++++++
 src/cats/ddl/drops/ingres.sql                 |  49 +++
 src/cats/ddl/drops/mysql.sql                  |  34 ++
 src/cats/ddl/drops/postgresql.sql             |  30 ++
 src/cats/ddl/grants/ingres-readonly.sql       |  32 ++
 src/cats/ddl/grants/ingres.sql                |  51 +++
 src/cats/ddl/grants/mysql-readonly.sql        |   5 +
 src/cats/ddl/grants/mysql.sql                 |   4 +
 src/cats/ddl/grants/postgresql-readonly.sql   |  33 ++
 src/cats/ddl/grants/postgresql.sql            |  52 +++
 src/cats/ddl/updates/mysql.14_2001.sql        |  19 +
 src/cats/ddl/updates/mysql.2001_2002.sql      |  37 ++
 src/cats/ddl/updates/postgresql.14_2001.sql   |  27 ++
 src/cats/ddl/updates/postgresql.2001_2002.sql |  44 +++
 src/cats/ddl/updates/sqlite3.14_2001.sql      |  21 +
 src/cats/ddl/updates/sqlite3.2001_2002.sql    |  40 ++
 src/cats/delete_catalog_backup.in             |  31 +-
 src/cats/drop_bareos_database.in              | 102 +++--
 src/cats/drop_bareos_tables.in                | 151 ++++++--
 src/cats/drop_ingres_database.in              |  17 -
 src/cats/drop_ingres_tables.in                |  65 ----
 src/cats/drop_mysql_database.in               |  17 -
 src/cats/drop_mysql_tables.in                 |  47 ---
 src/cats/drop_postgresql_database.in          |  15 -
 src/cats/drop_postgresql_tables.in            |  45 ---
 src/cats/drop_sqlite3_database.in             |   8 -
 src/cats/drop_sqlite3_tables.in               |   8 -
 src/cats/fix_postgresql_tables                |  35 --
 src/cats/grant_bareos_privileges.in           | 126 ++++--
 src/cats/grant_ingres_privileges.in           |  74 ----
 src/cats/grant_mysql_privileges.in            |  27 --
 src/cats/grant_postgresql_privileges.in       |  74 ----
 src/cats/grant_privileges                     |  10 -
 src/cats/grant_sqlite3_privileges.in          |   7 -
 src/cats/ingres.in                            |   8 -
 src/cats/make_bareos_tables.in                | 145 ++++++-
 src/cats/make_catalog_backup.in               |  57 ++-
 src/cats/make_ingres_catalog_backup.in        |  42 +-
 src/cats/make_ingres_tables.in                | 535 -------------------------
 src/cats/make_mysql_tables.in                 | 450 ---------------------
 src/cats/make_postgresql_tables.in            | 475 -----------------------
 src/cats/make_sqlite3_tables.in               | 458 ----------------------
 src/cats/mysql.in                             |   8 -
 src/cats/postgresql.in                        |   8 -
 src/cats/restore_ingres_catalog_backup.in     |  42 +-
 src/cats/sqlite.in                            |   7 -
 src/cats/update_bareos_tables.in              | 179 +++++++--
 src/cats/update_ingres_tables.in              |  12 -
 src/cats/update_mysql_tables.in               |  50 ---
 src/cats/update_postgresql_tables.in          |  58 ---
 src/cats/update_sqlite3_tables.in             |  50 ---
 69 files changed, 3820 insertions(+), 3201 deletions(-)

commit 3fa3a176d00f30c52b5982cd81a90d68c3de65eb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jan 30 10:00:31 2014 +0100

    Fix some bugs in the NDMP implementation.
    
    Up until now we were not fully RFC compliant. You need to restore the full NDMP
    environment returned during a NDMP backup when performing a NDMP restore. We more
    or less re-created the environment when doing a restore but were missing some important
    elements. We now save the full environment in the database and use that to restore
    the whole environment when doing a restore.

 src/cats/cats.h                         |   2 +-
 src/cats/grant_ingres_privileges.in     |   1 +
 src/cats/grant_postgresql_privileges.in |   1 +
 src/cats/make_ingres_tables.in          |   9 +
 src/cats/make_mysql_tables.in           |   8 +
 src/cats/make_postgresql_tables.in      |   8 +
 src/cats/make_sqlite3_tables.in         |   8 +
 src/cats/protos.h                       |   2 +
 src/cats/sql_create.c                   |  33 +++-
 src/cats/sql_get.c                      |  86 ++++++++--
 src/dird/ndmp_dma.c                     | 295 ++++++++++++++++++++++++++++----
 src/dird/restore.c                      |  92 ++++++----
 src/dird/ua_purge.c                     |   4 +
 src/ndmp/ndma_comm_dispatch.c           |  18 ++
 src/ndmp/ndma_comm_session.c            |   8 +-
 src/ndmp/ndma_cops_backreco.c           |   2 -
 src/ndmp/ndma_listmgmt.c                |  64 +++++--
 src/ndmp/ndmagents.h                    |   1 +
 src/ndmp/ndmjob_job.c                   |   6 +
 src/ndmp/ndmp3_translate.c              |   9 +-
 src/ndmp/ndmp4_translate.c              |  20 +--
 src/ndmp/ndmp9.x                        |   3 +
 src/stored/dir_cmd.c                    |  18 ++
 src/stored/ndmp_tape.c                  |  54 +++++-
 24 files changed, 629 insertions(+), 123 deletions(-)

commit 324abd6b2d93f3a7fb74a0d9f1b71ebc214385ed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 29 13:00:22 2014 +0100

    Make readline also work on windows.

 src/console/console.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

commit 8b3eaaebf2a61360e730fd99c9286e12bc5743da
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 29 10:03:39 2014 +0100

    Fix thinko in windows EFS support.

 src/filed/restore.c | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

commit e01d924b29a507b4907ddec5e9004deb335f7c41
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Jan 27 18:42:28 2014 +0100

    Fix pathname

 autoconf/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 03ecfbf90843f7e44f627d992ebb5b7a855409f5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jan 25 22:27:26 2014 +0100

    Don't use a pthread_t as a normal simple type.
    
    Not on all platforms a pthread_t is a simple type and as such you cannot
    normally determine if its initialized or not. So for the allocation of
    the SD message channel we now use a bool that gets set when the thread
    is running and needs teardown.

 src/dird/backup.c   | 4 ++--
 src/dird/dird.c     | 3 +--
 src/dird/job.c      | 2 +-
 src/dird/migrate.c  | 4 ++--
 src/dird/msgchan.c  | 9 +++++----
 src/dird/ndmp_dma.c | 8 ++++----
 src/dird/restore.c  | 4 ++--
 src/dird/vbackup.c  | 4 ++--
 src/include/jcr.h   | 1 +
 9 files changed, 20 insertions(+), 19 deletions(-)

commit 35696f8651882e1be3f77085af74a459bc6d5012
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jan 26 15:22:36 2014 +0100

    Fix compiler warning.

 src/win32/plugins/filed/mssqlvdi-fd.c | 1 +
 1 file changed, 1 insertion(+)

commit b3460ff341ca02609c396755eb495b8449a73497
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jan 25 22:32:57 2014 +0100

    Tweak windows build environment.

 src/win32/filed/Makefile   | 14 ++++----------
 src/win32/findlib/Makefile | 24 +++++++++++++-----------
 src/win32/lib/Makefile     | 30 +++++++++++++++---------------
 src/win32/stored/Makefile  |  9 ---------
 4 files changed, 32 insertions(+), 45 deletions(-)

commit 10bcd4ab9210636c1464297bb9de847113dea06c
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Jan 22 18:54:49 2014 +0100

    integrate building of additional UCS packages
    
    for the univention distribution, Bareos offers two additional packages for better integration:
    univention-bareos
    univention-bareos-schema
    These two packages are now be automatically builded with OBS.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml                                        |   4 +-
 Makefile.in                                        |   2 +-
 autoconf/bareos/os.m4                              |   3 +
 autoconf/configure.in                              |  19 ++
 configure                                          |  22 ++
 debian/control                                     |  17 +-
 debian/control.common                              | 342 +++++++++++++++++++
 debian/univention-bareos-schema.install            |   1 +
 debian/univention-bareos-schema.postinst           |   9 +
 debian/univention-bareos.config                    |  17 +
 debian/univention-bareos.dirs                      |   1 +
 debian/univention-bareos.install                   |  10 +
 debian/univention-bareos.postinst                  |  70 ++++
 debian/univention-bareos.postrm                    |  27 ++
 debian/univention-bareos.preinst                   |   9 +
 debian/univention-bareos.prerm                     |  22 ++
 debian/univention-bareos.substvars                 |   1 +
 .../univention-bareos.univention-config-registry   |  35 ++
 ...ion-bareos.univention-config-registry-variables |  41 +++
 debian/univention-bareos.univention-service        |  20 ++
 platforms/Makefile.in                              |   2 +-
 platforms/packaging/bareos-Univention_3.1.dsc      |   4 +-
 platforms/packaging/bareos-Univention_3.2.dsc      |   4 +-
 .../univention/63univention-bareos-uninstall.uinst |  24 --
 platforms/univention/63univention-bareos.uinst     |  24 ++
 platforms/univention/AppCenter/LICENSE_AGREEMENT   |  17 +
 .../univention/AppCenter/univention-bareos.ini     |  53 +++
 platforms/univention/LICENSE_AGREEMENT             |  17 -
 platforms/univention/Makefile.in                   |  62 ++++
 platforms/univention/bareos.schema                 |  56 ---
 .../conffiles/etc/bareos/bareos-dir.conf           | 360 ++++++++++++++++++++
 .../univention/conffiles/etc/bareos/bareos-fd.conf |  54 +++
 .../univention/conffiles/etc/bareos/bareos-sd.conf |  72 ++++
 .../univention/conffiles/etc/bareos/bconsole.conf  |  16 +
 .../8.4/main/pg_hba.conf.d/25-univention-bareos    |   1 +
 platforms/univention/debian/changelog              | 378 ---------------------
 platforms/univention/debian/compat                 |   1 -
 platforms/univention/debian/config                 |  17 -
 platforms/univention/debian/control                |  29 --
 platforms/univention/debian/control.additional     |  20 ++
 platforms/univention/debian/files                  |   2 -
 platforms/univention/debian/rules                  |  54 ---
 platforms/univention/debian/substvars              |   1 -
 .../debian/univention-bareos-schema.conffiles      |   0
 .../debian/univention-bareos-schema.dirs           |   1 -
 .../debian/univention-bareos-schema.install        |   1 -
 .../debian/univention-bareos-schema.postinst       |   9 -
 .../debian/univention-bareos-schema.substvars      |   1 -
 .../univention/debian/univention-bareos.conffiles  |   0
 .../univention/debian/univention-bareos.config     |  17 -
 platforms/univention/debian/univention-bareos.dirs |  22 --
 .../univention/debian/univention-bareos.install    |  16 -
 .../univention/debian/univention-bareos.postinst   |  70 ----
 .../univention/debian/univention-bareos.postrm     |  27 --
 .../univention/debian/univention-bareos.preinst    |   9 -
 .../univention/debian/univention-bareos.prerm      |  22 --
 .../univention/debian/univention-bareos.substvars  |   1 -
 .../univention-bareos.univention-config-registry   |  35 --
 ...ion-bareos.univention-config-registry-variables |  41 ---
 .../debian/univention-bareos.univention-service    |  20 --
 platforms/univention/etc/bareos/bareos-dir.conf    | 360 --------------------
 platforms/univention/etc/bareos/bareos-fd.conf     |  54 ---
 platforms/univention/etc/bareos/bareos-sd.conf     |  72 ----
 platforms/univention/etc/bareos/bconsole.conf      |  16 -
 .../8.4/main/pg_hba.conf.d/25-univention-bareos    |   1 -
 platforms/univention/fd-generic.template           |   2 -
 platforms/univention/univention-bareos.cron        |   3 +-
 platforms/univention/univention-bareos.ini         |  53 ---
 platforms/univention/univention-bareos.schema      |  53 +++
 69 files changed, 1404 insertions(+), 1442 deletions(-)

commit f8475c78d943b1bcb55019f8ea6ce217d3ea75d3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jan 17 17:04:05 2014 +0100

    Copy job definition requires unnecessary settings
    
    Due to implementing this feature we can no longer asume that there
    always is a Client and Fileset in a Job definition. So we need to learn
    the .defaults cmd that is needs to print *None* when we don't have a
    Client or Fileset and not just dereference a NULL pointer.
    
    Fixes #220: Copy job definition requires unnecessary settings

 src/dird/ua_dotcmds.c | 42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)

commit e67202d27c17a7a82b3ab62fd7833ae72fcf15db
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jan 13 21:02:53 2014 +0100

    Fix typo.

 src/cats/bvfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d00f653678631176be3a1f9f154ca4a5212de71e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jan 12 21:30:34 2014 +0100

    BVFS reported a problem for <id> fix.
    
    There was a mixup of the return value returned from the
    bvfs_update_path_hierarchy_cache() function which returns a zero which
    is interpretted as a false by the calling dot_bvfs_update() function.
    Lets return a proper boolean value and only set that return value to
    true when we leave the bvfs_update_path_hierarchy_cache() function due
    to hitting either an empty jobid list or after processing the jobid list
    successfully. Any other exit (due to joblist corruption or failing to
    update the path hierarchy cache) leads to the function returning false.
    
    Fixes #217: BVFS reported a problem for <id>

 src/cats/bvfs.c       | 21 +++++++++++++++------
 src/cats/bvfs.h       |  2 +-
 src/dird/ua_dotcmds.c |  7 ++++---
 3 files changed, 20 insertions(+), 10 deletions(-)

commit e8a3864f0efcebdb4d9187b8406fd40e90c45211
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jan 8 13:02:46 2014 +0100

    Add bEventNewPluginOptions event.
    
    When pushing explicit plugin arguments use a new event
    bEventNewPluginOptions instead of reusing the bEventPluginCommand
    event which is also used when parsing the fileset when doing a backup.
    
    Most plugins should now also allow multiple plugin lines within one
    include block of the fileset which was broken when it used the new
    config parser. In combination with forcing certain explicit restore
    options by the director using the plugin options passing this may lead
    to some surprises however so when using specific plugin options its wise
    to only restore one file at a time to be sure the right restore options
    are used.

 src/filed/dir_cmd.c                   |  2 +-
 src/filed/fd_plugins.h                |  3 +-
 src/plugins/filed/bareos_fd_consts.py |  3 +-
 src/plugins/filed/bpipe-fd.c          | 86 ++++++++++++++++++++++++++++++-----
 src/plugins/filed/python-fd.c         | 59 +++++++++++++++++++++---
 src/win32/plugins/filed/mssqlvdi-fd.c | 59 +++++++++++++++++++++---
 6 files changed, 184 insertions(+), 28 deletions(-)

commit 7c90525743044edeea78d42aca68020d9594ad4c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 7 17:13:06 2014 +0100

    Upgrade bpipe plugin to use new plugin config parser.
    
    Now that we use a new config parser for the mssqlvdi and python plugin
    it makes sense to also let the bpipe plugin use this code. For backwards
    compatability it also still supports the old plugin definitions so you
    can also still restore older backups with the new plugin. Extra support
    is added so that plugin options passing now also works and allows you to
    override the plugin parameters.

 src/plugins/filed/bpipe-fd.c | 347 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 293 insertions(+), 54 deletions(-)

commit de6381d92b8d68a4a588b6408c46fa97cdd731a5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jan 7 17:09:00 2014 +0100

    Make the error message a bit more explicit.
    
    When the compat mode is enabled we report a Bacula compatible version id
    for the filed protocol. But if you want things like passive mode or
    plugin passing you need to disable the compat mode. Changed the error
    message issued when using passive mode or plugin option passing when
    talking to a Bareos filed in compat mode. This way the use a least knows
    that it could also be a problem with the compat mode.

 src/dird/backup.c  | 3 ++-
 src/dird/restore.c | 6 ++++--
 src/dird/verify.c  | 3 ++-
 3 files changed, 8 insertions(+), 4 deletions(-)

commit 05f66052be5ad1a86fca8e76595f4103e2b0355d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Jan 7 13:48:14 2014 +0100

    Plugin Options ACL now works.
    
    Fixes: #266: pluginoptions override not working during restore

 src/dird/ua_acl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 722a1ef48e602b2d5e042e34cec3eeaf5a5ff7f1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Jan 6 11:43:26 2014 +0100

    check return values of spool functions
    
    We now check the return values of
    
    * begin_data_spool()
    * begin_attribute_spool()
    
    as otherwise the job hangs until eternety if there is a problem with the
    spool file.
    
    Fixes: #265: job hangs and cannot be terminated if spool file is not writable

 src/stored/append.c    | 23 +++++++++++++++--------
 src/stored/mac.c       | 27 +++++++++++++++++++--------
 src/stored/ndmp_tape.c | 33 ++++++++++++++++-----------------
 3 files changed, 50 insertions(+), 33 deletions(-)

commit 20a46676c0d93c381c8333ed0bce09f0d81c4df5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 27 13:07:21 2013 +0100

    Change getJobType() == JT_XX into is_JobType(JT_XX)

 src/dird/backup.c    |  2 +-
 src/dird/job.c       |  2 +-
 src/dird/migrate.c   | 12 +++++++-----
 src/dird/ua_run.c    | 44 ++++++++++++++++++++++----------------------
 src/dird/ua_status.c |  2 +-
 src/filed/verify.c   |  2 +-
 src/stored/askdir.c  |  4 ++--
 src/stored/block.c   |  2 +-
 src/stored/mac.c     |  2 +-
 9 files changed, 37 insertions(+), 35 deletions(-)

commit 7202a401bb9015bde5828da754fee099e7e42ba8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Dec 27 13:07:14 2013 +0100

    First attempt at proper support for JS_Warnings
    
    Hopefully fixes a TODO from March 2009 when the first attempt was made
    to introduce JS_Warnings but things never finished.
    
    Fixes #255: Bad mail subject when an backup terminates with warnings

 src/cats/bvfs.c                   |  2 +-
 src/dird/backup.c                 | 31 +++++++++++--------------------
 src/dird/jobq.c                   |  2 +-
 src/dird/migrate.c                | 22 +++++++++++++---------
 src/dird/ndmp_dma.c               | 17 +++--------------
 src/dird/vbackup.c                | 18 +++++++++++-------
 src/filed/dir_cmd.c               |  4 ++--
 src/include/jcr.h                 | 14 ++++++++++----
 src/lib/runscript.c               |  2 +-
 src/qt-console/util/comboutil.cpp |  1 +
 src/stored/bscan.c                |  2 +-
 src/stored/ndmp_tape.c            |  4 +++-
 12 files changed, 58 insertions(+), 61 deletions(-)

commit 41127f7bb03bf065c4ffb16c27e137ac95d74090
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 26 19:09:07 2013 +0100

    Allow history file and size to be configurable.
    
    Up until now the readline history file always had a fixed name and size
    of 100 entries in memory and 200 on disk. You could always configure a
    name for the history file but it was never used. We now also always
    truncate the history size to the configured size before reading it into
    memory.

 src/console/console.c      | 105 +++++++++++++++++++++++++++++++++------------
 src/console/console_conf.c |  11 ++---
 src/console/console_conf.h |   7 ++-
 3 files changed, 89 insertions(+), 34 deletions(-)

commit 73d26a5e6b3506ea5dd04ffcf3817975a87bbf12
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Mon Dec 23 16:50:39 2013 +0100

    added depency to openssl
    
    bareos-config call openssl to generate passwords.
    This patch added the package depency to openssl.
    
    Fixes #262: debian packages missing openssl dependency

 debian/control                  | 2 +-
 platforms/packaging/bareos.spec | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 1c97eb0d68b23686f37a16966638ebbd7468a2d7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 23 16:41:41 2013 +0100

    Fixed build problem on centos5/rhel5
    
    We had a packaging problem on those dists
    as the python scripts are intalled during
    make install but not packaged.
    
    now we remove them in those dists.

 platforms/packaging/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit 15cb99ff44508947191b887bc4e12d75a9821654
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Dec 23 15:31:02 2013 +0100

    Added Univention 3.2 Support

 README.md                                     |  1 +
 platforms/packaging/bareos-Univention_3.2.dsc | 12 ++++++++++++
 2 files changed, 13 insertions(+)

commit 9c92773ec521ba46a997537cd4bb76ed230dd1b4
Author: Andre Noll <maan@tuebingen.mpg.de>
Date:   Tue Dec 17 17:11:49 2013 +0100

    lib/parse_conf.c: Don't segfault on parse errors.
    
    During daemon startup, parse_config() calls lex_open_file() which
    returns a pointer to an initialized LEX structure on success or a
    NULL pointer on failure, for example because the given config file
    does not exist.
    
    In the error case parse_config() allocates a LEX structure of its own
    and initializes it with zeroes. In particular, this sets its POOLMEM
    pointer ->str to NULL. Since ->str is used as the destination for
    bstrncpy() a few lines later, a NULL pointer dereference results:
    
    	==2957== Memcheck, a memory error detector
    	==2957== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
    	==2957== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
    	==2957== Command: /usr/local/bareos/sbin/bareos-dir -t
    	==2957==
    	==2957== Invalid write of size 1
    	==2957==    at 0x4C2C2F7: __GI_strncpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
    	==2957==    by 0x56AB800: bstrncpy(char*, char const*, int) (bsys.c:175)
    	==2957==    by 0x547E1EF: CONFIG::parse_config() (parse_conf.c:281)
    	==2957==    by 0x40C5BA: main (dird.c:282)
    	==2957==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
    	==2957==
    
    This patch avoids the NULL pointer dereference by using the local cf
    variable instead of trying to create a copy.
    
    This bug was probably introduced in commit 12a0fdd0 (Config engine
    redesign Phase 1) a few months back, since the unpatched code would
    work fine if ->str was an array, and 12a0fdd0 changed the type from
    array to pointer:
    
    	-   char str[MAXSTRING];               /* string being scanned */
    	+   POOLMEM *str;                      /* string being scanned */
    
    Signed-off-by: Philipp Storz <philipp.storz@bareos.com>

 src/lib/parse_conf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit fbb4d1c31498058742142853c9a015f2443446a5
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Dec 20 13:45:47 2013 +0100

    Cleanup .dsc files

 platforms/packaging/bareos-Debian_6.0.dsc     | 2 +-
 platforms/packaging/bareos-Debian_7.0.dsc     | 2 +-
 platforms/packaging/bareos-Univention_3.1.dsc | 2 +-
 platforms/packaging/bareos-xUbuntu_10.04.dsc  | 2 +-
 platforms/packaging/bareos-xUbuntu_12.04.dsc  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

commit 41eca748b39b1bbefda32330a760c42200002c60
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Dec 20 10:20:19 2013 +0100

    python plugins now also for debian based dists
    
    now we also build python plugin package for
    .deb based distributions.
    
    Now the makefiles of the plugins do install
    the plugin itself and the basic *.py files.

 debian/bareos-director.install            |  1 -
 debian/bareos-filedaemon.install          |  2 --
 debian/bareos-storage.install             |  1 -
 debian/control                            | 32 +++++++++++++++++++++++++++++++
 debian/rules                              |  1 +
 platforms/packaging/bareos-Debian_7.0.dsc |  2 +-
 platforms/packaging/bareos.spec           |  6 ------
 src/plugins/dird/Makefile.in              |  1 +
 src/plugins/filed/Makefile.in             |  2 ++
 src/plugins/stored/Makefile.in            |  1 +
 10 files changed, 38 insertions(+), 11 deletions(-)

commit 40368e971fbfc989b10b6867b8d8db9fdd834b66
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 19 15:40:39 2013 +0100

    Fix indent.

 src/dird/ua_select.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit b71aa9c724ea97c3c4144d3fe30316efbe76c9a5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Feb 17 15:14:27 2015 +0100

    Fixup tree for rebuilding code tree.

 src/console/console.c                  |  2 +-
 src/dird/dird.c                        |  6 +++---
 src/dird/dird_conf.c                   |  2 ++
 src/dird/dird_conf.h                   | 17 ++++++++---------
 src/dird/job.c                         |  2 +-
 src/dird/migrate.c                     |  6 +++---
 src/dird/ua_cmds.c                     |  4 ++--
 src/dird/ua_select.c                   |  9 ++++-----
 src/filed/backup.c                     | 12 +++---------
 src/filed/dir_cmd.c                    |  2 +-
 src/filed/filed.c                      |  1 +
 src/filed/filed_conf.c                 |  3 +++
 src/filed/verify.c                     |  5 +++--
 src/lib/edit.c                         | 31 ++++---------------------------
 src/stored/dev.h                       |  8 ++++----
 src/stored/dir_cmd.c                   |  2 +-
 src/stored/spool.c                     |  8 ++++----
 src/stored/stored_conf.c               |  3 +++
 src/stored/stored_conf.h               | 15 ++++++++-------
 src/win32/compat/include/mingwconfig.h |  3 +++
 20 files changed, 62 insertions(+), 79 deletions(-)

commit b8292a5e81b96cfc7682ffcda2ab64e70b070d3a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Dec 13 16:23:16 2013 +0100

    Fix for SLES
    
    Fixed spec file to also build for SLES

 platforms/packaging/bareos.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit 714fcb27f40e223baefd06819c5ae2b9899ded46
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Dec 13 15:23:30 2013 +0100

    Fixed disappeared status message
    
    somehow we lost the status output when the console
    connects to the director.
    
    This is now readded, thanks to Olivier DELESTRE for
    finding this problem.

 src/console/console.c | 1 +
 1 file changed, 1 insertion(+)

commit fcbdd16d5ba5131dc73cf7c62fae0564021bd18e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Dec 13 14:35:37 2013 +0100

    also package .pyc and .pyo files
    
    On rh/centos/fedora we now also package
    the .pyc and .pyo files

 platforms/packaging/bareos.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 33d1387113dfa3b0eae17b7acc6b22f863d6bfac
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Dec 12 13:17:06 2013 +0100

    Packaging of the python plugins added
    
    As we now have the python plugin infrastructure running,
    we now also package that plugins and additional files into
    extra packages
    
    As RHEL5 and CentOS5 do have a too old python version we
    do not build the python plugins there and remove
    the dummy plugis

 platforms/packaging/bareos.spec | 79 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 75 insertions(+), 4 deletions(-)

commit 49562357d882d2f8c5f0414cdc05bb5eabdf6450
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 12 11:21:51 2013 +0100

    Fix compiler warning.

 src/plugins/filed/python-fd.c | 3 +++
 1 file changed, 3 insertions(+)

commit 94d20e15bf4389313f7c2a24de7c07d8e8de2d61
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Dec 12 11:11:27 2013 +0100

    Fix Solaris 10 build.
    
    Fixes #260: Unable to compile/install the client under Solaris 10 U11

 platforms/Makefile.in | 2 --
 src/lib/bsys.c        | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

commit 18749b680f355dd0a07fc19a32eb6154a32cbe19
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 10 18:03:23 2013 +0100

    Fix memory leak.

 src/dird/ua_server.c | 2 ++
 1 file changed, 2 insertions(+)

commit b5110c556f5eeff14e0c37af1b03141017acfdb9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 10 17:31:51 2013 +0100

    Fix NSI build.

 platforms/win32/winbareos-nsi.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit de596b852c2835b5985f3c49c20575e96adf3417
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 10 17:00:41 2013 +0100

    Add dummy default for NDMP port.

 src/win32/compat/include/winhost.h | 1 +
 1 file changed, 1 insertion(+)

commit 8702eef400ee95f822a3f1be2a8fe0909d20ba4c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Dec 10 16:50:48 2013 +0100

    Fix windows Makefile for new socket abstraction.

 src/win32/lib/Makefile | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

commit 2ed70a3cdba812d7f80d50b026b361e925ebc600
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 16:10:21 2013 +0100

    Teach the qt programs the new socket abstraction.

 src/qt-console/bcomm/dircomm.cpp    | 11 +++++++----
 src/qt-tray-monitor/monitoritem.cpp | 34 +++++++++++++++++++++++++---------
 2 files changed, 32 insertions(+), 13 deletions(-)

commit 950e8ba18aed33f5aaa2bd79935ff67e75a9db1e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:48 2013 +0100

    Implementation of Python Director Plugin
    
    Implement a plugin that makes it possible to write Director plugins in Python.
    
    Stub plugin function is available that loads a python interpreter per plugin
    instance. Need to link the plugin events to Python methods and allow the Python
    code to call the plugin code do read and write plugin variables.
    
    Fixes #12: Implementation of Python Director Plugin

 src/dird/dir_plugins.c                | 285 +++++++++---------
 src/dird/dir_plugins.h                |   3 +-
 src/plugins/dird/Makefile.in          |   2 +-
 src/plugins/dird/bareos-dir.py        |  32 ++
 src/plugins/dird/bareos_dir_consts.py |  76 +++++
 src/plugins/dird/python-dir.c         | 532 ++++++++++++++++++++++++++++++++--
 src/plugins/dird/python-dir.h         |  46 +++
 7 files changed, 826 insertions(+), 150 deletions(-)

commit ef167c70a6df8dec6e8d9dc91ca6c26cc3866769
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:34 2013 +0100

    Implementation of Python StorageDaemon Plugin
    
    Implement a plugin that makes it possible to write Storage daemon plugins in Python.
    
    Stub plugin function is available that loads a python interpreter per plugin
    instance. Need to link the plugin events to Python methods and allow the Python
    code to call the plugin code do read and write plugin variables.
    
    Fixes #11: Implementation of Python StorageDaemon Plugin

 src/plugins/stored/Makefile.in         |   2 +-
 src/plugins/stored/bareos-sd.py        |  24 ++
 src/plugins/stored/bareos_sd_consts.py |  85 ++++++
 src/plugins/stored/python-sd.c         | 511 +++++++++++++++++++++++++++++++--
 src/plugins/stored/python-sd.h         |  46 +++
 src/stored/sd_plugins.c                |  64 +++--
 src/stored/sd_plugins.h                |   3 +-
 7 files changed, 691 insertions(+), 44 deletions(-)

commit ec78a84147830a32446c007da5d52652f2017476
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:28 2013 +0100

    Implementation of Python FileDaemon Plugin
    
    Implement a plugin that makes it possible to write File daemon plugins in Python.
    
    Stub plugin function is available that loads a python interpreter per plugin
    instance. Need to link the plugin events to Python methods and allow the Python
    code to call the plugin code do read and write plugin variables.
    
    Fixes #10: Implementation of Python FileDaemon Plugin

 src/filed/fd_plugins.c                |  190 +--
 src/plugins/filed/Makefile.in         |    2 +-
 src/plugins/filed/bareos-fd.py        |  131 ++
 src/plugins/filed/bareos_fd_consts.py |  128 ++
 src/plugins/filed/python-fd.c         | 2192 +++++++++++++++++++++++++++++++--
 src/plugins/filed/python-fd.h         |  438 +++++++
 6 files changed, 2890 insertions(+), 191 deletions(-)

commit 5aed978f18583c68bae623867178a9028f0a8524
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:21 2013 +0100

    Allow the conditional enabling of SO_KEEPALIVE on sockets.

 src/dird/dird_conf.h      |  1 +
 src/dird/fd_cmds.c        |  3 +++
 src/dird/ua_server.c      |  7 ++++++-
 src/filed/dir_cmd.c       |  3 +++
 src/filed/filed.c         |  7 ++++++-
 src/filed/filed_conf.h    |  1 +
 src/lib/bnet_server_tcp.c | 28 +++++++++++++++++++---------
 src/lib/bsock.h           |  3 +++
 src/lib/bsock_sctp.c      |  1 +
 src/lib/bsock_tcp.c       | 22 +++++++++++++++-------
 src/lib/bsock_udt.c       |  1 +
 src/lib/protos.h          |  8 ++++++--
 src/stored/dir_cmd.c      |  6 ++++++
 src/stored/stored.c       |  1 +
 src/stored/stored_conf.h  |  1 +
 15 files changed, 73 insertions(+), 20 deletions(-)

commit 0b1e25dad885f6a79212dee5f40a0ba2e1929ee6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:11 2013 +0100

    Promote BSOCK to a proper class implementation.
    
    First steps in abstracting network layer.
    
    It would be nice to use other communication sockets then
    only TCP ones as its done now. The whole socket abstraction needs
    a major overhaul and some of the old bnet functions can be retired
    now permanently and some functions are better written as methods
    of the BSOCK class so we can write socket type specific implementations
    of them.
    
    This implements a BSOCK_TCP class which has the now used TCP sockets and
    a dummy BSOCK_SCTP class which will eventually hold the SCTP sockets
    and a dummy BSOCK_UDT class which will eventually hold the UDT sockets.

 src/console/console.c     |   15 +-
 src/dird/backup.c         |    1 +
 src/dird/fd_cmds.c        |   12 +-
 src/dird/job.c            |    3 +
 src/dird/msgchan.c        |    1 +
 src/dird/restore.c        |    1 +
 src/dird/sd_cmds.c        |   17 +-
 src/dird/ua_cmds.c        |   60 ++-
 src/dird/ua_purge.c       |    1 +
 src/dird/ua_run.c         |    2 +-
 src/dird/ua_server.c      |   11 +-
 src/dird/verify.c         |    1 +
 src/filed/dir_cmd.c       |   16 +-
 src/filed/filed.c         |   14 +-
 src/filed/heartbeat.c     |   42 +-
 src/filed/sd_cmds.c       |    3 +
 src/lib/Makefile.in       |   39 +-
 src/lib/bnet.c            |  234 +---------
 src/lib/bnet_server.c     |  364 ----------------
 src/lib/bnet_server_tcp.c |  369 ++++++++++++++++
 src/lib/bsock.c           |  819 +---------------------------------
 src/lib/bsock.h           |  133 +++---
 src/lib/bsock_sctp.c      |  270 ++++++++++++
 src/lib/bsock_sctp.h      |   60 +++
 src/lib/bsock_tcp.c       | 1064 +++++++++++++++++++++++++++++++++++++++++++++
 src/lib/bsock_tcp.h       |   60 +++
 src/lib/bsock_udt.c       |  270 ++++++++++++
 src/lib/bsock_udt.h       |   60 +++
 src/lib/jcr.c             |    1 +
 src/lib/lib.h             |    2 +
 src/lib/protos.h          |   18 +-
 src/stored/bscan.c        |    4 +
 src/stored/dir_cmd.c      |   18 +-
 src/stored/job.c          |    2 +
 src/stored/ndmp_tape.c    |    4 +-
 src/stored/sd_cmds.c      |    2 +
 src/stored/stored.c       |    4 +-
 37 files changed, 2431 insertions(+), 1566 deletions(-)

commit 7341750985828c00ae62855bb4d2483a02291681
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:13:02 2013 +0100

    Build and package the windows storage daemon.

 platforms/win32/fillup.sed                    |    2 +
 platforms/win32/storagedialog.ini             |  113 +++
 platforms/win32/tray-monitor-conf-fd-sd.patch |   17 +
 platforms/win32/winbareos-nsi.spec            |   24 +-
 platforms/win32/winbareos.nsi                 |  336 ++++++--
 platforms/win32/winbareos32.spec              |   23 +-
 platforms/win32/winbareos64.spec              |   24 +-
 src/filed/status.c                            |   77 +-
 src/include/version.h                         |   24 +-
 src/stored/Makefile.in                        |   12 +-
 src/stored/dev.c                              |   63 +-
 src/stored/dev.h                              |   15 +-
 src/stored/status.c                           |   61 +-
 src/stored/stored.h                           |    1 -
 src/stored/unix_device.c                      |   67 ++
 src/stored/unix_device.h                      |   43 +
 src/stored/vtape.c                            |   20 +-
 src/stored/vtape.h                            |   81 +-
 src/win32/Makefile                            |    9 +-
 src/win32/compat/include/sys/mtio.h           |  277 +++++++
 src/win32/filed/Makefile                      |   12 +-
 src/win32/filed/filedres.rc.in                |    8 +-
 src/win32/filed/main.c                        |  707 ----------------
 src/win32/filed/protos.h                      |   48 --
 src/win32/filed/res.h                         |   42 -
 src/win32/filed/service.c                     |  593 --------------
 src/win32/filed/who.h                         |    3 -
 src/win32/filed/win32.h                       |   32 -
 src/win32/generic/main.c                      |  693 ++++++++++++++++
 src/win32/generic/protos.h                    |   48 ++
 src/win32/generic/res.h                       |   42 +
 src/win32/generic/service.c                   |  673 ++++++++++++++++
 src/win32/generic/win32.h                     |   26 +
 src/win32/plugins/Makefile                    |    2 +-
 src/win32/plugins/filed/Makefile              |    2 -
 src/win32/plugins/stored/Makefile             |   41 +
 src/win32/stored/Makefile                     |   91 +++
 src/win32/stored/storedres.rc.in              |   32 +
 src/win32/stored/who.h                        |   30 +
 src/win32/stored/win32_file_device.c          |   63 ++
 src/win32/stored/win32_file_device.h          |   43 +
 src/win32/stored/win32_tape_device.c          | 1074 +++++++++++++++++++++++++
 src/win32/stored/win32_tape_device.h          |   47 ++
 43 files changed, 3940 insertions(+), 1701 deletions(-)

commit 2242e405977e100a3ba496eb2aff223def4dc45b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Dec 9 15:12:52 2013 +0100

    Bring windows support up to Windows 2012 server.
    
    This commit bring the windows code to support all new
    features that have been added to windows up till windows
    2012 server. We also reindented a lot of code along the
    way to be more readable and fixes most comments.
    
    The actual added features:
     - Volume Mountpoints support (VMP).
    
       Windows for some version now supports so called Volume
       MountPoint which allow you to mount a volume somewhere
       in the filesystem layout analog to what UNIX has been
       doing since it inception without assigning a drive letter.
       We need to make sure we also add the VMPs to the VSS snapshot
       list otherwise the backup will fail.
    
     - Use GetFileInformationByHandleEx to get real changetime.
    
       As it seems ctime in the stat struct on UNIX means for
       some time now the last change time of the inode and not
       the creation time. On Windows we need a special API to
       get the actual change time named GetFileInformationByHandleEx().
       While implementing this new feature we reformated some of
       the layout and dropped some unused code.
    
     - Windows dedup support
    
       Windows 2012 has dedup support which needs handling.
    
       To get rehydrated data when reading the file you should open
       the file without the FILE_FLAG_OPEN_REPARSE_POINT flag set.
       If you want to read the deduped data effeciently you need to
       write new code which interfaces to a new API which is currently
       out of scope. The original file on the filesystem is replaced
       with a so called reparse point so if we open the reparse point
       instead of where it points to we get data which has a pointer
       to a map of all the data streams and chunks required to
       “rehydrate” the file and not its actual data.
    
       We now changed the stat emulation functions to detect the special
       reparse point with type IO_REPARSE_TAG_DEDUP which indicates
       a deduped file.
    
       When that is set we set a special bit on the file so we know we
       need to open the file with the O_NOFOLLOW flag which will open
       the file without the FILE_FLAG_OPEN_REPARSE_POINT flag set.
    
       More info at:
    
       http://blogs.technet.com/b/filecab/archive/2012/05/21/introduction-to-data-deduplication-in-windows-server-2012.aspx
    
    - Store all file attributes
    
       Windows has gathered quite some special specific file
       flags over the years but not all are saved during backup so
       some are never restored by the restore process. The most
       important ones are the ARCHIVE flag which is "misused" by
       some programs for storing some special information. Others
       that are known not to be stored are the COMPRESSED flag which
       means that a restored file looses it and will be restored as
       an uncompressed file.
    
       As we are running out of opportunities to store the special
       flags as some mode in the st_mode member of the stat struct
       a redesign was needed to store the unique file flag somewhere
       else. We are reusing the st_rdev field. That is already used for
       reparse points in older versions but as those are never restored
       anyway we can reuse them without breaking backwards compatability.
    
    - Support for Windows EFS filesystems
    
      Windows has for quite some time now support for a so called EFS
      filesystem. This is an encrypted filesystem, to be able to backup the
      data and to restore it we need to use a special API. With this API you
      in essence export the data on backup and import it on restore. This
      way you never have access to the unencrypted data but just import and
      export the encrypted data. This is the cleanest way of handling
      encryption by just seeing the data as some opaque data and not try to
      do anything special with it. The problem with the restore API is
      however that it kind of works in a completely different way then a
      normal read/write API. You call a import function and that call the
      read callback multiple times until all data is imported/restored. As
      we don't want to rewrite the whole internal works of the filed for
      this we now create a seperate thread that runs during the whole
      restore of a filesystem and behaves as a consumer/producer problem
      (well known in the pthreads world). In this solution the producer is
      the filed that produces encrypted data out of the incoming data
      streams from the storage daemon and the seperate thread consumes that
      data by returning it as encrypted data in the callback function issues
      by the special EFS import API. There is some synchronization between
      the different threads so it knows when one file is done and it should
      end the import of that file. We also keep some of the buffers
      lingering around so we don't need to do malloc/free/malloc loops all
      the time, we cleanup the whole thread and the buffers used at the end
      of the whole restore process.
    
    Fixes #228: Some windows file attributes are not handled.
    Fixes #8: Handle Windows Encrypted Files using Win raw encryption
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/filed/backup.c                     |  427 +++---
 src/filed/crypto.c                     |   32 +-
 src/filed/dir_cmd.c                    |   50 +-
 src/filed/fd_plugins.c                 |    5 +-
 src/filed/filed.c                      |   12 +-
 src/filed/fileset.c                    |  108 +-
 src/filed/protos.h                     |    2 +-
 src/filed/restore.c                    |   66 +-
 src/filed/verify.c                     |    2 +-
 src/findlib/attribs.c                  |   96 +-
 src/findlib/bfile.c                    |  305 +++--
 src/findlib/bfile.h                    |   20 +-
 src/findlib/create_file.c              |  102 +-
 src/findlib/find.c                     |  102 --
 src/findlib/find.h                     |    4 +-
 src/findlib/find_one.c                 |   34 +-
 src/findlib/mkpath.c                   |    4 +
 src/findlib/protos.h                   |   13 +-
 src/include/baconfig.h                 |   23 +-
 src/include/bareos.h                   |   10 +-
 src/include/bc_types.h                 |   45 +
 src/include/jcr.h                      |   11 +-
 src/lib/Makefile.in                    |    4 +-
 src/lib/cbuf.c                         |  182 +++
 src/lib/cbuf.h                         |   70 +
 src/plugins/filed/fd_common.h          |   14 +-
 src/win32/Makefile                     |    4 +-
 src/win32/Makefile.inc                 |   21 +-
 src/win32/compat/compat.c              | 2252 +++++++++++++++++++-------------
 src/win32/compat/include/compat.h      |  234 ++--
 src/win32/compat/include/mingwconfig.h |    3 +
 src/win32/compat/print.c               |    1 -
 src/win32/compat/winapi.c              |  137 +-
 src/win32/console/Makefile             |   11 +-
 src/win32/filed/Makefile               |    9 +-
 src/win32/filed/vss.c                  |   11 +-
 src/win32/filed/vss_generic.c          |  528 +++++---
 src/win32/findlib/Makefile             |   18 +-
 src/win32/findlib/win32.c              |  569 ++++++++
 src/win32/include/vss.h                |  119 +-
 src/win32/include/winapi.h             |   81 +-
 src/win32/lib/Makefile                 |   14 +-
 src/win32/plugins/filed/Makefile       |   10 +-
 43 files changed, 3601 insertions(+), 2164 deletions(-)

commit 3bdfdd8f458410077759f3a89832364a5af9f009
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 28 20:40:16 2013 +0100

    Add support for setting allowed cns for passive mode.
    
    Fixes #257: When using passive mode and TLS using NAT the verify peer mode will fail.

 src/filed/authenticate.c | 10 +++++++++-
 src/filed/filed_conf.c   |  3 +++
 src/filed/filed_conf.h   |  3 ++-
 3 files changed, 14 insertions(+), 2 deletions(-)

commit c48287561a06c14918342df8a61afdaf224aa4b1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Nov 28 11:24:48 2013 +0100

    Fix naming typo.

 src/plugins/stored/autoxflate-sd.c | 2 +-
 src/stored/sd_plugins.c            | 6 +++---
 src/stored/sd_plugins.h            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

commit 3179939b60c42ebfdda03ccc7ae4b04fdd5ec033
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 24 22:11:39 2013 +0100

    Fix typo.

 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a593e50dc5c98212c2331e826eb261b57d705445
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 24 22:10:49 2013 +0100

    Add first new stuff in 13.4.0

 README.md | 4 ++++
 1 file changed, 4 insertions(+)

commit a3835e1820989acea57ea3ccac04f3d98906b97a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 24 22:05:57 2013 +0100

    Some tweaks to README.md

 README.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit a8807111550d657cb039ed8c76f43d75acd35e1d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Nov 24 22:03:16 2013 +0100

    Add the contribution policy.

 README.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 310ef8abea73ace817eb949d7a9189b9dc40d05f
Author: Max Meyer <dev@fedux.org>
Date:   Sun Nov 24 18:26:35 2013 +0100

    Dependency cannot be resolved

 platforms/systemd/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a003d71f03c7720130f06f0b1579a292f9cbfd4e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 23 15:49:25 2013 +0100

    Rebuild configure.

 configure | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 83ef4207f7d1654050d2a3c48d74c983d19d47b7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 23 15:44:56 2013 +0100

    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.

 autoconf/configure.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit f5eb37de00ce67d3af60c45350eaacce31c9e7a6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 15 21:43:47 2013 +0100

    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

 src/findlib/find_one.c | 61 ++++++++++++++++++++++++++++++++------------------
 1 file changed, 39 insertions(+), 22 deletions(-)

commit d49d3d2384d2cca98e12aadefde5ec2ceaca6206
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Nov 15 17:21:57 2013 +0100

    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>

 src/cats/create_test_database           |  16 ----
 src/cats/drop_test_tables               |  26 ------
 src/cats/grant_mysql_privileges.in      |   9 +-
 src/cats/grant_postgresql_privileges.in |   2 +-
 src/cats/make_test_tables               | 152 --------------------------------
 5 files changed, 6 insertions(+), 199 deletions(-)

commit a183d79cd2312ac50d8b73bebd00ee0d0474925e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Nov 13 20:26:34 2013 +0100

    Fix missing break

 src/dird/ua_label.c | 1 +
 1 file changed, 1 insertion(+)

commit da3ca7c113119587837db203e3c50add8143a67e
Author: Andre Noll <maan@tuebingen.mpg.de>
Date:   Wed Nov 13 17:27:48 2013 +0100

    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>

 src/lib/crypto_openssl.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit baac35fe1291cfec28a02e7ae2204c32697579ea
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Nov 13 10:37:07 2013 +0100

    Fixed cherry-picking error

 platforms/win32/winbareos-nsi.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit d8df178856a4773512d02b7abfeef059058854b5
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Nov 12 22:23:44 2013 +0100

    support for openssl version 1 on windows
    
    before, we only supported openssl version 0.98

 platforms/win32/winbareos-nsi.spec | 12 ++++++------
 platforms/win32/winbareos.nsi      | 17 +++++++++++------
 2 files changed, 17 insertions(+), 12 deletions(-)

commit 18f03004b26c058e550d23866497b93dfdf7175c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 11 15:35:33 2013 +0100

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

 platforms/win32/winbareos.nsi | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit c3b49c46c1f68f93481a73b49569a7a336986cc4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Nov 11 13:54:43 2013 +0100

    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>

 platforms/win32/clientdialog.ini | 22 ++++++++++++++++++++--
 platforms/win32/winbareos.nsi    | 24 +++++++++++++++---------
 2 files changed, 35 insertions(+), 11 deletions(-)

commit 3505f3bc191d0eccdbdc1e79af4cb4297db6d91b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Oct 11 17:10:10 2013 +0200

    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

 platforms/win32/winbareos.nsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit f8f80435c5c7b38deef1cc02007fb192940fe046
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Nov 6 18:15:34 2013 +0100

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

 po/de.po | 16 ++++++++--------
 po/es.po | 25 +++++++++++++++----------
 po/fr.po | 13 ++++++++-----
 po/uk.po | 12 ++++++------
 4 files changed, 37 insertions(+), 29 deletions(-)

commit 03fd84e4154668e6d61826577bf0b6e5e18461bb
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Nov 6 17:00:54 2013 +0100

    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>

 po/README   |    23 +-
 po/es_AR.po | 14465 ----------------------------------------------------
 po/fi.po    | 15930 ----------------------------------------------------------
 po/pl.po    |   137 -
 4 files changed, 3 insertions(+), 30552 deletions(-)

commit 79f5220834a7ec2648b6dab284f72cbc3c13ec77
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Wed Nov 6 18:11:40 2013 +0100

    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>

 src/include/baconfig.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a13e304fe24eacfe16da415ed63b53478c462a78
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 1 17:03:20 2013 +0100

    First attempt at supporting IBM lin_tape driver.
    
    Use with:
    
    Use MTIOCGET = No
    IOError at EOM = Yes
    IBM lintape = Yes

 src/lib/protos.h   |  1 +
 src/lib/scsi_lli.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/stored/dev.c   | 27 ++++++++++++++++++------
 src/stored/dev.h   |  2 ++
 4 files changed, 85 insertions(+), 6 deletions(-)

commit 9716f086881b814fdccd3ee81c0218b13bb96fa2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Nov 6 12:54:11 2013 +0100

    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

 src/defaultconfigs/legacy/bareos-sd.conf.in | 17 +++++++++++------
 src/stored/stored.conf.in                   | 13 +++++++++----
 2 files changed, 20 insertions(+), 10 deletions(-)

commit 28617156b08ccdce26a07c22fa866d0275a7da72
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Nov 4 22:52:17 2013 +0100

    Fix small memory leak on exit.

 src/dird/dird_conf.c     | 7 +++++--
 src/filed/filed_conf.c   | 3 +++
 src/stored/stored_conf.c | 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

commit 1a213f873293ad2e6d671030132c5d2c084bcd35
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Nov 2 15:09:33 2013 +0100

    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.

 src/plugins/stored/autoxflate-sd.c | 28 ++++++++++++++++--------
 src/stored/sd_plugins.c            | 44 +++++++++++++++++++++++++++++++++-----
 src/stored/sd_plugins.h            | 10 +++++++--
 src/tools/bpluginfo.c              |  5 -----
 4 files changed, 66 insertions(+), 21 deletions(-)

commit 73f23203a4e7a594c91d4adcb7a4b9dd3bec4a63
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 1 21:18:01 2013 +0100

    Rebuild configure and config.h.in

 autoconf/config.h.in |  3 ---
 configure            | 42 ------------------------------------------
 2 files changed, 45 deletions(-)

commit c5eb482542fb9991744380a91a0e425df62c8a09
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 1 21:09:15 2013 +0100

    Use OPENSSL_VERSION_NUMBER for version detection.

 autoconf/configure.in    | 1 -
 src/lib/crypto_openssl.c | 2 +-
 src/lib/tls_openssl.c    | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

commit 985dbcab4dd9d2fe3b56d88d41ea70b8f902d336
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Nov 1 16:20:01 2013 +0100

    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.

 README.scsicrypto | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit 1a8a119de0ba2a45e2c167589edfd203eacebcf1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 28 16:03:48 2013 +0100

    Make read/written NDMP bytes 64 bits.
    
    A 32 bit counter will wrap around when storing the size of an NDMP save
    or restore so use a 64 bits value.

 src/ndmp/ndmagents.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 511a95a5361319664b6c1ee886077acd7b3449ae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 27 20:57:00 2013 +0100

    Fix AIX configure output.
    
    It seems AIX compiles with large file support but the configure summary
    doesn't show that. As this may triggers others to take the wrong
    conclusion set largefile_support explictly to yes just like is done for
    BSDI and FreeBSD.

 autoconf/configure.in | 3 ++-
 configure             | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

commit 501fbe76803e29967a46473a6efe690b86292955
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 27 13:24:02 2013 +0100

    Fix problem with poll() on AIX.
    
    Its seems that unlike Linux, Solaris and Windows AIX has a somewhat
    other idea in what flags it needs in the events field of the poll
    structure. This patch makes poll() work on AIX and should also keep it
    working on the other platforms.

 src/lib/bnet_server.c | 16 ++++++++++++++--
 src/lib/poll.c        | 29 +++++++++++++++++++++++++----
 2 files changed, 39 insertions(+), 6 deletions(-)

commit 06e1154e3082ae25ca8303d11014c2e800095332
Author: Bruno Friedmann <bruno@ioda-net.ch>
Date:   Fri Oct 25 09:08:40 2013 +0200

    Cleanup systemd files
    
    - Added documentation lines for each service
    - Added Restart on-failure for each service
    - Remove Alias from -dir (only for .target unit)
    - Added soft dependency for postgresql & mysql for bareos-dir in
      After= line so systemd know we prefer to start once the db is up
    
    Fixes #240: Improve systemd service files

 platforms/systemd/bareos-dir.service.in | 5 +++--
 platforms/systemd/bareos-fd.service.in  | 3 +++
 platforms/systemd/bareos-sd.service.in  | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

commit 5b3661aabf8b7a88d7f040df244feaf586fb2240
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 22 20:18:01 2013 +0200

    Fix compile problems when compiling without libz support.
    
    Don't depend on Bytef as datatype which is a libz invention.

 src/filed/compression.c | 12 ++++++------
 src/lib/compression.c   |  5 +++++
 2 files changed, 11 insertions(+), 6 deletions(-)

commit 77ad249825cbca327fc1407f1476baf653543f1d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 22 09:54:51 2013 +0200

    Store sizes as unsigned.
    
    All conversion and printing functions already assume handling an
    unsigned but the type is still signed. A negative size of course makes
    no sense. The only thing we are interested in is if its zero or more
    (e.g. zero means not set so ignore the setting.) but a zero also fits in
    an unsigned variable.

 src/dird/dird.c          |  6 +++---
 src/dird/dird_conf.h     | 17 +++++++++--------
 src/dird/migrate.c       |  6 +++---
 src/dird/ua_cmds.c       |  4 ++--
 src/filed/dir_cmd.c      |  2 +-
 src/filed/verify.c       |  5 ++---
 src/stored/dev.h         |  8 ++++----
 src/stored/dir_cmd.c     |  2 +-
 src/stored/spool.c       |  8 ++++----
 src/stored/stored_conf.h | 15 +++++++--------
 10 files changed, 36 insertions(+), 37 deletions(-)

commit 44c7bf7ee72e2c467e9bf5f1aabc9a8a833886e0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 21 17:03:33 2013 +0200

    Fix a integer overflow in btape.
    
    From now on you can use blocksize bigger then 230 Kb in btape as
    it caculates the max-file-size as 10000 (number of records) times
    the device blocksize but that will overflow a 32 bits integer so
    explicitly cast it to 64 bits.

 src/stored/btape.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 9e3ca6bd0cb115159b7794e060b5b6572c64d3b4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 21 15:38:47 2013 +0200

    Rebuild configure.

 configure | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 8cdb1bcf2d4ebf20c3577bfa8b2ece477126f11c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 21 15:38:08 2013 +0200

    Some fixes to allow non libtool building on AIX.

 autoconf/configure.in   | 14 ++++++++++++++
 src/console/Makefile.in |  5 ++++-
 src/dird/Makefile.in    | 11 ++++++++---
 src/filed/Makefile.in   |  4 +++-
 src/stored/Makefile.in  | 41 +++++++++++++++++++++++++++++------------
 src/stored/stored.h     |  3 +++
 src/tools/Makefile.in   | 18 +++++++++++-------
 7 files changed, 72 insertions(+), 24 deletions(-)

commit 1b0054a0b5b553a61a9825d82bed22b242618124
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 14 19:03:58 2013 +0200

    Fix compiling without any compression.
    
    When you don't have zlib, lzo2 or fastlz the code didn't compile
    due to one missing dummy prototype. And two dummy prototypes had
    wrong typed arguments to their non dummy counterparts.

 src/filed/compression.c | 7 ++++++-
 src/lib/compression.c   | 6 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

commit 54fc809df78d2579c3013e1d2603b75c804e15d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Oct 13 13:40:22 2013 +0200

    Tweak layout.

 src/filed/restore.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit d32de662f7e6021debd03672c56cb633abfff331
Author: Bastian Friedrich <bastian.friedrich@collax.com>
Date:   Wed Oct 9 17:43:36 2013 +0200

    Missing handling of "close" errors
    
    When backing up on a CIFS target (others?), a full (remote) file system
    is not detected until close() returns (returning -1 and setting errno).
    However, the return value is not verified, and the incorrect write
    operation is not detected. The final job result is "ok", but the volume
    files are small or empty.
    
    Fixes #233: Missing handling of "close" errors
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/dev.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 45cd91c6c6755ce692afe0e398d19a3e58e7829c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 7 17:10:39 2013 +0200

    Fix typo.

 src/include/version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7493333ad9139d154b16cdc5e714e3d5702b04ee
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 7 10:34:57 2013 +0200

    Fix compiler warning.
    
    NULL is NOT 0 (zero).

 src/lib/edit.c | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

commit 60c452448716efd069f912afad13384177859a77
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 7 09:27:40 2013 +0200

    Fix typo.

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a956a23ac4bbd9c31a4e5e2bb9b30884b30cb14e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Oct 7 09:10:49 2013 +0200

    Update README.md with important new stuff in 13.3.x

 README.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

commit f198f377e3ec38119b3578bfd4806c4d0d0c694e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Oct 2 15:11:39 2013 +0200

    Fix problem with copy/migrate jobs.
    
    Now we select the right catalog and not always set a pool override of
    the catalog we run into a crash in set_jcr_defaults as that now
    derefences the job->client pointer which for copy/migrate jobs may not
    have been set. This patch adds an extra catalog override method to
    allow you to set a job specfic catalog setting. If none is set the
    default (first) catalog is choosen for the copy/migration Job.

 src/dird/dird_conf.c |  1 +
 src/dird/dird_conf.h |  1 +
 src/dird/job.c       | 16 ++++++++++++++--
 3 files changed, 16 insertions(+), 2 deletions(-)

commit f0e89655effa637d02d40cb1bced846fe1e66f5f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Oct 1 13:50:45 2013 +0200

    When using multiple catalogs always the first is chosen.
    
    With the introduction of the autoselection of the right catalog when
    none is selected we also auto select a catalog in the pool resource.
    That is of course wrong as that means every pool always has an
    explicit override of the catalog to use to the first catalog which
    makes the override in the client useless.
    
    Fixes #229: When using multiple catalogs always the first is chosen.

 src/dird/dird_conf.c | 5 -----
 1 file changed, 5 deletions(-)

commit 05343ab4bf4dd4434ea25b8f2a600b95732cbc37
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Sep 29 10:53:18 2013 +0200

    Updated version to 13.4.0

 configure                                     | 18 +++++++++---------
 platforms/packaging/bareos-Debian_6.0.dsc     |  2 +-
 platforms/packaging/bareos-Debian_7.0.dsc     |  2 +-
 platforms/packaging/bareos-Univention_3.1.dsc |  2 +-
 platforms/packaging/bareos-xUbuntu_10.04.dsc  |  2 +-
 platforms/packaging/bareos-xUbuntu_12.04.dsc  |  2 +-
 platforms/packaging/bareos.changes            |  6 ++++++
 platforms/packaging/bareos.spec               |  4 ++--
 platforms/win32/winbareos-nsi.spec            |  2 +-
 platforms/win32/winbareos32.spec              |  2 +-
 platforms/win32/winbareos64.spec              |  2 +-
 src/include/version.h                         | 18 +++++++++---------
 12 files changed, 34 insertions(+), 28 deletions(-)

commit a5d367473eff401e1498d41a6784c5b8f32479b5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Sep 29 09:57:56 2013 +0200

    Get ride of the dreaded my_compare function.
    
    Give the function a somewhat better name so you at least get a clue as
    to what its doing.

 src/dird/ua_status.c |  7 +++++--
 src/stored/vol_mgr.c | 12 ++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)

commit 8756213be28182671eae7467fe82658b9051b705
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 28 17:23:32 2013 +0200

    Fix some complains by NSIS.
    
    And document why we have two libgcc names (32/64 bits).

 platforms/win32/winbareos.nsi | 56 +++++++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 29 deletions(-)

commit 2c512a90d436b2a63805c4234f308944386fa4f6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 28 16:51:35 2013 +0200

    Fix error.

 platforms/win32/winbareos.nsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c36d8c7312ea69030ce14df65909fe22976855e5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 28 11:32:32 2013 +0200

    Fix windows installer.
    
    Explicitly do SetOutPath to the right directory for all sections
    so files end up in the right directory and not in the last set output
    dir. Also autoselect the install of the plugins. And some cleanup of
    old debug and unneeded comments.

 platforms/win32/winbareos.nsi | 102 +++++++++++-------------------------------
 1 file changed, 27 insertions(+), 75 deletions(-)

commit 1d68f5a33ee2de4f1a48798d6a3eb4ce26c42a08
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Sep 5 19:51:22 2013 +0200

    Fix job pruning.
    
    We added different types of job pruning some time ago but it seems that
    the JobType argument to prune_jobs() is just ignored and only Backup
    jobs are pruned. This is a first attempt at really implementing pruning
    of different Job types.

 src/dird/ua_prune.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

commit 818350c154af323c1e51ed15c5925e156c85ed2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 27 17:33:43 2013 +0200

    Fix two compile errors on AIX.

 src/findlib/acl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8dd095e3fcf87cef1918fa3c168c4944a397ef0a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 27 14:22:45 2013 +0200

    Bwlimit not working in Windows 64bits client
    
    The nanosleep implementation in compat.c for windows if of poor quality.
    Try using the fallback to the pthread_cond_timedwait() in bsys.c by
    no longer claiming in the mingwconfig.h that we have a working nanosleep()
    and remove the poor implementation. There are a couple of ways of sleeping
    in a somewhat portable way e.g. select(), poll() or pthread_cond_timedwait().
    So for as we use pthreads anyway everywhere we leave the pthread_cond_timedwait()
    method.
    
    Also check if bmicrosleep() returns early in the bandwidth limiting code
    and if it does schedule an new bmicrosleep() of the sleep time remaining.
    
    Fixes #226: Bwlimit not working in Windows 64bits client

 src/lib/bsock.c                        | 21 +++++++++++++++++++--
 src/lib/bsys.c                         | 25 ++++++++++++++-----------
 src/win32/compat/compat.c              | 11 -----------
 src/win32/compat/include/mingwconfig.h |  2 +-
 4 files changed, 34 insertions(+), 25 deletions(-)

commit 7aa6e3e8adb00b4057c660b34025faae2064f4ec
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 27 14:22:45 2013 +0200

    Allow upgrade on windows
    
    Now we check if bareos is already installed on the windows machine.
    If so, we call the uninstaller of the previous version and install
    ourselves afterwards.
    
    The newer uninstaller keep the configuration files as the uninstaller is
    called accordingly.
    
    The dialogs for parametrizing the configuration and the dialog
    for the config snipped are not shown, as the existing configuration
    files will be used.
    
    Still the user has to choose the same components during the upgrade
    as were installed before.
    
    fixes #225: Windows installer can't upgrade in place

 platforms/win32/winbareos.nsi | 169 ++++++++++++++++++++++++------------------
 1 file changed, 98 insertions(+), 71 deletions(-)

commit 8f9ecc3d66eba589d0dd54b78331882d625df169
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 27 14:22:45 2013 +0200

    Add the new mssqlvdi plugin to the windows installer.
    
    Fixes #199: Plugin to do backup of Microsoft Sql Server (mssql) server

 platforms/win32/winbareos-nsi.spec |  2 +-
 platforms/win32/winbareos.nsi      |  4 +++-
 platforms/win32/winbareos32.spec   | 14 ++++++--------
 platforms/win32/winbareos64.spec   | 14 ++++++--------
 4 files changed, 16 insertions(+), 18 deletions(-)

commit 4bc48ab06c9af1dd81280ac073112bebe6f62783
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 27 14:22:44 2013 +0200

    Plugin to do backup of Microsoft Sql Server (mssql) server
    
    Implement a native backup plugin for MSSQL based on the
    Virtual Device Interface (VDI) which uses the native MSSQL
    backup tooling but instead of writing it to a tape or disk
    directly it will save it to a so called virtual device from
    which the plugin reads the data on restore we restore to
    a virtual device and the native MSSQL software recovers
    the database from that.
    
    This is based on the mssql-fd found on sourceforge from 2010
    but with a lot of changes to adhere to the Bareos coding style
    and to be able to compile it with mingw instead of Visual C.
    
    We also rewrote it to use pthreads instead of the windows threading,
    and the whole code is made somewhat more modular using inline
    functions which handle certain logic operations.
    
    We also implemented the ability to overwrite the plugin options
    which can be passed in via the Plugin Options method from the
    restore menu.
    
    Currently we allow on restore to restore to a so called
    Point In Time (PIT) using the normal MSSQL STOPBEFORMARK, STOPAT
    and STOPATMARK which allow you to rollback to a certain time
    or specific LSN (Log Sequence Number). This should all make
    sense to MSSQL DBA's who are used to using the native backup
    tooling to make disk backups.
    
    Fixes #199: Plugin to do backup of Microsoft Sql Server (mssql) server

 src/win32/plugins/filed/Makefile      |   17 +-
 src/win32/plugins/filed/mssqlvdi-fd.c | 1670 +++++++++++++++++++++++++++++++++
 2 files changed, 1685 insertions(+), 2 deletions(-)

commit fd5b0984e0dd44a7b6816275003e492e1f0e2c4a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Sep 27 13:18:02 2013 +0200

    Allow an UAcontext to have two database connections.
    
    For some operations we want to use a private database connection as they
    are either long running or may interfere with each other. We now keep
    track of the normal shared database connection and a private database
    connection used for these kind of operations that can run over a
    dedicated database connection without leading to synchronization
    problems in the data. Things like BVFS, restore, prune, purge etc can
    all use this private database connection so they no longer block others
    and for restore also don't lead to race conditions. These connections
    we keep lingering until a close_db() call is done on the UA.

 src/dird/protos.h     |  5 ++--
 src/dird/ua.h         |  2 ++
 src/dird/ua_cmds.c    | 76 ++++++++++++++++++++++++++++------------------
 src/dird/ua_dotcmds.c | 83 ++++++++++++++++++++++++++-------------------------
 src/dird/ua_output.c  |  5 ++--
 src/dird/ua_prune.c   |  2 +-
 src/dird/ua_purge.c   |  2 +-
 src/dird/ua_query.c   |  4 +--
 src/dird/ua_restore.c | 34 +++++----------------
 9 files changed, 107 insertions(+), 106 deletions(-)

commit b08b4c1a5335e000b88d9528833b19b4216203ac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 25 23:21:33 2013 +0200

    Try top make the NDMP docs somewhat more failsafe.
    
    After some feedback this should make things somewhat more understandable
    when trying to configure NDMP. Some better documentation needs to be
    written but we leave that to a true technical writer.

 README.NDMP | 87 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 69 insertions(+), 18 deletions(-)

commit fa220869f45d0c89cea889f87270fdba6cd75ec3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 11 17:46:22 2013 +0200

    Fix plugin install into right directory.

 platforms/win32/winbareos.nsi | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

commit 4d7f4c17af5ce6b2832e55de0e315a2e5cb74491
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 9 16:50:45 2013 +0200

    SelfTest fileset added
    
    For the regression tests and for first tries it is better
    to have a SelfTest fileset that only backups a limited
    amount of data.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 15 ++++++++++++++-
 src/dird/bareos-dir.conf.in                    | 15 ++++++++++++++-
 2 files changed, 28 insertions(+), 2 deletions(-)

commit 42433b39fdfc75d72867631781a932cf7bd6ea9f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Sep 9 10:42:32 2013 +0200

    Fixed rights on tray-monitor.conf
    
    When limiting the access to the config files to admin only
    we also did this to the tray-monitor configuration file.
    
    Of course this is wrong, as the traymon is started as normal user.
    
    This patch fixes this and sets the tray-monitor.conf file ownership and
    access rights to the group "users".
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 83 +++++++++++++++++++++++++++++++------------
 1 file changed, 60 insertions(+), 23 deletions(-)

commit 5668c4d0c7bf685c3664103a71b4374c4fa28a53
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 7 23:33:21 2013 +0200

    Try to fix travis for new pool names.

 test/all | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5510fc92c04889444d8d91d5400f71f213879c48
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat Sep 7 21:13:24 2013 +0200

    replaced the default configs with the new ones
    
    We now install the new disk-only default configuration files
    for director and storage.
    
    The old ones are still available in the folder defaultconfigs/legacy
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/defaultconfigs/legacy/README             |   2 +
 src/defaultconfigs/legacy/bareos-dir.conf.in | 319 +++++++++++++++++++++++++++
 src/defaultconfigs/legacy/bareos-sd.conf.in  | 205 +++++++++++++++++
 src/dird/bareos-dir.conf.in                  | 264 +++++++++++-----------
 src/stored/bareos-sd.conf.in                 | 146 +-----------
 5 files changed, 658 insertions(+), 278 deletions(-)

commit fdb3e7884704f9e59452638deb8a4d90e9aecf24
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Sep 7 08:26:09 2013 +0200

    Enhance allowed script dir to not allow relative pathnames.
    
    When users start using releative pathnames it becomes hard to determine
    if a path is within a certain allowed path setting without reverting to
    more drastic measures. So we just don't allow relative pathnames for
    scripts when using the allowed script dir feature.

 src/lib/runscript.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

commit cb29a921abf171b829058f44c1b6ce8e1d2d7bb2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Sep 6 15:18:39 2013 +0200

    Tweak Makefile.in to always show what its doing.

 src/dird/Makefile.in   |  2 ++
 src/filed/Makefile.in  |  1 +
 src/stored/Makefile.in |  7 +++++--
 src/tests/Makefile.in  |  9 +++++++++
 src/tools/Makefile.in  | 12 +++++++++++-
 5 files changed, 28 insertions(+), 3 deletions(-)

commit 977453c23cf0228bdc4f25867f87a8ccfb7ae0cb
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 30 22:14:36 2013 +0200

    Added usage to the plugin information block
    
    Now the plugin information block also offers a
    usage entry. That way, we can include a basic
    info about the usage of the plugin in the plugin
    itself.
    
    Also, the status filed now shows extended information
    about each plugin.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/dir_plugins.h                |  2 +-
 src/filed/fd_plugins.h                |  2 +-
 src/lib/plugins.c                     | 42 ++++++++++++++++++++++++-----------
 src/lib/plugins.h                     |  1 +
 src/plugins/dird/python-dir.c         |  4 +++-
 src/plugins/filed/bpipe-fd.c          |  7 +++++-
 src/plugins/filed/example-plugin-fd.c |  2 +-
 src/plugins/filed/python-fd.c         |  2 ++
 src/plugins/filed/test-deltaseq-fd.c  |  2 +-
 src/plugins/stored/autoxflate-sd.c    |  4 +++-
 src/plugins/stored/python-sd.c        |  4 +++-
 src/plugins/stored/scsicrypto-sd.c    |  4 +++-
 src/stored/sd_plugins.h               |  2 +-
 src/tools/bpluginfo.c                 | 41 ++++++++++++----------------------
 14 files changed, 69 insertions(+), 50 deletions(-)

commit a74483233e7f95ceb80dbf4c9ef570362c349f47
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Sep 4 11:10:32 2013 +0200

    Copy job definition requires unnecessary settings
    
    When configuring a Migration or Copy Job you need to specify a Client
    and Fileset although those items are never used in the Job as it selects
    via a certain selection criterium the Jobs it needs to Migrate or Copy
    and uses the Client and Fileset of that original Job.
    
    We relaxed the configuration engine to no longer make the Client and
    Fileset keyword required keywords. In the check_resources() function
    we now check after the required keyword check what type of Job is
    configured and when its not a Migration or Copy Job we still fail the
    configuration check as for any Job not being a Migration or Copy Job we
    still need the Client and Fileset.
    
    We also needed to check in a lot of places if we have a Client or
    Fileset for the current running Job as a lot of code assumes that there
    always is a Client or Fileset. This is of course a bad assumption and
    hopefully we found all places where these wrong assumptions are made
    and the Jobs Client or Fileset pointer is dereferenced without a check.
    
    This new code passed a full regression test both with the old configs
    for Migrate and Copy with a dummy Client and Fileset and without.
    
    Fixes #220: Copy job definition requires unnecessary settings

 src/dird/backup.c    |  4 +--
 src/dird/dird.c      | 40 ++++++++++++++++++++++-----
 src/dird/dird_conf.c |  4 +--
 src/dird/job.c       | 17 ++++++++----
 src/dird/jobq.c      | 24 ++++++++++------
 src/dird/migrate.c   | 78 +++++++++++++++++++++++-----------------------------
 src/dird/msgchan.c   | 27 ++++++++++++++----
 src/dird/ndmp_dma.c  |  4 +--
 src/dird/protos.h    |  6 ++--
 src/dird/quota.c     |  6 ++--
 src/dird/restore.c   | 28 +++++++++----------
 src/dird/ua_cmds.c   |  2 +-
 src/dird/ua_run.c    | 28 +++++++------------
 src/dird/verify.c    | 72 +++++++++++++++++++++++++-----------------------
 src/stored/askdir.c  |  2 +-
 15 files changed, 193 insertions(+), 149 deletions(-)

commit 8085e55a973438f45c46898422d332c27ac621b2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Sep 2 09:30:45 2013 +0200

    Explicitly order by JobId for rerun.
    
    We should rerun jobs in the order the JobIds are arranged so explicitly
    order the JobIds we select.

 src/dird/ua_run.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2b005f859f8e3a232c9f66cf538aa5dfb15aac43
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 30 21:07:40 2013 +0200

    default preview days of status scheduler is now 7
    
    Before, we had 14 as default preview but the output
    always scrolls out of the normal terminal window.
    
    Also, one week is better to overview for humans than two.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_status.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit d4da9da4a9fac39f5d293dfac0e0d64e252fcb52
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu Aug 29 22:10:33 2013 +0200

    Added query file also to deb packages
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-director.install | 1 +
 1 file changed, 1 insertion(+)

commit 5569c60b764978e3bd94fae512d9b41772bceef9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 29 17:01:32 2013 +0200

    Make the chgrp non fatal.
    
    In some build environments the chgrp to the right daemon group may fail
    so we mark it as non fatal for now.

 platforms/packaging/bareos.spec | 2 +-
 src/dird/Makefile.in            | 2 +-
 src/filed/Makefile.in           | 2 +-
 src/stored/Makefile.in          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 57e0f17ccf8c560fd2e1a93ade4f0c13e4397732
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 29 11:27:04 2013 +0200

    Fix typo.

 src/lib/bsock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e23d0175fef52f35e9c95733ac7aa5da263f0147
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 28 20:48:06 2013 +0200

    Fix compiler warnings.

 src/dird/ndmp_dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2327fc8b98963c50a0234bd9f7475025d7a4c98e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 28 19:55:48 2013 +0200

    Make NDMP code compile on FreeBSD.

 src/ndmp/ndma_robot.c    |  2 ++
 src/ndmp/ndma_tape.c     |  2 ++
 src/ndmp/ndmos.h         |  1 +
 src/ndmp/ndmos_common.c  |  4 +++-
 src/ndmp/ndmos_freebsd.c | 10 +++++-----
 src/ndmp/ndmos_freebsd.h |  2 +-
 6 files changed, 14 insertions(+), 7 deletions(-)

commit e24a45baf15a8c42b71d07716948537b0cb0193f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 28 18:43:42 2013 +0200

    Rebuild configure.

 configure | 4 ++++
 1 file changed, 4 insertions(+)

commit 9ceb2a5f62f27e0b0b1c0a927871d843dec78f7d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 28 18:42:23 2013 +0200

    Add FreeBSD -lcam to build flags.

 autoconf/configure.in | 3 +++
 src/lib/Makefile.in   | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 3a36f5ece8760073355d4f1ef98a6ba7428e5148
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 28 17:33:39 2013 +0200

    Fix compile errors in low level FreeBSD code.
    
    The current lowlevel FreeBSD specific SCSI code doesn't compile
    on FreeBSD. This patch at least makes sure that it compiles if it
    actually works is something else.

 src/lib/scsi_lli.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit fbbf762c2f44e925f9f1082947ea26e361b4b863
Author: Frank Bergkemper <frank.bergkemper@dass-it.de>
Date:   Wed Aug 21 09:12:59 2013 +0200

    Sortable tables in bRestore
    
    Quick as is fix. Enable sorting in bRestore by setting the sorting
    attribute using setSortingEnabled() on the bRestoreTable objects.
    For FileList and FileRevisions we disable the sorting during the
    filling of the table (to not make it to slow) and explicitly sort
    the FileList on the filenames in them ascending and the FileRevisions
    on the revision date descending (so you get the newest revision first
    in the list.) Some sorting doesn't work or doesn't work right as we
    need to write new sorting operators which are not there. That is
    something we won't solve any time soon. The restore list also has
    the sorting attribute enabled so you can use sorting in that view too.
    
    Fixes #215: Sortable tables in bRestore
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/qt-console/restore/brestore.cpp | 27 +++++++++++++++++++++++++--
 src/qt-console/restore/brestore.ui  |  8 +++++++-
 2 files changed, 32 insertions(+), 3 deletions(-)

commit 7de69345c3571fa7daa9dc506c3a11bc699c759f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Aug 20 15:50:04 2013 +0200

    Fix typo.

 src/filed/backup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 83dffd816b58ff7152d75ca5d08296335953a65f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 15 11:36:42 2013 +0200

    BAT segfaults when Password is missing from configuration
    
    Fixes #216: bat segfaults when Password is missing from configuration

 src/qt-console/bat_conf.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1f9a61b3bb739a84a1797f3663a9540c7cffc034
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 14 10:46:29 2013 +0200

    Fix filerights.

 src/win32/findlib/make_def | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

commit da47a10cd7b121165d838d61fb946003b0338d7d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Aug 13 08:46:05 2013 +0200

    Updated Readme.md distribution info
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 README.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 78059a96af72fbb36d67404259fd28a88d686bff
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 18 10:59:24 2013 +0200

    Cleanup win api compat layer.
    
    Implemented str_2_BSTR and BSTR_2_str and reformated the code a bit.

 src/win32/compat/compat.c  | 309 ++++++++++++++++++++-------------------------
 src/win32/include/winapi.h |   2 +
 2 files changed, 137 insertions(+), 174 deletions(-)

commit c110cccc1848a18125bcea22145feba6ffb3f2aa
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 18 11:15:55 2013 +0200

    MINGW now supports SetThreadExecutionState
    
    The MINGW version we compile with in OBS supports
    SetThreadExecutionState so lets use it.

 src/filed/dir_cmd.c       | 8 ++++++++
 src/win32/compat/compat.c | 5 ++---
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 2b47741ae6068bdc82bddfa131fa066336e5e9c3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 17 23:28:19 2013 +0200

    Fill the process environment with an BAREOS_CFGDIR
    
    When we parse a configfile we push the directory we found it in into the
    process environment as BAREOS_CFGDIR so you can use that same directory
    as %BAREOS_CFGDIR% on windows and $BAREOS_CFGDIR on UNIX when
    referencing an other configfile in that same directory.

 src/lib/parse_conf.c                   | 39 ++++++++++++++++++++++++++++------
 src/win32/compat/include/mingwconfig.h |  9 +++++---
 2 files changed, 39 insertions(+), 9 deletions(-)

commit a4bb497140b235ad88462a8953c05fb4474a0ec9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 17 19:30:24 2013 +0200

    Implement a store_alist_dir function
    
    We currently have the following functions:
    
    - store_dir() (For storing a string with shell expansion to a dir/file)
    - store_str() (For storing a string)
    - store_alist_str() (For storing a list of strings)
    
    we are missing a store_alist_dir() which stores a list of shell
    expanded dirs/files.
    
    Fixes #209: Implement a store_alist_dir function

 src/filed/filed_conf.c |  8 ++++----
 src/lib/parse_conf.c   | 44 +++++++++++++++++++++++++++++++++++++-------
 src/lib/parse_conf.h   |  1 +
 3 files changed, 42 insertions(+), 11 deletions(-)

commit 3fd37c581a0146e0cd55ccb4e19c1da73ee2affc
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon Aug 12 13:57:44 2013 +0200

    added dsc-file for Univention 3.1
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/packaging/bareos-Univention_3.1.dsc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 683cf6ef672eee07fa5769b664c3bcf8b96103a6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Aug 12 10:41:59 2013 +0200

    Remove \ from the valid characters.
    
    A passphrase with a \ at the end of the phrase will let the config
    egine blow up so remove that character.

 src/lib/passphrase.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 71101c13ef00c6708de2cd194b48d6dce0b47263
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 9 12:24:00 2013 +0200

    Fixed wrong directory for plugins in nsi installer
    
    We created the Plugins Directory in the wrong location
    before.
    
    Now that is fixed
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 13f7a7d55103d990e5437e6cb1d4090d33756008
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Aug 9 10:02:43 2013 +0200

    windows plugin directory created and set in cfg.
    
    The windows installer now creates also a directory
    for plugins, ususally C:\Program Files\Bareos\Plugins
    
    Also, this directory is set in the plugin directory comment
    in the default bareos-fd.conf
    
    Also, we now have a "compatible=no" comment in the fd.conf
    that tells the user that for new bareos features this has to
    be set to no to disable the Bacula compatible mode.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/fillup.sed    | 1 +
 platforms/win32/winbareos.nsi | 2 ++
 src/filed/bareos-fd.conf.in   | 4 ++++
 3 files changed, 7 insertions(+)

commit cb68cb44f4eea531e3e9062be8adfa71fbde5880
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 8 21:22:37 2013 +0200

    Fail restore job when plugin options and no support.
    
    When we need to send plugin options to a FD and it has a to low version
    fail the restore job so the backup operator knows he needs to upgrade
    its client (or disable the compatible option) of the target FD.

 src/dird/restore.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 32f9ae2e0cf1cf3d2df7110aaf6f6b6a49b0082e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 7 19:25:10 2013 +0200

    Some keywords are only allowed in fileselection mode.
    
    We now always send the BNET_START_RTREE and BNET_END_RTREE signals
    even when the api mode is not enabled. This way bconsole also knows
    when its in file selection mode and the tab expansion can show the
    only expand keywords allowed in a certain mode. e.g. no more cd
    and ls expansion when not in file selection mode which leads to
    the dreaded "*cd .lsdir: is an invalid command." and
    "*ls .ls: is an invalid command."

 src/console/console.c | 103 ++++++++++++++++++++++++++++++++------------------
 src/dird/ua_tree.c    |   9 +----
 2 files changed, 68 insertions(+), 44 deletions(-)

commit 67190b129076480dd18e9092c86357177750e540
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 7 19:24:03 2013 +0200

    Allow restoreoptions to be specified with restore.

 src/dird/ua.h         |  1 +
 src/dird/ua_restore.c | 12 ++++++++++++
 src/dird/ua_run.c     |  2 +-
 3 files changed, 14 insertions(+), 1 deletion(-)

commit e59ba5d228888877d65751c0c2b5f69eb010847b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 7 19:23:21 2013 +0200

    Add the still missing keyword for run and restore.

 src/dird/ua_cmds.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

commit 005b2600e31f8b80224f51242b552460a3a089c0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 7 14:36:46 2013 +0200

    Always print loaded plugins.

 src/dird/ua_status.c | 11 ++++-------
 src/filed/status.c   | 10 +++-------
 2 files changed, 7 insertions(+), 14 deletions(-)

commit 07aff263de7be01a72578b66bde46c0fd1153757
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Aug 7 11:18:47 2013 +0200

    Use ; to seperate fields in address instead of :.
    
    Now that IPV6 is more and more common use a semicolon instead
    of a colon as seperator for the different fields of an address.

 src/lib/address_conf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3565d3de7f8fe3bc058f3981f93af413d0ee43a1
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Aug 7 11:18:35 2013 +0200

    Add command for doing a name resolution on client.
    
    Resolve command now can resolve given hostname(s) on director, client
    and storage daemon if specified.
    
    examples:
    
    * resolution on director:
       resolve www.bareos.com
       > gonzo-dir resolves www.bareos.com to host[ipv4:84.44.166.242]
    
    * resolution on client:
       resolve client=gonzo.bareos.com-fd www.bareos.com
       > gonzo-fd resolves www.bareos.com to host[ipv4:84.44.166.242]
    
    * resolution on storage:
       resolve storage=File www.bareos.com
       > gonzo-sd  resolves www.bareos.com to host[ipv4:84.44.166.242]
    
    Fixes #181: Add command for doing a name resolution on client.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/protos.h                   |   2 +-
 src/cats/sql_list.c                 |   2 +-
 src/console/console.c               |   2 +-
 src/dird/backup.c                   |   4 +-
 src/dird/fd_cmds.c                  | 150 ++++++++++++++++++++++++------------
 src/dird/migrate.c                  |   6 +-
 src/dird/msgchan.c                  |   4 +-
 src/dird/ndmp_dma.c                 |   4 +-
 src/dird/protos.h                   |   8 +-
 src/dird/restore.c                  |   4 +-
 src/dird/sd_cmds.c                  |  44 +++++++++--
 src/dird/ua_cmds.c                  |  98 +++++++++++++++++++++--
 src/dird/ua_dotcmds.c               |   2 +-
 src/dird/ua_query.c                 |  10 +--
 src/dird/ua_restore.c               |  10 +--
 src/dird/ua_update.c                |   2 +-
 src/dird/vbackup.c                  |   2 +-
 src/dird/verify.c                   |   6 +-
 src/filed/dir_cmd.c                 |  33 +++++++-
 src/lib/address_conf.c              |  15 +++-
 src/lib/address_conf.h              |   4 +-
 src/lib/bnet.c                      |   4 +-
 src/lib/bsock.c                     |   4 +-
 src/lib/bsock.h                     |   2 +-
 src/lib/protos.h                    |   2 +-
 src/qt-console/bcomm/dircomm.cpp    |   2 +-
 src/qt-tray-monitor/monitoritem.cpp |   6 +-
 src/stored/bcopy.c                  |   2 +-
 src/stored/bscan.c                  |   2 +-
 src/stored/dir_cmd.c                |  31 ++++++++
 src/stored/label.c                  |   2 +-
 src/stored/protos.h                 |   2 +-
 src/tools/bpluginfo.c               |  12 +--
 33 files changed, 361 insertions(+), 122 deletions(-)

commit 495c727f1aaf837b466bab22eccf31224e314312
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Aug 6 14:25:07 2013 +0200

    Enhanced help for run and restore command
    
    Many available parameters for the restore and
    run commands were missing in the help info and so
    also in the <tab-tab> completion.
    
    Now we should have hopefully all useful parameters documented
    for run and restore.
    
    Also, the tab-completion for "backupclient" and "restoreclient" now
    works as it calls ".client"
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/console/console.c | 2 ++
 src/dird/ua_cmds.c    | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 770d1a6b2b252152939a99bc2301e6c8d949d2ae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 2 17:25:51 2013 +0200

    Always use CoInitializeEx with multithread option.

 src/win32/filed/vss_generic.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 10347c41e9a9e50d7f94c914b86c4fbb46e3d681
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 2 15:45:41 2013 +0200

    Filed doesn't respond to first connection after start.
    
    The setup of the thread specific key is flawed. In essence
    its setup twice (once via the init_msg() call and once
    via the pthread_once call in jcr.c). This new code fixes
    that by:
    
    - Setup thread specific data key only once.
    - Use pthread_key_create_once_np when available.
      This is a non portable but cleaner implementation of
      both a pthread_once() and a pthread_key_create().
    - For Windows use a workaround around pthread_once() as that
      seems to hang for unknown reason. Now we use a boolean
      protected by an mutex to make sure the setup is only done once.
    
    Fixes #210: Filed doesn't respond to first connection after start.

 src/lib/jcr.c     | 62 +++++++++++++++++++++++++++++++++++++++++++++++--------
 src/lib/message.c |  6 +++---
 2 files changed, 56 insertions(+), 12 deletions(-)

commit 6dbdbaeeff9347e6d694f7bc0e698ca9968f62bc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Aug 2 07:10:34 2013 +0200

    Bump version date.

 src/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 50214e571dea628d9b8fb67f9771ba19026c1112
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 1 17:18:12 2013 +0200

    Rebuild configure.

 configure | 5 -----
 1 file changed, 5 deletions(-)

commit d83072d2786c6bff6ee3078254d6870b1c5e9f7b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 1 17:11:13 2013 +0200

    Use modern autoconf idioms.
    
    Autoconf 2.59 says that AC_OUTPUT with arguments is obsolete
    Rewrite to use AC_CONFIG_FILES.

 autoconf/configure.in | 169 +++++++++++++++++++++++++-------------------------
 1 file changed, 85 insertions(+), 84 deletions(-)

commit 0bf57350d845a00633df6abc2fd0dbffe40787df
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Aug 1 09:49:55 2013 +0200

    Tweak layout.
    
    Reformated comments and use bstrcasecmp.

 src/lib/ini.c | 85 +++++++++++++++++++++++++++++++++++++++--------------------
 src/lib/ini.h | 73 ++++++++++++++++++++++++++++++++++++--------------
 2 files changed, 110 insertions(+), 48 deletions(-)

commit 9b494547e3a9d4d19d0859c1e2d6f4df25ffa2e2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed Jul 31 14:55:19 2013 +0200

    windows config files admin-only access
    
    Windows configuration files were accessible by
    normal users until now.
    
    Now we use the NSIS AccessControl Plugin
    (http://nsis.sourceforge.net/AccessControl_plug-in)
    to limit the access to the Administrator only.
    
    This also means that if you want to edit the
    config file, this has to happen as administrator.
    
    Fixes #208: Look into possibility to limit access rights on %APPDATA%/Bareos to administrators only.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos-nsi.spec |  9 ++++----
 platforms/win32/winbareos.nsi      | 46 ++++++++++++++++++++++----------------
 2 files changed, 32 insertions(+), 23 deletions(-)

commit 8372742b74f6ecb0438bb4d4264ee82325563748
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 30 23:41:51 2013 +0200

    Fix restore handling of NDMP when using wrong storage.
    
    For a NDMP restore its needed that the storage passed into the restore
    job is a storage definition with paired NDMP storage. When this is not
    the case the pstore pointer will remain NULL and we crash in the
    build_ndmp_job() function. Now we check if we have paired storage
    and also changed the cleanup somewhat so we don't try to close the
    bootstrap file etc when we didn't open it (which also lead to a
    segmentation fault.)

 src/dird/ndmp_dma.c | 42 +++++++++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 17 deletions(-)

commit 4e109dd07f08176d8a61068a22c885c93a8a28ef
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jul 27 09:58:00 2013 +0200

    Add some defensive coding.

 src/ndmp/ndma_comm_session.c  | 4 ++++
 src/ndmp/ndma_cops_backreco.c | 2 ++
 src/ndmp/ndma_cops_labels.c   | 2 ++
 src/ndmp/ndma_cops_query.c    | 2 ++
 src/ndmp/ndma_ctrl_conn.c     | 1 +
 src/ndmp/ndma_ctst_data.c     | 1 +
 src/ndmp/ndma_ctst_mover.c    | 1 +
 src/ndmp/ndma_ctst_subr.c     | 1 +
 src/ndmp/ndml_conn.c          | 5 ++++-
 9 files changed, 18 insertions(+), 1 deletion(-)

commit ae2a8df50e06ea20fc918b0d8e432ec4223df80a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jul 29 16:29:35 2013 +0200

    Check if DISTNAME subdir has a Makefile
    
    When trying to install platform specific scripts make sure the
    platform specific DISTNAME subdir has a Makefile (which also
    checks if the dir even exists.) This should help for platforms
    like altlinux where we set the DISTNAME but for which we don't
    have any platform specific scripts.

 platforms/Makefile.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit e75cb33b14e6501af5d2ca082406d722fdfccb31
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Fri Jul 26 17:21:35 2013 +0200

    sample sql queries
    
    provide sample sql queries, that can be used by the bconsole query command.
    
    Fixes #83: Bareos packages do not contain query.sql
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/query.sql | 254 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 250 insertions(+), 4 deletions(-)

commit d558bfe12d93e94a37615bf45e6c917d414a862b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 26 12:43:11 2013 +0200

    Remove no-op assign.
    
    While writing the sd-sd replication we introduced two assignments
    which are in essense no-ops (e.g. assigning a value to a variable
    where the source is itself.) The optimizer probably filters it but
    for the readability lets remove them.

 src/dird/migrate.c | 2 --
 1 file changed, 2 deletions(-)

commit 40454688f46b4a2f0e00a4513f9c2ad38e61d899
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 25 16:26:27 2013 +0200

    Fix backup summary.
    
    Always lookup the media record of the last used volume after calling
    db_get_job_volume_names() so we always print the right info and not
    lookup the media record based on the current content of jcr->VolumeName
    which works only for normal backups but not for virtual fulls as there
    it will have the name of the last volume that was read for creating the
    virtual full. Looking at the migration code it also does a lookup
    of the last volume name returned by db_get_job_volume_names() there.
    
    Fixes #211: Wrong data/output/calculation in log of "Last Volume Bytes"
                and "Volume Session Time" when doing Virtual Full Backups

 src/dird/backup.c   | 35 ++++++++++++++++++++++-------------
 src/dird/ndmp_dma.c | 10 +---------
 src/dird/protos.h   |  4 ++--
 src/dird/vbackup.c  | 10 +---------
 4 files changed, 26 insertions(+), 33 deletions(-)

commit f30c4dd5d00117bcafbb57f8ce36fe8777643a30
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 23 22:45:01 2013 +0200

    Fix Makefile.in for new plugin layout.

 src/plugins/dird/Makefile.in   | 2 +-
 src/plugins/filed/Makefile.in  | 2 +-
 src/plugins/stored/Makefile.in | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit bb908b880f37ffcec33d868d403782cc46314480
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 21 23:45:25 2013 +0200

    Tweak plugin entry points layout.

 src/plugins/dird/example-plugin-dir.c  | 7 +++++--
 src/plugins/dird/python-dir.c          | 7 +++++--
 src/plugins/filed/bpipe-fd.c           | 5 ++++-
 src/plugins/filed/example-plugin-fd.c  | 6 ++++--
 src/plugins/filed/python-fd.c          | 6 ++++--
 src/plugins/filed/test-deltaseq-fd.c   | 7 +++++--
 src/plugins/filed/test-plugin-fd.c     | 7 +++++--
 src/plugins/stored/example-plugin-sd.c | 9 +++++----
 src/plugins/stored/python-sd.c         | 9 +++++----
 9 files changed, 42 insertions(+), 21 deletions(-)

commit c55c22e7ee35deb0eb04d348a4a5889002bbad99
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 21 13:30:40 2013 +0200

    Only have bpipe-fd.c once and use it for UNIX and Windows.

 src/plugins/filed/bpipe-fd.c       |   4 +-
 src/win32/plugins/filed/Makefile   |   2 +-
 src/win32/plugins/filed/bpipe-fd.c | 535 -------------------------------------
 3 files changed, 3 insertions(+), 538 deletions(-)

commit 4f4cc264588eee6cf0241a2de2788803bf0fa06c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 21 13:25:19 2013 +0200

    Cleanup plugins now we use fd_common.h

 src/plugins/filed/bpipe-fd.c         | 9 +--------
 src/plugins/filed/test-deltaseq-fd.c | 4 ----
 src/plugins/filed/test-plugin-fd.c   | 9 +--------
 3 files changed, 2 insertions(+), 20 deletions(-)

commit f25e6885bfa959feffc62b39365fcdacd832cf11
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jul 21 13:19:10 2013 +0200

    Upgrade all filed plugins to use fd_common.h

 src/plugins/filed/bpipe-fd.c          | 113 +++++++++++++++++-----------------
 src/plugins/filed/example-plugin-fd.c |  39 ++++++------
 src/plugins/filed/test-plugin-fd.c    |  88 +++++++++++++-------------
 3 files changed, 121 insertions(+), 119 deletions(-)

commit 1bbd85769ed9c8c891cdb32cc8c6431c0b963973
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 17 17:16:45 2013 +0200

    do_shell_expansion for default string only when it does not starts with a |

 src/lib/parse_conf.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 301e17b143205b00c37ed59b82cd9d815c88770b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jul 13 17:29:43 2013 +0200

    Implement plugin options passing.
    
    Implement a new feature to pass plugin option as part of the restore process.
    Most of the plugin options input was already implemented but for the restore
    the options were never pushed to the file daemon. We should pass it to the
    filed and raise a bEventPluginCommand event. This way a user can pass in extra
    hints to the plugin for the restore process. Currently the plugin only gets
    passed in the plugin options that were defined at the moment the backup was made.
    
    The options defined by the user at restore time are passed before the actual
    options saved at backup time are passed so the plugin should take care to ignore
    any of the options passed in as part of the backup stream being restored
    when it already got a override at restore time.
    
    We increased the FD protocol number to 52 to be able to detect if the file daemon
    understand the new protocol keyword.
    
    Along the way we tweaked the layout of fileset traversal code somewhat. Added
    some spaces and fixed the scoping of the variables somewhat. So you understand
    what is going on. And fixed the comments in the filed plugin code.
    
    Fixes #207: Implement plugin options passing.

 src/dird/dird.h          |   1 +
 src/dird/fd_cmds.c       | 122 +++++++++++++++-------
 src/dird/protos.h        |   1 +
 src/dird/restore.c       |  11 ++
 src/dird/ua_run.c        |   2 -
 src/filed/authenticate.c |   3 +-
 src/filed/dir_cmd.c      |  36 +++++++
 src/filed/fd_plugins.c   | 256 +++++++++++++++++++++++++++++++----------------
 8 files changed, 311 insertions(+), 121 deletions(-)

commit ccdb4543aa801b64301e594db7a10cdef84b30e9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 12 17:37:22 2013 +0200

    Drop syslog.target from systemd service definitions.
    
    Newer systemd versions implement a internal binary journalling system
    which replaces syslog so the syslog.target is no longer available in
    newer versions of systemd. So we dropped the dependency on it and hope
    that our other dependencies make sure the syslogging is available.
    
    Fixes #203: systemctl start bareos-fd.service fails on Fedora 19

 platforms/systemd/bareos-dir.service.in | 4 ++--
 platforms/systemd/bareos-fd.service.in  | 4 ++--
 platforms/systemd/bareos-sd.service.in  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 9183f1da4f9d18e2c09fc6789c0236d52106a478
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jul 12 14:58:16 2013 +0200

    Trace file to c:/ if working_directory is empty
    
    When the working directory is empty, we now write the
    trace file to c:/ instead of ./
    
    When running as service, the workingdirectory seems to empty ,so
    that the trace file is written to C:/windows/system32
    
    This has different implications and makes it difficult to watch the
    trace file.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/lib/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29b7567f96954c1492d12bfa479c650d61b0fe96
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 12 13:43:15 2013 +0200

    Refactor windows version detection code.
    
    Added Windows 8 and Windows Server 2012 and use a switch on major and
    minor number instead of a set of ifs.

 src/win32/filed/main.c | 297 +++++++++++++++++++++++++++----------------------
 1 file changed, 162 insertions(+), 135 deletions(-)

commit 84ea02fa73109542a1bf686b0b585ad2c0c2073e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 10 20:57:33 2013 +0200

    Conditionally enable VSS.
    
    It only makes sense to adhere to the director requesting for VSS when we
    have any File = statements in any Include block. So we now count the
    number of File = statements in all Include blocks of the fileset and if
    none are given (Plugins only for example) we ignore the request for VSS.

 src/filed/backup.c  |  15 +++++--
 src/filed/dir_cmd.c | 114 ++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 91 insertions(+), 38 deletions(-)

commit 2c034bde7d019baa79fd6ad4e6ae416e6f1b3a2f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jul 10 20:04:30 2013 +0200

    Fix debugging output and print the right info.
    
    We are printing the stuff we send to the SD not what we got back.

 src/filed/dir_cmd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 6280d6094c56c453013785316d76461a1b3c9af3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 9 11:25:39 2013 +0200

    Add config option for storing a diagnostic device.
    
    For some setups with an autochanger you might want to query the
    individual drives for tape alerts. As you cannot open the tape
    device twice you need to access the drive via a SCSI generic
    device. We now have a per device diagnostic device config variable
    which you can expand using a %D in the tape alert cmdline. Normally
    you should query the autochanger for tape alerts and that should also
    report any tape drive errors but some devices implement this poorly and
    as such it doesn't work. This option allows you to work around that and
    actually ask the drive for any tape alerts.
    
    Fixes #200: Storage Daemon Tape Alert Useless / Defective

 src/stored/sd_plugins.c  | 12 ++++++++----
 src/stored/stored_conf.c | 10 ++++++++--
 src/stored/stored_conf.h |  1 +
 3 files changed, 17 insertions(+), 6 deletions(-)

commit ce35d2536bb383030dfc3b1eea48b2e4395ae226
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 9 12:51:57 2013 +0200

    Fix windows bpipe plugin.

 src/win32/plugins/filed/bpipe-fd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 0d12d7a1518cb54e63429173d2ea3c5cdf69419e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jul 9 09:52:31 2013 +0200

    Fixed single-drive mount problem

 src/dird/ua_select.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

commit 23311bf6bc96f727503091007ce626c37694f7b7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri Jul 5 14:58:41 2013 +0200

    Added some quotes
    
    - Added quotes to make_catalog_backup.pl script
      (Thanks to Günter Gratzer)
    - Added quotes in message when Allowed Job Command blocks.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/make_catalog_backup.pl.in | 2 +-
 src/filed/dir_cmd.c                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit c27dc2c8f413ac3913d1454c4311dcb273899bb2
Author: Andre Noll <maan@tuebingen.mpg.de>
Date:   Fri Jul 5 14:39:53 2013 +0200

    sd: Avoid segfault in is_vol_in_autochanger().
    
    If the sd config file contains a Device section for a device not
    listed in the Autochanger config section, is_vol_in_autochanger()
    might be called with vol->dev->device->changer_res being NULL.
    However, the function dereferences this pointer unconditionally,
    which results in a segfault.
    
    This patch adds the necessary check and returns false in this case,
    avoiding the crash.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/stored/reserve.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit e5d0c53441d3e4c11d7bf64c48db1c0cf84e1449
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 5 11:12:23 2013 +0200

    Only check runscript dir when we are really executing the script.

 src/lib/runscript.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

commit 34951ea4f24210db3a7bdede20a686dfc05f1b7d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jul 5 10:22:23 2013 +0200

    Fix crash when an unsupported cipher is configured.

 src/filed/crypto.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 754e7155bf55edb258bcc13cd009564662d4deac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jul 4 15:45:31 2013 +0200

    Retry autochanger query for slots
    
    In essence this is a bug in the firmware but it seems there are quite
    some libraries which seem to be affected. We now retry the query one
    more time when we get a zero slots returned.
    
    Fixes #174: "status slots" says "0 slots" the first time after tapes
                were removed. Rerunning "status slots" then is correct.

 src/stored/autochanger.c | 47 ++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 11 deletions(-)

commit 1ac18a648a88e35ca517d45bb3b9a87c21b9aaf4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun Jun 30 13:37:02 2013 +0200

    Switch to new version number.

 README.md                                    |  1 +
 configure                                    | 18 +++++++++---------
 platforms/packaging/bareos-Debian_6.0.dsc    |  2 +-
 platforms/packaging/bareos-xUbuntu_10.04.dsc |  2 +-
 platforms/packaging/bareos-xUbuntu_12.04.dsc |  2 +-
 platforms/packaging/bareos.changes           |  6 ++++++
 platforms/packaging/bareos.spec              |  4 ++--
 platforms/win32/winbareos-nsi.spec           |  2 +-
 platforms/win32/winbareos32.spec             |  2 +-
 platforms/win32/winbareos64.spec             |  2 +-
 src/include/version.h                        | 18 +++++++++---------
 11 files changed, 33 insertions(+), 26 deletions(-)

commit f964f4cb223cde3ffd57fe902bf2b1a77bfef00f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed Jun 26 22:01:57 2013 +0200

    Implement auto inflation/deflation in the storage daemon.
    
    This code implements automatic deflation (compression)
    of data read or written to a device and automatic inflation
    (uncompression) of data written or read from a device.
    
    This allows you to do the following:
    
    - Compress data on the FD send it to SD and write it to the device uncompressed.
    - Send data uncompressed from the FD to the SD and write it to the device compressed.
    - Read compressed data from a device and send it as uncompressed data to the FD.
    - Read uncompressed data from a device and send it as compressed data to the FD.
    
    This is implemented as a SD plugin.
    
    Fixes #187: Implement auto inflation/deflation in storage daemon.

 autoconf/configure.in                           |  12 +-
 configure                                       |  14 +-
 platforms/win32/winbareos32.spec                |   2 +-
 platforms/win32/winbareos64.spec                |   2 +-
 src/filed/compression.c                         |  66 ++-
 src/filed/crypto.c                              |   2 +-
 src/filed/restore.c                             |   2 +-
 src/include/jcr.h                               |   6 +-
 src/lib/compression.c                           | 356 ++++++++----
 src/lib/mem_pool.c                              | 130 +++--
 src/lib/mem_pool.h                              |  12 +-
 src/lib/protos.h                                |   4 +-
 src/plugins/Makefile                            |  26 -
 src/plugins/README                              |  46 --
 src/plugins/dir/Makefile.in                     |  68 ---
 src/plugins/dir/example-plugin-dir.c            | 178 ------
 src/plugins/dir/python-dir.c                    | 237 --------
 src/plugins/dird/Makefile.in                    |  71 +++
 src/plugins/dird/example-plugin-dir.c           | 178 ++++++
 src/plugins/dird/python-dir.c                   | 236 ++++++++
 src/plugins/fd/Makefile.in                      |  84 ---
 src/plugins/fd/bpipe-fd.c                       | 555 ------------------
 src/plugins/fd/example-plugin-fd.c              | 305 ----------
 src/plugins/fd/fd_common.h                      | 134 -----
 src/plugins/fd/python-fd.c                      | 442 ---------------
 src/plugins/fd/test-deltaseq-fd.c               | 462 ---------------
 src/plugins/fd/test-plugin-fd.c                 | 690 ----------------------
 src/plugins/filed/Makefile.in                   |  87 +++
 src/plugins/filed/bpipe-fd.c                    | 555 ++++++++++++++++++
 src/plugins/filed/example-plugin-fd.c           | 305 ++++++++++
 src/plugins/filed/fd_common.h                   | 134 +++++
 src/plugins/filed/python-fd.c                   | 441 ++++++++++++++
 src/plugins/filed/test-deltaseq-fd.c            | 462 +++++++++++++++
 src/plugins/filed/test-plugin-fd.c              | 690 ++++++++++++++++++++++
 src/plugins/sd/Makefile.in                      |  76 ---
 src/plugins/sd/example-plugin-sd.c              | 176 ------
 src/plugins/sd/python-sd.c                      | 262 ---------
 src/plugins/sd/scsicrypto-sd.c                  | 568 ------------------
 src/plugins/stored/Makefile.in                  |  90 +++
 src/plugins/stored/autoxflate-sd.c              | 726 ++++++++++++++++++++++++
 src/plugins/stored/example-plugin-sd.c          | 176 ++++++
 src/plugins/stored/python-sd.c                  | 261 +++++++++
 src/plugins/stored/scsicrypto-sd.c              | 572 +++++++++++++++++++
 src/qt-tray-monitor/bareos-tray-monitor.desktop |  13 -
 src/stored/Makefile.in                          |  45 +-
 src/stored/acquire.c                            |  31 +-
 src/stored/append.c                             |  55 +-
 src/stored/bextract.c                           |   9 +-
 src/stored/dev.h                                |  68 ++-
 src/stored/job.c                                |  15 +-
 src/stored/mac.c                                |  69 +++
 src/stored/ndmp_tape.c                          |  69 ++-
 src/stored/protos.h                             |   5 +-
 src/stored/read.c                               |  10 +-
 src/stored/read_record.c                        |  46 +-
 src/stored/record.c                             | 230 ++++++--
 src/stored/record.h                             |  46 +-
 src/stored/reserve.h                            |   2 +-
 src/stored/sd_plugins.h                         |   7 +-
 src/stored/stored.h                             |   1 +
 src/stored/stored_conf.c                        |  73 +++
 src/stored/stored_conf.h                        |   9 +-
 src/tools/bpluginfo.c                           |   5 +
 src/win32/plugins/Makefile                      |   2 +-
 src/win32/plugins/fd/Makefile                   |  48 --
 src/win32/plugins/fd/bpipe-fd.c                 | 535 -----------------
 src/win32/plugins/filed/Makefile                |  48 ++
 src/win32/plugins/filed/bpipe-fd.c              | 535 +++++++++++++++++
 68 files changed, 6535 insertions(+), 5342 deletions(-)

commit 8ac98a0acb51eea6097ebacf5b2e9a8ba461a6ed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 28 21:02:57 2013 +0200

    Streamline error handling.
    
    When we fail in backup due to a version mismatch on the FD protocol
    or in restore and verify for every failure we close the FD connection
    if we opened that and return from the function. For backup we keep
    the wait_for_job_termination() call as we really need that but as
    we closed the FD connection already when we got a FD protocol version
    mismatch we no longer hang waiting for something to be returned from
    the FD which won't happen when the DIR detects a protocol version
    mismatch.

 src/dird/backup.c  | 27 ++++++++++++++-------------
 src/dird/restore.c | 19 ++++++++++++-------
 src/dird/verify.c  | 11 +++++++++--
 3 files changed, 35 insertions(+), 22 deletions(-)

commit 1740a19dcb05d9646020b8996454817951df8c0e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 28 15:39:16 2013 +0200

    Fix segmentation fault.

 src/dird/backup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0e2dcd5c88ac2def3dbceff09ae12849d771937e
Author: Sebastian Lederer <sebastian.lederer@dass-it.de>
Date:   Fri Jun 28 17:49:12 2013 +0200

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

 platforms/univention/62univention-bareos.inst      |  42 ++
 .../univention/63univention-bareos-uninstall.uinst |  24 ++
 platforms/univention/LICENSE_AGREEMENT             |  17 +
 platforms/univention/bareos.schema                 |  56 +++
 platforms/univention/debian/changelog              | 378 ++++++++++++++++++
 platforms/univention/debian/compat                 |   1 +
 platforms/univention/debian/config                 |  17 +
 platforms/univention/debian/control                |  29 ++
 platforms/univention/debian/files                  |   2 +
 platforms/univention/debian/rules                  |  54 +++
 platforms/univention/debian/substvars              |   1 +
 .../debian/univention-bareos-schema.conffiles      |   0
 .../debian/univention-bareos-schema.dirs           |   1 +
 .../debian/univention-bareos-schema.install        |   1 +
 .../debian/univention-bareos-schema.postinst       |   9 +
 .../debian/univention-bareos-schema.substvars      |   1 +
 .../univention/debian/univention-bareos.conffiles  |   0
 .../univention/debian/univention-bareos.config     |  17 +
 platforms/univention/debian/univention-bareos.dirs |  22 +
 .../univention/debian/univention-bareos.install    |  16 +
 .../univention/debian/univention-bareos.postinst   |  70 ++++
 .../univention/debian/univention-bareos.postrm     |  27 ++
 .../univention/debian/univention-bareos.preinst    |   9 +
 .../univention/debian/univention-bareos.prerm      |  22 +
 .../univention/debian/univention-bareos.substvars  |   1 +
 .../univention-bareos.univention-config-registry   |  35 ++
 ...ion-bareos.univention-config-registry-variables |  41 ++
 .../debian/univention-bareos.univention-service    |  20 +
 platforms/univention/etc/bareos/bareos-dir.conf    | 360 +++++++++++++++++
 platforms/univention/etc/bareos/bareos-fd.conf     |  54 +++
 platforms/univention/etc/bareos/bareos-sd.conf     |  72 ++++
 platforms/univention/etc/bareos/bconsole.conf      |  16 +
 .../8.4/main/pg_hba.conf.d/25-univention-bareos    |   1 +
 platforms/univention/fd-generic.template           |  19 +
 platforms/univention/fd-windows.template           |  23 ++
 platforms/univention/job-generic.template          |  18 +
 platforms/univention/job-windows.template          |  18 +
 platforms/univention/postgres_create.sql           | 442 +++++++++++++++++++++
 platforms/univention/restart_director              |   3 +
 platforms/univention/univention-bareos.cron        |   1 +
 platforms/univention/univention-bareos.ini         |  53 +++
 platforms/univention/univention-bareos.py          | 224 +++++++++++
 42 files changed, 2217 insertions(+)

commit 77c774385655ba2b71611425b6630c55ce85a1a8
Author: xtruthx <daniel.neuberger@dass-it.de>
Date:   Thu Jun 27 16:33:09 2013 +0200

    Added the new product property "auto_config"
    
    With the new product property you can use the new silent parameter to keep configurationsfiles during a deinstallation and a reinstall.
    If it is set on false, opsi doesnt delete the configuration files and doesnt overwrite the old configuration files. The new configuration files will be saved as File.new
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/opsi/CLIENT_DATA/delsub3264.ins    | 33 +---------
 platforms/opsi/CLIENT_DATA/setup3264.ins     | 94 +++++++++-------------------
 platforms/opsi/CLIENT_DATA/uninstall3264.ins | 35 +++++------
 platforms/opsi/OPSI/control                  | 12 ++++
 4 files changed, 56 insertions(+), 118 deletions(-)

commit 8d518892c07d1beed82ee0e5f8650caf0e3ca0c4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 27 16:00:26 2013 +0200

    Remove spurious daemon message on plugin load.
    
    The plugin loading like to be somewhat chatty by issueing
    daemon messages for every plugin loaded. Its more then enough
    to issue this as a debugging message what was already done.

 src/dird/dir_plugins.c  | 1 -
 src/filed/fd_plugins.c  | 1 -
 src/stored/sd_plugins.c | 1 -
 3 files changed, 3 deletions(-)

commit 814392b5a1e4ce3e172e0fda4809053d34eeef38
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 25 23:45:54 2013 +0200

    Plugin framework enhancements.
    
    Up until now the plugins for the fd/sd/dir are loaded semi at
    random by the way they are stored in the plugin directory as
    they are loaded in the order readdir returns the directory entries.
    
    This is NOT how you want it in certain situations so from now on
    you can specify in the fd/sd/dir a new keyword in the generic
    daemon config resource named "plugin names" which is a list
    which is seperated by a ':' and enumerates the plugins that
    should be loaded in what order by a daemon. In this resource
    you can define the following 'plugin names = "python:bpipe"'
    which means in the fd load the following plugins:
    
    - <plugin_dir>/python-fd.so
    - <plugin_dir>/bpipe-fd.so
    
    If you don't specify the plugin names then the old behaviour
    will be used to load all plugins which match the pattern
    *-<daemon>.so
    
    Now we can order the way plugins are loaded there is also a
    new flag to the generate_plugin_event() function which is named
    reverse which is a boolean and if its set the plugins will be
    called in reverse order that they are stored in the plugin list.
    
    Fixes #196: Plugin framework enhancements.

 src/dird/dir_plugins.c   |  61 ++++++---
 src/dird/dir_plugins.h   |   5 +-
 src/dird/dird.c          |   2 +-
 src/dird/dird_conf.c     |   1 +
 src/dird/dird_conf.h     |   5 +-
 src/filed/fd_plugins.c   | 119 +++++++++++-------
 src/filed/fd_plugins.h   |   5 +-
 src/filed/filed.c        |   2 +-
 src/filed/filed_conf.c   |   1 +
 src/filed/filed_conf.h   |   1 +
 src/lib/alist.h          |  40 +++---
 src/lib/plugins.c        | 315 +++++++++++++++++++++++++++++++----------------
 src/lib/plugins.h        |   4 +-
 src/stored/bcopy.c       |   2 +-
 src/stored/bextract.c    |   2 +-
 src/stored/bls.c         |   2 +-
 src/stored/bscan.c       |   2 +-
 src/stored/btape.c       |   2 +-
 src/stored/sd_plugins.c  |  60 ++++++---
 src/stored/sd_plugins.h  |   5 +-
 src/stored/stored.c      |   2 +-
 src/stored/stored_conf.c |   1 +
 src/stored/stored_conf.h |   1 +
 23 files changed, 425 insertions(+), 215 deletions(-)

commit 9a31b830431dc3ec5092082450d9712b385b13e4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Jun 25 16:23:10 2013 +0200

    Added Option to also use SILENTKEEPCONFIG
    
    Now the installer and uninstaller can also use the option
    SILENTKEEPCONFIG to keep existing configurations.
    
    During install, existing configurations are kept and the new one is
    installed as file.NEW.
    
    During uninstall, the existing config files will not be deleted.

 platforms/win32/winbareos.nsi | 47 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 43 insertions(+), 4 deletions(-)

commit 394c65b66e7f13cd698847569be280a2714255b6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 25 11:24:58 2013 +0200

    Fix tree_getpath to work with paths longer then 256 bytes.
    
    We use a temporary POOLMEM buffer for the storage of the full
    PATH but as we were passing that as a pointer not a pointer to
    a pointer when the buffer reaches 256 bytes the check_pool_memory_size
    will allocate a new buffer but as we cannot pass the right new buffer
    back to the calling function we were still using the already freed
    buffer which we pass back to the calling function which then tries
    to free that pointer again which leads to the memory allocator blowing
    up with a double free error.

 src/lib/tree.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit a09b672ab2cf6df83a2cd8f86f9dd80a4bdd176c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 24 16:56:57 2013 +0200

    Interactive path selection can use refactoring
    
    The code in the director which is used to select interactively the files
    to restore needs some cleanup. Currently the cwd (current working
    directory) is stored in a fixed length buffer of sometimes 1100 and
    sometimes 2000 bytes. It would be better to use a POOLMEM buffer
    which can extend to the actual length needed.
    
    Currently you can also not directly mark or unmark a full path as the mark
    and unmark only matches the name using fnmatch against the current working
    directory. This also skips any path information and as the internal storage
    of the tree is per directory node this will never work. A simple fix would
    be to check if the selection pattern is a full path (e.g. has a / in it)
    and then split the selection in a path and file part. Then we can do a
    change directory into the wanted path and then do the same pattern matching
    and restore the working directory after the selection.
    
    Fixes #195: Interactive path selection can use refactoring

 src/dird/ua_tree.c | 508 ++++++++++++++++++++++++++++++++++++++---------------
 src/lib/tree.c     |  39 ++--
 src/lib/tree.h     |   2 +-
 3 files changed, 392 insertions(+), 157 deletions(-)

commit 9956f672275f3bfa7979713578ffcdb3e9436eca
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu Jun 20 19:54:23 2013 +0200

    Restore of encrypted data fails when not all files are created.
    
    We should check if a file is actually extracted when checking
    if we encounter an unexpected STREAM_ENCRYPTED_SESSION_DATA.
    The rctx.cs is setup by a call to crypto_session_decode()
    and that session lingers until its teared down by
    close_previous_stream() but that only occurs when the next
    file is actually extracted. So if we extract one encrypted
    file and not the one after that the rctx.cs will not be cleared
    until we hit the next extracted file or the end of the restore.
    So we should only handle the session at all when we extract
    the file as otherwise it makes absolutely no sense to even
    consider the encrypted session data stream at all as we will
    be skipping the file extract anyway and skip all encrypted data
    blocks.
    
    Fixes #192: Restore of PKI encrypted data fails if some of the files
                should not be replaced

 src/filed/restore.c | 114 ++++++++++++++++++++++++++--------------------------
 1 file changed, 58 insertions(+), 56 deletions(-)

commit 12d8cb7d94b8f740323fc04b607c40be4190faa5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat Jun 22 11:52:07 2013 +0200

    Fix windows rc files.
    
    - Add the right copyright info.
    - Generate the rc files with the right version info at build time.

 src/win32/Makefile                      | 20 +++++++++++++++++++-
 src/win32/console/consoleres.rc         | 26 --------------------------
 src/win32/console/consoleres.rc.in      | 32 ++++++++++++++++++++++++++++++++
 src/win32/filed/filedres.rc             | 26 --------------------------
 src/win32/filed/filedres.rc.in          | 26 ++++++++++++++++++++++++++
 src/win32/qt-console/batres.rc          | 26 --------------------------
 src/win32/qt-console/batres.rc.in       | 32 ++++++++++++++++++++++++++++++++
 src/win32/qt-tray-monitor/traymon.rc    | 26 --------------------------
 src/win32/qt-tray-monitor/traymon.rc.in | 32 ++++++++++++++++++++++++++++++++
 9 files changed, 141 insertions(+), 105 deletions(-)

commit dba9319ff247cb5d62313b73d06f7bc8ff40e150
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri Jun 21 13:59:37 2013 +0200

    Tweak text.
    
    - Loose some copyright claims.
    - Drop unused patch files
    - Loose any references to Kern or Kern Sibbald in relation to bareos.

 src/cats/create_sqlite3_database.in.patch | 10 ----------
 src/cats/grant_mysql_privileges.patch     | 13 -------------
 src/cats/make_catalog_backup.in.patch     | 12 ------------
 src/cats/make_sqlite3_tables.in.patch     | 11 -----------
 src/lib/tree.c                            | 10 +++++-----
 src/plugins/fd/test-plugin-fd.c           |  2 +-
 src/tests/bbatch.c                        |  2 --
 src/tests/cats_test.c                     |  2 --
 src/tests/testls.c                        |  2 --
 9 files changed, 6 insertions(+), 58 deletions(-)

commit 698e0bf9a38aee19eaecb7bc04e36a0eb1ec6991
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 18 10:02:14 2013 +0200

    Move include files to right directory.

 src/win32/compat/alloca.h              | 0
 src/win32/compat/arpa/inet.h           | 0
 src/win32/compat/dirent.h              | 0
 src/win32/compat/grp.h                 | 0
 src/win32/compat/include/alloca.h      | 0
 src/win32/compat/include/arpa/inet.h   | 0
 src/win32/compat/include/dirent.h      | 0
 src/win32/compat/include/grp.h         | 0
 src/win32/compat/include/netdb.h       | 0
 src/win32/compat/include/netinet/in.h  | 0
 src/win32/compat/include/netinet/tcp.h | 0
 src/win32/compat/include/pwd.h         | 0
 src/win32/compat/include/strings.h     | 0
 src/win32/compat/include/sys/socket.h  | 0
 src/win32/compat/include/sys/time.h    | 0
 src/win32/compat/include/sys/wait.h    | 0
 src/win32/compat/netdb.h               | 0
 src/win32/compat/netinet/in.h          | 0
 src/win32/compat/netinet/tcp.h         | 0
 src/win32/compat/pwd.h                 | 0
 src/win32/compat/strings.h             | 0
 src/win32/compat/sys/socket.h          | 0
 src/win32/compat/sys/time.h            | 0
 src/win32/compat/sys/wait.h            | 0
 24 files changed, 0 insertions(+), 0 deletions(-)

commit 5f71487aebbc697b8c968bc102775e31fc01ccdd
Author: xtruthx <daniel.neuberger@dass-it.de>
Date:   Fri Jun 14 16:01:27 2013 +0200

    Bugfixes in the uninstall and install scripts
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/opsi/CLIENT_DATA/delsub3264.ins |   4 ++--
 platforms/opsi/CLIENT_DATA/logo.png       | Bin 5219 -> 5740 bytes
 platforms/opsi/CLIENT_DATA/setup3264.ins  |  32 +++++++++++++++---------------
 3 files changed, 18 insertions(+), 18 deletions(-)

commit e8cb410340e3517a01ad9831de5f91e73e3b6fd2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 11 22:20:37 2013 +0200

    Fix some compiler warnings and fix windows build.

 src/lib/md5.c               |  2 +-
 src/lib/var.c               |  2 +-
 src/win32/filed/Makefile    |  3 +--
 src/win32/filed/filedres.rc |  4 ++--
 src/win32/lib/Makefile      | 23 +++++++++++++----------
 5 files changed, 18 insertions(+), 16 deletions(-)

commit e5cdb0be8b4c98989bd2e9068e65b92e9f182690
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 16 18:43:18 2013 +0200

    Add missing bareos-fd cmdline flags.

 manpages/bareos-fd.8 | 6 ++++++
 1 file changed, 6 insertions(+)

commit a7caa7f18abd421b62ed876581247186bf02be01
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 16 17:17:57 2013 +0200

    Import external changes for manpages and unused flags.

 manpages/bareos-dir.8 | 3 +++
 manpages/bareos-fd.8  | 6 +++---
 manpages/bareos-sd.8  | 3 +++
 manpages/bconsole.8   | 9 +++++++++
 manpages/btape.8      | 3 ---
 src/console/console.c | 2 +-
 6 files changed, 19 insertions(+), 7 deletions(-)

commit aa2496c6b0b60db36f3b17fd6939e510e1da0456
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 10 16:07:59 2013 +0200

    Tweak branch naming.

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f941f03f0e99a0fc333513eee825f2fa761b9f17
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 10 16:03:00 2013 +0200

    Tweak README.md for new branches.

 README.md | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit f7a0bda60d6a123c4de395968b7da38ad929a28f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 11 19:41:08 2013 +0200

    Implement NDMP enhancements.
    
    Currently we only allow all or nothing restores for the NDMP backup and restore.
    
    This code implements the first set of changes needed to perform filelevel
    based restore of NDMP backups.
    
    The following things are implemented:
    
    - Store the FHDB NDMP data into the backup catalog.
    - Allow the user to select the info on restore
    - Pass the file selection from the NDMP DMA to the NDMP data agent so
      it knows what to restore.
    
    As we currently don't allow seeks on the NDMP stream with the NDMP tape agent
    implemented in the Bareos Storage Daemon we cannot add the so called DAR
    (Direct Access Recovery) but as part of this storing of the FHDB information
    in the backup catalog we should store the DAR offset too so when we either
    support native NDMP tape agents (currently not implemented) or when the Bareos
    Storage Daemon allows seeking in the NDMP stream we have that information.
    
    This code works when using the restore functions in bconsole. Restores via
    the BVFS method currently don't work and need more work. This means that restores
    via BAT don't work as that uses BVFS.
    
    Fixes #188: Implement NDMP enhancements.

 src/cats/sql_get.c     |   2 +-
 src/dird/bsr.c         |  76 +++--
 src/dird/catreq.c      | 175 +++++-----
 src/dird/ndmp_dma.c    | 863 ++++++++++++++++++++++++++++++++++++++++---------
 src/dird/ua_label.c    |  13 +-
 src/lib/tree.c         | 137 +++++---
 src/lib/tree.h         |  26 +-
 src/ndmp/ndmlib.h      |   2 +-
 src/stored/ndmp_tape.c |  78 ++---
 9 files changed, 1028 insertions(+), 344 deletions(-)

commit c816eb66a8fdf4330944005008b01bc8dec9715f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Jun 4 17:18:40 2013 +0200

    Fix some logic errors in NDMP backup and restore.
    
    We still have a problem when you restore two NDMP streams
    part of one backup. The solution for now is to first restore
    the first full backup and then the second one.

 src/dird/ndmp_dma.c  | 34 +++++++++++++++++++++++++++++-----
 src/stored/dir_cmd.c |  2 +-
 2 files changed, 30 insertions(+), 6 deletions(-)

commit f040d5cc7153e21b717397cc4484ffe663966e65
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Tue Jun 4 13:45:25 2013 +0200

    Corrected case of Job table name
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_run.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit aa1a847019345dd9477115762385201bc1c10c9e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon Jun 17 13:10:15 2013 +0200

    Tweak copyright and some text.

 src/include/bc_types.h    | 4 +++-
 src/lib/address_conf.h    | 2 --
 src/lib/attr.c            | 2 --
 src/lib/htable.c          | 2 --
 src/lib/md5.h             | 2 --
 src/lib/rblist.c          | 2 --
 src/lib/runscript.c       | 2 --
 src/lib/runscript.h       | 2 --
 src/lib/rwlock.c          | 2 --
 src/lib/rwlock.h          | 2 --
 src/stored/stored.conf.in | 5 ++---
 11 files changed, 5 insertions(+), 22 deletions(-)

commit 3d0c1d108f4f997cb40e3e415feef361b55f71d0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 26 14:16:58 2013 +0200

    Cleanup possible due to abstracting compression code.
    
    Now that the compression code is mostly in the shared library we no
    longer need to include zlib headers etc all over the place as all
    code accessing any compression specific interface is abstracted now we
    can cleanup the header files and the Makefiles. This way we also don't
    leak to many global stuff into our namespace which will never be used
    anyway.

 src/filed/compression.c | 4 ++++
 src/filed/filed.h       | 5 -----
 src/stored/Makefile.in  | 6 ------
 src/stored/bextract.c   | 9 ---------
 src/stored/stored.h     | 5 -----
 5 files changed, 4 insertions(+), 25 deletions(-)

commit 5dab02c72964e854c08e47b1c7eab4481e1708a7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 25 16:44:21 2013 +0200

    Rebuild configure.

 configure | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

commit b7d9d6ace9cc31ae78e471e92442dd211d0fecea
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 25 16:33:15 2013 +0200

    Don't needlessly link binaries to compression libs.
    
    When we link the compression libaries into the shared library
    we no longer need to link the binaries against them when we
    use dynamic linking. When you want static linking then you do
    need to specify the compress libraries needed also for the
    binary as it copies the object code into your binary.

 autoconf/configure.in  | 22 ++++++++++++++++++++++
 src/filed/Makefile.in  |  6 +++---
 src/stored/Makefile.in |  6 +++---
 3 files changed, 28 insertions(+), 6 deletions(-)

commit 7cf2c75ff71b69fef78b5ea8a38fdaf591f83056
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 15 10:49:12 2013 +0200

    Make compression context part of generic JCR.

 src/filed/backup.c      |  51 ++--
 src/filed/compression.c | 690 +++----------------------------------------
 src/filed/crypto.c      |   2 +-
 src/filed/protos.h      |   2 -
 src/filed/restore.c     |  10 +-
 src/filed/verify_vol.c  |   9 +-
 src/include/jcr.h       |  30 +-
 src/lib/Makefile.in     |  31 +-
 src/lib/compression.c   | 757 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/lib/protos.h        |  12 +
 src/stored/bextract.c   | 300 ++-----------------
 11 files changed, 905 insertions(+), 989 deletions(-)

commit 2a70130f93379f8699a673a3168e56a3dca14598
Author: Christer Fletcher <git@fletcher.se>
Date:   Fri May 24 15:28:37 2013 +0200

    Add running jobs scheduled time in director status
    
    When a job fails and 'Reschedule On Error' is set to yes the job
    would be rescheduled. Now when checking status of director with
    bconsole it also shows what time it was rescheduled to.

 src/dird/ua_status.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit 0cfa2c93d427e202d01ee8c440cebe574d7a78af
Author: Daniel Neuberger <daniel.neuberger@bareos.com>
Date:   Thu May 23 13:13:14 2013 +0200

    Show a % when a volume is loaded in a drive.
    
    For a status slots print a % when the volume is loaded into
    a drive.
    
    So now we have:
    
    '@' - import export slot
    '*' - data in backup catalog doesn't match
    '%' - volume is loaded into a drive.
    ' ' - nothing special with volume just in slot and catalog info matches.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_status.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit b3d2a7a6aac190c0ad9fd21766aab3a343401799
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Mon May 20 16:03:40 2013 +0200

    Add the aliases for mark and unmark to the tab expansion.

 src/console/console.c | 2 ++
 1 file changed, 2 insertions(+)

commit 5232d0065fedf74b81d8c0f04ee367e33a992c01
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 15 16:24:28 2013 +0200

    Number of subscriptions can be checked
    
    The number of subscribed clients can be set in
    the director ressource, e.g.
    
    Subscriptions = 2
    
    When the number of clients is bigger than the
    configured limit, each job gets the following
    message:
    
    JobId 7: Warning: Subscriptions exceeded: (used/total) (3/2)
    
    Also, the status of the subscriptions can be checked via
    * status subscriptions
    Warning! No available subscriptions: -1 (3/2) (used/total)
    
    Nothing else than the warning is issued, no enforcement on
    backup, restore or any other operation will happen.
    
    Fixes #152: report if number of subscribed clients is exceeded.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/dird.c      |  8 ++++++++
 src/dird/dird_conf.c | 12 +++++++++---
 src/dird/dird_conf.h |  2 ++
 src/dird/job.c       |  9 +++++++++
 src/dird/ua_cmds.c   |  3 ++-
 src/dird/ua_status.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 78 insertions(+), 6 deletions(-)

commit a30603d399bd20a15038a432b0ba5c559084bcef
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 15 18:57:48 2013 +0200

    Fix problem with fastlz compression.

 src/filed/restore.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 6a8dfeb1ac17a5b9fb3f1e66492d3bb293f1fca4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 15 12:01:07 2013 +0200

    Added btrfs to disk-only default config
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 1 +
 1 file changed, 1 insertion(+)

commit 581a47354a117e1624d12142d48ac9d7a95477c7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 15 11:19:05 2013 +0200

    Fix typo in NDMPlevelmap table definition.

 src/cats/make_mysql_tables.in        | 2 +-
 src/cats/make_postgresql_tables.in   | 2 +-
 src/cats/update_mysql_tables.in      | 2 +-
 src/cats/update_postgresql_tables.in | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit 930881f5b4922f4fdb16395c86ab42c93671d162
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 15 10:57:33 2013 +0200

    Add missing storage daemon config needed for NDMP.

 README.NDMP | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit aea9cd1b3a8b105caec24208eaf6b5e0075531b4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 12 22:56:24 2013 +0200

    Add debian 7 support.

 platforms/packaging/bareos-Debian_7.0.dsc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit caf027287f6cda99f9a9e4c39b8035cf4aac76a6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 11 20:56:11 2013 +0200

    Implement delayed restore in bextract for acl and xattr.
    
    Just as in the filed we need to extract the ACL and XATTR data streams
    after we have restore the file mode on the file otherwise the setting
    of the file mode could clear any acl or extended attributes.
    
    Fixes #177:  Restore of acls and extended attributes in bextract needs
                 to happen after restore file mode.

 src/filed/restore.c   |  54 ++++++++--------
 src/filed/restore.h   |   2 +-
 src/stored/bextract.c | 174 ++++++++++++++++++++++++++++++++++++++++++++------
 src/stored/record.h   |   6 ++
 4 files changed, 189 insertions(+), 47 deletions(-)

commit 08c98a994ece7fd67c657d501d1eb663053bd911
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 10 16:58:48 2013 +0200

    Tweak configs.
    
    - No Rewind On Close is now default.
    - Use default port strings where possible for DIR/SD/FD
    - Set code always to 0 not 1 for store_bool items.

 src/console/console_conf.c        |  2 +-
 src/qt-console/bat_conf.cpp       |  2 +-
 src/qt-tray-monitor/tray_conf.cpp | 14 +++++++-------
 src/stored/stored_conf.c          |  8 ++++----
 4 files changed, 13 insertions(+), 13 deletions(-)

commit 576063a96f11b4d33b2ae8516b2215528a8d8ba4
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 10 11:09:18 2013 +0200

    time command shows also the weekday
    
    Fixes 172: time command should also show weekday
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 491390b71d4cc9a08c4567d8085727711ebdb933
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Fri May 10 09:20:39 2013 +0200

    Tweak comments and return value.

 src/dird/ua_run.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 697e6ffa9885998ebe28b3e35ae8834e9e0f5339
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 9 09:53:43 2013 +0200

    Rerun command can rerun multiple failed jobs
    
    We can now automatically choose multiple failed jobs
    for rerunning.
    
    The selection of the failed jobs to rerun are:
    
    - Timeframe in which the failed jobs were scheduled
      -> specify "days=" or "hours="
    
    - Jobs newer than a certain jobid (the given jobid is included)
      -> specifying "since_jobid"
    
    Fixes #168 : Enhance rerun command to be able to restart all failed jobs from last n days
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/console/console.c | 129 ++++++++++++++++++++-------------------
 src/dird/ua_cmds.c    |   4 +-
 src/dird/ua_run.c     | 164 ++++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 210 insertions(+), 87 deletions(-)

commit 6d99a2ba0e8e10dc83ec78bb90a6fc0b36003fbd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Thu May 9 08:54:56 2013 +0200

    Fix crash.

 src/dird/ua_prune.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0967841f91866dda5e4baa3ce2d9cc178cb357e2
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Wed May 8 13:20:24 2013 +0200

    Installer finish page can open www.bareos.com
    
    Now the Installer in interactive mode offers to open
    www.bareos.com.
    
    This can be deactivated via checkbox.
    
    Fixes #163: add link to bareos.com to installer
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit af00299d0a23e2cac4706c544acef33ed73cf949
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Wed May 8 11:12:02 2013 +0200

    Allow to specify jobtype=<jobtype> for prune jobs.

 src/dird/ua_cmds.c  |  2 +-
 src/dird/ua_prune.c | 23 ++++++++++++++++-------
 2 files changed, 17 insertions(+), 8 deletions(-)

commit 43c93248e81260dd6365e64e254ca357551868a0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue May 7 14:57:15 2013 +0200

    Tweak pruning code.
    
    - Fix prune code layout
    - All console commands are now called xxx_cmd not xxxcmd
    - Add ability to prune a directory from the online meta data.
    - Add ability to select the JobType when pruning Jobs. (Old TODO).

 src/dird/protos.h    |   7 +-
 src/dird/ua_cmds.c   |  23 +++--
 src/dird/ua_input.c  |   2 +-
 src/dird/ua_output.c |   4 +-
 src/dird/ua_prune.c  | 269 +++++++++++++++++++++++++++++++++++++++++++--------
 src/dird/ua_purge.c  |  10 +-
 src/dird/ua_query.c  |   4 +-
 src/dird/ua_server.c |   2 +-
 8 files changed, 252 insertions(+), 69 deletions(-)

commit d5e417479cb5d95e328da55537c54321cd9c4c5d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 30 13:22:50 2013 +0200

    Split storage package into two
    
    - Split off the tape specific stuff into a bareos-storage-tape package.
    
    This limits the number of packages that we depend on and only when
    the user really want to backup to tape with his storage daemon he can
    install this.

 debian/bareos-storage-tape.install |  4 ++++
 debian/bareos-storage.install      |  4 ----
 debian/control                     | 24 +++++++++++++++++++++---
 platforms/packaging/bareos.spec    | 28 ++++++++++++++++++++++------
 4 files changed, 47 insertions(+), 13 deletions(-)

commit 16074f8ba583b8abbd1591e57a47e419147503c3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Thu May 2 16:04:38 2013 +0200

    Status scheduler support also view in the past
    
    Now we also can give negative days to the
    "status scheduler" command thus see what
    schedules were triggered in the past

 src/dird/ua_status.c | 68 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 51 insertions(+), 17 deletions(-)

commit 055ac3a712f176ec6bc1092034bed4333e31c183
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 30 16:27:25 2013 +0200

    Tweak status scheduler output to cope with locales.
    
    The %a and %b are locale specific strings which vary in lenght on each
    locale. So we now keep track of the longest date string so we can align
    the header right. For this to work we print everything into a temporary
    buffer and keep track of the length and dump the whole output in one go
    with the correct header spacing.

 src/dird/ua_status.c | 102 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 76 insertions(+), 26 deletions(-)

commit ff0e931de290fd89e14679566833993d4438b659
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Mon May 6 15:18:02 2013 +0200

    Runentry Pool Override Precedence fixed
    
    A Pool override in a run entry has precedence over
    Pool Level overrides in the job run.
    
    If a Pool Level override is given, the Pool Level overrides
    are used.
    
    Fixes #169: Pool Overrides are overriden by "Full Backup Pool" Directive
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/job.c    | 84 ++++++++++++++++++++++++++++--------------------
 src/dird/ua_run.c | 96 ++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 112 insertions(+), 68 deletions(-)

commit 77401444efbf8b3c312f556d90181072ad5dfd5c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Fri May 3 21:31:01 2013 +0200

    Update of Readme.md file
    
    Updates of build platforms, traymon and typos

 README.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit cc943d090a63854dab3341dfb84df58e5e7e0359
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sun May 5 10:04:59 2013 +0200

    Fix problems due to replaying history to do new fork.

 README.md                                       |   2 ++
 examples/vm/vmbacula.tgz                        | Bin 122401 -> 0 bytes
 platforms/win32/bareos.ico                      | Bin 0 -> 124662 bytes
 scripts/bacula.png                              | Bin 2983 -> 0 bytes
 src/images/0p.png                               | Bin 0 -> 240 bytes
 src/images/16p.png                              | Bin 0 -> 252 bytes
 src/images/32p.png                              | Bin 0 -> 257 bytes
 src/images/48p.png                              | Bin 0 -> 261 bytes
 src/images/64p.png                              | Bin 0 -> 261 bytes
 src/images/80p.png                              | Bin 0 -> 262 bytes
 src/images/96p.png                              | Bin 0 -> 240 bytes
 src/images/A.png                                | Bin 0 -> 1379 bytes
 src/images/R.png                                | Bin 0 -> 1094 bytes
 src/images/T.png                                | Bin 0 -> 672 bytes
 src/images/W.png                                | Bin 0 -> 1077 bytes
 src/images/applications-graphics.png            | Bin 0 -> 1668 bytes
 src/images/backup.png                           | Bin 0 -> 1651 bytes
 src/images/bareos_1.png                         | Bin 0 -> 5740 bytes
 src/images/bareos_2.png                         | Bin 0 -> 5783 bytes
 src/images/bat.png                              | Bin 0 -> 5740 bytes
 src/images/browse.png                           | Bin 0 -> 3472 bytes
 src/images/cartridge-edit.png                   | Bin 0 -> 788 bytes
 src/images/cartridge.png                        | Bin 0 -> 698 bytes
 src/images/check.png                            | Bin 0 -> 551 bytes
 src/images/connected.png                        | Bin 0 -> 547 bytes
 src/images/copy.png                             | Bin 0 -> 1339 bytes
 src/images/cut.png                              | Bin 0 -> 1323 bytes
 src/images/disconnected.png                     | Bin 0 -> 640 bytes
 src/images/edit-cut.png                         | Bin 0 -> 807 bytes
 src/images/edit-delete.png                      | Bin 0 -> 821 bytes
 src/images/edit.png                             | Bin 0 -> 1092 bytes
 src/images/emblem-system.png                    | Bin 0 -> 4050 bytes
 src/images/estimate-job.png                     | Bin 0 -> 2049 bytes
 src/images/extern.png                           | Bin 0 -> 901 bytes
 src/images/f.png                                | Bin 0 -> 1379 bytes
 src/images/folder.png                           | Bin 0 -> 551 bytes
 src/images/folderbothchecked.png                | Bin 0 -> 758 bytes
 src/images/folderchecked.png                    | Bin 0 -> 709 bytes
 src/images/folderunchecked.png                  | Bin 0 -> 692 bytes
 src/images/go-down.png                          | Bin 0 -> 683 bytes
 src/images/go-jump.png                          | Bin 0 -> 1491 bytes
 src/images/go-up.png                            | Bin 0 -> 652 bytes
 src/images/graph1.png                           | Bin 0 -> 1853 bytes
 src/images/help-browser.png                     | Bin 0 -> 862 bytes
 src/images/home.png                             | Bin 0 -> 1781 bytes
 src/images/inflag0.png                          | Bin 0 -> 847 bytes
 src/images/inflag1.png                          | Bin 0 -> 806 bytes
 src/images/inflag2.png                          | Bin 0 -> 859 bytes
 src/images/intern.png                           | Bin 0 -> 1079 bytes
 src/images/joblog.png                           | Bin 0 -> 2369 bytes
 src/images/label.png                            | Bin 0 -> 1291 bytes
 src/images/mail-message-new.png                 | Bin 0 -> 1744 bytes
 src/images/mail-message-pending.png             | Bin 0 -> 1772 bytes
 src/images/mark.png                             | Bin 0 -> 452 bytes
 src/images/network-server.png                   | Bin 0 -> 486 bytes
 src/images/new.png                              | Bin 0 -> 852 bytes
 src/images/next.png                             | Bin 0 -> 1646 bytes
 src/images/open.png                             | Bin 0 -> 2073 bytes
 src/images/package-x-generic.png                | Bin 0 -> 1270 bytes
 src/images/page-next.gif                        | Bin 0 -> 875 bytes
 src/images/page-prev.gif                        | Bin 0 -> 879 bytes
 src/images/paste.png                            | Bin 0 -> 1745 bytes
 src/images/prev.png                             | Bin 0 -> 1605 bytes
 src/images/print.png                            | Bin 0 -> 1732 bytes
 src/images/purge.png                            | Bin 0 -> 1308 bytes
 src/images/restore.png                          | Bin 0 -> 1352 bytes
 src/images/run.png                              | Bin 0 -> 2296 bytes
 src/images/runit.png                            | Bin 0 -> 36022 bytes
 src/images/save.png                             | Bin 0 -> 1187 bytes
 src/images/server.png                           | Bin 0 -> 2618 bytes
 src/images/status-console.png                   | Bin 0 -> 1960 bytes
 src/images/status.png                           | Bin 0 -> 952 bytes
 src/images/system-file-manager.png              | Bin 0 -> 540 bytes
 src/images/unchecked.png                        | Bin 0 -> 461 bytes
 src/images/undo.png                             | Bin 0 -> 1768 bytes
 src/images/unmark.png                           | Bin 0 -> 387 bytes
 src/images/up.png                               | Bin 0 -> 1579 bytes
 src/images/utilities-terminal.png               | Bin 0 -> 731 bytes
 src/images/view-refresh.png                     | Bin 0 -> 3548 bytes
 src/images/weather-severe-alert.png             | Bin 0 -> 783 bytes
 src/images/zoom.png                             | Bin 0 -> 1099 bytes
 src/qt-console/images/0p.png                    | Bin 240 -> 0 bytes
 src/qt-console/images/16p.png                   | Bin 252 -> 0 bytes
 src/qt-console/images/32p.png                   | Bin 257 -> 0 bytes
 src/qt-console/images/48p.png                   | Bin 261 -> 0 bytes
 src/qt-console/images/64p.png                   | Bin 261 -> 0 bytes
 src/qt-console/images/80p.png                   | Bin 262 -> 0 bytes
 src/qt-console/images/96p.png                   | Bin 240 -> 0 bytes
 src/qt-console/images/A.png                     | Bin 1379 -> 0 bytes
 src/qt-console/images/R.png                     | Bin 1094 -> 0 bytes
 src/qt-console/images/T.png                     | Bin 672 -> 0 bytes
 src/qt-console/images/W.png                     | Bin 1077 -> 0 bytes
 src/qt-console/images/applications-graphics.png | Bin 1668 -> 0 bytes
 src/qt-console/images/backup.png                | Bin 1651 -> 0 bytes
 src/qt-console/images/bat.png                   | Bin 96268 -> 0 bytes
 src/qt-console/images/bat_icon.icns             | Bin 125067 -> 0 bytes
 src/qt-console/images/bat_icon.png              | Bin 5054 -> 0 bytes
 src/qt-console/images/browse.png                | Bin 3472 -> 0 bytes
 src/qt-console/images/cartridge-edit.png        | Bin 788 -> 0 bytes
 src/qt-console/images/cartridge.png             | Bin 698 -> 0 bytes
 src/qt-console/images/cartridge1.png            | Bin 1138 -> 0 bytes
 src/qt-console/images/check.png                 | Bin 551 -> 0 bytes
 src/qt-console/images/connected.png             | Bin 547 -> 0 bytes
 src/qt-console/images/copy.png                  | Bin 1339 -> 0 bytes
 src/qt-console/images/cut.png                   | Bin 1323 -> 0 bytes
 src/qt-console/images/disconnected.png          | Bin 640 -> 0 bytes
 src/qt-console/images/edit-cut.png              | Bin 807 -> 0 bytes
 src/qt-console/images/edit-delete.png           | Bin 821 -> 0 bytes
 src/qt-console/images/edit.png                  | Bin 1092 -> 0 bytes
 src/qt-console/images/emblem-system.png         | Bin 4050 -> 0 bytes
 src/qt-console/images/estimate-job.png          | Bin 2049 -> 0 bytes
 src/qt-console/images/extern.png                | Bin 901 -> 0 bytes
 src/qt-console/images/f.png                     | Bin 1379 -> 0 bytes
 src/qt-console/images/folder.png                | Bin 551 -> 0 bytes
 src/qt-console/images/folderbothchecked.png     | Bin 758 -> 0 bytes
 src/qt-console/images/folderchecked.png         | Bin 709 -> 0 bytes
 src/qt-console/images/folderunchecked.png       | Bin 692 -> 0 bytes
 src/qt-console/images/go-down.png               | Bin 683 -> 0 bytes
 src/qt-console/images/go-jump.png               | Bin 1491 -> 0 bytes
 src/qt-console/images/go-up.png                 | Bin 652 -> 0 bytes
 src/qt-console/images/graph1.png                | Bin 1853 -> 0 bytes
 src/qt-console/images/help-browser.png          | Bin 862 -> 0 bytes
 src/qt-console/images/home.png                  | Bin 1781 -> 0 bytes
 src/qt-console/images/inflag0.png               | Bin 847 -> 0 bytes
 src/qt-console/images/inflag1.png               | Bin 806 -> 0 bytes
 src/qt-console/images/inflag2.png               | Bin 859 -> 0 bytes
 src/qt-console/images/intern.png                | Bin 1079 -> 0 bytes
 src/qt-console/images/joblog.png                | Bin 2369 -> 0 bytes
 src/qt-console/images/label.png                 | Bin 1291 -> 0 bytes
 src/qt-console/images/mail-message-new.png      | Bin 1744 -> 0 bytes
 src/qt-console/images/mail-message-pending.png  | Bin 1772 -> 0 bytes
 src/qt-console/images/mark.png                  | Bin 452 -> 0 bytes
 src/qt-console/images/network-server.png        | Bin 486 -> 0 bytes
 src/qt-console/images/new.png                   | Bin 852 -> 0 bytes
 src/qt-console/images/next.png                  | Bin 1646 -> 0 bytes
 src/qt-console/images/open.png                  | Bin 2073 -> 0 bytes
 src/qt-console/images/package-x-generic.png     | Bin 1270 -> 0 bytes
 src/qt-console/images/page-next.gif             | Bin 875 -> 0 bytes
 src/qt-console/images/page-prev.gif             | Bin 879 -> 0 bytes
 src/qt-console/images/paste.png                 | Bin 1745 -> 0 bytes
 src/qt-console/images/prev.png                  | Bin 1605 -> 0 bytes
 src/qt-console/images/print.png                 | Bin 1732 -> 0 bytes
 src/qt-console/images/purge.png                 | Bin 1308 -> 0 bytes
 src/qt-console/images/restore.png               | Bin 1352 -> 0 bytes
 src/qt-console/images/run.png                   | Bin 2296 -> 0 bytes
 src/qt-console/images/runit.png                 | Bin 36022 -> 0 bytes
 src/qt-console/images/save.png                  | Bin 1187 -> 0 bytes
 src/qt-console/images/server.png                | Bin 2618 -> 0 bytes
 src/qt-console/images/status-console.png        | Bin 1960 -> 0 bytes
 src/qt-console/images/status.png                | Bin 952 -> 0 bytes
 src/qt-console/images/system-file-manager.png   | Bin 540 -> 0 bytes
 src/qt-console/images/unchecked.png             | Bin 461 -> 0 bytes
 src/qt-console/images/undo.png                  | Bin 1768 -> 0 bytes
 src/qt-console/images/unmark.png                | Bin 387 -> 0 bytes
 src/qt-console/images/up.png                    | Bin 1579 -> 0 bytes
 src/qt-console/images/utilities-terminal.png    | Bin 731 -> 0 bytes
 src/qt-console/images/view-refresh.png          | Bin 3548 -> 0 bytes
 src/qt-console/images/weather-severe-alert.png  | Bin 783 -> 0 bytes
 src/qt-console/images/zoom.png                  | Bin 1099 -> 0 bytes
 src/qt-tray-monitor/authenticate.cpp            |   6 +++---
 src/stored/dev.c                                |   2 +-
 src/stored/device.c                             |   2 +-
 src/stored/mount.c                              |   2 +-
 src/win32/full_win32_installer/bacula-logo.bmp  | Bin 26046 -> 0 bytes
 src/win32/libwin32/bacula.bmp                   | Bin 3126 -> 0 bytes
 src/win32/libwin32/bacula.ico                   | Bin 766 -> 0 bytes
 src/win32/libwin32/error.ico                    | Bin 766 -> 0 bytes
 src/win32/libwin32/idle.ico                     | Bin 766 -> 0 bytes
 src/win32/libwin32/running.ico                  | Bin 766 -> 0 bytes
 src/win32/libwin32/saving.ico                   | Bin 766 -> 0 bytes
 src/win32/libwin32/warn.ico                     | Bin 766 -> 0 bytes
 src/win32/win32_installer/bacula-logo.bmp       | Bin 26046 -> 0 bytes
 src/win32/win64_installer/bacula-logo.bmp       | Bin 26046 -> 0 bytes
 173 files changed, 8 insertions(+), 6 deletions(-)

commit fe8e562b279078c914caa045243f272f33f7d989
Author: Frank Ueberschar <frank@ueberschar.de>
Date:   Sat May 4 21:27:11 2013 +0200

    If during a backup the filedaemon dies the TrayIcon remains blinking
    
    Solution: If the "status" command fails to execute disable the animated icon.
    
    Fixes #165:  If during a backup the filedaemon dies the TrayIcon remains blinking
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/qt-tray-monitor/monitoritem.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 416d651fcfd35fa3697e3c29729998d27922a9fc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:27:09 2013 +0200

    Tweaks.
    
    Remove unused variable and only print newline when we realy printed
    a triggered line.

 src/dird/ua_status.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 9ead62975461218392dc208c8e7eff34ad8a87e7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:27:06 2013 +0200

    Status scheduler now shows disabled jobs
    
    We now only display the Level= if a level really
    is set in the run entry.
    
    Also, we now print the year in the preview.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/ua_status.c | 14 ++++++++++----
 src/lib/btime.c      |  2 +-
 2 files changed, 11 insertions(+), 5 deletions(-)

commit eb74dd1ea447cca5348980cce85628503d2ddd51
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:26:55 2013 +0200

    status scheduler extra features.
    
    - Added support for selecting status scheduler when only the status
      keyword is given.
    - Allow so see the scheduler preview for a certain client by giving
      a client=<clientname> as cmdline option.
    - Allow to see the scheduler preview for a certain job by giving
      a job=<jobname> as cmdline option.
    
    Fixes #14: Implement a scheduler preview for up to one year.

 src/dird/ua_cmds.c   |   4 +-
 src/dird/ua_status.c | 250 ++++++++++++++++++++++++++++++++++-----------------
 2 files changed, 168 insertions(+), 86 deletions(-)

commit 0eac8951c913a6038e2ddd96e8a3fe6024081735
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:26:11 2013 +0200

    Added scheduler preview
    
    The new command "status scheduler" shows the status
    of the bareos scheduler.
    The output first shows what schedule triggers what
    jobs, then the scheduler executions of the next
    14 days are displayed including the overrides.
    
    By giving the param "schedule=" the display can
    be limited to a certain schedule and by giving
    "days=" the timeframe for the preview can be
    set.
    
    Also, the dotcmd schedule was added, so that the
    tab-completion works for giving schedules.
    
    Fixes #14: Implement a scheduler preview for up to one year.

 src/console/console.c |  36 ++++++------
 src/dird/protos.h     |   1 +
 src/dird/scheduler.c  |   2 +-
 src/dird/ua_cmds.c    |   3 +-
 src/dird/ua_dotcmds.c |  15 +++++
 src/dird/ua_status.c  | 156 ++++++++++++++++++++++++++++++++++++++++++++++++--
 src/lib/btime.c       |  11 ++++
 src/lib/btime.h       |   1 +
 8 files changed, 201 insertions(+), 24 deletions(-)

commit 610ef7e1b0c22277c6336728f4dea2916a301fd0
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:25:28 2013 +0200

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

 debian/changelog                             |  64 --
 platforms/deb/bareos-Debian_6.0.dsc          |  12 -
 platforms/deb/bareos-xUbuntu_10.04.dsc       |  12 -
 platforms/deb/bareos-xUbuntu_12.04.dsc       |  12 -
 platforms/deb/debian.changelog               |   5 -
 platforms/packaging/bareos-Debian_6.0.dsc    |  12 +
 platforms/packaging/bareos-rpmlintrc         |  53 ++
 platforms/packaging/bareos-xUbuntu_10.04.dsc |  12 +
 platforms/packaging/bareos-xUbuntu_12.04.dsc |  12 +
 platforms/packaging/bareos.changes           |  63 ++
 platforms/packaging/bareos.spec              | 957 +++++++++++++++++++++++++++
 platforms/packaging/debian.debtransform      |   1 +
 platforms/rpms/bareos-rpmlintrc              |  53 --
 platforms/rpms/bareos.spec                   | 957 ---------------------------
 14 files changed, 1110 insertions(+), 1115 deletions(-)

commit 55042d35f211298e5d065e92e9c990089fe4fb51
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:25:20 2013 +0200

    Try to fix nextpool overide via runcmd.
    
    Fixes #160: Job overwrite "nextpool" in run command in bconsole doesn't work

 src/dird/ua_run.c | 2 ++
 1 file changed, 2 insertions(+)

commit f59a541be930b4924bcdeadc4aed5d826ef913c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:25:16 2013 +0200

    Return right returnvalue on import/export/move cmd.
    
    We were always returning 0 (e.g. operation failed) for
    the import/export/move commands. This makes any runscript fail
    any next runscript and the Job also fails.
    
    Fixes #146: Variable "Job Exit Code" in mailcommand reports always
                "Error" when doing copy or migration job
    Fixes #155: runafterjob doesn't get executed if a runscript directive is
                placed before the directive runafterjob

 src/dird/ua_impexp.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit 320ccd27d571105f5ec29ccd9603b5a8b74353fc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:25:13 2013 +0200

    Tweak text.

 README.md | 1 +
 1 file changed, 1 insertion(+)

commit d167d22b9e6c94505baa45a5c79561f5c04340ce
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:25:11 2013 +0200

    Show right info in status slots.
    
    Slot should not be empty but show the correct loaded volume info and
    not the first slot after the drive in the enumeration.
    
    Fixes #159: Display Error in bconsole for status slots; did not show empty slot after load

 src/dird/ua_status.c | 1 +
 1 file changed, 1 insertion(+)

commit 16791041a2bda608d3f09ed343f33d351d13938a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:25:09 2013 +0200

    add dependency for libfastlz

 debian/control                         | 1 +
 platforms/deb/bareos-Debian_6.0.dsc    | 2 +-
 platforms/deb/bareos-xUbuntu_10.04.dsc | 2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

commit 9b2b0ba720213def0682f03ad97498e2434bfeec
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:25:07 2013 +0200

    travis: bugfix

 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit b922ab3c8102e4d9bd781ffaa3a82c65bf0c83e1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:25:05 2013 +0200

    travis: set hostname to localhost to prevent problems with name resolution

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

commit 12c6e68d1416e2591eab5dae0bc0ae1f6f73a9af
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:25:02 2013 +0200

    activate debian release numbers on OBS
    
    Debian has no separate field for release numbers,
    only version numbers.
    Mostly, the release number is added to the version number,
    separated by a "-".
    OBS has a feature to auto-increment release numbers for RPM packages.
    Our modified OBS also enables this feature for DEB packages.

 platforms/deb/bareos-Debian_6.0.dsc    | 3 ++-
 platforms/deb/bareos-xUbuntu_10.04.dsc | 3 ++-
 platforms/deb/bareos-xUbuntu_12.04.dsc | 3 ++-
 platforms/deb/debian.changelog         | 5 +++++
 4 files changed, 11 insertions(+), 3 deletions(-)

commit 9158d75e17a81d85276dbc5a46224ad079db6495
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:25:00 2013 +0200

    Enhanced the standard configuration file
    
    - We now have two-digit reference marks
    - Changed the introductional text

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 53 +++++++++++++-------------
 1 file changed, 27 insertions(+), 26 deletions(-)

commit 42e55f67b1efae7a5bfee7a2e3e4e585ed8b0bce
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:24:58 2013 +0200

    Fixed pool names in standard config
    
    The names of the standard pools were still
    referenced.

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3a72f7dee1e405aa70da4edcf5984cb61f3a3e9b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:24:45 2013 +0200

    Add icons and fileinfo to windows executables
    
    Updated the icons fileinfo for windows executables
    
    Fixes #154: Add icon and file info to windows executables
    
    Conflicts:
    	src/win32/console/consoleres.rc

 src/images/bat.svg                         | 150 +++++++++++++++++------------
 src/qt-console/main.ui                     |   4 +-
 src/qt-console/prefs.ui                    |   2 +-
 src/win32/console/Makefile                 |  12 ++-
 src/win32/console/consoleres.rc            |  26 +++++
 src/win32/filed/Makefile                   |   2 +-
 src/win32/filed/filedres.rc                |  26 +++++
 src/win32/filed/icon.rc                    |  25 -----
 src/win32/qt-console/bat.pro               |   3 +
 src/win32/qt-console/batres.rc             |  26 +++++
 src/win32/qt-tray-monitor/tray-monitor.pro |   4 +
 src/win32/qt-tray-monitor/traymon.rc       |  26 +++++
 12 files changed, 215 insertions(+), 91 deletions(-)

commit e7ddeaa23ada9479275a1b3443c4adf640d404f3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:22:34 2013 +0200

    Rebuild configure.

 configure | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit c2480ff162eda090bb7d8c6335fdf17ca78f1272
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 13:15:01 2013 +0200

    traymonitor redesign
    
    - traymonitor redesign by Frank Ueberschar
    - traymon animated shows
    - added bareos icon to traymon, installer
      and fd executable
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 AUTHORS                                            |    1 +
 autoconf/configure.in                              |   14 +-
 platforms/win32/tray-monitor-conf.patch            |    6 +-
 platforms/win32/winbareos-nsi.spec                 |    8 +-
 platforms/win32/winbareos.nsi                      |   76 +-
 platforms/win32/winbareos32.spec                   |    2 +-
 platforms/win32/winbareos64.spec                   |    2 +-
 src/console/console.c                              |    4 +-
 src/images/applications-graphics.svg               |  545 +++
 src/images/bat.svg                                 |   78 +
 src/images/browse.svg                              |  620 +++
 src/images/cartridge-edit.svg                      |  277 ++
 src/images/cartridge.svg                           |  148 +
 src/images/check.svg                               |   94 +
 src/images/edit-delete.svg                         |  882 ++++
 src/images/emblem-system.svg                       |  235 +
 src/images/estimate-job.svg                        |  222 +
 src/images/folder.svg                              |  422 ++
 src/images/folderbothchecked.svg                   |  438 ++
 src/images/folderchecked.svg                       |  430 ++
 src/images/folderunchecked.svg                     |  430 ++
 src/images/go-down.svg                             |  199 +
 src/images/go-jump.svg                             |  204 +
 src/images/go-up.svg                               |  195 +
 src/images/graph1.svg                              |  380 ++
 src/images/help-browser.svg                        |  215 +
 src/images/joblog.svg                              |  252 ++
 src/images/mail-message-new.svg                    |  465 ++
 src/images/mail-message-pending.svg                |  467 ++
 src/images/media-floppy.svg                        |  340 ++
 src/images/network-server.svg                      | 1005 +++++
 src/images/package-x-generic.svg                   |  483 ++
 src/images/status-console.svg                      |  606 +++
 src/images/status.svg                              |  380 ++
 src/images/system-file-manager.svg                 |  318 ++
 src/images/unchecked.svg                           |   97 +
 src/images/utilities-terminal.svg                  |  498 +++
 src/images/view-refresh.svg                        |  391 ++
 src/images/weather-severe-alert.svg                | 4699 ++++++++++++++++++++
 src/include/baconfig.h                             |    6 +-
 src/qt-console/bat.pro.in                          |    8 +-
 src/qt-console/images/applications-graphics.svg    |  545 ---
 src/qt-console/images/browse.svg                   |  620 ---
 src/qt-console/images/cartridge-edit.svg           |  277 --
 src/qt-console/images/cartridge.svg                |  148 -
 src/qt-console/images/check.svg                    |   94 -
 src/qt-console/images/edit-delete.svg              |  882 ----
 src/qt-console/images/emblem-system.svg            |  235 -
 src/qt-console/images/estimate-job.svg             |  222 -
 src/qt-console/images/folder.svg                   |  422 --
 src/qt-console/images/folderbothchecked.svg        |  438 --
 src/qt-console/images/folderchecked.svg            |  430 --
 src/qt-console/images/folderunchecked.svg          |  430 --
 src/qt-console/images/go-down.svg                  |  199 -
 src/qt-console/images/go-jump.svg                  |  204 -
 src/qt-console/images/go-up.svg                    |  195 -
 src/qt-console/images/graph1.svg                   |  380 --
 src/qt-console/images/help-browser.svg             |  215 -
 src/qt-console/images/joblog.svg                   |  252 --
 src/qt-console/images/mail-message-new.svg         |  465 --
 src/qt-console/images/mail-message-pending.svg     |  467 --
 src/qt-console/images/media-floppy.svg             |  340 --
 src/qt-console/images/network-server.svg           | 1005 -----
 src/qt-console/images/package-x-generic.svg        |  483 --
 src/qt-console/images/status-console.svg           |  606 ---
 src/qt-console/images/status.svg                   |  380 --
 src/qt-console/images/system-file-manager.svg      |  318 --
 src/qt-console/images/unchecked.svg                |   97 -
 src/qt-console/images/utilities-terminal.svg       |  498 ---
 src/qt-console/images/view-refresh.svg             |  391 --
 src/qt-console/images/weather-severe-alert.svg     | 4699 --------------------
 src/qt-console/main.qrc                            |  148 +-
 src/qt-console/mainwin.cpp                         |   19 +-
 src/qt-console/tray-monitor/authenticate.cpp       |  187 -
 .../tray-monitor/bareos-tray-monitor.desktop.in    |   13 -
 .../tray-monitor/bareos-tray-monitor.xpm           |  178 -
 src/qt-console/tray-monitor/tray-monitor.conf.in   |   29 -
 src/qt-console/tray-monitor/tray-monitor.cpp       |  465 --
 src/qt-console/tray-monitor/tray-monitor.h         |  181 -
 src/qt-console/tray-monitor/tray-monitor.pro.in    |   55 -
 src/qt-console/tray-monitor/tray-ui.h              |  392 --
 src/qt-console/tray-monitor/tray_conf.cpp          |  402 --
 src/qt-console/tray-monitor/tray_conf.h            |  127 -
 src/qt-tray-monitor/authenticate.cpp               |  213 +
 src/qt-tray-monitor/authenticate.h                 |   10 +
 src/qt-tray-monitor/bareos-tray-monitor.desktop    |   13 +
 src/qt-tray-monitor/bareos-tray-monitor.desktop.in |   13 +
 src/qt-tray-monitor/bareos-tray-monitor.xpm        |  178 +
 src/qt-tray-monitor/main.qrc                       |    8 +
 src/qt-tray-monitor/mainwindow.cpp                 |  200 +
 src/qt-tray-monitor/mainwindow.h                   |   92 +
 src/qt-tray-monitor/mainwindow.ui                  |   62 +
 src/qt-tray-monitor/monitoritem.cpp                |  353 ++
 src/qt-tray-monitor/monitoritem.h                  |  136 +
 src/qt-tray-monitor/monitoritemthread.cpp          |  228 +
 src/qt-tray-monitor/monitoritemthread.h            |   75 +
 src/qt-tray-monitor/monitortab.h                   |   33 +
 src/qt-tray-monitor/systemtrayicon.cpp             |   76 +
 src/qt-tray-monitor/systemtrayicon.h               |   54 +
 src/qt-tray-monitor/tray-monitor.conf.in           |   29 +
 src/qt-tray-monitor/tray-monitor.cpp               |  231 +
 src/qt-tray-monitor/tray-monitor.h                 |   48 +
 src/qt-tray-monitor/tray-monitor.pro.in            |   55 +
 src/qt-tray-monitor/tray_conf.cpp                  |  409 ++
 src/qt-tray-monitor/tray_conf.h                    |  132 +
 src/qt-tray-monitor/traymenu.cpp                   |   63 +
 src/qt-tray-monitor/traymenu.h                     |   45 +
 src/win32/Makefile.inc                             |    2 +
 src/win32/filed/Makefile                           |   12 +-
 src/win32/filed/icon.rc                            |   25 +
 src/win32/qt-console/bat.pro                       |    2 +-
 src/win32/qt-tray-monitor/tray-monitor.pro         |   22 +-
 112 files changed, 18980 insertions(+), 18114 deletions(-)

commit b2560acc6478529ef1a1864e6a994ae5aee73148
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:19:27 2013 +0200

    elaborated the disk-only default config
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/defaultconfigs/diskonly/bareos-dir.conf.in | 188 ++++++++++++-------------
 1 file changed, 89 insertions(+), 99 deletions(-)

commit 3c54508fb3c856e301f9be313e3987929b6c2e1f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:19:25 2013 +0200

    Fix compiler warning.

 src/dird/ua_select.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 4d6ea81348f336d80bd610bceabdb9f186574479
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:19:21 2013 +0200

    Remove obscure beef variable.
    
    As we don't have an enterprise version we don't need a bareos
    enable enterprise feature flag.

 scripts/btraceback.dbx | 1 -
 scripts/btraceback.gdb | 1 -
 src/dird/ua_status.c   | 5 ++---
 src/filed/fd_plugins.c | 5 -----
 src/filed/fd_plugins.h | 5 ++---
 src/include/version.h  | 1 -
 src/lib/message.c      | 1 -
 src/stored/status.c    | 4 ++--
 src/win32/lib/make_def | 1 -
 9 files changed, 6 insertions(+), 18 deletions(-)

commit 8804fab92821b176882876884f8dd3a376c99a36
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:18:17 2013 +0200

    bareos-director requires bareos-database-tools
    
    make_catalog_backup.pl (from bareos-director) requires bareso-dbcheck (from bareos-database-tools).
    
    Fixes #148: bareos-director requires bareos-database-tools
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control             | 3 ++-
 platforms/rpms/bareos.spec | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

commit 529f0e06907abf3694974bd68a4f8fcfe7ceaaeb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:17:45 2013 +0200

    Fix compiler warning.

 src/filed/compression.c | 10 ++--------
 src/stored/bextract.c   |  5 +----
 2 files changed, 3 insertions(+), 12 deletions(-)

commit 209fda499d481131c5cd0c4a0b84f4fcc992bd8f
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:17:34 2013 +0200

    Extend cancel command to be able to cancel all running jobs
    
    Especially when testing, it would be a very nice feature to be able to
    cancel multiple jobs at once.
    
    For the first step, it would be nice to be able to cancel all jobs.
    Also useful would be to be able to cancel, jobs of a certain state, e.g.
    
    cancel state=waiting
    
    Fixes #144: Extend cancel command to be able to cancel all running jobs

 src/dird/ua_cmds.c   |  22 +++--
 src/dird/ua_select.c | 230 ++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 195 insertions(+), 57 deletions(-)

commit d974b14f292035f80d5b47d14799859128e06c3b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:17:32 2013 +0200

    Fix memory leak.

 src/lib/bnet_server.c | 19 ++++++++++++++-----
 src/lib/bsock.c       | 19 ++++++++++++++-----
 2 files changed, 28 insertions(+), 10 deletions(-)

commit 99630bf272f5e5a4071dc9b482c6bb8ebad286ec
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:17:30 2013 +0200

    Updated README.MD

 README.md | 5 +++++
 1 file changed, 5 insertions(+)

commit 5c4fa8456cddbb8ec88ac14596c8ad2d9415a274
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:17:15 2013 +0200

    Switch to new version number.

 configure                              | 32 ++++++++++++++++----------------
 debian/changelog                       |  6 ++++++
 platforms/deb/bareos-Debian_6.0.dsc    |  2 +-
 platforms/deb/bareos-xUbuntu_10.04.dsc |  2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc |  2 +-
 platforms/rpms/bareos.spec             |  4 ++--
 platforms/win32/winbareos-nsi.spec     |  2 +-
 platforms/win32/winbareos32.spec       |  2 +-
 platforms/win32/winbareos64.spec       |  2 +-
 src/include/version.h                  | 18 +++++++++---------
 10 files changed, 39 insertions(+), 33 deletions(-)

commit ec5bfd99d00fdd1b06f6f082b86391d3ab1ab9dd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:51 2013 +0200

    Used compression algorithms only when compression is done.

 src/dird/backup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e9efbad98df44cda3d0024d148fcc557e69a1b1d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:45 2013 +0200

    Fix cancel to allow multiple job selection.

 src/dird/protos.h    |   2 +-
 src/dird/ua_cmds.c   | 110 +++++++++++++++++++++++-----------
 src/dird/ua_select.c | 166 ++++++++++++++++++++++++++++++++++-----------------
 3 files changed, 188 insertions(+), 90 deletions(-)

commit 9f7f9a9939dd0c28c8d14bfb4ae4e4c2ca46070b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:42 2013 +0200

    Reorder closing message channel.
    
    For every daemon always close the message channel before starting
    the cleanup of the JCR so we have a much cleaner code path.
    
    Also tweaked the layout of the code somewhat so that we have more
    distinctive code blocks.

 src/dird/job.c      |  9 +--------
 src/filed/dir_cmd.c |  4 +++-
 src/lib/jcr.c       | 15 +++++++++++----
 src/stored/bscan.c  |  5 +++++
 src/stored/butil.c  |  7 +++++++
 src/stored/job.c    | 18 +++++++++++++++++-
 6 files changed, 44 insertions(+), 14 deletions(-)

commit 6c0b2e505e30a85a5969ba6ee46a3e7d84c2b8c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:40 2013 +0200

    Close message stream early.
    
    For things like edit_job_codes() to work properly we should tear
    down the message resource before we start tearing down the bits
    and pieces of the JCR (and mig_jcr). Hopefully we don't trigger
    to many deadlocks this way but this seems to be a severe design
    flaw in which important state information is destroyed when you
    might still want/need it.

 src/dird/job.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

commit 46f7f0672cfa030a074628390b1f7c11b8670f0d
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:15:32 2013 +0200

    Switch to gcc 4.8
    
    Unfortunately, with gcc 4.8, libc now is called
    - libgcc_s_sjlj-1.dll on 32Bit Windows
    - libgcc_s_seh-1.dll  on 64Bit Windows
    
    This patch adapts to that fact.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos-nsi.spec |  2 +-
 platforms/win32/winbareos.nsi      | 16 +++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

commit 46cbc0eeed8f9c8434f0e4d2c31a6541a1eb94ca
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:15:07 2013 +0200

    file job.c is no more
    
    Adapted makefile to correctly build.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/win32/filed/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit d00f7b5cc76761b69058ef99dbaba79bd49bf29b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:04 2013 +0200

    Tweak layout.

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bea20c2d28e5bccb7449e37730907578206d636c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:15:02 2013 +0200

    mig_jcr is freed to early.
    
    Because the mig_jcr is already freed in the migration_cleanup() function
    all info is lost when we get to the after runscript. This is a design
    error so we moved the freeing of the mig_jcr now to just before the Job
    actually exits and has done all its work.
    
    Fixes #139: export command in a RunScript ressource does not get the
                correct volume when doing scheduled JobType Copy

 src/dird/job.c     | 14 +++++++++++++-
 src/dird/migrate.c |  5 -----
 2 files changed, 13 insertions(+), 6 deletions(-)

commit df85456544b11dd903e72e641200003cfb6e04da
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:14:59 2013 +0200

    Better handling of existing config files
    
    When existing configuration files are found, in interactive mode the
    user is asked if the existing config file should be kept and the newly
    generated file is stored aside as config.new.
    
    Also, the user can choose to move the existing file to config.old, and
    install the new one in the original place.
    This is what is done in silent installation mode.
    
    The default for the uninstaller is now to keep existing config files.
    In silent mode, the uninstaller will remove existing config files.
    
    Fixes #140: Winbareos installer renames old config when updating
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

commit 9ee3b5e983ab87ac448431e5d8da93d6ec56eedd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:14:57 2013 +0200

    Fix problem on OSX due to refactoring.

 src/findlib/find_one.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit ba3ede542614a3e9f22595a9d90b3d19e9eb232b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:14:55 2013 +0200

    Generate braces in find_used_compressalgos function.

 src/dird/backup.c   | 6 +++---
 src/dird/inc_conf.c | 6 ++++++
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 7382fae4f57b3852db60e5f8ba7b997c0507bcdd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:14:52 2013 +0200

    Tweak layout and use counter.

 src/dird/inc_conf.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit c0411b3fd002e52c942df0c37f77aab32f7c761e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:14:49 2013 +0200

    Job report shows the used compression algorithm
    
    As we now have multiple available compression algorithms, and
    we can use multiple of them in one backup, we now show which
    compression algorithms were chosen during in the Fileset options.
    
    Fixes #131: Job report should show which compressions were used during backup
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/backup.c   | 11 ++++++++---
 src/dird/inc_conf.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 src/dird/protos.h   |  3 +++
 3 files changed, 58 insertions(+), 3 deletions(-)

commit 47773e59d2a23c5534f7fdd711f5a01f915bd032
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:14:44 2013 +0200

    Added the licenses for the fastlzlib library.
    
    The github project has 3 license texts (LICENSE, LICENSE-FASTLZ
    and LICENSE-LZ4) that were all included into our LICENSE file.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 LICENSE | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)

commit e22cae5fa89031edf98ab4faeb56fbcaf1d74c7e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:14:42 2013 +0200

    Fix typo.

 src/lib/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 289aaacc88cfaa0a354e25f169e5920d6a9ae5c9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:14:31 2013 +0200

    For migration/copy Jobs need to look at mig_jcr.
    
    Added new %V option to expansion variables which is the same as %v
    but always prints the destination Volumes a Job used. For migration
    and copy Jobs this expansion looks at the mig_jcr pointer in the JCR.
    
    As this mig_jcr only exists in the director the %V is expanded in
    the callback expansion function in the director as in the generic
    expansion function is compiled as part of the generic shared library
    we are missing that variable there.
    
    While implementing this expansion also reformated the whole function
    as the switch statement was wrongly indented. Removed unneeded break
    statements after a return. Document what is expanded in the callback
    expansion function.
    
    Fixes #139: export command in a RunScript ressource does not get the
                correct volume when doing scheduled JobType Copy

 src/dird/dird_conf.c | 79 ++++++++++++++++++++++++++++++++++------------------
 src/lib/util.c       |  7 ++---
 2 files changed, 55 insertions(+), 31 deletions(-)

commit b447706ed322b2abdc2eac42a6cf75c6fa869395
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:53 2013 +0200

    Fix some compiler warning.

 src/dird/backup.c   | 4 ++--
 src/dird/verify.c   | 3 ++-
 src/filed/dir_cmd.c | 2 --
 3 files changed, 4 insertions(+), 5 deletions(-)

commit 45edfd9db0b381b7e173e8782b2fc291de0e2fe2
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:51 2013 +0200

    Update README.md

 README.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 2f80c5ece3655aba67aca935feca6d229e4e03a1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:47 2013 +0200

    Reverse data channel initialization
    
    It would be nice if the initialization of the data channel could be
    reversed, so that the SD connects to the FD. This would make the
    network setup and firewalling much easier in many cases, and make
    tricks like ssh tunnels no longer necessary. For Example things like
    SDs being situated behind a NAT gateway would be no problem anymore.
    
    We can also tag this as the firewall friendly solution. The default
    for all clients is still active mode e.g. FD contacts SD but when
    the DIR and SD are within a firewalled site and the FD is in a DMZ
    or out on the Internet you can define the client as a passive client
    and the DIR and SD will contact the FD so you have only socket
    connections being initiated from the secure site without the need for
    special resolving tricks (like a split DNS) and/or portforwarders on the
    firewall that tunnel the traffic from the DMZ or Internet to your SD.
    
    This passive mode is implemented for Backups, Restores and Verifies
    of Jobs. The Director checks the version of the client to make sure
    it supports the new passive protocol features.
    
    Fixes #61: reverse data channel initialization

 src/dird/backup.c         |  217 +++--
 src/dird/bsr.c            |    2 +-
 src/dird/dird.h           |    7 +
 src/dird/dird_conf.c      |    4 +-
 src/dird/dird_conf.h      |    3 +-
 src/dird/fd_cmds.c        |    8 +-
 src/dird/restore.c        |  150 +++-
 src/dird/sd_cmds.c        |    6 +-
 src/dird/ua_label.c       |    2 +-
 src/dird/verify.c         |  159 +++-
 src/filed/Makefile.in     |    6 +-
 src/filed/authenticate.c  |   19 +-
 src/filed/dir_cmd.c       | 2033 +++++++++++++++++++++++++++++++++++++++++++++
 src/filed/filed.c         |    4 +-
 src/filed/filed_conf.c    |    2 +-
 src/filed/job.c           | 1951 -------------------------------------------
 src/filed/protos.h        |    3 +
 src/filed/sd_cmds.c       |   98 +++
 src/filed/verify_vol.c    |   14 +-
 src/include/jcr.h         |    1 +
 src/stored/Makefile.in    |    2 +-
 src/stored/authenticate.c |    6 +-
 src/stored/dir_cmd.c      | 1626 ++++++++++++++++++++++++++++++++++++
 src/stored/dircmd.c       | 1550 ----------------------------------
 src/stored/fd_cmds.c      |    8 +-
 src/stored/protos.h       |    4 +-
 src/stored/sd_cmds.c      |    8 +-
 src/stored/stored_conf.c  |   25 +-
 src/stored/stored_conf.h  |    1 +
 29 files changed, 4235 insertions(+), 3684 deletions(-)

commit 178b40c8d2cba60d8e5a82e273a4aa6582161d7e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:39 2013 +0200

    Upgrade config.guess and config.sub to autoconf-2.69

 autoconf/config.guess | 357 +++++++++++++++++++++++++++-----------------------
 autoconf/config.sub   | 150 +++++++++++++--------
 2 files changed, 291 insertions(+), 216 deletions(-)

commit fc0e373660365604a41308164d046ab912c95f4e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:13:36 2013 +0200

    Reject incorrect modulo specifications
    
    Now the parser rejects incorrect modulo specifications
    with an error and a hint to the correct format.
    
    Fixes #135: modulo scheduler does not work with weeks
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/dird/run_conf.c | 2 ++
 1 file changed, 2 insertions(+)

commit 69ba056161f6034ed88f65259021c575b284c628
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:33 2013 +0200

    Rename global resource in director,
    
    Rename the global director variable to the same name used in the storage
    daemon and filedaemon which is me. Also drop the two global variables
    for the FD and SD timeout as those are part of the global resource
    anyway so we can reference the me variable and don't need to polute the
    global naming space of the binary with them.

 src/dird/authenticate.c | 20 +++++-----
 src/dird/backup.c       |  6 +--
 src/dird/dird.c         | 99 ++++++++++++++++++++++---------------------------
 src/dird/dird.h         |  4 +-
 src/dird/fd_cmds.c      |  7 ++--
 src/dird/job.c          |  2 +-
 src/dird/migrate.c      |  6 +--
 src/dird/ndmp_dma.c     | 14 +++----
 src/dird/restore.c      |  4 +-
 src/dird/sd_cmds.c      | 12 +++---
 src/dird/ua_cmds.c      |  2 +-
 src/dird/ua_label.c     |  4 +-
 src/dird/ua_prune.c     |  4 +-
 src/dird/ua_query.c     |  2 +-
 src/dird/ua_server.c    |  2 +-
 src/dird/ua_tree.c      |  4 +-
 src/dird/vbackup.c      |  2 +-
 src/dird/verify.c       |  4 +-
 18 files changed, 93 insertions(+), 105 deletions(-)

commit 7c9713536f27dd6fa3411d394c1965739b146021
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:31 2013 +0200

    Tweak set boolean values to true or false.

 src/filed/job.c     | 54 ++++++++++++++++++++++++++---------------------------
 src/stored/dircmd.c | 48 +++++++++++++++++++++++------------------------
 2 files changed, 51 insertions(+), 51 deletions(-)

commit 3879e7268a015625f1a22fa86e2c0a0ad40e562e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:13:28 2013 +0200

    add fastzlib to windows
    
    this patch enables the use of fastlzlib
    for the windows version of bareos.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos-nsi.spec     | 6 +++---
 platforms/win32/winbareos.nsi          | 2 ++
 platforms/win32/winbareos32.spec       | 4 +++-
 platforms/win32/winbareos64.spec       | 3 ++-
 src/win32/compat/include/mingwconfig.h | 4 ++++
 src/win32/filed/Makefile               | 1 +
 6 files changed, 15 insertions(+), 5 deletions(-)

commit 94cce31964313bc0a023a4d505666bf6442d199e
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:13:24 2013 +0200

    added BuildRequires: libfastlz-devel to spec
    
    as we now support the fastlz library, we also want
    to build support for it into our rpm packages.
    As configure already checks for it, we only have
    to add the devel package to the buildrequires.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/rpms/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit cca3f3b7e403758610090999449c4430fbb4ec7a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:13:21 2013 +0200

    fixed typo in bareos-dir startscript
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/suse/bareos-dir.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f79d05d4028df50dee8c083acf1cff9ad1579db4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:18 2013 +0200

    Fix statistics retention default value.
    
    60s * 60m * 24h * 31d * 12m * 5 != 5 years
    60s * 60m * 365d * 5 != 5 years
    
    But the second value is much closer then using 12 months with
    31 days of which 4 months have 30 days and one has either 28
    e.g. 3 days less or at best 29 days so 2 days less. When multiplied
    with 5 years this mean you calculate something 30+ days to much.

 src/dird/dird_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a324d9ebde0e3edbb238031a6c19ec0b48dd39be
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:13:10 2013 +0200

    Fix comments so that we know what the value actually means.

 src/dird/dird_conf.c     | 14 +++++++-------
 src/filed/filed_conf.c   |  2 +-
 src/include/host.h.in    |  1 +
 src/stored/stored_conf.c | 18 +++++++++---------
 4 files changed, 18 insertions(+), 17 deletions(-)

commit 356e7a06de137c704896043c8d8ca2c0bc3cba03
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:12:31 2013 +0200

    Fix wrong default timeouts.
    
    When converting the default timeouts in the config engine set them
    to 180 instead of the wanted 1800 seconds.

 src/filed/filed_conf.c   | 2 +-
 src/stored/stored_conf.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ef422340ea5f4aac5957c2840217bcfc78e7e387
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:58 2013 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |   6 +++
 configure            | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 114 insertions(+)

commit 3b76f0229ac0be1f5ae597b9e2b5791c2ffff246
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:11:53 2013 +0200

    Implementation of LZ4 and LZ4HC compression
    
    Currently we support ZLIB based gzip compression and LZO2 compression.
    LZ4 and LZ4HC (High Compression) are like LZO2 but are much faster on
    decompression and are implemented as a single source file per compressor.
    
    As we don't want to handle things like uncompressable data etc ourself
    we settled for a wrapper library which mimics the zlib API and supports
    the following compression algorithms:
    
    - FASTLZ
    - LZ4
    - LZ4HC
    
    The library is available at https://github.com/exalead/fastlzlib
    and the few fixes needed to make it work with Bareos are currently
    in a pullrequest to the original project.
    
    For the period until the patches merge we have a clone under the bareos project
    on github.
    
    Fixes #33: Implementation of LZ4 and LZ4HC compression
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in   |  66 +++++++++++
 src/dird/inc_conf.c     |  14 +--
 src/filed/Makefile.in   |   7 +-
 src/filed/backup.c      |   6 +-
 src/filed/compression.c | 287 +++++++++++++++++++++++++++++++++++++++++++++---
 src/filed/fileset.c     |  18 ++-
 src/filed/protos.h      |   2 +-
 src/findlib/match.c     |  34 ++++--
 src/include/ch.h        |   6 +-
 src/include/jcr.h       |   3 +
 src/stored/Makefile.in  |   7 +-
 src/stored/bextract.c   |  91 +++++++++++++++
 12 files changed, 498 insertions(+), 43 deletions(-)

commit f1732a64f73629c670433fe3ba620441ec6ffa2b
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:11:44 2013 +0200

    bugfix: init scripts status on SUSE systems
    
    init scripts have been broken.
    This patch makes small adjustments, to fix these problems.
    
    Fixes #69: /etc/init.d/bareos-* status always return "running", even if daemon does not run
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/suse/bareos-dir.in | 26 +++++++++++---------------
 platforms/suse/bareos-fd.in  | 18 ++++++------------
 platforms/suse/bareos-sd.in  | 18 ++++++------------
 3 files changed, 23 insertions(+), 39 deletions(-)

commit 1f9723180d5bbcf5f695ad10fd2abf89d9f7a8ab
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:39 2013 +0200

    Fix MaxRunSchedTime to cancel Job in time.
    
    Modified the code so MaxRunSchedTime will use the new
    initial_sched_time when checking to see if a job should be canceled.
    
    We have a set of jobs that we want to definitely end at a known
    time - Z hours after they've been initially scheduled - no matter what
    state the job is in.
    
    Patch by Thomas Lohman from bacula devel mailinglist.

 AUTHORS           | 1 +
 src/dird/job.c    | 2 +-
 src/dird/jobq.c   | 1 +
 src/include/jcr.h | 3 ++-
 src/lib/jcr.c     | 1 +
 5 files changed, 6 insertions(+), 2 deletions(-)

commit 171607781aa25c09f210102506f13d7cf8479e7b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:37 2013 +0200

    Sync some fixes from Amanda.

 src/ndmp/ndma_noti_calls.c |  2 ++
 src/ndmp/ndmjob_job.c      | 12 ++++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

commit 570a1e65b5b87bdc9cc52477bb19ae770b35e676
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:11:35 2013 +0200

    initscripts: use debian 6.0 skeleton
    
    recreate Debian and Ubuntu init scripts based on Debian/Ubuntu skeleton file.
    Advantages:
    - use standard skeleton
    - "status" is now implemented and working, see bug #50
    - start order: if a database is installed, it is started before the bareos-director
    - Debian and Ubuntu are using the same init scripts
    - bareos-dir, bareos-sd and bareos-fd are based on the same skeleton and differ only at the variables values
    Changed:
    - Debian standard skeleton utilise the VERBOSE variable.
      By default, VERBOSE equals "no" and init script are completly quiet.
      We follow this standard, even so we don't like it.
      This behavior can be changed by setting "VERBOSE=yes" in /etc/defaults/rcS
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control                 |   6 +-
 platforms/debian/bareos-dir.in | 221 +++++++++++++++++++++++++++++------------
 platforms/debian/bareos-fd.in  | 218 +++++++++++++++++++++++++++++-----------
 platforms/debian/bareos-sd.in  | 215 ++++++++++++++++++++++++++++-----------
 platforms/ubuntu/bareos-dir.in |  89 +----------------
 platforms/ubuntu/bareos-fd.in  |  89 +----------------
 platforms/ubuntu/bareos-sd.in  |  89 +----------------
 7 files changed, 482 insertions(+), 445 deletions(-)

commit cc894e1808b3328e95c304845cdeab8df1989e94
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:11:33 2013 +0200

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

 test/all | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a2ae1296ad7bfd6097d03d5e7d8384d0d15413a1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:31 2013 +0200

    Rebuild configure.

 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 8c64bfe464a0cab455e322002b17aa9564dac874
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:11:29 2013 +0200

    travis: update to preinst script modified by configure
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9a69ea9e3446d93850313a6e5103934bc62022c1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:27 2013 +0200

    add daemon user to required groups
    
    bareos storage daemon user must be in groups tape and/or disk
    to be able to access tape devices.
    Due to different behavior of different distributions
    (install order if not always the same),
    every package that requires a specific group/user set this up on its own.
    
    preinstall:
      bareos-common: setup default daemon group bareos and user bareos
      bareos-filedaemon: setup fd group (bareos) and user (root)
      bareos-storage: setup sd group (bareos) and user (bareos)
      bareos-director: setup dir group (bareos) and user (bareos)
    
    postinstall:
      bareos-storage:
        call bareos-config setup_sd_user, which
        checks if sd group and user exists, otherwise it creates them,
        and add the sd user (bareos) to the groups tape and disk, if they exists.
    
    Tested on: Debian 6, Ubuntu 12.04 (32bit), SLES11SP2, Centos5
    
    Fixes #99: user bareos unable to operate tape changer due to wrong permissions
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in               |  4 ++
 debian/bareos-common.preinst        | 66 -------------------------------
 debian/bareos-common.preinst.in     | 63 ++++++++++++++++++++++++++++++
 debian/bareos-director.preinst      | 71 ---------------------------------
 debian/bareos-director.preinst.in   | 63 ++++++++++++++++++++++++++++++
 debian/bareos-filedaemon.preinst    | 71 ---------------------------------
 debian/bareos-filedaemon.preinst.in | 63 ++++++++++++++++++++++++++++++
 debian/bareos-storage.postinst      |  1 +
 debian/bareos-storage.preinst       | 71 ---------------------------------
 debian/bareos-storage.preinst.in    | 63 ++++++++++++++++++++++++++++++
 platforms/rpms/bareos.spec          | 78 ++++++++++---------------------------
 scripts/bareos-config.in            | 76 +++++++++++++++++++++++++++++++++---
 12 files changed, 347 insertions(+), 343 deletions(-)

commit 2651ba43160d7f53daaf1e003f060b809890b90a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:25 2013 +0200

    Rebuild configure.

 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit fba7f87ca97931e9d79b34ac2fcb1d7566681b2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:23 2013 +0200

    Allow for relaxed TLS configuration.
    
    Current the verify_peer flag is hardcoded to true for the console
    programs. It would be nice if we would allow a somewhat relaxed
    TLS mode that allows to establish a TLS connection without the
    need for very strict certificate checking which is done now. The
    default setting is the same as before but the administrator can
    relax this setting by setting the "TLS Verify Peer" option to
    false in a definition of the client connection.
    
    This doesn't have severe security implications as the authorization
    with challenge response (md5 hashes) is done before the TLS handshake.
    So this means you can have the same security as a non TLS connection
    but with a relaxed config which means you get a encrypted datastream
    even when you haven't put the whole certificate enrollment in place
    e.g. CA certificate and potentially client certificates. Protocols
    like LDAPS and ESMTP also allow this.
    
    This is also the first version of the GNUTLS code that allows an
    TLS encrypted session with the GNUTLS library as a replacement for
    the openssl code. This currently is only tested with the relaxed
    TLS configuration options set e.g. TLS Verify Peer = no
    
    Fixes #122: Allow for relaxed TLS configuration.

 autoconf/configure.in            |   4 +-
 src/console/console.c            |   4 +-
 src/console/console_conf.c       |   2 +
 src/console/console_conf.h       |   2 +
 src/dird/dird_conf.h             |   4 +-
 src/filed/filed.c                |   2 +-
 src/filed/filed_conf.c           |   1 +
 src/filed/filed_conf.h           |   3 +-
 src/lib/tls_gnutls.c             | 113 ++++++++++++++++++++++++++++++---------
 src/lib/tls_nss.c                |  18 ++++++-
 src/lib/tls_openssl.c            |  90 ++++++++++++++++++++++---------
 src/qt-console/bat_conf.cpp      |   2 +
 src/qt-console/bat_conf.h        |   2 +
 src/qt-console/bcomm/dircomm.cpp |   4 +-
 src/stored/stored_conf.h         |   4 +-
 15 files changed, 190 insertions(+), 65 deletions(-)

commit 0e57df7555728ac0a9affaa5908649d3837a5e84
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:18 2013 +0200

    Upgraded jobs use wrong pool
    
    With the introduction of a fix for "#1679 Job Overrides are Not listed
    In Manual Run Confirmation" we introduced a bug in an interactive run
    as we do an pool override early and ignore any changes later on by
    setting a suppress boolean value. This doesn't work when a job gets
    upgraded later on to lets say Full because no earlier Full was found
    but it started out as an incremental Job.
    
    Moved get_level_since_time() from fd_cmds.c to job.c where it
    makes much more sense. Fixed comments and let it return a boolean
    which is true when it updated the pool due to a missing
    full/differential etc. Now when get_level_since_time() returns true
    we force apply_pool_overrides() to ignore any overrides and always
    reevaluate the pool it needs to save too (fullpool/diffpool/incpool)
    
    Also moved the call to get_level_since_time() and apply_pool_overrides()
    into setup_job() so we don't have to code it twice in
    do_native_backup_init() and do_ndmp_backup_init().
    
    get_level_since_time() now always encodes the since value into the
    jcr->since variable so we only need one argument to the function
    being the jcr and no longer a char pointer and size which for most
    calls were pointing to something in the jcr anyway.
    
    Fixes #88: Upgraded jobs use wrong pool

 src/dird/backup.c   |  11 ----
 src/dird/fd_cmds.c  | 119 -----------------------------------
 src/dird/job.c      | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/dird/ndmp_dma.c |  11 ----
 src/dird/protos.h   |   4 +-
 src/dird/ua_cmds.c  |   5 +-
 6 files changed, 176 insertions(+), 149 deletions(-)

commit c2272cd17ec0e43d1e599d550dc8a0413e35ed71
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:11:16 2013 +0200

    Add copies to the allowed keyword for restore.
    
    Its seems that you can use a set of copy jobs to do a restore when you
    specify the copies keyword on the restore commandline.
    
    e.g. restore copies will select instead of the normal
    full/differential/incremental jobs the copies of those Jobs. When doing
    offsite SD-SD replication this can be a good selection criteria when you
    lost your primay storage daemon but can restore from the secondary
    or standby storage daemon. As long as you have a working database this
    is a good DR procedure. You still need a working director and database
    but as the database can be replicated as an HA solution and a director
    also have a cold standby this could be part of a solution.
    
    Fixes #36: Implementation of restore using a set of copies of an original job

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bf1c4eebe4e3758743e94068603f8750a289c86d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:11:07 2013 +0200

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

 README.md | 61 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 36 insertions(+), 25 deletions(-)

commit 23244f82e6ba6eb12c17bd460d1c06e623ca3f10
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:10:33 2013 +0200

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

 README.md | 2 ++
 1 file changed, 2 insertions(+)

commit 980d9cc61962bfb96887c51b71946f97ed077833
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:10:31 2013 +0200

    automatically open the windows firewall
    
    During installation, we now open the firewallport 9102 for bareos-fd.exe
    per default. This can be disabled during installation.
    
    During uninstall, this firewallrule is removed again.
    
    Fixes #79: configure Windows firewall with package installation
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 79 +++++++++++++++++++++++--------------------
 1 file changed, 43 insertions(+), 36 deletions(-)

commit 9f6f65e53aaa715157379380242d81071c54584c
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:10:29 2013 +0200

    Mostly cosmetic enhancements of windows installer
    
    - using the right icons in the dialogs
    - cleanup of text formatting
    - added help text for /D, /S and /? params
    - commented out catalog directive in generated config
      this is also described in a comment
    - fixes uninstall problem on win64
    
      Fixes: #49  : Install Parameters and Helptext for cmd installation
      Fixes: #121 : Deinstallation of windows installer works, but is not removed from the software list in windows.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

commit 6fb358e7eeb0b8c2b839793ef1f9a2b924457f8d
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:10:27 2013 +0200

    apt-get install: automatic configure
    
    always assume "no" when updating packages.
    Also add a workaround of sending carrage returns,
    because of a problem with updating the mysql-common package.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 84beca6ed5269b5984323d5ce7236eeeda320e64
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:10:25 2013 +0200

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

 platforms/deb/bareos-xUbuntu_10.04.dsc | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit d773ba39d4c4aa25f33adb8c0010b1ebc6c9622d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:23 2013 +0200

    Fix some bugs in non supported sql pooling code.

 src/cats/sql_pooling.c | 21 ++++++++++++++++-----
 src/dird/dird.c        |  2 +-
 2 files changed, 17 insertions(+), 6 deletions(-)

commit 75218a61fa449e443a74e59684a502763cb54b7d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:21 2013 +0200

    Fix btraceback script.

 scripts/btraceback.in | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

commit c2b363974bf3e53cf4acad753da53b73719057b0
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:19 2013 +0200

    Add some safeguards for checking if we have a director.
    
    When we never authenticated with an director the jcr->director pointer
    will be NULL. When we then try to run the after runscripts (which are
    not there also as they are passed in by the director we crash. So added
    some extra safeguards and don't call the runscript at all when there
    are not set.
    
    Fix #103: bareos-fd 13.1 on ubuntu 10.04.4 crashes with segmentation violation

 src/filed/job.c | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

commit f9e13fe01823532bef577ad905bae9582763f2f4
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:17 2013 +0200

    Fix encrypted compressed data in compatible mode.
    
    Forgot to setup the cipher buffer.

 src/filed/compression.c | 1 +
 1 file changed, 1 insertion(+)

commit e932ae326c5e0a999a7603ff845e4adf983da680
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:15 2013 +0200

    Make default intialization somewhat more robust.
    
    A config entry with a default value but without the ITEM_DEFAULT
    flag is almost always an error so just warn about it and set the flag so
    we no longer get nasty surprises. Also found one additional error.

 src/lib/parse_conf.c     | 13 +++++++++++++
 src/stored/stored_conf.c |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

commit 4bebcfe2e650d2c34d244a65a497c0945af8343c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:10:04 2013 +0200

    Fix using default but not setting ITEM_DEFAULT flag.

 src/dird/dird_conf.c     | 2 +-
 src/filed/filed_conf.c   | 6 +++---
 src/stored/stored_conf.c | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 2fd297d34e7862ad307971ea806feb6061347aee
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:24 2013 +0200

    Rebuild configure.

 configure | 906 ++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 469 insertions(+), 437 deletions(-)

commit 824fc603ab52dd04d9580525812e3c78fada7049
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:20 2013 +0200

    Fix database detection macros.
    
    Some platforms have a lying mysql_config which says libs are somewhere
    they are not. Also did some reindenting of the text and now only set
    that we have a certain backend if we really found a libdir with some
    libraries.

 autoconf/bareos/db.m4 | 1704 +++++++++++++++++++++++++------------------------
 1 file changed, 880 insertions(+), 824 deletions(-)

commit 7f8ad5d8bc35d94981ab37a9b622a843f98df879
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:18 2013 +0200

    Fix floating point exception.
    
    dev->max_file_size = 2 * num_recs * dev->max_block_size;
    
    max_block_size can be 0
    
    which gives a max_file_size which is 0
    
    when you then calculate
    
    write_eof = dev->max_file_size / REC_SIZE; /*compute when we add EOF*/
    
    then write_eof = 0 and when you then do
    
    if ((block->BlockNumber % write_eof) == 0) {
    
    You get a nice Floating Point Execption.
    
    We now set max_file_size to something more appropriate and assert on
    write_eof being bigger then 0 so we never do a divide by zero again.
    
    Fixes #96: btape crashes using multiple tape test when tape was written by a fill test before.

 src/stored/btape.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 5c71e41857a14dfa7a44b352dea396102181187c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:16 2013 +0200

    Rebuild configure.

 configure | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

commit 74ea6e57c9ccf3ffb83ce5f87eb14df20595cf3d
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:14 2013 +0200

    Try using mysql_config if its available.
    
    As there are different versions of mysql_config depending on the version
    we test to see what works. This seems to be mostly ok for the current
    platforms we build on but we hope for a somewhat stable ABI of the
    mysql_config program in the future. This should hopefully save us from
    needing to do lots of maintenance on configure for the exotic
    distributions out there who put libs in the most exotic places.

 autoconf/bareos/db.m4 | 41 ++++++++++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 17 deletions(-)

commit 24fde0d2c363acea3b89190f283ee8b82086db74
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:09:12 2013 +0200

    adapted configure to debian configure (bat, tray-monitor)
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 63071d663d2bd4e2ed31049146ccf2830d0b4aff
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:10 2013 +0200

    test -e is not portable.
    
    -e file   True if file exists. (Not available in sh.)

 scripts/mtx-changer.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6149c67a757c79ada6cacc40959575457ff0362a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:09:06 2013 +0200

    Rebuild configure.

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b356ff5c6dcaf1b99b57f964b024fc6d90f268b2
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:09:02 2013 +0200

    added check for mtx program
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/mtx-changer.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 82b1427923d77467cb5d1e63bf270065218b5f05
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:08:47 2013 +0200

    configure finds mtx also at /usr/sbin/mtx
    
    some distribution store mtx under /usr/sbin/mtx.
    As configure runs as normal user, this path is not set.
    This patch let configure also look at sbin paths.
    
    fixes #101: variable MTX is not defined
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b3df190a3b77b0f8e312d2ad5c43d74c6a187678
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:08:17 2013 +0200

    Update README.md

 README.md | 5 +++++
 1 file changed, 5 insertions(+)

commit e6c5c6fac5313aeaf5896fd3834e6788e570e779
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:08:14 2013 +0200

    Use open_bpipe wrapper in bpipe plugin.
    
    Instead of using popen and pclose use the Bareos wrappers open_bpipe
    and close_bpipe. This way the unneeded filedescriptors are closed
    on fork of the program ran under the bpipe plugin.
    
    Fixes #104: Use open_bpipe wrapper in bpipe plugin.

 src/plugins/fd/bpipe-fd.c | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

commit 0923a4a89fbaae32521f7ed73ef00e8205e58210
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:08:03 2013 +0200

    check for windows version (32 or 64 Bits)
    
    Starting the wrong installer will create a warning and
    abort the installation.
    
    Fixes #87: Winbareos installer 64 bit does not check, if windows is 64 bit
    
    This patch should also set the right installation dir
    for the different windows Versions.
    ( Program Files / Program Files (x86)
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos-nsi.spec |  4 ++--
 platforms/win32/winbareos.nsi      | 21 +++++++++++++++++++--
 2 files changed, 21 insertions(+), 4 deletions(-)

commit c53012dd1dbc91bbb3a3705612f34ca13b984f80
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:08:01 2013 +0200

    Fix segmentation fault when running fill multiple times.
    
    Code frees block but doesn't set the pointer to NULL so a next run of
    the code thinks that everything is already allocated but all pointers
    point to already freed memory which gives some firework.
    
    Fixes #96: Running fill test twice leads to segmentation violation.

 src/stored/btape.c | 7 +++++++
 1 file changed, 7 insertions(+)

commit 470ffb1b6963ff3bc4b4e01b803c876e0fb48a99
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:58 2013 +0200

    Rebuild configure.

 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 8e1f5d3b4fbc50ac8f41373fb117c13016f23ce1
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:56 2013 +0200

    Fix indent.

 autoconf/configure.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 0c509157d238c75c5c4f748fa4c44df170b3512f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:54 2013 +0200

    Tweak Make.common.in with somewhat more usable info.

 autoconf/Make.common.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 55e84a8ce876551e4355a26ad9e7d92b8a666cf1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:51 2013 +0200

    keep permissions on var/log/bareos/
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e2621083726744457d8eaab5bc37df7b19edb00f
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:47 2013 +0200

    fixes the paths to the config file and the log file
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/mtx-changer.in | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

commit 1b8fcb1681e5e4bc6682128f3a2b0b26dea5fb4e
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:41 2013 +0200

    should work with /bin/sh and not only with /bin/bash
    
    fixes #78: bareos-config is not portable
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in    |   1 +
 scripts/bareos-config    | 241 -----------------------------------------------
 scripts/bareos-config.in | 239 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 240 insertions(+), 241 deletions(-)

commit 8b1e79cdb6d65b29c5912d48435f250ece10c1c9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:39 2013 +0200

    Fix btape crash on quit.
    
    - Instead of freeing the config before tearing down the whole
      setup only do it when we are really done with the config and
      just before we are about to exit the program.
    - don't allocate jcr->comment in butil.c as the setup_jcr function
      already calls new_jcr which also allocated this member and as such
      the memory is leaked and smartalloc complains on exit.
    
    Fixed #91: btape crashes after quit command

 src/stored/btape.c | 24 +++++++++++++-----------
 src/stored/butil.c |  2 --
 2 files changed, 13 insertions(+), 13 deletions(-)

commit cd21e9782e0a39cd13f77191fea1bf12e5ed95db
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:37 2013 +0200

    should work with /bin/sh and not only with /bin/bash
    
    fixes #78: bareos-config is not portable
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 scripts/bareos-config | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

commit 88a0e60ab6120f6faeaf3e3394113728597159a9
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:34 2013 +0200

    postinstall (permissions, hostname, passwords)
    
    postinstall (permissions, hostname, passwords) for bat, bconsole and tray-monitor
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-bat.postinst         | 47 ++++++++++++++++++++++++++++++++++++++
 debian/bareos-bconsole.postinst    |  1 +
 debian/bareos-traymonitor.postinst | 47 ++++++++++++++++++++++++++++++++++++++
 platforms/rpms/bareos.spec         |  1 +
 4 files changed, 96 insertions(+)

commit 705511cfea7cc5d2dcfb37bba6c9e8840cb2a880
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:32 2013 +0200

    Rebuild configure.

 configure | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 96 insertions(+), 7 deletions(-)

commit 52295beb2e6afada200035de09b2ce4b81e5f95e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:07:30 2013 +0200

    Tweak remove acconfig.h dependency
    
    Now we use the 3 arguments AC_DEFINE there is no need for a acconfig.h
    with bootstrap info for config.h.in we removed acconfig.h long time ago
    but the Makefile still had a dependency.

 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 99eeb55f8dd1eed9695a2fa41310a6fd0c187fbd
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:07:16 2013 +0200

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

 debian/control                         | 46 +++++++++++++++++++---------------
 platforms/deb/bareos-Debian_6.0.dsc    |  4 +--
 platforms/deb/bareos-xUbuntu_12.04.dsc |  5 ++--
 3 files changed, 30 insertions(+), 25 deletions(-)

commit 3115e16c738ffc679204e3ff2227c96fde6bd97a
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:06:36 2013 +0200

    make test script a bit more deterministic
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 test/all | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c5ae6b9e716c2dde478e3407e779b14993e30eeb
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:06:08 2013 +0200

    Debian packages for bareos-bat and bareos-traymonitor
    
    Debian packages for bareos-bat, bareos-traymonitor and bareos-devel.
    Added configure opition --enable-traymonitor (again).
    Uses qmake "make" and "make install" instead of special handling in SPEC file.
    Moved files belonging to BAT and traymonitor from directory scripts
    to source directories.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 Makefile.in                                        |   2 +-
 autoconf/config.h.in                               |   3 +
 autoconf/configure.in                              |  56 ++++++-
 debian/bareos-bat.install                          |   9 ++
 debian/bareos-common.install                       |   1 -
 debian/bareos-devel.install                        |   2 +
 debian/bareos-traymonitor.install                  |  12 +-
 debian/rules                                       |   2 +
 platforms/gentoo/bareos.ebuild                     |   2 +-
 platforms/rpms/bareos.spec                         |  59 ++-----
 scripts/bareos-tray-monitor.desktop.in             |  10 --
 scripts/bat.desktop.consolehelper.in               |  11 --
 scripts/bat.desktop.in                             |  11 --
 scripts/bat.desktop.xsu.in                         |  11 --
 scripts/tray-monitor.xpm                           | 178 ---------------------
 src/qt-console/bat.desktop.in                      |  13 ++
 src/qt-console/bat.pro.in                          |   9 +-
 src/qt-console/main.qrc                            |   2 +-
 .../tray-monitor/bareos-tray-monitor.desktop.in    |  13 ++
 .../tray-monitor/bareos-tray-monitor.xpm           | 178 +++++++++++++++++++++
 src/qt-console/tray-monitor/tray-monitor.pro.in    |  18 ++-
 21 files changed, 317 insertions(+), 285 deletions(-)

commit 36c7d0a8f1b942264c2720a3ea42677ba4934650
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:02:57 2013 +0200

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

 .travis.yml                            | 2 +-
 debian/control                         | 7 ++++---
 platforms/deb/bareos-Debian_6.0.dsc    | 2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

commit 7cf1425a1a0e3b07aa4093dd091710e860b985d9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:55 2013 +0200

    Tweak layout.

 debian/changelog | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c43849812610e709f0b6e4fd7b2fd34e5b068d94
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:49 2013 +0200

    Tweak compiler warning.

 src/lib/crypto_cache.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 63abce0454b85da861819da652d0bd5326a1fcb9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:46 2013 +0200

    Fix printing of crypto cache.
    
    Also fixed input to always clean the input buffer so we don't read
    garbage and added a -r option to be able to reset the expiry time of
    all entries in the cache by setting the time they were added to the
    current time. Updated manpage to document the new flags.

 manpages/bscrypto.8    | 10 ++++++++--
 src/lib/crypto_cache.c | 42 ++++++++++++++++++++++++++++++++++++------
 src/lib/crypto_cache.h |  1 +
 src/tools/bscrypto.c   | 37 ++++++++++++++++++++++++++++++++++---
 4 files changed, 79 insertions(+), 11 deletions(-)

commit 21ea95f419601c1f842fc1cab0a6549dd6b8caa8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:40 2013 +0200

    Fix layout when printing crypto keys.
    
    First determine what size the volumename and cryptokey column
    needs before printing the data. This way we always print the data
    in a readable fashion.

 src/lib/crypto_cache.c | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

commit f1cd0155f3ec36277f94ec59275f1a1761d74dac
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:35 2013 +0200

    Tweak typo.

 scripts/bareos-ctl-funcs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c4daee294171da5340073d0209b8c963738a9a3a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:31 2013 +0200

    Add ability to dump the content of the cryptocache.
    
    For tape encryption the storage daemon keeps a cache of recently used
    data it needs when loading a crypto enabled volume and it doesn't have
    a connection to the director (e.g. when starting the SD). The bscrypto
    tool already had support for populating the cache with data which is
    used when a Disaster Recovery is needed but it would be nice if you
    could also dump the content of the cache using the bscrypto tool. There
    is no real security risk as you still need read access to the cache file
    and the data dumped is the wrapped/encrypted version of the key for
    which you need the KeyEncryptionKey to be able to translate it to the
    actual key loaded into the drive.

 src/lib/crypto_cache.c | 38 ++++++++++++++++++++++++++++++++++++++
 src/lib/crypto_cache.h |  1 +
 src/tools/bscrypto.c   | 29 +++++++++++++++++++++++++++--
 3 files changed, 66 insertions(+), 2 deletions(-)

commit 9355be42a039419a0bb43888b011c8976aee901a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:24 2013 +0200

    Add support for starting/stopping deamons.
    
    On debian and ubuntu the init scripts are not registered on install and
    unregistered on deinstall of the package. Added the right calls to the
    postint script of the different daemons and added prerm scripts to do
    the right thing on deinstall.
    
    Fixes #86: No start scripts created during installation

 debian/bareos-director.postinst   |  6 ++++++
 debian/bareos-director.prerm      | 41 +++++++++++++++++++++++++++++++++++++++
 debian/bareos-filedaemon.postinst |  6 ++++++
 debian/bareos-filedaemon.prerm    | 41 +++++++++++++++++++++++++++++++++++++++
 debian/bareos-storage.postinst    |  6 ++++++
 debian/bareos-storage.prerm       | 41 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 141 insertions(+)

commit bf602908182cb092be690bfb2afa711bd3e54751
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:13 2013 +0200

    Fix specfile cleanup for new script.

 platforms/rpms/bareos.spec | 1 +
 1 file changed, 1 insertion(+)

commit 78c3f6fd4c3adac6201f991a2333c3e7575b9030
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:08 2013 +0200

    Fix typo.

 scripts/bareos-ctl-dir.in | 2 +-
 scripts/bareos-ctl-fd.in  | 2 +-
 scripts/bareos-ctl-sd.in  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 50877a3a200e4a98d0b56b40cdc3b94af95024cb
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:06 2013 +0200

    Only code shell functions once.
    
    All bareos-ctl-* scripts code the same set of functions which is kind
    of stupid. This patch creates a common set of functions which are
    included into the script so we only need to code them once and reuse
    them. Also added support for pgrep support which is on Platforms like
    Solaris and xBSD next to pidof support.

 autoconf/configure.in     |   1 +
 scripts/Makefile.in       |   1 +
 scripts/bareos-ctl-dir.in | 162 ++----------------------------------------
 scripts/bareos-ctl-fd.in  | 162 ++----------------------------------------
 scripts/bareos-ctl-funcs  | 175 ++++++++++++++++++++++++++++++++++++++++++++++
 scripts/bareos-ctl-sd.in  | 162 ++----------------------------------------
 6 files changed, 198 insertions(+), 465 deletions(-)

commit 184919b8f9a96fdc8c8021ecc9cbe8e433d21a57
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:02:03 2013 +0200

    Fix typo.

 scripts/btraceback.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3c1490204b1b297e94cae61de225aceffe7e23b8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:01:39 2013 +0200

    Rebuild configure

 configure | 2 ++
 1 file changed, 2 insertions(+)

commit 370482e425e27392267eb321076c2c8b880e24c7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:01:34 2013 +0200

    For now disable GNUTLS support.
    
    Until this stuff really works disable the GNUTLS detection in configure.

 autoconf/configure.in | 3 +++
 1 file changed, 3 insertions(+)

commit 5c5a013f1383a68c8bfb41b9125367092a1a8f32
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:01:29 2013 +0200

    move make_catalog_backup.pl to bareos-director
    
    move make_catalog_backup.pl to bareos-director, as in the Debian packages.
    Also done some cleanup.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/rpms/bareos.spec | 38 ++++++++++++--------------------------
 1 file changed, 12 insertions(+), 26 deletions(-)

commit 2ba6f4a111812d4b896543b9985709d0b91f2178
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:01:24 2013 +0200

    Remove DVD example.
    
    As DVD support is removed it doesn't make sense to have an example for
    a DVD file device.

 src/dird/bareos-dir.conf.in | 10 ----------
 1 file changed, 10 deletions(-)

commit d6f4d02ffcd562d91404ce07bebb8fed957bcedd
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:01:22 2013 +0200

    Rebuild configure.

 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 90aad2f586cd5d2e461888617373e05837f3a909
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:01:19 2013 +0200

    Start to create defaultconfigs
    
    We want to create default configurations for certain use cases. This
    is the first try to create a good default config for disk-only backup.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 autoconf/configure.in                          |   2 +
 src/defaultconfigs/diskonly/bareos-dir.conf.in | 325 +++++++++++++++++++++++++
 src/defaultconfigs/diskonly/bareos-sd.conf.in  |  61 +++++
 3 files changed, 388 insertions(+)

commit ea420e46949dc93905865e7712a63f12681d89b5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:01:15 2013 +0200

    Use the smarter filedescriptor closing in bpipe.
    
    Instead of closing the filedescriptors ourself (and a maximum
    of 29 (32 - 3)) use fcntl(F_CLOSEM) or closefrom() library call
    to perform what we really want e.g. close all unneeded filedescriptors
    of the forked process.

 src/lib/bpipe.c  | 16 +++++++++++++++-
 src/lib/daemon.c |  4 ++--
 2 files changed, 17 insertions(+), 3 deletions(-)

commit 0d0faac5d51f3825df4db2ee9d163db7bc35af3e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:00:54 2013 +0200

    Don't print password while replacing it.
    
    The bareos-config script writes the passwords in cleartext when replacing
    them in the config files.
    
    As they are passwords, they should be kept secret so not displayed.
    
    Fixes #58: Passwords are printed when they are set

 scripts/bareos-config | 53 ++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 35 insertions(+), 18 deletions(-)

commit 9d72fe0b1ad7359ff54eccb169ae2136c9844cfe
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 21:00:48 2013 +0200

    Fix compiler warning.

 src/stored/bextract.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit d51517bf826b86df441c075120afe0206cbfe0f7
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 21:00:44 2013 +0200

    Force the LDFLAGS to be unset
    
    As unfortunately the unsetting of the hardening
    doesn't work, we unset the LDFLAGS right before
    configure
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 489f1378927d6f6811074a8fd1922ac2a9aa2187
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 21:00:35 2013 +0200

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

 platforms/deb/bareos-Debian_6.0.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 52a17c057f97ea0d9f48c430aa13fb33683dd731
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:55 2013 +0200

    Fix typo in configure.

 autoconf/configure.in | 2 +-
 configure             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 1b12e1a7cb675207bbd4b61b743c3069a300fb5c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:41 2013 +0200

    debian/rules is a Makefile not a shell script.
    
    The current file seems to indicate that the rules file is a shell script
    by exporting all variables and using the ${} variable expansion while
    the normal Makefile variable expansion uses $() and we also can have
    spaces around the variable initialization as it Makefile and not shell.

 debian/rules | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

commit 3561ffbb143c1fb8e0563c5fd687b329047092dc
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:36 2013 +0200

    Disable debian hardening.
    
    Enabling hardening gives the following LDFLAGS
    
    -Wl,-Bsymbolic-functions -Wl,-z,relro
    
    which break the config engine.

 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

commit 811ffb62c80546a576fa2ca4da859b54a42c68c8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:31 2013 +0200

    Drop LDFLAGS unset.

 debian/rules | 2 --
 1 file changed, 2 deletions(-)

commit 6e52df37c4a0ff1107b27705887c9366819427cf
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:19 2013 +0200

    Try to get ride of LDFLAGS on xUbuntu
    
    Ubuntu compiles the shared libs with
    
    -Wl,-Bsymbolic-functions -Wl,-z,relro
    
    which makes the config_engine blowup as function pointers are not ok
    and all offsets calculated at compile time are not right and as such
    the whole config structure doesn't get initialized properly and the code
    crashes at random places.

 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit a3a0be9fbb88bb0f4c660290bfafd984359d0ad9
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:17 2013 +0200

    Tweak some Makefiles.
    
    Drop all old GNOME menu stuff and drop all uninstall related targets.

 Makefile.in                  | 53 --------------------------------------------
 manpages/Makefile.in         |  8 -------
 scripts/Makefile.in          | 16 -------------
 scripts/logwatch/Makefile.in |  6 -----
 4 files changed, 83 deletions(-)

commit ff55d52bfe9efcaf11415af79e6213ff10686262
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:15 2013 +0200

    Don't install initscripts on Solaris 10 and higher.

 platforms/solaris/Makefile.in | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit 24cbae8e45cdf0994ffd9a0c4cb72cfce5bc0598
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:10 2013 +0200

    Tweak use CFLAGS not CXXFLAGS as we use CC not CXX
    
    timelimit.c is compiled with the normal C compiler not with C++ so lets
    use the proper set of flags e.g. CFLAGS instead of CXXFLAGS.

 src/tools/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29528df552277c0613b580b5583465bb42081ea8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:08 2013 +0200

    Rebuild configure.

 configure | 182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 165 insertions(+), 17 deletions(-)

commit ed8b01b67e237261e39556687e5b9db59490113e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:05 2013 +0200

    Rewrite btraceback.
    
    Rewrote btraceback to be a uniform script that behaves the same on each
    platform. We now let configure determine which debugger is available on
    the platform we are on. On execution of the btraceback script it checks
    which debuggers were available and also checks if that one is available
    on the current platform. If not it will fall back to runtime detection
    of any available debugger.

 autoconf/configure.in |  38 +++++++++--------
 scripts/btraceback.in | 115 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 102 insertions(+), 51 deletions(-)

commit 311e43ed3ff689a115c556af9bf500a5fe3e1f62
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:59:02 2013 +0200

    Extract default database type from config.
    
    As the bareos-config script is non-portable (bash) we better extract the
    default database backend from the bareos-dir.conf. To be even more sure
    the script uses the right database type the call to it should just
    include the 5th argument which is the database type in the config so we
    are not dependent on any default type guessing.

 src/cats/make_catalog_backup.in | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 6910a73c19d4e42545d039cca7dc9dd80b440101
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:58:57 2013 +0200

    Fix problem when zlib is not available.

 src/findlib/bfile.c | 5 -----
 1 file changed, 5 deletions(-)

commit 34190e0f6b7b5608cab487d4df478a4385baf473
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:58:06 2013 +0200

    Tweak Makefile.in
    
    Make sure timelimit is build with the right CXXFLAGS.

 src/tools/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 89c9613d2165704e3bf61ddc3271ad0d48b0d1e7
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 20:56:10 2013 +0200

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

 debian/control                         | 9 +++++++++
 debian/rules                           | 7 +++++++
 platforms/deb/bareos-xUbuntu_12.04.dsc | 2 +-
 3 files changed, 17 insertions(+), 1 deletion(-)

commit 2fdfb770fc02903ebd3cd97f181ec8f71456d039
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 20:55:04 2013 +0200

    create OPSI package for winbareos
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/opsi/CLIENT_DATA/delsub3264.ins |  22 -----
 platforms/opsi/CLIENT_DATA/setup3264.ins  | 105 ++-------------------
 platforms/opsi/OPSI/control               | 151 ++----------------------------
 platforms/opsi/download_and_opsibuild.sh  |  44 ---------
 platforms/opsi/winbareos-opsi.changes     |   4 +
 platforms/opsi/winbareos-opsi.spec        |  76 +++++++++++++++
 6 files changed, 100 insertions(+), 302 deletions(-)

commit 0f6ee173a843489f65653bb39cb20cc93bb9dc6b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:54:58 2013 +0200

    Next to live debugging the crash also save a crash dump.
    
    On Solaris we already save the crash dump using gcore so we can do
    postmortem debugging. We now also try this on other platforms so we can
    do postmortem debugging on those platforms.

 scripts/btraceback.in | 1 +
 1 file changed, 1 insertion(+)

commit 212288a446824fe9593fdd0aa22e3ae6e515c1ab
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:59 2013 +0200

    Update README.md with new features.

 README.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit c15973354dc4ee02b416b89e818aa9aa3ba08469
Author: Maik Aussendorf <maik.aussendorf@bareos.com>
Date:   Sat May 4 20:52:56 2013 +0200

    BAT gives cryptic error message
    
    BAT gives cryptic error message, if director network address is
    configured wrong.
    
    Fixes #21: bat gives cryptic error message, if director network address is configured wrong
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/qt-console/console/console.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e95b6001f5e8c1609d5a3609d3677eaf1ae2a5c2
Author: xtruthx <daniel.neuberger@dass-it.de>
Date:   Sat May 4 20:52:50 2013 +0200

    added a script for automating opsi
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/opsi/download_and_opsibuild.sh | 44 ++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

commit f91b67fbc882c3a1d04d756024988d3b210384ea
Author: xtruthx <daniel.neuberger@dass-it.de>
Date:   Sat May 4 20:52:45 2013 +0200

    opsi files for the opsi package management tool
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/opsi/CLIENT_DATA/delsub3264.ins    | 128 ++++++++++
 platforms/opsi/CLIENT_DATA/logo.png          | Bin 0 -> 5219 bytes
 platforms/opsi/CLIENT_DATA/readme.txt        |  64 +++++
 platforms/opsi/CLIENT_DATA/setup3264.ins     | 336 +++++++++++++++++++++++++++
 platforms/opsi/CLIENT_DATA/uninstall3264.ins |  67 ++++++
 platforms/opsi/OPSI/control                  | 256 ++++++++++++++++++++
 platforms/opsi/OPSI/postinst                 |   9 +
 platforms/opsi/OPSI/preinst                  |   9 +
 8 files changed, 869 insertions(+)

commit 3df2e10f39a334aaeb966c5a3d131e540e8f2168
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:43 2013 +0200

    Add pretty print function for unsupported compression.

 src/filed/compression.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

commit 39a6bc6184d77d337ec55e7928629ec8be7806d6
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:41 2013 +0200

    Fix windows compile problem.

 src/findlib/bfile.c | 5 -----
 1 file changed, 5 deletions(-)

commit 65ef5e148adb89be3464d5601ac120c04eda972c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:39 2013 +0200

    Fix windows build.

 src/win32/lib/Makefile | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

commit 87c19af5420615fa9b9b155d01924e564fc66e39
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 20:52:31 2013 +0200

    show OK instead of Yes/No if reinstalling
    
    The messagebox for the "is already installed, please
    reinstall first" shows now OK instead of YesNo.
    
    Also added copyright header.
    
    Fixes #70: Dialog of windows installer, if software is already installed should show "OK" instead of "yes/no"
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 platforms/win32/winbareos.nsi | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

commit 05fdfc81601080ae615a1d7f4a7f90c8c2307b3c
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:29 2013 +0200

    Tweak fix when no compression is enabled.

 src/filed/compression.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 34bead1c0424fbfe89568eeee6a80d2244cdfe3e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:27 2013 +0200

    Tweak fix compiler warning.

 src/stored/mac.c | 3 +++
 1 file changed, 3 insertions(+)

commit 6d0556b77a452fac6d6d816c8c04c292324dea13
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:25 2013 +0200

    Tweak fix compiler warning.

 src/stored/dircmd.c | 2 ++
 1 file changed, 2 insertions(+)

commit f0abdb8615688cb71481267d9aecf45b8e8783b7
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:22 2013 +0200

    Fix compile problem when no lzo2 enabled.

 src/filed/backup.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit aa205c5a9360aa7a9d67be182f21a92f108fbf56
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:19 2013 +0200

    Tweak copyright.

 src/stored/sd_cmds.c | 1 +
 1 file changed, 1 insertion(+)

commit 1c5333863abc63332f39ac9d681091022bb5e515
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:17 2013 +0200

    Tweak fix compile error.

 src/qt-console/tray-monitor/authenticate.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 96a585f9a60e90e2b94b5e7af17a0c16e6208bb8
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 20:52:11 2013 +0200

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

 Makefile.in                | 5 +++++
 platforms/rpms/bareos.spec | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit f268ab8e8f5f1ede8d6227ee2c92b275b3c53d8a
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:52:10 2013 +0200

    Rebuild configure and config.h.in

 autoconf/config.h.in |   6 +
 configure            | 441 +++++++++++++++++++++++++++++++++++----------------
 2 files changed, 310 insertions(+), 137 deletions(-)

commit 83c6f962c8a6ce9a705bb26f7fe214476d6d861f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:51:53 2013 +0200

    Allow BAREOS to interface to multiple crypto libs.
    
    OPENSSL gives all kind of headaches as its not compatible to AGPLv3 and
    as such you always need a linkage exception in your LICENSE. Allowing
    to interface to GNUTLS (LGPL) or Mozilla NSS (MPL/GPL/LGPL) makes this
    probem much easier to swallow. This is the first work to allow either
    one of the following crypto/TLS frameworks:
    
    - None
    - OpenSSL
    - GNUTLS
    - Mozilla NSS
    
    Also only link and include the crypto specific headers and libs in
    the place that actually defines the abstraction layer and not all over
    the code.

 autoconf/Make.common.in          |    9 +-
 autoconf/configure.in            |  410 ++++++----
 src/console/Makefile.in          |    5 +-
 src/console/console.c            |   20 +-
 src/console/console_conf.c       |    8 +
 src/console/console_conf.h       |    2 +
 src/dird/Makefile.in             |    8 +-
 src/dird/dird.c                  |    8 +-
 src/dird/dird_conf.c             |   16 +
 src/dird/dird_conf.h             |    4 +
 src/filed/Makefile.in            |    4 +-
 src/filed/filed.c                |   24 +-
 src/filed/filed_conf.c           |    8 +
 src/filed/filed_conf.h           |    2 +
 src/lib/Makefile.in              |   88 +-
 src/lib/bnet.c                   |    4 +-
 src/lib/crypto.c                 | 1548 +----------------------------------
 src/lib/crypto_gnutls.c          |  276 +++++++
 src/lib/crypto_none.c            |  251 ++++++
 src/lib/crypto_nss.c             |  247 ++++++
 src/lib/crypto_openssl.c         | 1660 ++++++++++++++++++++++++++++++++++++++
 src/lib/crypto_wrap.c            |   64 +-
 src/lib/lib.h                    |    1 -
 src/lib/openssl.c                |  261 ------
 src/lib/openssl.h                |   39 -
 src/lib/passphrase.c             |   40 +-
 src/lib/protos.h                 |   14 +-
 src/lib/tls.c                    |  717 ----------------
 src/lib/tls_gnutls.c             |  648 +++++++++++++++
 src/lib/tls_none.c               |   80 ++
 src/lib/tls_nss.c                |  143 ++++
 src/lib/tls_openssl.c            |  716 ++++++++++++++++
 src/plugins/dir/Makefile.in      |    2 +-
 src/plugins/fd/Makefile.in       |    2 +-
 src/plugins/sd/Makefile.in       |    2 +-
 src/qt-console/bat_conf.cpp      |    8 +
 src/qt-console/bat_conf.h        |    2 +
 src/qt-console/bcomm/dircomm.cpp |    7 +-
 src/stored/Makefile.in           |   14 +-
 src/stored/stored.c              |   24 +-
 src/stored/stored_conf.c         |    8 +
 src/stored/stored_conf.h         |    2 +
 src/tests/Makefile.in            |   14 +-
 src/tools/Makefile.in            |   12 +-
 44 files changed, 4609 insertions(+), 2813 deletions(-)

commit 73927aa1c33afacfbf1893d7fc437ee9c2afbc48
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:48:09 2013 +0200

    Encryption cipher is hardcoded
    
    The crypto framework support multiple encryption ciphers but the code
    hardcodes the cipher to AES128.
    
    The crypto framework support the following ciphers:
    - AES128
    - AES192
    - AES256
    - BLOWFISH
    
    openssl (< 1.0) also has support for the following block ciphers.
    - CAMELLIA128
    - CAMELLIA192
    - CAMELLIA256
    
    openssl (> 1.0) also has support for the following block ciphers.
    - AES128HMACSHA1
    - AES256HMACSHA1
    
    Adding support for these extra block ciphers seems obvious e.g. set the
    right NID and entry point to the cipher.
    
    Fixes #46: Encryption cipher is hardcoded

 src/filed/crypto.c       | 11 +++++++++-
 src/filed/filed_conf.c   | 56 +++++++++++++++++++++++++++++++++++++++++++++++-
 src/filed/filed_conf.h   |  7 ++++++
 src/lib/crypto.c         | 44 +++++++++++++++++++++++++++++++++++++
 src/lib/crypto.h         |  5 +++++
 src/stored/stored_conf.c |  6 +++---
 6 files changed, 124 insertions(+), 5 deletions(-)

commit 65e55e0a67e2c1a2bef973d1400b55d81de05582
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:38:27 2013 +0200

    Cleanup of compression framework
    
    As part of the integration of the LZO2 compression a new set of data
    streams was introduced. Each compression stream now starts with a
    so called compression header which says what compression was used.
    We should deprecate the old GZIP datastreams e.g. still allow them to
    be restored but not use them from now on and implement GZIP compression
    using the same compression header which will cleanup the code enormously
    and as we are planning on adding additional compression methods it would
    be nice if all compression uses the same coding style and we deprecate
    the old and non flexible GZIP datastreams.
    
    Fixes #34: Cleanup of compression framework

 src/filed/backup.c      |   2 +-
 src/filed/backup.h      |   4 +-
 src/filed/compression.c | 543 +++++++++++++++++++++++++++++-------------------
 src/findlib/attribs.c   | 117 ++++++-----
 src/findlib/bfile.c     |  10 -
 src/findlib/protos.h    |   2 +-
 src/include/jcr.h       |   8 +-
 src/include/streams.h   |  45 ++--
 src/stored/bextract.c   | 173 ++++++++++-----
 9 files changed, 547 insertions(+), 357 deletions(-)

commit edaf72d812bea9f81f44fd508f6f927d3cd79769
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:37:55 2013 +0200

    Initial working version of SD-SD replication.
    
    This code implements the replication of data between two Storage Daemons
    used by the migrate and copy jobs. This is an extenstion of the existing
    migration and copy job functionality. The old code already could select
    two different storage resources on two different Storage Daemons but it
    would then only connect to the write storage and ask there for the read
    storage which is ofcourse not known there. This code checks to see if
    the read and write storage is located on diffferent Storage Daemons by
    comparing the address, SDport and password of the remote storage daemon.
    
    If it detects there are two Storage Daemons involved it will use the
    new SD-SD communication protocol to perform a replicate of the data from
    the read storage to the write storage.
    
    This patch implements the following:
    - Refactored code for authenticating a daemon, this was refactored so
      that clients like the bconsole and qt-console from now on use the
      now working authenticate_with_director method of the bsock class so
      we don't duplicate code to much. Also the other authentication was
      refactored as part of this overhaul of the authentication system.
      There are now generic functions which allow to authenticate a certain
      daemon and a specific authentication is implemented using these
      functions. For the SD-SD authentication there is some extra code to be
      able to have one storage daemon start the challenge and the let the
      other response otherwise the authentication would never work as both
      challenge each other at the same time.
    - Refactored a lot of code to properly use a boolean when things are
      a boolean and not polute the code with assigning true to an integer
      variable. That by incident false is 0 and true is 1 doesn't mean
      that you shouldn't just call a variable of the type bool and mix
      and match integer and boolean all over the code. A lot done more
      to come.
    - Most protocol messages are now put into static char variables in the
      code instead of defining them directly in the code call. This was done
      in some parts of the code but not nearly enough this is a good step
      in the right direction.
    - You can bandwith limit your replication sessions in multiple ways.
      - set a bandwidth limit in the migration/copy job
      - set a bandwitdh limit for the writing SD in the SD definition
        in the director config.
      - set a bandwitdh limit for the reading SD in the SD definition
        in the director config.
      - set a bandwidth limit on the reading SD in the storage daemon config
      - set a bandwidth limit on the writing SD in the storage daemon config
      - change the bandwith via the console setbandwidth cmd.
    - The already allocated mig_jcr for a migration and copy Job is used
      to track the communication with the writing SD. The reading SD is
      controlled via the normal jcr structure. For this to work the mig_jcr
      is created without a so called Messages resource so when using the
      mig_jcr for controlling the writing SD we don't get those nasty mail
      and database logging as if the Job actually did run.
    - A new SD-SD communication protocol is implemented and this can be
      extended in the future to perform other SD-SD protocol features. For
      now the generic listener of the SD will understand the following
      incoming connections:
        - FD - SD backup and restore sessions which start with the following
          sequence: Hello Start Job <jobname>
        - SD - SD replication of data which start with the following
          sequence: Hello Start Storage Job <jobname>
        - DIR - SD controlling sessions for controlling the SD from the
          director.
    - The old one Storage Daemon migrate and copy is still available and
      when the director finds out both the read and write storage is one
      the same SD it will use this optimized and fastest code path where
      the SD reads the data and directly writes the data to other media
      available to the same SD. SD-SD network replication is only used when
      the two SDs are determined to be different this way we only use the
      network when really neeeded and the one SD replication using internal
      stuctures is way faster then any loopback network send protocol.
    - Comments are fixed along the way.
    - Parts of lib/message.c are reindented as it used the wrong indention
      levels.
    
    Fixes #7: Job migration/copy between different SDs

 src/console/Makefile.in               |   2 +-
 src/console/authenticate.c            | 160 ------
 src/console/console.c                 |  76 ++-
 src/dird/authenticate.c               | 193 ++++---
 src/dird/backup.c                     |  32 +-
 src/dird/catreq.c                     |  43 +-
 src/dird/dird_conf.c                  |   6 +
 src/dird/dird_conf.h                  |   1 +
 src/dird/fd_cmds.c                    |  46 +-
 src/dird/getmsg.c                     |  11 +-
 src/dird/job.c                        |  22 +-
 src/dird/migrate.c                    | 569 +++++++++++++++-----
 src/dird/mountreq.c                   |   5 +-
 src/dird/msgchan.c                    |   7 +-
 src/dird/ndmp_dma.c                   |   3 +-
 src/dird/protos.h                     |   9 +-
 src/dird/restore.c                    |  21 +-
 src/dird/sd_cmds.c                    |  96 +++-
 src/dird/ua_cmds.c                    | 136 +++--
 src/dird/ua_status.c                  |   6 +-
 src/dird/vbackup.c                    |   2 +-
 src/dird/verify.c                     |  18 +-
 src/filed/accurate.c                  |   2 +-
 src/filed/authenticate.c              | 208 +++++---
 src/filed/backup.c                    |  10 +-
 src/filed/filed.c                     |  19 +-
 src/filed/job.c                       | 476 +++++++++--------
 src/filed/protos.h                    |   7 +-
 src/filed/restore.c                   |   3 +-
 src/filed/status.c                    |  23 +-
 src/filed/verify.c                    |   4 +-
 src/filed/verify_vol.c                |  13 +-
 src/include/jcr.h                     |   8 +-
 src/lib/base64.c                      |  14 +-
 src/lib/bsock.c                       |  82 +--
 src/lib/bsock.h                       |   4 +-
 src/lib/cram-md5.c                    |   5 +-
 src/lib/message.c                     | 955 ++++++++++++++++++----------------
 src/lib/message.h                     |  14 +-
 src/lib/protos.h                      |   9 +-
 src/lib/tls.c                         |  24 +-
 src/qt-console/bat.pro.in             |   2 +-
 src/qt-console/bcomm/dircomm.cpp      |  30 +-
 src/qt-console/bcomm/dircomm.h        |   4 +-
 src/qt-console/bcomm/dircomm_auth.cpp | 164 ------
 src/stored/Makefile.in                |   4 +-
 src/stored/acquire.c                  |   2 +-
 src/stored/append.c                   | 168 +++---
 src/stored/askdir.c                   |  29 +-
 src/stored/authenticate.c             | 274 +++++++---
 src/stored/bcopy.c                    |   2 +-
 src/stored/bextract.c                 |   2 +-
 src/stored/bls.c                      |   2 +-
 src/stored/bscan.c                    |   2 +-
 src/stored/btape.c                    |   2 +-
 src/stored/dircmd.c                   | 346 +++++++++---
 src/stored/fd_cmds.c                  | 109 ++--
 src/stored/job.c                      |   6 +-
 src/stored/mac.c                      | 598 ++++++++++++++++-----
 src/stored/protos.h                   |  35 +-
 src/stored/read.c                     |  64 ++-
 src/stored/record.h                   |   1 +
 src/stored/reserve.c                  |  15 +-
 src/stored/sd_cmds.c                  | 355 +++++++++++++
 src/stored/status.c                   |  14 +-
 src/stored/stored.c                   |  36 +-
 src/stored/stored_conf.c              |  45 +-
 src/stored/stored_conf.h              |  13 +-
 src/stored/wait.c                     |   2 +-
 src/win32/console/Makefile            |   2 +-
 src/win32/qt-console/bat.pro          |   2 +-
 71 files changed, 3646 insertions(+), 2028 deletions(-)

commit 581fdfc7f1deff303ad3c3484b5e6ad1c63fafe3
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sat May 4 20:34:42 2013 +0200

    Implementation of an allowed job command keyword
    
    Implement an allowed Job command keyword in the filed that sets which
    of the different Job commands we should accept. Currently the filed
    will execute any Job command unless people specify the -b or -r option
    (backup only/restore only) which makes it a serious security concern by
    much of the bigger customers security officers.
    
    This new keyword implements a per director and a global list which is used
    as a fallback when a specific one for a specific director is not configured.
    
    We won't filter all the commands issued by the director only
    the important ones. Things which we allow to be filtered are:
    
    - backup
    - restore
    - verify
    - estimate
    - runscript
    
    Fixes #32: Implementation of an allowed job command keyword

 src/filed/filed_conf.c |  10 +++++
 src/filed/filed_conf.h |   2 +
 src/filed/job.c        | 115 +++++++++++++++++++++++++++++++++++++++++++------
 3 files changed, 113 insertions(+), 14 deletions(-)

commit a75ec62f406bce9dbcf60b597355543ef44eed06
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sat May 4 20:34:35 2013 +0200

    Implementation of an allowed scriptdir keyword
    
    Implement an allowed scriptdir keyword in the filed that sets the
    directories in which any runscript must be located so we can limit
    the attack surface of the filedaemon.
    
    Currently the filed will execute any script in any directory which
    makes it a serious security concern by much of the bigger customers
    security officers.
    
    This new keyword implemented per director and a global one which is
    used as a fallback when a specific one for a specific director is not
    configured.
    
    Fixes #31: Implementation of an allowed scriptdir keyword

 src/filed/filed_conf.c | 23 ++++++++++++++---------
 src/filed/filed_conf.h |  3 ++-
 src/filed/job.c        | 22 ++++++++++++++++++----
 src/lib/runscript.c    | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
 src/lib/runscript.h    |  3 ++-
 5 files changed, 83 insertions(+), 18 deletions(-)

commit 61f514ae3aaa86a871fd9fc0b21d4cabb2c1d128
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sat May 4 20:34:29 2013 +0200

    Allow cancel by JobId on storage daemon.
    
    Sometimes the Director already removed the Job from its running queue
    but the Storage daemon still thinks it doing a backup (or other Job)
    and you cannot cancel the Job from within a console anymore. This piece
    of code allows you to cancel a Storage Daemon Job by JobId. E.g. do
    a status sd on the Storage Daemon make sure what Job you want to cancel
    and issue a cancel storage=<Storage Daemon> Jobid=<JobId> This way you
    can also remove a Job that blocks any other Jobs from running without
    the need to restart the whole Storage Daemon.
    
    Fixes #13: Allow cancel by JobId on storage daemon.

 src/dird/protos.h   |  1 +
 src/dird/sd_cmds.c  | 66 +++++++++++++++++++++++++++++++++++---------
 src/dird/ua_cmds.c  | 64 ++++++++++++++++++++++++++++++-------------
 src/stored/dircmd.c | 79 +++++++++++++++++++++++++++++++----------------------
 4 files changed, 145 insertions(+), 65 deletions(-)

commit fb305e0a30eca8b5fa8ceba162c48a662ec958c4
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sat May 4 20:34:23 2013 +0200

    Tweak indent.

 src/dird/dird_conf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit fa2238c85b6901d38665166b1fd9871ea1742d95
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sat May 4 20:34:16 2013 +0200

    Print BSR to memory buffer.
    
    Print the BSR to a memory buffer and write that out in one go.
    This allows you to use a printed BSR in any reporting.

 src/dird/bsr.c    | 169 +++++++++++++++++++++++++++++++++++-------------------
 src/dird/protos.h |   1 +
 2 files changed, 111 insertions(+), 59 deletions(-)

commit 014f9260a319c1c09ec237125bd73a4650d1a183
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 20:33:16 2013 +0200

    Switch to new version number.
    
    Start adding new features.

 debian/changelog                       |  6 ++++++
 platforms/deb/bareos-Debian_6.0.dsc    |  2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc |  2 +-
 platforms/rpms/bareos.spec             |  4 ++--
 platforms/win32/winbareos-nsi.spec     |  2 +-
 platforms/win32/winbareos32.spec       |  2 +-
 platforms/win32/winbareos64.spec       |  2 +-
 src/include/version.h                  | 18 +++++++++---------
 8 files changed, 22 insertions(+), 16 deletions(-)

commit 3beca8002560159a9e68ae29f85938d9c2547797
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:54:58 2013 +0200

    Rebuild configure.

 configure | 452 ++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 231 insertions(+), 221 deletions(-)

commit f5d7ed6f0c6df8fa23f7bf861fd762c210ee2f0f
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:58 2013 +0200

    Tweak sql update function.
    
    Use only one function to do the database update and pass as argument the
    minimum number of affected rows that must be met.

 src/cats/cats.h |  7 +++----
 src/cats/sql.c  | 45 ++++++++++++++-------------------------------
 2 files changed, 17 insertions(+), 35 deletions(-)

commit 0fe2716c1d1720e1be0bee5710bf68722fa8c882
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:57 2013 +0200

    Fix typo.

 src/dird/ua_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 72a68c2c9342b5d8e30562e1ba6dfeed890d09bb
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:57 2013 +0200

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

 .travis.yml | 26 ++++++++++++++++++++++++++
 test/all    | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

commit db1f55a97c6327da0851e4114924a0daad4ec9e1
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:57 2013 +0200

    adapted for ubuntu, some improvements on packaging
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/bareos-common.dirs              |  1 +
 debian/bareos-common.postinst          |  1 +
 debian/bareos-director.install         |  2 +-
 debian/bareos-filedaemon.install       |  2 +-
 debian/bareos-storage.dirs             |  1 +
 debian/bareos-storage.install          |  2 +-
 debian/bareos-storage.postinst         |  1 +
 debian/control                         |  1 +
 debian/rules                           |  9 ++++++--
 platforms/deb/bareos-Debian_6.0.dsc    |  2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc |  2 +-
 platforms/debian/bareos-dir.in         | 24 ++++++++++++--------
 platforms/rpms/bareos.spec             |  4 ++++
 platforms/ubuntu/bareos-dir.in         | 40 +++++++++++++++++++---------------
 platforms/ubuntu/bareos-fd.in          |  6 +++++
 platforms/ubuntu/bareos-sd.in          |  6 +++++
 scripts/bareos-config                  |  4 ++--
 17 files changed, 73 insertions(+), 35 deletions(-)

commit 39ac1b106e9da6cad73f6bb766a19c71c3cc1a78
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:56 2013 +0200

    fixed comment

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b74d3df5b8b4efa4ef23572a45a1dcfd18039fae
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:56 2013 +0200

    Fix compile error.

 src/filed/backup.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c8ce10ef897e9c236e480aa99d1bd3f0dadb3896
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:56 2013 +0200

    Fix dummy function defined.

 src/filed/compression.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5a1383e35eb4842271a50ab8e7b91539ad276059
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:56 2013 +0200

    Don't use Zlib specific types.
    
    Ulong and Bytef are ZLIB specific and on platforms that don't have
    zlib this gives compile errors.

 src/filed/backup.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 51e4d8ef0cc4b61ff3af013f0d4f1803f1dd8905
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:55 2013 +0200

    Fix compiler warning.
    
    Now that we don't use the old conversion string we can get ride of the
    caps variable.

 src/lib/bsnprintf.c | 6 ------
 1 file changed, 6 deletions(-)

commit 36f409449c1a7132f7d143f27154f47a6ed8ee51
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:55 2013 +0200

    Set a new default for the restore dir.

 src/dird/bareos-dir.conf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 29faf1854d41e7e1472dbe43dd2695fb39fe4f00
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:55 2013 +0200

    Set a new default for the restore dir.

 src/dird/bareos-dir.conf.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 223eac9d980f8ebbdb968247528b4c46f6b30b3a
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 11:51:55 2013 +0200

    Send the catalog backup bootstrap file by mail
    
    Having the bootstrap of the backupcatalog job is crucial
    for disaster recovery.
    Unfortunately, the default config didn't do that until now.
    
    Now we automatically mail the bootstrap file of the backupcatalog job.
    
    Also, we have now extended the BackupCatalog FileSet to include the
    sysconfdir.
    
    Fixes #24: Automatic sending of BSR (at least of the Catalog DB) via email

 src/dird/bareos-dir.conf.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit d786e1bd53f1d9825a52fcc3000ced6c197bd654
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:54 2013 +0200

    Set some more sane defaults.
    
    Still its better to explicitly set the dirs to where you want
    them to be and to not depend on changing defaults.

 autoconf/configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 16b15624c70c852ce995b8c979e44b3baf08ad61
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:54 2013 +0200

    Fix Makefile rules for generating configure and config.h.in

 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit dde644a39c416ed177655ba58fea552732c86f04
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:54 2013 +0200

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

 autoconf/configure.in | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

commit 989193c2a8dde2311e30dc3eee926cbfa67dcff3
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 11:51:53 2013 +0200

    Ignore affected rows in UPDATE_DB
    
    We get an error  message from UPDATE_DB , when
    the number of affected rows is < 1.
    
    In some cases, its ok to have no affected rows,
    like in "update all volumes from all pools", when
    there is a pool with no volumes inside.
    
    Fixes #62: update all volumes from all pools gives error when a pool doesnt contain volumes
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/cats/cats.h       |  2 ++
 src/cats/sql.c        | 22 ++++++++++++++++++++++
 src/cats/sql_update.c |  2 +-
 3 files changed, 25 insertions(+), 1 deletion(-)

commit d3185187aad9e60512050a669b2ab95c74daf7f3
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:53 2013 +0200

    Fix conversion string in bsnprintf.
    
    It makes no sense to use a string "0123456789ABCDEF" when you do
    all calculating using a modulo 10 divide which only gives the spread
    from 0 to 9. As we don't need the hex letters we can also drop the check
    on caps as figures are either upper or lower case.

 src/lib/bsnprintf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c2ec319ae4cecab61eb1e66dd1f0debae1c69c57
Author: Radosław Korzeniewski <radoslaw@korzeniewski.net>
Date:   Sat May 4 11:51:53 2013 +0200

    Fix %f conversion in bsnprintf.
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 src/lib/bsnprintf.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 6d7e25174139a2822c266ac4e02e74529a91601b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:53 2013 +0200

    Drop temp file.

 src/qt-console/aa | 22 ----------------------
 1 file changed, 22 deletions(-)

commit f91dd0a37aabfe300452d61009f6a8492a42f662
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:52 2013 +0200

    Bump version for first public beta.

 README.md                              |  4 ++--
 configure                              | 18 +++++++++---------
 debian/changelog                       |  8 +++++++-
 platforms/deb/bareos-Debian_6.0.dsc    |  2 +-
 platforms/deb/bareos-xUbuntu_12.04.dsc |  2 +-
 platforms/rpms/bareos.spec             |  4 ++--
 platforms/win32/winbareos-nsi.spec     |  2 +-
 platforms/win32/winbareos32.spec       |  2 +-
 platforms/win32/winbareos64.spec       |  2 +-
 src/include/version.h                  | 17 +++++++++--------
 10 files changed, 34 insertions(+), 27 deletions(-)

commit 01f19a014488518111847c711db1f71fbbad6b89
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:52 2013 +0200

    Fix NDMP library vendor name.

 src/ndmp/Makefile.in    | 2 +-
 src/ndmp/ndmos_common.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ffe74338fa6bb359882da57dfbb2882b60a8cccc
Author: aussendorf <maik.aussendorf@bareos.com>
Date:   Sat May 4 11:51:52 2013 +0200

    Update README.md
    
    typos and one comment

 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 5f45faedc138544cfb1b7aae00cff1c217a6ce15
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:51 2013 +0200

    bareos-database-postgresql depends on postgresql-client
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9e1f189d88d732552bec186efd6818b2dfd9d216
Author: Joerg Steffens <joerg.steffens@dbareos.com>
Date:   Sat May 4 11:51:51 2013 +0200

    adapted for ubuntu removed build dependency to libsqlite0-dev, because it is not available on Ubuntu (and not used anyway?)
    
    Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>

 debian/control                         |  9 ++++++---
 platforms/deb/bareos-Debian_6.0.dsc    | 11 +++++++++++
 platforms/deb/bareos-xUbuntu_12.04.dsc | 12 ++++++++++++
 platforms/deb/bareos.dsc               | 11 -----------
 4 files changed, 29 insertions(+), 14 deletions(-)

commit 0b17ed0ac775d1c115b66e8d65e9b3b79897fc12
Author: Joerg Steffens <joerg.steffens@bareos.com>
Date:   Sat May 4 11:51:51 2013 +0200

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

 debian/bareos-database-common.install | 11 ++++++-----
 debian/bareos-director.install        |  1 -
 platforms/rpms/bareos.spec            |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

commit c06b1f8acc5422d87116adf722f2bd23832ee42e
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:51 2013 +0200

    Fix compile error.

 src/stored/ndmp_tape.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 4f77f49f7370b29468c868d075d7f82023f8eba8
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:50 2013 +0200

    Loose some trademark.
    
    We want the text about the trademark only in the LICENSE file and
    in the about popup windows.

 scripts/disk-changer.in            | 2 --
 src/cats/make_catalog_backup.pl.in | 2 --
 src/cats/myingres.sc               | 2 --
 src/cats/myingres.sh               | 2 --
 src/include/host.h.in              | 2 --
 src/qt-console/aa                  | 2 --
 src/qt-console/mainwin.cpp         | 2 --
 7 files changed, 14 deletions(-)

commit 1073835c9127d64cdb0d384e43a436c981096cf5
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:50 2013 +0200

    Tear down of daemons is flawed.
    
    When one of the servers is teared down in most daemons the thread
    spawned for handling the bnet_thread_server or the main thread
    never closes all sockets and releases the workq as most of the time
    the thread is just shot inflight and as a side effect things get
    cleaned up. When the process exits resources are released but its
    not very clean.
    
    Fixes #53: Tear down of daemons is flawed.

 src/dird/dird.c        |  4 +--
 src/dird/job.c         |  1 -
 src/dird/ua_server.c   | 36 +++++++++++++----------
 src/filed/filed.c      | 11 ++++++-
 src/lib/bnet_server.c  | 79 ++++++++++++++++++++++++++++++++------------------
 src/lib/protos.h       | 12 ++++----
 src/stored/ndmp_tape.c |  4 ++-
 src/stored/stored.c    |  9 ++++--
 8 files changed, 99 insertions(+), 57 deletions(-)

commit 71ac15af981c93ab9cbddebc1a4ddb0b11b91b94
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 11:51:50 2013 +0200

    call the initialize_passwords in bconsole
    
    Installing the bconsole didn't call the
    initialize_passwords call.
    
    Now bconsole and traymonitor packages do that

 platforms/rpms/bareos.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 3a3aff50079eb5e59304548f9bfaea537d98b86b
Author: Philipp Storz <philipp.storz@bareos.com>
Date:   Sat May 4 11:51:49 2013 +0200

    removed installation of traymonitor
    
    as we have still some problems with the traymonitor,
    we dont offer to install it.

 platforms/win32/winbareos.nsi | 52 +++++++++++++++++++++----------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

commit 169865e43f0309e827b11463030c9e6979bd5d2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:49 2013 +0200

    Fix typo.
    
    Fixes #54: make_catalog_backup.pl tries to call /usr/sbin/bareos_dbcheck,
               must be /usr/sbin/bareos-dbcheck

 src/cats/make_catalog_backup.pl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b864111c206d26bb615cfc96afb6cd5bf1afbe28
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 11:51:49 2013 +0200

    Tweak fix compile error.

 src/dird/ua_dotcmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7969af665ad5b38e88763b6456b0b13b564dbbc3
Author: Kjetil Torgrim Homme <kjetil.homme@redpill-linpro.com>
Date:   Sat May 4 11:51:49 2013 +0200

    Allow slash in volume names
    
    In the past, I have had problems with restores failing due to the device
    for differential volumes can't find the volumes stored by the incremental.
    
    I also have not been quite satisfied with having all the files in one
    large directory without a structure, e.g., when I have different
    retention policy for some volumes.
    
    My fix is quite simple: add '/' to the list of acceptable characters in
    a volume name.  this allows me to specify the same Archive Device for
    all the file media devices, and do the separation with Label Format like
    "incr/Incr-". Restore is unproblematic in this setup, since any Device
    can be used to access all the volumes (even if they are actually in
    different filesystems, due to the structure of my mounts).
    
    Signed-off-by: Marco van Wieringen <mvw@planets.elm.net>

 src/dird/ua_label.c | 9 ++++++++-
 src/stored/scan.c   | 5 ++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

commit 1c1b763bd485bb3c8ab8a124fdf146527d3549ed
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Sat May 4 09:52:19 2013 +0200

    Changes from patched Bacula to Bareos.

 .gitignore                                         |  1384 +-
 ABOUT-NLS                                          |   986 -
 AUTHORS                                            |    52 +-
 COPYING                                            |     2 -
 COPYRIGHT                                          |     2 -
 ChangeLog                                          |  5140 ----
 CheckList                                          |    61 -
 INSTALL                                            |    77 -
 LICENSE                                            |   124 +-
 Makefile.in                                        |    73 +-
 README                                             |    72 -
 README.AIX                                         |    56 -
 README.NDMP                                        |    57 +-
 README.md                                          |   151 +
 README.scsicrypto                                  |    65 +-
 ReleaseNotes                                       |  1388 -
 SUPPORT                                            |    33 -
 VERIFYING                                          |    38 -
 autoconf/Make.common.in                            |     8 +-
 autoconf/aclocal.m4                                |    64 +-
 autoconf/bacula-macros/compare-version.m4          |   101 -
 autoconf/bacula-macros/db.m4                       |   937 -
 autoconf/bacula-macros/largefiles.m4               |   109 -
 autoconf/bacula-macros/os.m4                       |   241 -
 autoconf/bareos/compare-version.m4                 |   100 +
 autoconf/bareos/db.m4                              |   937 +
 autoconf/bareos/largefiles.m4                      |   109 +
 autoconf/bareos/os.m4                              |   335 +
 autoconf/config.guess                              |    44 +-
 autoconf/config.h.in                               |  1173 +
 autoconf/config.log                                |     2 +
 autoconf/config.sub                                |    12 +-
 autoconf/configure.in                              |   498 +-
 autoconf/gettext-macros/codeset.m4                 |    21 -
 autoconf/gettext-macros/gettext.m4                 |   549 -
 autoconf/gettext-macros/glibc2.m4                  |    30 -
 autoconf/gettext-macros/glibc21.m4                 |    30 -
 autoconf/gettext-macros/iconv.m4                   |   101 -
 autoconf/gettext-macros/intdiv0.m4                 |    70 -
 autoconf/gettext-macros/intmax.m4                  |    30 -
 autoconf/gettext-macros/inttypes-pri.m4            |    30 -
 autoconf/gettext-macros/inttypes.m4                |    25 -
 autoconf/gettext-macros/inttypes_h.m4              |    26 -
 autoconf/gettext-macros/isc-posix.m4               |    24 -
 autoconf/gettext-macros/lcmessage.m4               |    30 -
 autoconf/gettext-macros/lib-ld.m4                  |   110 -
 autoconf/gettext-macros/lib-link.m4                |   553 -
 autoconf/gettext-macros/lib-prefix.m4              |   153 -
 autoconf/gettext-macros/longdouble.m4              |    28 -
 autoconf/gettext-macros/longlong.m4                |    23 -
 autoconf/gettext-macros/nls.m4                     |    51 -
 autoconf/gettext-macros/po.m4                      |   429 -
 autoconf/gettext-macros/printf-posix.m4            |    44 -
 autoconf/gettext-macros/progtest.m4                |    92 -
 autoconf/gettext-macros/signed.m4                  |    17 -
 autoconf/gettext-macros/size_max.m4                |    59 -
 autoconf/gettext-macros/stdint_h.m4                |    26 -
 autoconf/gettext-macros/uintmax_t.m4               |    30 -
 autoconf/gettext-macros/ulonglong.m4               |    23 -
 autoconf/gettext-macros/wchar_t.m4                 |    20 -
 autoconf/gettext-macros/wint_t.m4                  |    20 -
 autoconf/gettext-macros/xsize.m4                   |    13 -
 autoconf/gettext/codeset.m4                        |    21 +
 autoconf/gettext/gettext.m4                        |   549 +
 autoconf/gettext/glibc2.m4                         |    30 +
 autoconf/gettext/glibc21.m4                        |    30 +
 autoconf/gettext/iconv.m4                          |   101 +
 autoconf/gettext/intdiv0.m4                        |    70 +
 autoconf/gettext/intmax.m4                         |    30 +
 autoconf/gettext/inttypes-pri.m4                   |    30 +
 autoconf/gettext/inttypes.m4                       |    25 +
 autoconf/gettext/inttypes_h.m4                     |    26 +
 autoconf/gettext/isc-posix.m4                      |    24 +
 autoconf/gettext/lcmessage.m4                      |    30 +
 autoconf/gettext/lib-ld.m4                         |   110 +
 autoconf/gettext/lib-link.m4                       |   553 +
 autoconf/gettext/lib-prefix.m4                     |   153 +
 autoconf/gettext/longdouble.m4                     |    28 +
 autoconf/gettext/longlong.m4                       |    23 +
 autoconf/gettext/nls.m4                            |    51 +
 autoconf/gettext/po.m4                             |   429 +
 autoconf/gettext/printf-posix.m4                   |    44 +
 autoconf/gettext/progtest.m4                       |    92 +
 autoconf/gettext/signed.m4                         |    17 +
 autoconf/gettext/size_max.m4                       |    59 +
 autoconf/gettext/stdint_h.m4                       |    26 +
 autoconf/gettext/uintmax_t.m4                      |    30 +
 autoconf/gettext/ulonglong.m4                      |    23 +
 autoconf/gettext/wchar_t.m4                        |    20 +
 autoconf/gettext/wint_t.m4                         |    20 +
 autoconf/gettext/xsize.m4                          |    13 +
 autoconf/gnome-macros/Makefile.am                  |    42 -
 autoconf/gnome-macros/Makefile.in                  |   254 -
 autoconf/gnome-macros/aclocal-include.m4           |    16 -
 autoconf/gnome-macros/autogen.sh                   |   207 -
 autoconf/gnome-macros/compiler-flags.m4            |   109 -
 autoconf/gnome-macros/curses.m4                    |   318 -
 autoconf/gnome-macros/gnome-bonobo-check.m4        |   166 -
 autoconf/gnome-macros/gnome-common.m4              |    14 -
 autoconf/gnome-macros/gnome-fileutils.m4           |   414 -
 autoconf/gnome-macros/gnome-ghttp-check.m4         |    14 -
 autoconf/gnome-macros/gnome-gnorba-check.m4        |    35 -
 autoconf/gnome-macros/gnome-guile-checks.m4        |   134 -
 autoconf/gnome-macros/gnome-libgtop-check.m4       |   217 -
 autoconf/gnome-macros/gnome-objc-checks.m4         |    83 -
 autoconf/gnome-macros/gnome-orbit-check.m4         |    33 -
 autoconf/gnome-macros/gnome-print-check.m4         |    63 -
 autoconf/gnome-macros/gnome-pthread-check.m4       |    18 -
 autoconf/gnome-macros/gnome-support.m4             |    68 -
 autoconf/gnome-macros/gnome-undelfs.m4             |    22 -
 autoconf/gnome-macros/gnome-vfs.m4                 |   126 -
 autoconf/gnome-macros/gnome-x-checks.m4            |    80 -
 autoconf/gnome-macros/gnome-xml-check.m4           |    32 -
 autoconf/gnome-macros/gnome.m4                     |   130 -
 autoconf/gnome-macros/gperf-check.m4               |    79 -
 autoconf/gnome-macros/linger.m4                    |    28 -
 autoconf/gnome-macros/need-declaration.m4          |    42 -
 autoconf/install.sh                                |    16 +-
 autoconf/libtool/libtool.m4                        |  7982 +++++
 autoconf/libtool/ltdl.m4                           |   817 +
 autoconf/libtool/ltoptions.m4                      |   384 +
 autoconf/libtool/ltsugar.m4                        |   123 +
 autoconf/libtool/ltversion.m4                      |    23 +
 autoconf/libtool/lt~obsolete.m4                    |    98 +
 autoconf/ltmain.sh                                 |     1 -
 autoconf/randpass                                  |     4 +-
 autoconf/randpass.awk                              |     4 +-
 autoconf/randpass.bc                               |    10 +-
 code-changes                                       |     2 -
 commits                                            |     2 -
 configure                                          |   829 +-
 debian/bareos-bconsole.install                     |     4 +
 debian/bareos-bconsole.postinst                    |    46 +
 debian/bareos-common.dirs                          |     1 +
 debian/bareos-common.install                       |    14 +
 debian/bareos-common.postinst                      |    45 +
 debian/bareos-common.preinst                       |    66 +
 debian/bareos-database-common.install              |     9 +
 debian/bareos-database-mysql.install               |     2 +
 debian/bareos-database-postgresql.install          |     2 +
 debian/bareos-database-sqlite3.install             |     2 +
 debian/bareos-database-tools.install               |     4 +
 debian/bareos-director.dirs                        |     2 +
 debian/bareos-director.install                     |    13 +
 debian/bareos-director.postinst                    |    54 +
 debian/bareos-director.preinst                     |    71 +
 debian/bareos-doc.install                          |     1 +
 debian/bareos-filedaemon.install                   |     6 +
 debian/bareos-filedaemon.postinst                  |    55 +
 debian/bareos-filedaemon.preinst                   |    71 +
 debian/bareos-storage.install                      |    13 +
 debian/bareos-storage.postinst                     |    55 +
 debian/bareos-storage.preinst                      |    71 +
 debian/bareos-tools.install                        |    12 +
 debian/bareos-traymonitor.install                  |     6 +
 debian/changelog                                   |    46 +
 debian/compat                                      |     1 +
 debian/control                                     |   262 +
 debian/rules                                       |    79 +
 examples/AFS-README                                |    45 -
 examples/afs-bacula                                |   296 -
 .../autochangers/Sun-desktop-20Gb-4mm-autoloader   |    43 -
 examples/autochangers/bacula-barcodes              |    53 -
 examples/autochangers/chio-bacula                  |   152 -
 examples/autochangers/chio-changer                 |   125 -
 examples/autochangers/chio-changer-openbsd         |   125 -
 examples/autochangers/chio-changer.Sony-TSL-SA300C |   167 -
 examples/autochangers/locking-mtx-changer          |   178 -
 examples/autochangers/mtx-changer.Adic-Scalar-100  |  1196 -
 examples/autochangers/mtx-changer.Adic-Scalar-24   |   133 -
 examples/autochangers/mtx-changer.Sony-TSL-SA300C  |    40 -
 .../autochangers/mtx-changer.StorageTek-HPA4853    |   157 -
 examples/autochangers/rc-chio-changer              |   139 -
 examples/autochangers/solaris-mtx-changer          |   174 -
 examples/client-backup                             |    15 -
 examples/conf/bacula-defs.m4                       |    45 -
 examples/conf/console.conf                         |    10 -
 examples/conf/defaultconfig                        |    24 -
 examples/conf/fileset_convert.pl                   |    34 -
 examples/conf/gnome-console.conf                   |    10 -
 examples/conf/m4.Makefile                          |    29 -
 examples/conf/m4.additions                         |    43 -
 examples/conf/m4.bacula-dir.conf                   |   364 -
 examples/conf/m4.bacula-fd.conf                    |    31 -
 examples/conf/m4.bacula-sd.conf                    |   152 -
 examples/conf/m4.email                             |    28 -
 examples/database/bacula-sqlite_2_mysqldump.sh     |    23 -
 examples/database/dbcheck.sql                      |   197 -
 examples/database/pgsql-lstat-parse.sql            |    80 -
 examples/database/sqlite2pgsql                     |   146 -
 examples/devices/DDS.conf                          |    10 -
 examples/devices/DDS4.conf                         |    19 -
 examples/devices/DVD.conf                          |    22 -
 examples/devices/EXB-8200.conf                     |    13 -
 examples/devices/EXB-8500.conf                     |    10 -
 examples/devices/Exabyte.conf                      |    15 -
 examples/devices/FreeBSD.conf                      |    16 -
 examples/devices/HP-DLT80.conf                     |    12 -
 examples/devices/HP-autoloader.conf                |    14 -
 examples/devices/LTO-2.conf                        |    20 -
 examples/devices/LTO-3.conf                        |    20 -
 examples/devices/LTO-4.conf                        |    20 -
 examples/devices/OnStream.conf                     |    19 -
 examples/devices/OpenBSD.conf                      |    14 -
 examples/devices/README                            |    17 -
 examples/devices/Sony-DDS.conf                     |    10 -
 examples/devices/two-drive-autoloader.conf         |    48 -
 examples/local_partitions                          |    21 -
 examples/nagios/check_bacula/Makefile.in           |    95 -
 examples/nagios/check_bacula/README                |    15 -
 examples/nagios/check_bacula/authenticate.c        |   176 -
 examples/nagios/check_bacula/check_bacula.c        |   371 -
 examples/nagios/check_bacula/check_bacula.h        |   115 -
 examples/nagios/check_bacula_pools.sh              |   159 -
 examples/python/DirStartUp.py                      |   102 -
 examples/python/FDStartUp.py                       |    74 -
 examples/python/SDStartUp.py                       |    56 -
 examples/recover.pl                                |  2886 --
 examples/reports/bacula_mail_summary.sh            |    73 -
 examples/reports/baculareport.pl                   |  1161 -
 examples/reports/check_bacula_pools.sh             |   178 -
 examples/reports/checkhost                         |    53 -
 examples/reports/is_client_alive                   |    21 -
 examples/reports/next_tape.sh                      |    78 -
 examples/reports/report.pl                         |   116 -
 examples/sample-query.sql                          |   242 -
 examples/ssh-tunnel.sh                             |    41 -
 examples/vm/bacula.data                            |     2 -
 examples/vm/blabela.exec                           |    83 -
 examples/vm/blabeli.exec                           |    83 -
 get_authors                                        |     2 -
 git_changelog                                      |     2 +
 kernstodo                                          |  1391 -
 manpages/Makefile.in                               |    13 +-
 manpages/bacula-bgnome-console.1                   |    45 -
 manpages/bacula-bwxconsole.1                       |    45 -
 manpages/bacula-dir.8                              |    93 -
 manpages/bacula-fd.8                               |    67 -
 manpages/bacula-sd.8                               |    64 -
 manpages/bacula-tray-monitor.1                     |    42 -
 manpages/bacula.8                                  |   125 -
 manpages/bareos-dbcheck.8                          |   202 +
 manpages/bareos-dir.8                              |    93 +
 manpages/bareos-fd.8                               |    67 +
 manpages/bareos-sd.8                               |    64 +
 manpages/bareos-tray-monitor.1                     |    41 +
 manpages/bareos.8                                  |   125 +
 manpages/bat.1                                     |     8 +-
 manpages/bconsole.8                                |     8 +-
 manpages/bcopy.8                                   |    12 +-
 manpages/bextract.8                                |    10 +-
 manpages/bls.8                                     |    10 +-
 manpages/bpluginfo.8                               |    25 +-
 manpages/bregex.8                                  |    16 +-
 manpages/bscan.8                                   |    23 +-
 manpages/bscrypto.8                                |    93 +
 manpages/bsmtp.1                                   |    18 +-
 manpages/btape.8                                   |    24 +-
 manpages/btraceback.8                              |    20 +-
 manpages/bwild.8                                   |    12 +-
 manpages/dbcheck.8                                 |   202 -
 platforms/Makefile.in                              |    50 +-
 platforms/README                                   |     2 +-
 platforms/aix/Makefile.in                          |    89 +-
 platforms/alpha/Makefile.in                        |    43 +-
 platforms/alpha/bacula-fd.in                       |    39 -
 platforms/alpha/bareos-fd.in                       |    39 +
 platforms/bsdi/Makefile.in                         |   116 +-
 platforms/bsdi/bacula-dir.in                       |    38 -
 platforms/bsdi/bacula-fd.in                        |    37 -
 platforms/bsdi/bacula-sd.in                        |    37 -
 platforms/bsdi/bareos-dir.in                       |    38 +
 platforms/bsdi/bareos-fd.in                        |    37 +
 platforms/bsdi/bareos-sd.in                        |    37 +
 platforms/contrib-rpm/README                       |    61 -
 platforms/contrib-rpm/build_rpm.sh                 |   202 -
 platforms/contrib-rpm/rpm_wizard.sh                |   120 -
 platforms/contrib-rpm/rpmkey.spec                  |    51 -
 platforms/darwin/Makefile.in                       |    27 +-
 platforms/deb/bareos.dsc                           |    11 +
 platforms/debian/Makefile.in                       |    91 +-
 platforms/debian/bacula-dir.in                     |    74 -
 platforms/debian/bacula-fd.in                      |    74 -
 platforms/debian/bacula-sd.in                      |    74 -
 platforms/debian/bareos-dir.in                     |    74 +
 platforms/debian/bareos-fd.in                      |    74 +
 platforms/debian/bareos-sd.in                      |    74 +
 platforms/freebsd/Makefile.in                      |   115 +-
 platforms/freebsd/bacula-dir.in                    |    38 -
 platforms/freebsd/bacula-fd.in                     |    37 -
 platforms/freebsd/bacula-sd.in                     |    37 -
 platforms/freebsd/bareos-dir.in                    |    38 +
 platforms/freebsd/bareos-fd.in                     |    37 +
 platforms/freebsd/bareos-sd.in                     |    37 +
 platforms/freebsd/chio-changer                     |   190 +
 platforms/freebsd/tapetest.c                       |    64 +-
 platforms/gentoo/1.36.1-cdrecord-configure.patch   |     3 -
 platforms/gentoo/1.36.2-cdrecord-configure.patch   |     9 +-
 platforms/gentoo/Makefile.in                       |    45 +-
 platforms/gentoo/bacula-dir.in                     |    28 -
 platforms/gentoo/bacula-fd.in                      |    28 -
 platforms/gentoo/bacula-init.in                    |    94 -
 platforms/gentoo/bacula-sd.in                      |    28 -
 platforms/gentoo/bacula.ebuild                     |   426 -
 platforms/gentoo/bareos-dir.in                     |    28 +
 platforms/gentoo/bareos-fd.in                      |    28 +
 platforms/gentoo/bareos-init.in                    |    94 +
 platforms/gentoo/bareos-sd.in                      |    28 +
 platforms/gentoo/bareos.ebuild                     |   426 +
 platforms/hurd/Makefile.in                         |    87 +-
 platforms/hurd/bacula-dir.in                       |    73 -
 platforms/hurd/bacula-fd.in                        |    73 -
 platforms/hurd/bacula-sd.in                        |    73 -
 platforms/hurd/bareos-dir.in                       |    73 +
 platforms/hurd/bareos-fd.in                        |    73 +
 platforms/hurd/bareos-sd.in                        |    73 +
 platforms/install-symlinks                         |    99 -
 platforms/irix/Makefile.in                         |    90 +-
 platforms/irix/bacula-dir.in                       |    38 -
 platforms/irix/bacula-fd.in                        |    39 -
 platforms/irix/bacula-sd.in                        |    37 -
 platforms/irix/bareos-dir.in                       |    38 +
 platforms/irix/bareos-fd.in                        |    39 +
 platforms/irix/bareos-sd.in                        |    37 +
 platforms/mandrake/Makefile.in                     |    72 +-
 platforms/mandrake/bacula-dir.in                   |    44 -
 platforms/mandrake/bacula-fd.in                    |    43 -
 platforms/mandrake/bacula-sd.in                    |    43 -
 platforms/mandrake/bacula.spec.bluca.in            |   501 -
 platforms/mandrake/bareos-dir.in                   |    44 +
 platforms/mandrake/bareos-fd.in                    |    43 +
 platforms/mandrake/bareos-sd.in                    |    43 +
 platforms/openbsd/Makefile.in                      |   115 +-
 platforms/openbsd/bacula-dir.in                    |    38 -
 platforms/openbsd/bacula-fd.in                     |    37 -
 platforms/openbsd/bacula-sd.in                     |    37 -
 platforms/openbsd/bareos-dir.in                    |    38 +
 platforms/openbsd/bareos-fd.in                     |    37 +
 platforms/openbsd/bareos-sd.in                     |    37 +
 platforms/openbsd/chio-changer                     |   133 +
 platforms/osx/Makefile.in                          |    95 +-
 platforms/osx/README                               |    34 +-
 .../osx/files/installer.pmdoc.in/01destdir.xml     |     2 +-
 platforms/osx/files/installer.pmdoc.in/index.xml   |     4 +-
 platforms/osx/files/org.bacula.bacula-fd.plist.in  |    17 -
 platforms/osx/files/org.bareos.bacula-fd.plist.in  |    17 +
 platforms/osx/files/uninstall.command.in           |    24 +-
 platforms/osx/installer-gencontents.py             |     6 +-
 platforms/osx/resources/ReadMe.html.in             |    30 +-
 platforms/osx/resources/postflight.in              |     8 +-
 platforms/osx/resources/preupgrade.in              |     7 +-
 platforms/redhat/Makefile.in                       |    81 +-
 platforms/redhat/bacula-dir.in                     |    71 -
 platforms/redhat/bacula-fd.in                      |    71 -
 platforms/redhat/bacula-sd.in                      |    72 -
 platforms/redhat/bareos-dir.in                     |    67 +
 platforms/redhat/bareos-fd.in                      |    67 +
 platforms/redhat/bareos-sd.in                      |    68 +
 platforms/rpms/bareos-rpmlintrc                    |    53 +
 platforms/rpms/bareos.spec                         |  1023 +
 platforms/rpms/redhat/bacula-bat.spec.in           |   341 -
 platforms/rpms/redhat/bacula-docs.spec.in          |    91 -
 platforms/rpms/redhat/bacula-mtx.spec.in           |   121 -
 platforms/rpms/redhat/bacula.spec.in               |  1565 -
 platforms/slackware/Makefile.in                    |    49 +-
 platforms/slackware/functions.bacula.in            |   188 -
 platforms/slackware/functions.bareos.in            |   188 +
 platforms/slackware/local-install.sh               |    42 +-
 platforms/slackware/rc.bacula-dir.in               |    53 -
 platforms/slackware/rc.bacula-fd.in                |    53 -
 platforms/slackware/rc.bacula-sd.in                |    54 -
 platforms/slackware/rc.bareos-dir.in               |    53 +
 platforms/slackware/rc.bareos-fd.in                |    53 +
 platforms/slackware/rc.bareos-sd.in                |    53 +
 platforms/solaris/Makefile.in                      |    50 +-
 platforms/solaris/bacula-dir.in                    |    54 -
 platforms/solaris/bacula-fd.in                     |    54 -
 platforms/solaris/bacula-sd.in                     |    54 -
 platforms/solaris/bareos-dir.in                    |    54 +
 platforms/solaris/bareos-fd.in                     |    54 +
 platforms/solaris/bareos-sd.in                     |    54 +
 platforms/solaris/copyright                        |    28 -
 platforms/solaris/makepkg.sh                       |    82 -
 platforms/solaris/pkginfo                          |    12 -
 platforms/solaris/postinstall                      |     9 -
 platforms/solaris/postremove                       |     9 -
 platforms/solaris/prototype.master                 |    24 -
 platforms/suse/Makefile.in                         |    97 +-
 platforms/suse/bacula-dir-suse-sqlite.patch        |    13 -
 platforms/suse/bacula-dir.in                       |    63 -
 platforms/suse/bacula-fd.in                        |    62 -
 platforms/suse/bacula-sd.in                        |    62 -
 platforms/suse/bacula.in                           |   213 -
 platforms/suse/bareos-dir-suse-sqlite.patch        |    13 +
 platforms/suse/bareos-dir.fw                       |    20 +
 platforms/suse/bareos-dir.in                       |    63 +
 platforms/suse/bareos-fd.fw                        |    20 +
 platforms/suse/bareos-fd.in                        |    62 +
 platforms/suse/bareos-sd.fw                        |    20 +
 platforms/suse/bareos-sd.in                        |    62 +
 platforms/suse/bareos.in                           |   213 +
 platforms/systemd/Makefile.in                      |    90 +-
 platforms/systemd/bacula-dir.service.in            |    40 -
 platforms/systemd/bacula-fd.service.in             |    32 -
 platforms/systemd/bacula-sd.service.in             |    33 -
 platforms/systemd/bacula.conf.in                   |     2 -
 platforms/systemd/bareos-dir.service.in            |    40 +
 platforms/systemd/bareos-fd.service.in             |    32 +
 platforms/systemd/bareos-sd.service.in             |    33 +
 platforms/systemd/bareos.conf.in                   |     2 +
 platforms/ubuntu/Makefile.in                       |    91 +-
 platforms/ubuntu/bacula-dir.in                     |    82 -
 platforms/ubuntu/bacula-fd.in                      |    82 -
 platforms/ubuntu/bacula-sd.in                      |    82 -
 platforms/ubuntu/bareos-dir.in                     |    82 +
 platforms/ubuntu/bareos-fd.in                      |    82 +
 platforms/ubuntu/bareos-sd.in                      |    82 +
 platforms/unknown/Makefile.in                      |    27 +-
 platforms/win32/clientdialog.ini                   |   113 +
 platforms/win32/directordialog.ini                 |    43 +
 platforms/win32/fillup.sed                         |    10 +
 platforms/win32/tray-monitor-conf.patch            |    31 +
 platforms/win32/winbareos-nsi.spec                 |   119 +
 platforms/win32/winbareos.nsi                      |   811 +
 platforms/win32/winbareos32.spec                   |   130 +
 platforms/win32/winbareos64.spec                   |   131 +
 po/LINGUAS                                         |     1 +
 po/Makefile.in.in                                  |    10 +-
 po/Makevars                                        |     6 +-
 po/POTFILES.in                                     |  1032 +-
 po/README                                          |    14 +-
 po/bacula.pot                                      | 17912 -----------
 po/bareos.pot                                      | 17738 +++++++++++
 po/de.po                                           | 22551 +++++++-------
 po/es.po                                           | 29545 ++++++++++---------
 po/es_AR.po                                        |   194 +-
 po/fi.po                                           |   316 +-
 po/fr.po                                           | 25571 ++++++++--------
 po/it.po                                           | 18726 ++++++------
 po/nl.po                                           | 19725 +++++++------
 po/pl.po                                           |   310 +-
 po/sv.po                                           | 18649 ++++++------
 po/uk.po                                           | 20543 ++++++-------
 projects                                           |  1292 -
 release/README                                     |    49 -
 release/clean                                      |     4 -
 release/config                                     |    52 -
 release/git2changelog.pl                           |    81 -
 release/makeall                                    |    32 -
 release/makebacularel                              |   122 -
 release/makedocsrel                                |   120 -
 release/makerescuerel                              |    81 -
 release/makewinrel                                 |    69 -
 release/pushtags                                   |    22 -
 release/sign                                       |     4 -
 scripts/Makefile.in                                |    66 +-
 scripts/bacula-ctl-dir.in                          |   242 -
 scripts/bacula-ctl-fd.in                           |   242 -
 scripts/bacula-ctl-sd.in                           |   242 -
 scripts/bacula-tray-monitor.desktop.in             |    10 -
 scripts/bacula.desktop.gnome1.consolehelper.in     |    10 -
 scripts/bacula.desktop.gnome1.in                   |    10 -
 scripts/bacula.desktop.gnome1.xsu.in               |    10 -
 scripts/bacula.desktop.gnome2.consolehelper.in     |    10 -
 scripts/bacula.desktop.gnome2.in                   |    10 -
 scripts/bacula.desktop.gnome2.xsu.in               |    10 -
 scripts/bacula.in                                  |    54 -
 scripts/bacula.vim                                 |   176 -
 scripts/bareos-config                              |   220 +
 scripts/bareos-ctl-dir.in                          |   242 +
 scripts/bareos-ctl-fd.in                           |   242 +
 scripts/bareos-ctl-sd.in                           |   242 +
 scripts/bareos-tray-monitor.desktop.in             |    10 +
 scripts/bareos.in                                  |    54 +
 scripts/bareos.png                                 |     8 +
 scripts/bareos.vim                                 |   175 +
 scripts/bat.desktop.consolehelper.in               |     4 +-
 scripts/bat.desktop.in                             |     4 +-
 scripts/bat.desktop.xsu.in                         |     4 +-
 scripts/bconsole.in                                |     4 +-
 scripts/breload                                    |    43 +
 scripts/btraceback.gdb                             |     2 +-
 scripts/btraceback.in                              |    20 +-
 scripts/defaultconfig                              |    14 +-
 scripts/devel_bacula.in                            |   277 -
 scripts/devel_bareos.in                            |   277 +
 scripts/disk-changer.in                            |    66 +-
 scripts/filetype.vim                               |     2 +-
 scripts/logrotate.in                               |     6 +-
 scripts/logwatch/Makefile.in                       |    16 +-
 scripts/logwatch/README                            |    22 +-
 scripts/logwatch/applybaculadate                   |    46 -
 scripts/logwatch/applybareosdate                   |    46 +
 scripts/logwatch/bareos                            |    65 +
 scripts/logwatch/logfile.bacula.conf.in            |     3 -
 scripts/logwatch/logfile.bareos.conf.in            |     2 +
 scripts/logwatch/services.bacula.conf              |     6 -
 scripts/logwatch/services.bareos.conf              |     6 +
 scripts/magic.bacula                               |    11 -
 scripts/magic.bareos                               |    11 +
 scripts/magic.bareos.txt                           |    16 +
 scripts/mtx-changer.conf                           |     8 +-
 scripts/mtx-changer.in                             |    32 +-
 scripts/tray-monitor.xpm                           |   178 +
 scripts/wxconsole.console_apps.in                  |     3 -
 scripts/wxconsole.desktop.consolehelper.in         |    10 -
 scripts/wxconsole.desktop.xsu.in                   |    10 -
 scripts/wxconsole.pamd                             |     7 -
 src/Makefile.in                                    |    20 +-
 src/baconfig.h                                     |   721 -
 src/bacula.h                                       |   195 -
 src/bc_types.h                                     |   258 -
 src/c                                              |    28 -
 src/c.scr                                          |     8 -
 src/cats/Makefile.in                               |   177 +-
 src/cats/bdb_dbi.h                                 |    14 +-
 src/cats/bdb_ingres.h                              |    14 +-
 src/cats/bdb_mysql.h                               |    14 +-
 src/cats/bdb_postgresql.h                          |    14 +-
 src/cats/bdb_priv.h                                |    12 +-
 src/cats/bdb_sqlite.h                              |    18 +-
 src/cats/bvfs.c                                    |   145 +-
 src/cats/bvfs.h                                    |    29 +-
 src/cats/cats.c                                    |    18 +-
 src/cats/cats.h                                    |    23 +-
 src/cats/cats_dummy.c                              |    19 +-
 src/cats/cats_dynamic.c                            |    17 +-
 src/cats/cats_dynamic.h                            |    13 +-
 src/cats/create_bacula_database.in                 |    44 -
 src/cats/create_bareos_database.in                 |    45 +
 src/cats/create_ingres_database.in                 |    10 +-
 src/cats/create_mysql_database.in                  |     2 +-
 src/cats/create_postgresql_database.in             |     4 +-
 src/cats/create_sqlite3_database.in                |     2 +-
 src/cats/create_sqlite3_database.in.patch          |     7 +-
 src/cats/create_test_database                      |     8 +-
 src/cats/dbi.c                                     |    25 +-
 src/cats/drop_bacula_database.in                   |    44 -
 src/cats/drop_bacula_tables.in                     |    44 -
 src/cats/drop_bareos_database.in                   |    45 +
 src/cats/drop_bareos_tables.in                     |    45 +
 src/cats/drop_ingres_database.in                   |     2 +-
 src/cats/drop_ingres_tables.in                     |     8 +-
 src/cats/drop_mysql_database.in                    |     2 +-
 src/cats/drop_mysql_tables.in                      |     6 +-
 src/cats/drop_postgresql_database.in               |     2 +-
 src/cats/drop_postgresql_tables.in                 |     8 +-
 src/cats/drop_sqlite3_database.in                  |     2 +-
 src/cats/drop_sqlite3_tables.in                    |     2 +-
 src/cats/drop_test_tables                          |     8 +-
 src/cats/fix_postgresql_tables                     |     8 +-
 src/cats/grant_bacula_privileges.in                |    45 -
 src/cats/grant_bareos_privileges.in                |    45 +
 src/cats/grant_ingres_privileges.in                |     2 +-
 src/cats/grant_mysql_privileges.in                 |     2 +-
 src/cats/grant_mysql_privileges.patch              |     4 +-
 src/cats/grant_postgresql_privileges.in            |     2 +-
 src/cats/grant_privileges                          |     4 +-
 src/cats/grant_sqlite3_privileges.in               |     2 +-
 src/cats/ingres.c                                  |    21 +-
 src/cats/ingres.in                                 |     2 +-
 src/cats/install-default-backend.in                |     8 +-
 src/cats/make_bacula_tables.in                     |    44 -
 src/cats/make_bareos_tables.in                     |    45 +
 src/cats/make_catalog_backup.in                    |    29 +-
 src/cats/make_catalog_backup.in.patch              |     4 +-
 src/cats/make_catalog_backup.pl.in                 |    20 +-
 src/cats/make_ingres_catalog_backup.in             |     6 +-
 src/cats/make_ingres_tables.in                     |    14 +-
 src/cats/make_mysql_tables.in                      |    21 +-
 src/cats/make_postgresql_tables.in                 |     6 +-
 src/cats/make_sqlite3_tables.in                    |    28 +-
 src/cats/make_sqlite3_tables.in.patch              |     9 +-
 src/cats/make_test_tables                          |    14 +-
 src/cats/myingres.c                                |   121 +-
 src/cats/myingres.h                                |    15 +-
 src/cats/myingres.sc                               |    63 +-
 src/cats/myingres.sh                               |    13 +-
 src/cats/mysql.c                                   |    25 +-
 src/cats/mysql.in                                  |     2 +-
 src/cats/postgresql.c                              |    32 +-
 src/cats/postgresql.in                             |     2 +-
 src/cats/protos.h                                  |    19 +-
 src/cats/restore_ingres_catalog_backup.in          |     2 +-
 src/cats/sql.c                                     |    38 +-
 src/cats/sql_cmds.c                                |    29 +-
 src/cats/sql_cmds.h                                |    13 +-
 src/cats/sql_create.c                              |    72 +-
 src/cats/sql_delete.c                              |   244 +
 src/cats/sql_find.c                                |    40 +-
 src/cats/sql_get.c                                 |   109 +-
 src/cats/sql_glue.c                                |    24 +-
 src/cats/sql_glue.h                                |    20 +-
 src/cats/sql_list.c                                |    27 +-
 src/cats/sql_pooling.c                             |    94 +-
 src/cats/sql_update.c                              |    44 +-
 src/cats/sqlite.c                                  |    25 +-
 src/cats/sqlite.in                                 |     2 +-
 src/cats/update_bacula_tables.in                   |    44 -
 src/cats/update_bareos_tables.in                   |    44 +
 src/cats/update_ingres_tables.in                   |     4 +-
 src/cats/update_mysql_tables.in                    |    17 +-
 src/cats/update_postgresql_tables.in               |    22 +-
 src/cats/update_sqlite3_tables.in                  |    13 +-
 src/cats/update_sqlite3_tables.in.patch            |    11 -
 src/ch.h                                           |    58 -
 src/cl                                             |    28 -
 src/console/Makefile.in                            |    27 +-
 src/console/authenticate.c                         |    28 +-
 src/console/bconsole.conf.in                       |     2 +-
 src/console/conio.c                                |    35 +-
 src/console/conio.h                                |    11 +-
 src/console/console.c                              |    94 +-
 src/console/console_conf.c                         |    46 +-
 src/console/console_conf.h                         |    19 +-
 src/count-lines                                    |     9 -
 src/dird/Makefile.in                               |    94 +-
 src/dird/README-config                             |    21 +-
 src/dird/admin.c                                   |    26 +-
 src/dird/authenticate.c                            |    30 +-
 src/dird/autoprune.c                               |    26 +-
 src/dird/backup.c                                  |    84 +-
 src/dird/bacula-dir.conf.in                        |   331 -
 src/dird/bareos-dir.conf.in                        |   326 +
 src/dird/bsr.c                                     |    19 +-
 src/dird/bsr.h                                     |    11 +-
 src/dird/catreq.c                                  |    57 +-
 src/dird/dbcheck.c                                 |    38 +-
 src/dird/dir_plugins.c                             |   144 +-
 src/dird/dir_plugins.h                             |    40 +-
 src/dird/dird.c                                    |    70 +-
 src/dird/dird.h                                    |    17 +-
 src/dird/dird_conf.c                               |    83 +-
 src/dird/dird_conf.h                               |    20 +-
 src/dird/expand.c                                  |   252 +-
 src/dird/fd_cmds.c                                 |   144 +-
 src/dird/getmsg.c                                  |    45 +-
 src/dird/inc_conf.c                                |    15 +-
 src/dird/job.c                                     |    27 +-
 src/dird/jobq.c                                    |    65 +-
 src/dird/jobq.h                                    |    21 +-
 src/dird/migrate.c                                 |   244 +-
 src/dird/mountreq.c                                |    27 +-
 src/dird/msgchan.c                                 |    55 +-
 src/dird/ndmp_dma.c                                |    62 +-
 src/dird/newvol.c                                  |    21 +-
 src/dird/next_vol.c                                |    55 +-
 src/dird/protos.h                                  |    13 +-
 src/dird/query.sql                                 |     8 +-
 src/dird/quota.c                                   |    19 +-
 src/dird/recycle.c                                 |    24 +-
 src/dird/restore.c                                 |    43 +-
 src/dird/run_conf.c                                |    31 +-
 src/dird/scheduler.c                               |    51 +-
 src/dird/sd_cmds.c                                 |    17 +-
 src/dird/testfind.c                                |    30 +-
 src/dird/ua.h                                      |    22 +-
 src/dird/ua_acl.c                                  |    20 +-
 src/dird/ua_cmds.c                                 |   149 +-
 src/dird/ua_dotcmds.c                              |    88 +-
 src/dird/ua_impexp.c                               |    20 +-
 src/dird/ua_input.c                                |    31 +-
 src/dird/ua_label.c                                |    30 +-
 src/dird/ua_output.c                               |    45 +-
 src/dird/ua_prune.c                                |    84 +-
 src/dird/ua_purge.c                                |    73 +-
 src/dird/ua_query.c                                |    28 +-
 src/dird/ua_restore.c                              |    68 +-
 src/dird/ua_run.c                                  |   121 +-
 src/dird/ua_select.c                               |    42 +-
 src/dird/ua_server.c                               |    24 +-
 src/dird/ua_status.c                               |    22 +-
 src/dird/ua_tree.c                                 |    25 +-
 src/dird/ua_update.c                               |    84 +-
 src/dird/vbackup.c                                 |    54 +-
 src/dird/verify.c                                  |    41 +-
 src/filed/Makefile.in                              |    70 +-
 src/filed/accurate.c                               |    63 +-
 src/filed/authenticate.c                           |    24 +-
 src/filed/backup.c                                 |    35 +-
 src/filed/backup.h                                 |    15 +-
 src/filed/bacula-fd.conf.in                        |    43 -
 src/filed/bareos-fd.conf.in                        |    43 +
 src/filed/compression.c                            |    19 +-
 src/filed/crypto.c                                 |    17 +-
 src/filed/estimate.c                               |    26 +-
 src/filed/fd_plugins.c                             |   303 +-
 src/filed/fd_plugins.h                             |    78 +-
 src/filed/filed.c                                  |    63 +-
 src/filed/filed.h                                  |    18 +-
 src/filed/filed_conf.c                             |    62 +-
 src/filed/filed_conf.h                             |    27 +-
 src/filed/fileset.c                                |    18 +-
 src/filed/heartbeat.c                              |    24 +-
 src/filed/job.c                                    |   191 +-
 src/filed/protos.h                                 |    13 +-
 src/filed/restore.c                                |    60 +-
 src/filed/restore.h                                |    11 +-
 src/filed/status.c                                 |    44 +-
 src/filed/verify.c                                 |    28 +-
 src/filed/verify_vol.c                             |    20 +-
 src/fileopts.h                                     |    76 -
 src/filetypes.h                                    |    88 -
 src/findlib/Makefile.in                            |    54 +-
 src/findlib/acl.c                                  |    19 +-
 src/findlib/acl.h                                  |    15 +-
 src/findlib/attribs.c                              |    62 +-
 src/findlib/bfile.c                                |   178 +-
 src/findlib/bfile.h                                |    59 +-
 src/findlib/create_file.c                          |    36 +-
 src/findlib/drivetype.c                            |    13 +-
 src/findlib/enable_priv.c                          |    27 +-
 src/findlib/find.c                                 |    29 +-
 src/findlib/find.h                                 |    17 +-
 src/findlib/find_one.c                             |    33 +-
 src/findlib/fstype.c                               |    20 +-
 src/findlib/match.c                                |    34 +-
 src/findlib/mkpath.c                               |    36 +-
 src/findlib/protos.h                               |    15 +-
 src/findlib/savecwd.c                              |    20 +-
 src/findlib/savecwd.h                              |    14 +-
 src/findlib/shadowing.c                            |    15 +-
 src/findlib/xattr.c                                |    17 +-
 src/findlib/xattr.h                                |    15 +-
 src/gcc-Wall                                       |    40 -
 src/host.h.in                                      |    41 -
 src/hostconfig.h                                   |    46 -
 src/include/baconfig.h                             |   738 +
 src/include/bareos.h                               |   177 +
 src/include/bc_types.h                             |   247 +
 src/include/ch.h                                   |    51 +
 src/include/fileopts.h                             |    71 +
 src/include/filetypes.h                            |    81 +
 src/include/host.h.in                              |    36 +
 src/include/hostconfig.h                           |    41 +
 src/include/jcr.h                                  |   606 +
 src/include/streams.h                              |   197 +
 src/include/version.h                              |   187 +
 src/jcr.h                                          |   611 -
 src/lib/Makefile.in                                |   183 +-
 src/lib/address_conf.c                             |    22 +-
 src/lib/address_conf.h                             |    19 +-
 src/lib/alist.c                                    |    24 +-
 src/lib/alist.h                                    |    17 +-
 src/lib/attr.c                                     |    35 +-
 src/lib/attr.h                                     |    16 +-
 src/lib/attribs.c                                  |    19 +-
 src/lib/base64.c                                   |    26 +-
 src/lib/base64.h                                   |    23 +-
 src/lib/berrno.c                                   |    25 +-
 src/lib/berrno.h                                   |    16 +-
 src/lib/bget_msg.c                                 |    20 +-
 src/lib/binflate.c                                 |    17 +-
 src/lib/bits.h                                     |    25 +-
 src/lib/bmtio.h                                    |     2 +-
 src/lib/bnet.c                                     |    48 +-
 src/lib/bnet_server.c                              |    46 +-
 src/lib/bpipe.c                                    |    33 +-
 src/lib/bpipe.h                                    |    15 +-
 src/lib/breg.c                                     |    77 +-
 src/lib/breg.h                                     |    40 +-
 src/lib/bregex.c                                   |    69 +-
 src/lib/bregex.h                                   |    66 +-
 src/lib/bsnprintf.c                                |    48 +-
 src/lib/bsock.c                                    |   140 +-
 src/lib/bsock.h                                    |    59 +-
 src/lib/bsr.h                                      |    13 +-
 src/lib/bsys.c                                     |    81 +-
 src/lib/btime.c                                    |    22 +-
 src/lib/btime.h                                    |    24 +-
 src/lib/btimers.c                                  |    19 +-
 src/lib/btimers.h                                  |    13 +-
 src/lib/cram-md5.c                                 |    21 +-
 src/lib/crypto.c                                   |   132 +-
 src/lib/crypto.h                                   |    29 +-
 src/lib/crypto_cache.c                             |    18 +-
 src/lib/crypto_cache.h                             |    14 +-
 src/lib/crypto_wrap.c                              |    18 +-
 src/lib/daemon.c                                   |    25 +-
 src/lib/devlock.c                                  |    32 +-
 src/lib/devlock.h                                  |    24 +-
 src/lib/dlist.c                                    |    29 +-
 src/lib/dlist.h                                    |    35 +-
 src/lib/edit.c                                     |    32 +-
 src/lib/fnmatch.c                                  |    12 +-
 src/lib/fnmatch.h                                  |     1 -
 src/lib/guid_to_name.c                             |    28 +-
 src/lib/guid_to_name.h                             |    20 +-
 src/lib/hmac.c                                     |    32 +-
 src/lib/htable.c                                   |    53 +-
 src/lib/htable.h                                   |    17 +-
 src/lib/ini.c                                      |    15 +-
 src/lib/ini.h                                      |    33 +-
 src/lib/jcr.c                                      |   245 +-
 src/lib/lex.c                                      |    36 +-
 src/lib/lex.h                                      |    28 +-
 src/lib/lib.h                                      |    20 +-
 src/lib/lockmgr.c                                  |   111 +-
 src/lib/lockmgr.h                                  |    39 +-
 src/lib/md5.c                                      |    23 +-
 src/lib/md5.h                                      |    25 +-
 src/lib/mem_pool.c                                 |    48 +-
 src/lib/mem_pool.h                                 |    16 +-
 src/lib/message.c                                  |    60 +-
 src/lib/message.h                                  |    32 +-
 src/lib/mntent_cache.c                             |    15 +-
 src/lib/mntent_cache.h                             |    13 +-
 src/lib/mutex_list.h                               |    17 +-
 src/lib/openssl.c                                  |    40 +-
 src/lib/openssl.h                                  |    22 +-
 src/lib/parse_bsr.c                                |    17 +-
 src/lib/parse_conf.c                               |   115 +-
 src/lib/parse_conf.h                               |    30 +-
 src/lib/passphrase.c                               |    17 +-
 src/lib/plugins.c                                  |    43 +-
 src/lib/plugins.h                                  |    21 +-
 src/lib/poll.c                                     |    16 +-
 src/lib/priv.c                                     |    29 +-
 src/lib/protos.h                                   |    18 +-
 src/lib/queue.c                                    |    36 +-
 src/lib/queue.h                                    |    29 +-
 src/lib/rblist.c                                   |    53 +-
 src/lib/rblist.h                                   |    21 +-
 src/lib/res.c                                      |    31 +-
 src/lib/runscript.c                                |    70 +-
 src/lib/runscript.h                                |    29 +-
 src/lib/rwlock.c                                   |    31 +-
 src/lib/rwlock.h                                   |    25 +-
 src/lib/scan.c                                     |    26 +-
 src/lib/scsi_crypto.c                              |    16 +-
 src/lib/scsi_crypto.h                              |    14 +-
 src/lib/scsi_lli.c                                 |    16 +-
 src/lib/scsi_lli.h                                 |    14 +-
 src/lib/sellist.c                                  |    21 +-
 src/lib/sellist.h                                  |    23 +-
 src/lib/serial.c                                   |    26 +-
 src/lib/serial.h                                   |    13 +-
 src/lib/sha1.h                                     |     2 +-
 src/lib/signal.c                                   |    48 +-
 src/lib/smartall.c                                 |    23 +-
 src/lib/smartall.h                                 |    15 +-
 src/lib/status.h                                   |    22 +-
 src/lib/tls.c                                      |    55 +-
 src/lib/tls.h                                      |    31 +-
 src/lib/tree.c                                     |    29 +-
 src/lib/tree.h                                     |    16 +-
 src/lib/util.c                                     |    61 +-
 src/lib/var.c                                      |    47 +-
 src/lib/var.h                                      |    45 +-
 src/lib/waitq.h                                    |    32 +-
 src/lib/watchdog.c                                 |    26 +-
 src/lib/watchdog.h                                 |    16 +-
 src/lib/workq.c                                    |    23 +-
 src/lib/workq.h                                    |    22 +-
 src/ndmp/Makefile.in                               |    72 +-
 src/ndmp/ndma_comm_dispatch.c                      |     7 -
 src/ndmp/ndma_robot_simulator.c                    |     1 -
 src/ndmp/ndmjob_args.c                             |     1 +
 src/ndmp/ndmos.h                                   |     6 +-
 src/ndmp/ndmos_linux.h                             |     1 +
 src/ndmp/ndmp4_translate.c                         |     6 +
 src/plugins/Makefile                               |    26 +
 src/plugins/README                                 |    30 +-
 src/plugins/dir/Makefile.in                        |    19 +-
 src/plugins/dir/example-plugin-dir.c               |    63 +-
 src/plugins/dir/python-dir.c                       |    37 +-
 src/plugins/fd/Makefile.in                         |    84 +
 src/plugins/fd/bpipe-fd.c                          |   553 +
 src/plugins/fd/example-plugin-fd.c                 |   305 +
 src/plugins/fd/fd_common.h                         |   134 +
 src/plugins/fd/python-fd.c                         |   442 +
 src/plugins/fd/test-deltaseq-fd.c                  |   462 +
 src/plugins/fd/test-plugin-fd.c                    |   690 +
 src/plugins/sd/Makefile.in                         |    26 +-
 src/plugins/sd/example-plugin-sd.c                 |    49 +-
 src/plugins/sd/python-sd.c                         |    53 +-
 src/plugins/sd/scsicrypto-sd.c                     |    44 +-
 src/qt-console/COMMANDS                            |   125 -
 src/qt-console/External-qt-console                 |    26 -
 src/qt-console/PAGES                               |    44 -
 src/qt-console/PREFS                               |     9 -
 src/qt-console/README                              |    18 +-
 src/qt-console/README.mingw32                      |   120 -
 src/qt-console/RELEASEFEATURES                     |    73 -
 src/qt-console/TODO                                |   313 -
 src/qt-console/aa                                  |    24 +
 src/qt-console/bat.conf.example                    |    10 -
 src/qt-console/bat.conf.in                         |     2 +-
 src/qt-console/bat.h                               |    22 +-
 src/qt-console/bat.pro.in                          |    35 +-
 src/qt-console/bat.pro.mingw32.in                  |   182 -
 src/qt-console/bat_conf.cpp                        |    46 +-
 src/qt-console/bat_conf.h                          |    18 +-
 src/qt-console/bcomm/dircomm.cpp                   |    65 +-
 src/qt-console/bcomm/dircomm.h                     |    25 +-
 src/qt-console/bcomm/dircomm_auth.cpp              |    29 +-
 src/qt-console/build-depkgs-qt-console             |   165 -
 src/qt-console/clients/clients.cpp                 |    32 +-
 src/qt-console/clients/clients.h                   |    24 +-
 src/qt-console/console/console.cpp                 |    66 +-
 src/qt-console/console/console.h                   |    27 +-
 src/qt-console/console/console.ui                  |     2 +-
 src/qt-console/fileset/fileset.cpp                 |    36 +-
 src/qt-console/fileset/fileset.h                   |    22 +-
 src/qt-console/help/clients.html                   |     8 +-
 src/qt-console/help/console.html                   |     8 +-
 src/qt-console/help/filesets.html                  |     4 +-
 src/qt-console/help/help.cpp                       |    20 +-
 src/qt-console/help/help.h                         |    29 +-
 src/qt-console/help/index.html                     |    16 +-
 src/qt-console/help/joblist.html                   |    16 +-
 src/qt-console/help/jobplot.html                   |     4 +-
 src/qt-console/help/jobs.html                      |     8 +-
 src/qt-console/help/media.html                     |     6 +-
 src/qt-console/help/restore.html                   |    26 +-
 src/qt-console/help/storage.html                   |     2 +-
 src/qt-console/images/applications-graphics.svg    |     4 +-
 src/qt-console/images/browse.svg                   |     2 +-
 src/qt-console/images/cartridge-edit.svg           |     4 +-
 src/qt-console/images/cartridge.svg                |     4 +-
 src/qt-console/images/check.svg                    |     2 +-
 src/qt-console/images/emblem-system.svg            |     4 +-
 src/qt-console/images/estimate-job.svg             |     4 +-
 src/qt-console/images/folderbothchecked.svg        |     6 +-
 src/qt-console/images/folderchecked.svg            |     4 +-
 src/qt-console/images/folderunchecked.svg          |     6 +-
 src/qt-console/images/graph1.svg                   |     4 +-
 src/qt-console/images/help-browser.svg             |     4 +-
 src/qt-console/images/joblog.svg                   |     4 +-
 src/qt-console/images/mail-message-new.svg         |     4 +-
 src/qt-console/images/mail-message-pending.svg     |     4 +-
 src/qt-console/images/network-server.svg           |     4 +-
 src/qt-console/images/status-console.svg           |     4 +-
 src/qt-console/images/status.svg                   |     4 +-
 src/qt-console/images/system-file-manager.svg      |     4 +-
 src/qt-console/images/unchecked.svg                |     6 +-
 src/qt-console/images/utilities-terminal.svg       |     4 +-
 src/qt-console/images/view-refresh.svg             |     4 +-
 src/qt-console/images/weather-severe-alert.svg     |     4 +-
 src/qt-console/job/job.cpp                         |    77 +-
 src/qt-console/job/job.h                           |    19 +-
 src/qt-console/job/job.ui                          |     2 +-
 src/qt-console/jobgraphs/jobplot.cpp               |   578 -
 src/qt-console/jobgraphs/jobplot.h                 |   152 -
 src/qt-console/jobgraphs/jobplotcontrols.ui        |   337 -
 src/qt-console/joblist/joblist.cpp                 |    66 +-
 src/qt-console/joblist/joblist.h                   |    26 +-
 src/qt-console/joblog/joblog.cpp                   |    47 +-
 src/qt-console/joblog/joblog.h                     |    23 +-
 src/qt-console/jobs/jobs.cpp                       |    40 +-
 src/qt-console/jobs/jobs.h                         |    24 +-
 src/qt-console/label/label.cpp                     |   128 +
 src/qt-console/label/label.h                       |    50 +
 src/qt-console/label/label.ui                      |   303 +
 src/qt-console/main.cpp                            |    35 +-
 src/qt-console/main.qrc                            |    75 +
 src/qt-console/main.ui                             |     4 +-
 src/qt-console/mainwin.cpp                         |   119 +-
 src/qt-console/mainwin.h                           |    26 +-
 src/qt-console/make-win32                          |    40 -
 src/qt-console/mediaedit/mediaedit.cpp             |    29 +-
 src/qt-console/mediaedit/mediaedit.h               |    26 +-
 src/qt-console/mediainfo/mediainfo.cpp             |    31 +-
 src/qt-console/mediainfo/mediainfo.h               |    24 +-
 src/qt-console/medialist/medialist.cpp             |    58 +-
 src/qt-console/medialist/medialist.h               |    23 +-
 src/qt-console/medialist/mediaview.cpp             |    55 +-
 src/qt-console/medialist/mediaview.h               |    19 +-
 src/qt-console/mount/mount.cpp                     |    22 +-
 src/qt-console/mount/mount.h                       |    17 +-
 src/qt-console/pages.cpp                           |    31 +-
 src/qt-console/pages.h                             |    21 +-
 src/qt-console/qstd.cpp                            |     1 -
 src/qt-console/qstd.h                              |    13 +-
 src/qt-console/qwtconfig.pri                       |    88 -
 src/qt-console/relabel/relabel.cpp                 |   117 +
 src/qt-console/relabel/relabel.h                   |    52 +
 src/qt-console/relabel/relabel.ui                  |   245 +
 src/qt-console/restore/brestore.cpp                |    51 +-
 src/qt-console/restore/brestore.ui                 |     2 +-
 src/qt-console/restore/prerestore.cpp              |    28 +-
 src/qt-console/restore/restore.cpp                 |    44 +-
 src/qt-console/restore/restore.h                   |    40 +-
 src/qt-console/restore/restoretree.cpp             |    67 +-
 src/qt-console/restore/restoretree.h               |    27 +-
 src/qt-console/restore/runrestore.ui               |     4 +-
 src/qt-console/run/estimate.cpp                    |    23 +-
 src/qt-console/run/prune.cpp                       |    21 +-
 src/qt-console/run/run.cpp                         |    30 +-
 src/qt-console/run/run.h                           |    27 +-
 src/qt-console/run/runcmd.cpp                      |    36 +-
 src/qt-console/select/select.cpp                   |    22 +-
 src/qt-console/select/select.h                     |    28 +-
 src/qt-console/select/textinput.cpp                |    22 +-
 src/qt-console/select/textinput.h                  |    23 +-
 src/qt-console/status/clientstat.cpp               |    15 +-
 src/qt-console/status/clientstat.h                 |    22 +-
 src/qt-console/status/dirstat.cpp                  |    22 +-
 src/qt-console/status/dirstat.h                    |    24 +-
 src/qt-console/status/storstat.cpp                 |    24 +-
 src/qt-console/status/storstat.h                   |    22 +-
 src/qt-console/storage/content.cpp                 |    15 +-
 src/qt-console/storage/content.h                   |    18 +-
 src/qt-console/storage/storage.cpp                 |    51 +-
 src/qt-console/storage/storage.h                   |    24 +-
 src/qt-console/testprogs/examp/dock.pro            |     1 -
 src/qt-console/testprogs/putz/putz.cpp             |     2 +-
 src/qt-console/testprogs/putz/putz.h               |     2 +-
 src/qt-console/tray-monitor/authenticate.cpp       |    22 +-
 src/qt-console/tray-monitor/tray-monitor.conf.in   |     6 +-
 src/qt-console/tray-monitor/tray-monitor.cpp       |    39 +-
 src/qt-console/tray-monitor/tray-monitor.h         |    22 +-
 src/qt-console/tray-monitor/tray-monitor.pro.in    |    31 +-
 src/qt-console/tray-monitor/tray-ui.h              |    38 +-
 src/qt-console/tray-monitor/tray_conf.cpp          |    42 +-
 src/qt-console/tray-monitor/tray_conf.h            |    20 +-
 src/qt-console/ts/bat_de.ts                        |     8 +-
 src/qt-console/ts/bat_fr.ts                        |    20 +-
 src/qt-console/util/comboutil.cpp                  |    18 +-
 src/qt-console/util/comboutil.h                    |    19 +-
 src/qt-console/util/fmtwidgetitem.cpp              |    57 +-
 src/qt-console/util/fmtwidgetitem.h                |    33 +-
 src/qt-console/win32/qmake.conf                    |    97 -
 src/qt-console/win32/qplatformdefs.h               |   161 -
 src/stored/Makefile.in                             |   105 +-
 src/stored/acquire.c                               |    88 +-
 src/stored/ansi_label.c                            |    85 +-
 src/stored/append.c                                |    37 +-
 src/stored/askdir.c                                |    50 +-
 src/stored/authenticate.c                          |    22 +-
 src/stored/autochanger.c                           |    25 +-
 src/stored/bacula-sd.conf.in                       |   205 -
 src/stored/bareos-sd.conf.in                       |   205 +
 src/stored/bcopy.c                                 |    29 +-
 src/stored/bextract.c                              |    33 +-
 src/stored/block.c                                 |    29 +-
 src/stored/block.h                                 |    49 +-
 src/stored/bls.c                                   |    35 +-
 src/stored/bscan.c                                 |    75 +-
 src/stored/bsr.c                                   |    24 +-
 src/stored/btape.c                                 |   173 +-
 src/stored/butil.c                                 |    32 +-
 src/stored/crc32.c                                 |    27 +-
 src/stored/dev.c                                   |   183 +-
 src/stored/dev.h                                   |    46 +-
 src/stored/device.c                                |    65 +-
 src/stored/dircmd.c                                |    52 +-
 src/stored/ebcdic.c                                |    17 +-
 src/stored/fd_cmds.c                               |    27 +-
 src/stored/job.c                                   |    26 +-
 src/stored/label.c                                 |   123 +-
 src/stored/lock.c                                  |    42 +-
 src/stored/lock.h                                  |    15 +-
 src/stored/mac.c                                   |    38 +-
 src/stored/mount.c                                 |    56 +-
 src/stored/ndmp_tape.c                             |    74 +-
 src/stored/protos.h                                |    13 +-
 src/stored/read.c                                  |    20 +-
 src/stored/read_record.c                           |    34 +-
 src/stored/record.c                                |    23 +-
 src/stored/record.h                                |    26 +-
 src/stored/reserve.c                               |   140 +-
 src/stored/reserve.h                               |    17 +-
 src/stored/scan.c                                  |    35 +-
 src/stored/sd_plugins.c                            |   116 +-
 src/stored/sd_plugins.h                            |    42 +-
 src/stored/spool.c                                 |    32 +-
 src/stored/status.c                                |    69 +-
 src/stored/stored.c                                |    82 +-
 src/stored/stored.conf.in                          |    10 +-
 src/stored/stored.h                                |    35 +-
 src/stored/stored_conf.c                           |    48 +-
 src/stored/stored_conf.h                           |    19 +-
 src/stored/vol_mgr.c                               |    92 +-
 src/stored/vtape.c                                 |    85 +-
 src/stored/vtape.h                                 |    13 +-
 src/stored/wait.c                                  |    43 +-
 src/streams.h                                      |   204 -
 src/tabs                                           |     5 -
 src/tests/Makefile.in                              |    67 +-
 src/tests/bbatch.c                                 |    67 +-
 src/tests/bregtest.c                               |    43 +-
 src/tests/bvfs_test.c                              |    46 +-
 src/tests/cats_test.c                              |    75 +-
 src/tests/gigaslam.c                               |    12 +-
 src/tests/grow.c                                   |    10 +-
 src/tests/ing_test.c                               |    46 +-
 src/tests/testls.c                                 |    28 +-
 src/tools/Makefile.in                              |    55 +-
 src/tools/assert_macro.h                           |    14 +-
 src/tools/bpluginfo.c                              |   107 +-
 src/tools/bregex.c                                 |    38 +-
 src/tools/bscrypto.c                               |    25 +-
 src/tools/bsmtp.c                                  |    31 +-
 src/tools/bwild.c                                  |    30 +-
 src/tools/drivetype.c                              |    34 +-
 src/tools/fstype.c                                 |    32 +-
 src/tools/smtp-orig.c                              |   902 +-
 src/tray-monitor/Makefile.in                       |   104 -
 src/tray-monitor/TODO                              |     3 -
 src/tray-monitor/authenticate.c                    |   202 -
 src/tray-monitor/generic.xpm                       |    45 -
 src/tray-monitor/tray-monitor.c                    |  1187 -
 src/tray-monitor/tray-monitor.conf.in              |    29 -
 src/tray-monitor/tray-monitor.h                    |    57 -
 src/tray-monitor/tray_conf.c                       |   408 -
 src/tray-monitor/tray_conf.h                       |   130 -
 src/version.h                                      |   196 -
 src/win32/External-mingw-w64                       |    72 -
 src/win32/External-mingw32                         |    71 -
 src/win32/External-msvc                            |    59 -
 src/win32/Makefile                                 |    46 +
 src/win32/Makefile.full                            |   109 -
 src/win32/Makefile.inc                             |    36 +
 src/win32/Makefile.inc.in                          |   129 -
 src/win32/Makefile.rules                           |    76 -
 src/win32/Makefile.template                        |    74 -
 src/win32/README.OBS                               |    44 +
 src/win32/README.mingw                             |   349 -
 src/win32/README.vc8                               |   246 -
 src/win32/bacula.sln                               |   403 -
 src/win32/build-cross-mingw-w64                    |   134 -
 src/win32/build-depkgs-mingw-w64                   |   298 -
 src/win32/build-depkgs-mingw32                     |   564 -
 src/win32/build-depkgs-msvc.cmd                    |   419 -
 src/win32/build-msvc.cmd                           |     7 -
 src/win32/build-win32-cross-tools                  |   554 -
 src/win32/cats/bacula_cats.def                     |   184 -
 src/win32/cats/bacula_cats/bacula_cats.vcproj      |    94 -
 src/win32/cats/cats_mysql/cats_mysql.vcproj        |   428 -
 .../cats/cats_postgresql/cats_postgresql.vcproj    |   432 -
 src/win32/cats/cats_sqlite3/cats_sqlite3.vcproj    |   421 -
 src/win32/cats/create_mysql_database.cmd           |    14 -
 src/win32/cats/create_postgresql_database.cmd      |    23 -
 src/win32/cats/create_postgresql_database.sql      |     2 -
 src/win32/cats/create_sqlite3_database.cmd         |     6 -
 src/win32/cats/delete_catalog_backup.cmd           |     5 -
 src/win32/cats/drop_mysql_database.cmd             |    14 -
 src/win32/cats/drop_mysql_tables.cmd               |    14 -
 src/win32/cats/drop_mysql_tables.sql               |    26 -
 src/win32/cats/drop_postgresql_database.cmd        |    14 -
 src/win32/cats/drop_postgresql_tables.cmd          |    14 -
 src/win32/cats/drop_postgresql_tables.sql          |    22 -
 src/win32/cats/drop_sqlite3_database.cmd           |     7 -
 src/win32/cats/drop_sqlite3_tables.cmd             |     8 -
 src/win32/cats/grant_mysql_privileges.cmd          |    14 -
 src/win32/cats/grant_mysql_privileges.sql          |     5 -
 src/win32/cats/grant_postgresql_privileges.cmd     |    15 -
 src/win32/cats/grant_postgresql_privileges.sql     |    37 -
 src/win32/cats/grant_sqlite3_privileges.cmd        |     7 -
 src/win32/cats/make_def                            |    79 -
 src/win32/cats/make_mysql_catalog_backup.cmd       |    41 -
 src/win32/cats/make_mysql_tables.cmd               |    14 -
 src/win32/cats/make_mysql_tables.sql               |   357 -
 src/win32/cats/make_postgresql_catalog_backup.cmd  |    41 -
 src/win32/cats/make_postgresql_tables.cmd          |    14 -
 src/win32/cats/make_postgresql_tables.sql          |   380 -
 src/win32/cats/make_sqlite3_catalog_backup.cmd     |    38 -
 src/win32/cats/make_sqlite3_tables.cmd             |     7 -
 src/win32/cats/make_sqlite3_tables.sql             |   384 -
 src/win32/compat/compat.c                          |  2765 ++
 src/win32/compat/compat.cpp                        |  2750 --
 src/win32/compat/compat.h                          |   460 -
 src/win32/compat/dlfcn.h                           |    42 -
 src/win32/compat/getopt.c                          |   187 -
 src/win32/compat/getopt.h                          |    51 -
 src/win32/compat/include/compat.h                  |   453 +
 src/win32/compat/include/dlfcn.h                   |    35 +
 src/win32/compat/include/getopt.h                  |    45 +
 src/win32/compat/include/mingwconfig.h             |   409 +
 src/win32/compat/include/ms_atl.h                  |    53 +
 src/win32/compat/include/mswinver.h                |    35 +
 src/win32/compat/include/stdint.h                  |     3 +
 src/win32/compat/include/sys/file.h                |     2 +
 src/win32/compat/include/sys/ioctl.h               |     1 +
 src/win32/compat/include/sys/stat.h                |     1 +
 src/win32/compat/include/syslog.h                  |    32 +
 src/win32/compat/include/unistd.h                  |     3 +
 src/win32/compat/include/winhost.h                 |    55 +
 src/win32/compat/include/winsock.h                 |     4 +
 src/win32/compat/mingwconfig.h                     |   406 -
 src/win32/compat/ms_atl.h                          |    53 -
 src/win32/compat/mswinver.h                        |    35 -
 src/win32/compat/print.c                           |   745 +
 src/win32/compat/print.cpp                         |   745 -
 src/win32/compat/stdint.h                          |     3 -
 src/win32/compat/sys/file.h                        |     2 -
 src/win32/compat/sys/ioctl.h                       |     1 -
 src/win32/compat/sys/mtio.h                        |   277 -
 src/win32/compat/sys/stat.h                        |     1 -
 src/win32/compat/syslog.h                          |    32 -
 src/win32/compat/unistd.h                          |     3 -
 src/win32/compat/winapi.c                          |   165 +-
 src/win32/compat/winhost.h                         |    61 -
 src/win32/compat/winsock.h                         |     4 -
 src/win32/console/Makefile                         |    52 +
 src/win32/console/console.vcproj                   |   293 -
 src/win32/cygwin.NET.bashrc                        |    63 -
 src/win32/dird/bacula.rc                           |     1 -
 src/win32/dird/dird.vcproj                         |  1118 -
 src/win32/dird/main.cpp                            |    36 -
 src/win32/dird/service.cpp                         |    36 -
 src/win32/dird/who.h                               |    44 -
 src/win32/filed/Makefile                           |    54 +
 src/win32/filed/bacula-fd.manifest                 |    21 -
 src/win32/filed/bacula.rc                          |     1 -
 src/win32/filed/baculafd.vcproj                    |   610 -
 src/win32/filed/main.c                             |   680 +
 src/win32/filed/main.cpp                           |    36 -
 src/win32/filed/plugins/api.c                      |   146 -
 src/win32/filed/plugins/api.h                      |   302 -
 src/win32/filed/plugins/bpipe-fd.c                 |   542 -
 src/win32/filed/plugins/bpipe-fd.def               |    14 -
 src/win32/filed/plugins/comadmin.h                 |   876 -
 src/win32/filed/plugins/dbi_node.c                 |   292 -
 src/win32/filed/plugins/exchange-fd.c              |   530 -
 src/win32/filed/plugins/exchange-fd.def            |    14 -
 src/win32/filed/plugins/exchange-fd.h              |   157 -
 src/win32/filed/plugins/file_node.c                |   236 -
 src/win32/filed/plugins/node.c                     |   127 -
 src/win32/filed/plugins/node.h                     |   186 -
 src/win32/filed/plugins/root_node.c                |   162 -
 src/win32/filed/plugins/service_node.c             |   229 -
 src/win32/filed/plugins/storage_group_node.c       |   511 -
 src/win32/filed/plugins/store_node.c               |   249 -
 src/win32/filed/protos.h                           |    48 +
 src/win32/filed/res.h                              |    42 +
 src/win32/filed/service.c                          |   593 +
 src/win32/filed/service.cpp                        |    36 -
 src/win32/filed/trayMonitor.cpp                    |    36 -
 src/win32/filed/vss.c                              |   243 +
 src/win32/filed/vss.cpp                            |   250 -
 src/win32/filed/vss.h                              |   182 -
 src/win32/filed/vss_Vista.c                        |     4 +
 src/win32/filed/vss_Vista.cpp                      |     4 -
 src/win32/filed/vss_W2K3.c                         |     4 +
 src/win32/filed/vss_W2K3.cpp                       |    13 -
 src/win32/filed/vss_XP.c                           |     4 +
 src/win32/filed/vss_XP.cpp                         |     4 -
 src/win32/filed/vss_generic.c                      |   891 +
 src/win32/filed/vss_generic.cpp                    |   898 -
 src/win32/filed/who.h                              |    19 +-
 src/win32/filed/win32.h                            |    32 +
 src/win32/findlib/Makefile                         |    47 +
 src/win32/findlib/make_def                         |    41 +
 src/win32/full_win32_installer/ConfigPage1.nsh     |   294 -
 src/win32/full_win32_installer/ConfigPage2.nsh     |   454 -
 src/win32/full_win32_installer/DumpLog.nsh         |    46 -
 src/win32/full_win32_installer/InstallType.ini     |    56 -
 src/win32/full_win32_installer/InstallType.nsh     |   102 -
 src/win32/full_win32_installer/Start.bat           |     5 -
 src/win32/full_win32_installer/Stop.bat            |     5 -
 src/win32/full_win32_installer/WriteTemplates.ini  |    48 -
 src/win32/full_win32_installer/bacula-dir.conf.in  |   380 -
 src/win32/full_win32_installer/bacula-fd.conf.in   |    44 -
 src/win32/full_win32_installer/bacula-sd.conf.in   |   115 -
 src/win32/full_win32_installer/bat.conf.in         |    10 -
 src/win32/full_win32_installer/bconsole.conf.in    |    10 -
 src/win32/full_win32_installer/build-installer.cmd |    70 -
 src/win32/full_win32_installer/bwx-console.conf.in |    10 -
 src/win32/full_win32_installer/client.conf.in      |    11 -
 src/win32/full_win32_installer/installer.vcproj    |   154 -
 src/win32/full_win32_installer/storage.conf.in     |    10 -
 src/win32/full_win32_installer/winbacula.nsi       |  1466 -
 src/win32/include/vss.h                            |   175 +
 src/win32/include/winapi.h                         |   220 +
 src/win32/lib/Makefile                             |    71 +
 src/win32/lib/bacula32.def                         |   794 -
 src/win32/lib/bacula64.def                         |   781 -
 src/win32/lib/make_def                             |    38 +-
 src/win32/lib/make_def64                           |    27 -
 src/win32/libbac/libbac.vcproj                     |  1733 --
 src/win32/libbac/msvc/bacula.def                   |   510 -
 src/win32/libwin32/aboutDialog.cpp                 |    81 -
 src/win32/libwin32/aboutDialog.h                   |    49 -
 src/win32/libwin32/bacula.rc                       |   149 -
 src/win32/libwin32/main.cpp                        |   687 -
 src/win32/libwin32/protos.h                        |    57 -
 src/win32/libwin32/res.h                           |    51 -
 src/win32/libwin32/service.cpp                     |   601 -
 src/win32/libwin32/statusDialog.cpp                |   175 -
 src/win32/libwin32/statusDialog.h                  |    56 -
 src/win32/libwin32/trayMonitor.cpp                 |   274 -
 src/win32/libwin32/trayMonitor.h                   |    69 -
 src/win32/libwin32/win32.h                         |    41 -
 src/win32/makeall                                  |     7 -
 src/win32/patches/binutils_texinfo_version.patch   |    31 -
 src/win32/patches/dvd+rw-tools.patch               |   264 -
 src/win32/patches/mingw-utils.patch                |  6670 -----
 src/win32/patches/mt.patch                         |  1689 --
 src/win32/patches/mtx-msvc1.patch                  |    75 -
 src/win32/patches/mtx-msvc2.patch                  |    40 -
 src/win32/patches/mtx.patch                        |  1576 -
 src/win32/patches/nsis.patch                       |   428 -
 src/win32/patches/openssl-w64.patch                |  2663 --
 src/win32/patches/openssl.patch                    |   309 -
 src/win32/patches/pcre.patch                       |   130 -
 src/win32/patches/postgresql.patch                 |   123 -
 src/win32/patches/pthreads-w64.patch               |   970 -
 src/win32/patches/pthreads.patch                   |    95 -
 src/win32/patches/sed.patch                        |    15 -
 src/win32/patches/sed_msc.patch                    |   927 -
 src/win32/patches/sqlite.patch                     |   162 -
 src/win32/patches/sqlite_msc.patch                 |   768 -
 src/win32/patches/wx.sed                           |     9 -
 src/win32/patches/wx1.patch                        |    37 -
 src/win32/patches/wx2.patch                        |    22 -
 src/win32/patches/wxWidgets.patch                  |    67 -
 src/win32/patches/zlib.patch                       |   150 -
 src/win32/pebuilder/Makefile.in                    |    55 -
 src/win32/pebuilder/README                         |    13 -
 src/win32/plugins/Makefile                         |    29 +
 src/win32/plugins/fd/Makefile                      |    48 +
 src/win32/plugins/fd/bpipe-fd.c                    |   535 +
 src/win32/qt-console/bat.pro                       |   162 +
 src/win32/qt-tray-monitor/tray-monitor.pro         |    33 +
 src/win32/scripts/bsleep.c                         |    23 -
 src/win32/scripts/bsleep.vcproj                    |   199 -
 src/win32/scripts/disk-changer.cmd                 |   201 -
 src/win32/scripts/dvd-handler.cmd                  |   387 -
 src/win32/scripts/mtx-changer.cmd                  |   189 -
 src/win32/stored/bacula.rc                         |     1 -
 src/win32/stored/baculasd.vcproj                   |   396 -
 src/win32/stored/bcopy/bcopy.vcproj                |   230 -
 src/win32/stored/bextract/bextract.vcproj          |   229 -
 src/win32/stored/bls/bls.vcproj                    |   229 -
 src/win32/stored/bscan/bscan.vcproj                |   229 -
 src/win32/stored/btape/btape.vcproj                |   228 -
 src/win32/stored/main.cpp                          |    36 -
 src/win32/stored/mtops.cpp                         |  1175 -
 src/win32/stored/postest/postest.cpp               |   299 -
 src/win32/stored/postest/postest.vcproj            |   213 -
 src/win32/stored/service.cpp                       |    36 -
 src/win32/stored/storelib/storelib.vcproj          |   827 -
 src/win32/stored/trayMonitor.cpp                   |    36 -
 src/win32/stored/who.h                             |    44 -
 src/win32/tools/ScsiDeviceList.cpp                 |   363 -
 src/win32/tools/ScsiDeviceList.h                   |   169 -
 src/win32/tools/bsmtp/bsmtp.vcproj                 |   229 -
 src/win32/tools/dbcheck/dbcheck.vcproj             |   293 -
 src/win32/tools/drivetype/drivetype.vcproj         |   228 -
 src/win32/tools/fstype/fstype.vcproj               |   230 -
 src/win32/tools/scsilist.cpp                       |   119 -
 src/win32/tools/scsilist/scsilist.vcproj           |   216 -
 src/win32/tools/testfind/testfind.vcproj           |   289 -
 src/win32/tools/testls/testls.vcproj               |   229 -
 src/win32/win32_installer/ConfigPage1.nsh          |   294 -
 src/win32/win32_installer/ConfigPage2.nsh          |   455 -
 src/win32/win32_installer/DumpLog.nsh              |    46 -
 src/win32/win32_installer/InstallType.ini          |    56 -
 src/win32/win32_installer/InstallType.nsh          |    93 -
 src/win32/win32_installer/Start.bat                |     5 -
 src/win32/win32_installer/Stop.bat                 |     5 -
 src/win32/win32_installer/WriteTemplates.ini       |    30 -
 src/win32/win32_installer/bacula-dir.conf.in       |   380 -
 src/win32/win32_installer/bacula-fd.conf.in        |    44 -
 src/win32/win32_installer/bacula-sd.conf.in        |   115 -
 src/win32/win32_installer/bat.conf.in              |    10 -
 src/win32/win32_installer/bconsole.conf.in         |    10 -
 src/win32/win32_installer/build-installer.cmd      |    70 -
 src/win32/win32_installer/bwx-console.conf.in      |    10 -
 src/win32/win32_installer/client.conf.in           |    11 -
 src/win32/win32_installer/installer.vcproj         |   154 -
 src/win32/win32_installer/storage.conf.in          |    10 -
 src/win32/win32_installer/tray-monitor.conf.in     |    30 -
 src/win32/win32_installer/winbacula.nsi            |  1029 -
 src/win32/win64_installer/ConfigPage1.nsh          |   294 -
 src/win32/win64_installer/ConfigPage2.nsh          |   455 -
 src/win32/win64_installer/DumpLog.nsh              |    46 -
 src/win32/win64_installer/InstallType.ini          |    56 -
 src/win32/win64_installer/InstallType.nsh          |   102 -
 src/win32/win64_installer/Start.bat                |     5 -
 src/win32/win64_installer/Stop.bat                 |     5 -
 src/win32/win64_installer/WriteTemplates.ini       |    30 -
 src/win32/win64_installer/bacula-dir.conf.in       |   380 -
 src/win32/win64_installer/bacula-fd.conf.in        |    44 -
 src/win32/win64_installer/bacula-sd.conf.in        |   115 -
 src/win32/win64_installer/bat.conf.in              |    10 -
 src/win32/win64_installer/bconsole.conf.in         |    10 -
 src/win32/win64_installer/bwx-console.conf.in      |    10 -
 src/win32/win64_installer/client.conf.in           |    11 -
 src/win32/win64_installer/installer.vcproj         |   154 -
 src/win32/win64_installer/storage.conf.in          |    10 -
 src/win32/win64_installer/tray-monitor.conf.in     |    30 -
 src/win32/win64_installer/winbacula.nsi            |   993 -
 src/win32/winapi.h                                 |   215 -
 technotes                                          |  3282 --
 unaccepted-projects                                |    32 -
 updatedb/README                                    |    22 -
 updatedb/update_bacula_tables_8_to_9               |    17 -
 updatedb/update_bdb_tables_8_to_9                  |     9 -
 updatedb/update_mysql_tables_10_to_11.in           |    64 -
 updatedb/update_mysql_tables_11_to_12.in           |    74 -
 updatedb/update_mysql_tables_12_to_14.in           |    54 -
 updatedb/update_mysql_tables_4_to_5                |    48 -
 updatedb/update_mysql_tables_5_to_6                |    97 -
 updatedb/update_mysql_tables_6_to_7                |    79 -
 updatedb/update_mysql_tables_7_to_8                |    50 -
 updatedb/update_mysql_tables_8_to_9                |    99 -
 updatedb/update_mysql_tables_9_to_10.in            |    78 -
 updatedb/update_postgresql_tables_10_to_11.in      |    42 -
 updatedb/update_postgresql_tables_11_to_12.in      |    97 -
 updatedb/update_postgresql_tables_12_to_14.in      |    56 -
 updatedb/update_postgresql_tables_7_to_8           |    72 -
 updatedb/update_postgresql_tables_8_to_9           |   133 -
 updatedb/update_postgresql_tables_9_to_10.in       |    85 -
 updatedb/update_sqlite3_tables_10_to_11.in         |   227 -
 updatedb/update_sqlite3_tables_11_to_12.in         |    75 -
 updatedb/update_sqlite3_tables_12_to_14.in         |    52 -
 updatedb/update_sqlite3_tables_8_to_9              |   338 -
 updatedb/update_sqlite3_tables_9_to_10.in          |   252 -
 updatedb/update_sqlite_tables_10_to_11.in          |   227 -
 updatedb/update_sqlite_tables_4_to_5               |   145 -
 updatedb/update_sqlite_tables_5_to_6               |   175 -
 updatedb/update_sqlite_tables_6_to_7               |   229 -
 updatedb/update_sqlite_tables_7_to_8               |   149 -
 updatedb/update_sqlite_tables_8_to_9               |   338 -
 updatedb/update_sqlite_tables_9_to_10.in           |   252 -
 1418 files changed, 148377 insertions(+), 221750 deletions(-)

commit b5699908f74554c0196aa23f4b8ee1c2bedfcb41
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 30 18:34:06 2013 +0200

    Import all changes done to the original Bacula code.

 Makefile.in                                   |   17 +-
 README.NDMP                                   |  276 ++
 README.scsicrypto                             |  303 ++
 autoconf/Make.common.in                       |   16 +-
 autoconf/acconfig.h                           |  201 --
 autoconf/aclocal.m4.save                      |   50 -
 autoconf/bacula-macros/db.m4                  |   38 +-
 autoconf/bacula-macros/db.m4.old              | 1295 --------
 autoconf/bacula-macros/os.m4                  |   34 +-
 autoconf/config.guess                         |  158 +-
 autoconf/config.h.in.save                     | 1152 -------
 autoconf/config.rpath                         |  253 +-
 autoconf/config.sub                           |  104 +-
 autoconf/configure.in                         | 1197 +++++---
 autoconf/gettext-macros/iconv.m4              |    2 +-
 autoconf/gnome-macros/gnome-x-checks.m4       |    2 +-
 autoconf/install-sh                           |    8 +-
 autoconf/ltmain.sh                            |   95 +-
 autoconf/python.conf.py                       |    2 +-
 autoconf/who_and_what_of_libtool_patch        |  183 --
 configure                                     | 1940 ++++++------
 examples/autochangers/chio-changer-openbsd    |   33 +-
 examples/database/pgsql-lstat-parse.sql       |   80 +
 examples/nagios/check_bacula/Makefile.in      |   11 +-
 examples/nagios/check_bacula/authenticate.c   |    6 +-
 examples/nagios/check_bacula/check_bacula.c   |   33 +-
 examples/nagios/check_bacula/check_bacula.h   |   52 +-
 kernstodo                                     | 1391 +++++++++
 manpages/Makefile.in                          |    2 +-
 platforms/freebsd/tapetest.c                  |   62 +-
 platforms/systemd/bacula-dir.service.in       |    1 +
 platforms/systemd/bacula-fd.service.in        |    1 +
 platforms/systemd/bacula-sd.service.in        |    1 +
 po/POTFILES.in                                |    1 +
 po/bacula.pot                                 | 2193 +++++++-------
 po/de.po                                      | 2214 +++++++-------
 po/es.po                                      | 2266 +++++++-------
 po/fr.po                                      | 2238 +++++++-------
 po/nl.po                                      | 2193 +++++++-------
 po/sv.po                                      | 2193 +++++++-------
 po/uk.po                                      | 2198 +++++++-------
 projects                                      |    8 +-
 release/clean                                 |    2 +-
 release/makeall                               |    2 +-
 release/makedocsrel                           |    1 -
 scripts/Makefile.in                           |   24 +-
 scripts/dvd-handler.in                        |  498 ----
 scripts/dvd-simulator.in                      |  461 ---
 src/Makefile.in                               |   12 +-
 src/baconfig.h                                |  288 +-
 src/bacula.h                                  |   17 +-
 src/cats/Makefile.in                          |   45 +-
 src/cats/bdb_dbi.h                            |   19 +-
 src/cats/bdb_ingres.h                         |   23 +-
 src/cats/bdb_mysql.h                          |   18 +-
 src/cats/bdb_postgresql.h                     |   19 +-
 src/cats/bdb_sqlite.h                         |   24 +-
 src/cats/bvfs.c                               |   74 +-
 src/cats/bvfs.h                               |    4 +-
 src/cats/cats.c                               |  103 +-
 src/cats/cats.h                               |   75 +-
 src/cats/cats_dummy.c                         |   23 +-
 src/cats/cats_dynamic.c                       |  220 ++
 src/cats/cats_dynamic.h                       |   88 +
 src/cats/dbi.c                                |  111 +-
 src/cats/drop_ingres_tables.in                |    2 +
 src/cats/drop_mysql_tables.in                 |    2 +
 src/cats/drop_postgresql_tables.in            |   54 +-
 src/cats/grant_ingres_privileges.in           |    1 +
 src/cats/grant_postgresql_privileges.in       |   96 +-
 src/cats/ingres.c                             |  194 +-
 src/cats/lock_check                           |   22 +
 src/cats/make_ingres_tables.in                |   18 +-
 src/cats/make_mysql_tables.in                 |  152 +-
 src/cats/make_postgresql_tables.in            |  557 ++--
 src/cats/make_sqlite3_tables.in               |   90 +-
 src/cats/myingres.c                           |    2 +-
 src/cats/mysql.c                              |  116 +-
 src/cats/postgresql.c                         |  159 +-
 src/cats/protos.h                             |  113 +-
 src/cats/sql.c                                |  464 +--
 src/cats/sql_cmds.c                           |   52 +
 src/cats/sql_cmds.h                           |    2 +
 src/cats/sql_create.c                         |  597 ++--
 src/cats/sql_delete.c                         |  244 --
 src/cats/sql_find.c                           |  143 +-
 src/cats/sql_get.c                            |  491 ++-
 src/cats/sql_glue.c                           |   20 +-
 src/cats/sql_glue.h                           |   35 +-
 src/cats/sql_list.c                           |  117 +-
 src/cats/sql_pooling.c                        |  849 ++++++
 src/cats/sql_update.c                         |  230 +-
 src/cats/sqlite.c                             |  211 +-
 src/cats/update_mysql_tables.in               |   43 +-
 src/cats/update_postgresql_tables.in          |   51 +-
 src/cats/update_sqlite3_tables.in             |   47 +-
 src/console/Makefile.in                       |   19 +-
 src/console/authenticate.c                    |    2 +-
 src/console/conio.c                           |    6 +-
 src/console/console.c                         |  137 +-
 src/console/console_conf.c                    |   73 +-
 src/console/console_conf.h                    |   16 +-
 src/dird/Makefile.in                          |  102 +-
 src/dird/README-config                        |    1 -
 src/dird/admin.c                              |    2 -
 src/dird/authenticate.c                       |   10 +-
 src/dird/autoprune.c                          |   34 +-
 src/dird/backup.c                             |  502 ++--
 src/dird/bacula-dir.conf.in                   |   22 +-
 src/dird/bsr.c                                |  302 +-
 src/dird/bsr.h                                |   28 +-
 src/dird/catreq.c                             |   94 +-
 src/dird/dbcheck.c                            | 1510 ++++++++++
 src/dird/dir_plugins.c                        |  210 +-
 src/dird/dir_plugins.h                        |  148 +-
 src/dird/dird.c                               |  381 ++-
 src/dird/dird.h                               |   45 +-
 src/dird/dird_conf.c                          | 2160 ++++++++------
 src/dird/dird_conf.h                          |  305 +-
 src/dird/expand.c                             |  113 +-
 src/dird/fd_cmds.c                            |  256 +-
 src/dird/getmsg.c                             |   25 +-
 src/dird/inc_conf.c                           |  345 ++-
 src/dird/job.c                                |  879 ++++--
 src/dird/jobq.c                               |  220 +-
 src/dird/jobq.h                               |   21 +-
 src/dird/migrate.c                            |  250 +-
 src/dird/msgchan.c                            |  289 +-
 src/dird/ndmp_dma.c                           | 2206 ++++++++++++++
 src/dird/newvol.c                             |   55 +-
 src/dird/next_vol.c                           |   37 +-
 src/dird/protos.h                             |  338 ++-
 src/dird/pythondir.c                          |  484 ---
 src/dird/quota.c                              |  262 ++
 src/dird/recycle.c                            |    6 +-
 src/dird/restore.c                            |  381 +--
 src/dird/run_conf.c                           |  525 ++--
 src/dird/scheduler.c                          |  122 +-
 src/dird/sd_cmds.c                            |  774 +++++
 src/dird/testfind.c                           |  654 ++++
 src/dird/ua.h                                 |  162 +-
 src/dird/ua_acl.c                             |    6 +-
 src/dird/ua_cmds.c                            |  842 +++---
 src/dird/ua_dotcmds.c                         |  259 +-
 src/dird/ua_impexp.c                          | 1374 +++++++++
 src/dird/ua_input.c                           |   24 +-
 src/dird/ua_label.c                           | 1127 ++-----
 src/dird/ua_output.c                          |  228 +-
 src/dird/ua_prune.c                           |   47 +-
 src/dird/ua_purge.c                           |  177 +-
 src/dird/ua_query.c                           |    2 +-
 src/dird/ua_restore.c                         |  301 +-
 src/dird/ua_run.c                             |  929 +++---
 src/dird/ua_select.c                          |  336 ++-
 src/dird/ua_server.c                          |   12 +-
 src/dird/ua_status.c                          |  691 ++++-
 src/dird/ua_tree.c                            |  220 +-
 src/dird/ua_update.c                          |  460 ++-
 src/dird/vbackup.c                            |  210 +-
 src/dird/verify.c                             |  229 +-
 src/filed/Makefile.in                         |   60 +-
 src/filed/accurate.c                          |   49 +-
 src/filed/acl.c                               | 2367 ---------------
 src/filed/acl.h                               |   97 -
 src/filed/authenticate.c                      |    2 +-
 src/filed/backup.c                            | 1244 ++++----
 src/filed/backup.h                            |   68 +
 src/filed/compression.c                       |  439 +++
 src/filed/crypto.c                            |  595 ++++
 src/filed/estimate.c                          |    6 +-
 src/filed/fd_plugins.c                        |  291 +-
 src/filed/fd_plugins.h                        |  126 +-
 src/filed/filed.c                             |   53 +-
 src/filed/filed.h                             |   50 +-
 src/filed/filed_conf.c                        |  193 +-
 src/filed/filed_conf.h                        |   47 +-
 src/filed/fileset.c                           |  888 ++++++
 src/filed/job.c                               |  997 +------
 src/filed/protos.h                            |   94 +-
 src/filed/pythonfd.c                          |  271 --
 src/filed/restore.c                           |  723 +----
 src/filed/status.c                            |   65 +-
 src/filed/verify.c                            |   22 +-
 src/filed/verify_vol.c                        |   24 +-
 src/filed/xattr.c                             | 3897 ------------------------
 src/filed/xattr.h                             |  102 -
 src/findlib/Makefile.in                       |   35 +-
 src/findlib/acl.c                             | 2440 +++++++++++++++
 src/findlib/acl.h                             |  113 +
 src/findlib/attribs.c                         |  246 +-
 src/findlib/bfile.c                           |   36 +-
 src/findlib/create_file.c                     |   19 +-
 src/findlib/drivetype.c                       |   33 +-
 src/findlib/enable_priv.c                     |   28 +-
 src/findlib/find.c                            |  168 +-
 src/findlib/find.h                            |   44 +-
 src/findlib/find_one.c                        | 1054 ++++---
 src/findlib/fstype.c                          |    1 +
 src/findlib/match.c                           |  223 +-
 src/findlib/protos.h                          |  101 +-
 src/findlib/shadowing.c                       |  446 +++
 src/findlib/xattr.c                           | 3962 +++++++++++++++++++++++++
 src/findlib/xattr.h                           |  117 +
 src/hostconfig.h                              |   46 +
 src/jcr.h                                     |  706 +++--
 src/lib/Makefile.in                           |  147 +-
 src/lib/address_conf.c                        |  188 +-
 src/lib/address_conf.h                        |   25 +-
 src/lib/attribs.c                             |  268 ++
 src/lib/base64.c                              |    2 +-
 src/lib/berrno.c                              |   18 +-
 src/lib/bnet.c                                |   13 +-
 src/lib/bnet_server.c                         |  106 +-
 src/lib/bpipe.c                               |   34 +-
 src/lib/bregex.c                              |   15 +-
 src/lib/bsnprintf.c                           |   10 +-
 src/lib/bsock.c                               |  104 +-
 src/lib/bsock.h                               |    7 +
 src/lib/bsr.h                                 |  178 ++
 src/lib/bsys.c                                |  480 ++-
 src/lib/btime.c                               |    2 +-
 src/lib/btime.h                               |    2 +-
 src/lib/cram-md5.c                            |    6 +-
 src/lib/crc32.c                               |  465 ---
 src/lib/crypto.c                              |   33 +-
 src/lib/crypto_cache.c                        |  339 +++
 src/lib/crypto_cache.h                        |   59 +
 src/lib/crypto_wrap.c                         |  193 ++
 src/lib/devlock.c                             |  136 +-
 src/lib/edit.c                                |   28 +-
 src/lib/guid_to_name.c                        |    4 +-
 src/lib/htable.c                              |    2 +-
 src/lib/ini.c                                 |  148 +-
 src/lib/jcr.c                                 |   20 +-
 src/lib/lex.c                                 |   78 +-
 src/lib/lex.h                                 |   51 +-
 src/lib/lockmgr.c                             |    2 +-
 src/lib/md5.c                                 |    6 +-
 src/lib/md5.h                                 |    8 +-
 src/lib/message.c                             |   99 +-
 src/lib/message.h                             |   47 +-
 src/lib/mntent_cache.c                        |  306 +-
 src/lib/mntent_cache.h                        |    6 +-
 src/lib/openssl.c                             |   40 +-
 src/lib/openssl.h                             |    2 -
 src/lib/parse_bsr.c                           | 1008 +++++++
 src/lib/parse_conf.c                          |  669 +++--
 src/lib/parse_conf.h                          |   73 +-
 src/lib/passphrase.c                          |  137 +
 src/lib/plugins.c                             |   88 +-
 src/lib/plugins.h                             |   59 +-
 src/lib/poll.c                                |  169 ++
 src/lib/protos.h                              |  573 ++--
 src/lib/pythonlib.c                           |  358 ---
 src/lib/pythonlib.h                           |   60 -
 src/lib/queue.h                               |    9 +-
 src/lib/res.c                                 |    2 +-
 src/lib/runscript.c                           |    3 +-
 src/lib/runscript.h                           |    3 -
 src/lib/rwlock.c                              |  158 +-
 src/lib/rwlock.h                              |   23 +-
 src/lib/scan.c                                |    3 +-
 src/lib/scsi_crypto.c                         |  771 +++++
 src/lib/scsi_crypto.h                         |  386 +++
 src/lib/scsi_lli.c                            |  500 ++++
 src/lib/scsi_lli.h                            |  175 ++
 src/lib/signal.c                              |   12 +-
 src/lib/status.h                              |    6 -
 src/lib/tls.c                                 |   70 +-
 src/lib/tree.c                                |   12 +-
 src/lib/tree.h                                |   12 +-
 src/lib/util.c                                |   15 +-
 src/lib/var.c                                 |    8 +-
 src/lib/watchdog.c                            |   14 +-
 src/lib/workq.c                               |   72 +-
 src/ndmp/Makefile.in                          |  209 ++
 src/ndmp/md5.h                                |   71 +
 src/ndmp/md5c.c                               |  332 +++
 src/ndmp/ndma_comm_dispatch.c                 | 3472 ++++++++++++++++++++++
 src/ndmp/ndma_comm_job.c                      |  255 ++
 src/ndmp/ndma_comm_session.c                  |  539 ++++
 src/ndmp/ndma_comm_subr.c                     |   96 +
 src/ndmp/ndma_control.c                       |  193 ++
 src/ndmp/ndma_cops_backreco.c                 | 1106 +++++++
 src/ndmp/ndma_cops_labels.c                   |  164 +
 src/ndmp/ndma_cops_query.c                    |  819 +++++
 src/ndmp/ndma_cops_robot.c                    |  435 +++
 src/ndmp/ndma_ctrl_calls.c                    |  671 +++++
 src/ndmp/ndma_ctrl_conn.c                     |  196 ++
 src/ndmp/ndma_ctrl_media.c                    |  682 +++++
 src/ndmp/ndma_ctrl_robot.c                    |  507 ++++
 src/ndmp/ndma_ctst_data.c                     |  462 +++
 src/ndmp/ndma_ctst_mover.c                    |  845 ++++++
 src/ndmp/ndma_ctst_subr.c                     |  563 ++++
 src/ndmp/ndma_ctst_tape.c                     | 1262 ++++++++
 src/ndmp/ndma_data.c                          |  968 ++++++
 src/ndmp/ndma_data_fh.c                       |  229 ++
 src/ndmp/ndma_data_pfe.c                      |  212 ++
 src/ndmp/ndma_image_stream.c                  | 1131 +++++++
 src/ndmp/ndma_listmgmt.c                      |  366 +++
 src/ndmp/ndma_noti_calls.c                    |  224 ++
 src/ndmp/ndma_robot.c                         |   98 +
 src/ndmp/ndma_robot_simulator.c               |  185 ++
 src/ndmp/ndma_tape.c                          |  686 +++++
 src/ndmp/ndma_tape_simulator.c                |  286 ++
 src/ndmp/ndmagents.h                          | 1354 +++++++++
 src/ndmp/ndmjob.conf                          |  268 ++
 src/ndmp/ndmjob.h                             |  172 ++
 src/ndmp/ndmjob_args.c                        | 1005 +++++++
 src/ndmp/ndmjob_fhdb.c                        |  111 +
 src/ndmp/ndmjob_job.c                         |  634 ++++
 src/ndmp/ndmjob_main.c                        |  127 +
 src/ndmp/ndmjob_main_util.c                   |  153 +
 src/ndmp/ndmjob_rules.c                       |   81 +
 src/ndmp/ndmjob_simulator.c                   | 1697 +++++++++++
 src/ndmp/ndmjr_none.c                         |   52 +
 src/ndmp/ndmjr_none.h                         |   50 +
 src/ndmp/ndml_agent.c                         |  270 ++
 src/ndmp/ndml_bstf.c                          |  462 +++
 src/ndmp/ndml_chan.c                          |  685 +++++
 src/ndmp/ndml_config.c                        |  645 ++++
 src/ndmp/ndml_conn.c                          | 1094 +++++++
 src/ndmp/ndml_cstr.c                          |  126 +
 src/ndmp/ndml_fhdb.c                          |  520 ++++
 src/ndmp/ndml_fhh.c                           |  199 ++
 src/ndmp/ndml_log.c                           |   93 +
 src/ndmp/ndml_md5.c                           |  159 +
 src/ndmp/ndml_media.c                         |  259 ++
 src/ndmp/ndml_nmb.c                           |  278 ++
 src/ndmp/ndml_scsi.c                          |  297 ++
 src/ndmp/ndml_stzf.c                          |  223 ++
 src/ndmp/ndml_util.c                          |   46 +
 src/ndmp/ndmlib.h                             |  827 ++++++
 src/ndmp/ndmos.c                              |   51 +
 src/ndmp/ndmos.h                              |  502 ++++
 src/ndmp/ndmos_common.c                       |  543 ++++
 src/ndmp/ndmos_freebsd.c                      |  326 ++
 src/ndmp/ndmos_freebsd.h                      |  105 +
 src/ndmp/ndmos_linux.c                        |   72 +
 src/ndmp/ndmos_linux.h                        |  104 +
 src/ndmp/ndmos_solaris.c                      |   72 +
 src/ndmp/ndmos_solaris.h                      |  110 +
 src/ndmp/ndmp0.x                              |  153 +
 src/ndmp/ndmp0_enum_strs.c                    |  141 +
 src/ndmp/ndmp0_enum_strs.h                    |   48 +
 src/ndmp/ndmp0_pp.c                           |  120 +
 src/ndmp/ndmp0_xmt.c                          |   67 +
 src/ndmp/ndmp2.x                              |  928 ++++++
 src/ndmp/ndmp2_enum_strs.c                    |  461 +++
 src/ndmp/ndmp2_enum_strs.h                    |   92 +
 src/ndmp/ndmp2_pp.c                           |  706 +++++
 src/ndmp/ndmp2_translate.c                    | 3057 +++++++++++++++++++
 src/ndmp/ndmp2_translate.h                    |  123 +
 src/ndmp/ndmp2_xmt.c                          |  315 ++
 src/ndmp/ndmp3.x                              | 1109 +++++++
 src/ndmp/ndmp3_enum_strs.c                    |  506 ++++
 src/ndmp/ndmp3_enum_strs.h                    |   95 +
 src/ndmp/ndmp3_pp.c                           |  917 ++++++
 src/ndmp/ndmp3_translate.c                    | 3933 ++++++++++++++++++++++++
 src/ndmp/ndmp3_translate.h                    |  127 +
 src/ndmp/ndmp3_xmt.c                          |  345 +++
 src/ndmp/ndmp4.x                              | 1108 +++++++
 src/ndmp/ndmp4_enum_strs.c                    |  540 ++++
 src/ndmp/ndmp4_enum_strs.h                    |   98 +
 src/ndmp/ndmp4_pp.c                           |  916 ++++++
 src/ndmp/ndmp4_translate.c                    | 3932 ++++++++++++++++++++++++
 src/ndmp/ndmp4_translate.h                    |  127 +
 src/ndmp/ndmp4_xmt.c                          |  326 ++
 src/ndmp/ndmp9.x                              | 1069 +++++++
 src/ndmp/ndmp9_enum_strs.c                    |  333 +++
 src/ndmp/ndmp9_enum_strs.h                    |   75 +
 src/ndmp/ndmp9_xmt.c                          |  300 ++
 src/ndmp/ndmp_ammend.h                        |   72 +
 src/ndmp/ndmp_msg_buf.h                       |  663 +++++
 src/ndmp/ndmp_translate.c                     |  230 ++
 src/ndmp/ndmp_translate.h                     |  213 ++
 src/ndmp/ndmprotocol.c                        |  281 ++
 src/ndmp/ndmprotocol.h                        |  276 ++
 src/ndmp/scsiconst.h                          |  517 ++++
 src/ndmp/smc.h                                |  187 ++
 src/ndmp/smc_api.c                            |  437 +++
 src/ndmp/smc_parse.c                          |  191 ++
 src/ndmp/smc_pp.c                             |  187 ++
 src/ndmp/smc_priv.h                           |   65 +
 src/ndmp/smc_raw.h                            | 1019 +++++++
 src/ndmp/wraplib.c                            | 1554 ++++++++++
 src/ndmp/wraplib.h                            |  416 +++
 src/plugins/dir/Makefile.in                   |   56 +-
 src/plugins/dir/example-plugin-dir.c          |   36 +-
 src/plugins/dir/python-dir.c                  |  242 ++
 src/plugins/sd/Makefile.in                    |   63 +-
 src/plugins/sd/example-plugin-sd.c            |   27 +-
 src/plugins/sd/main.c                         |  119 -
 src/plugins/sd/python-sd.c                    |  267 ++
 src/plugins/sd/scsicrypto-sd.c                |  574 ++++
 src/qt-console/bat.h                          |   11 +-
 src/qt-console/bat.pro.in                     |    4 +-
 src/qt-console/bat_conf.cpp                   |  127 +-
 src/qt-console/bat_conf.h                     |    1 -
 src/qt-console/console/console.cpp            |    8 +-
 src/qt-console/main.cpp                       |    6 +-
 src/qt-console/main.ui                        |    3 -
 src/qt-console/mainwin.cpp                    |    8 +-
 src/qt-console/mediainfo/mediainfo.cpp        |   40 +-
 src/qt-console/mediainfo/mediainfo.h          |    2 +
 src/qt-console/mediainfo/mediainfo.ui         |   14 +-
 src/qt-console/medialist/medialist.cpp        |  112 +-
 src/qt-console/medialist/medialist.h          |    3 +
 src/qt-console/medialist/medialist.ui         |   16 +
 src/qt-console/medialist/mediaview.cpp        |  208 +-
 src/qt-console/medialist/mediaview.h          |    3 +
 src/qt-console/medialist/mediaview.ui         |   28 +
 src/qt-console/restore/brestore.cpp           |   35 +-
 src/qt-console/restore/brestore.ui            |  104 +-
 src/qt-console/restore/restore.cpp            |    8 +-
 src/qt-console/run/prune.cpp                  |    6 +-
 src/qt-console/run/run.cpp                    |    3 +-
 src/qt-console/storage/content.cpp            |  751 ++++-
 src/qt-console/storage/content.h              |    5 +
 src/qt-console/storage/content.ui             |   52 +-
 src/qt-console/storage/storage.cpp            |  112 +-
 src/qt-console/storage/storage.h              |    2 +
 src/qt-console/storage/storage.ui             |   11 +
 src/qt-console/tray-monitor/authenticate.cpp  |    6 +-
 src/qt-console/tray-monitor/tray-monitor.cpp  |   33 +-
 src/qt-console/tray-monitor/tray-monitor.h    |    4 +-
 src/qt-console/tray-monitor/tray-ui.h         |    4 +-
 src/qt-console/tray-monitor/tray_conf.cpp     |  296 +-
 src/qt-console/tray-monitor/tray_conf.h       |   40 +-
 src/qt-console/util/fmtwidgetitem.h           |    2 +-
 src/stored/Makefile.in                        |  152 +-
 src/stored/acquire.c                          |   43 +-
 src/stored/ansi_label.c                       |   46 +-
 src/stored/append.c                           |    9 +-
 src/stored/askdir.c                           |   97 +-
 src/stored/authenticate.c                     |    2 +-
 src/stored/autochanger.c                      |  218 +-
 src/stored/bcopy.c                            |   90 +-
 src/stored/bextract.c                         |  151 +-
 src/stored/block.c                            |  402 ++-
 src/stored/bls.c                              |   96 +-
 src/stored/bscan.c                            |  119 +-
 src/stored/bsr.c                              |  918 ++++++
 src/stored/bsr.h                              |  182 --
 src/stored/btape.c                            |  203 +-
 src/stored/butil.c                            |   13 +-
 src/stored/crc32.c                            |  463 +++
 src/stored/dev.c                              |  337 +--
 src/stored/dev.h                              |  181 +-
 src/stored/device.c                           |   81 +-
 src/stored/dircmd.c                           |  323 +-
 src/stored/dvd.c                              |  825 -----
 src/stored/fd_cmds.c                          |  117 +-
 src/stored/job.c                              |  315 +-
 src/stored/label.c                            |  164 +-
 src/stored/lock.c                             |   55 +-
 src/stored/mac.c                              |   19 +-
 src/stored/match_bsr.c                        |  791 -----
 src/stored/mount.c                            |  167 +-
 src/stored/ndmp_tape.c                        | 1516 ++++++++++
 src/stored/parse_bsr.c                        | 1072 -------
 src/stored/protos.h                           |  398 ++-
 src/stored/pythonsd.c                         |  282 --
 src/stored/read_record.c                      |  720 ++---
 src/stored/record.c                           |   26 +-
 src/stored/record.h                           |   18 +-
 src/stored/reserve.c                          |   58 +-
 src/stored/scan.c                             |    4 +-
 src/stored/sd_plugins.c                       |  289 +-
 src/stored/sd_plugins.h                       |  148 +-
 src/stored/spool.c                            |   73 +-
 src/stored/status.c                           |  147 +-
 src/stored/stored.c                           |   71 +-
 src/stored/stored.h                           |    7 +-
 src/stored/stored_conf.c                      |  539 ++--
 src/stored/stored_conf.h                      |   86 +-
 src/stored/vol_mgr.c                          |  119 +-
 src/stored/vol_mgr.h                          |   12 +-
 src/stored/vtape.c                            |    3 +-
 src/stored/vtape.h                            |   13 +-
 src/stored/wait.c                             |   34 +-
 src/streams.h                                 |  250 +-
 src/tests/Makefile.in                         |  133 +
 src/tests/bbatch.c                            |  351 +++
 src/tests/bregtest.c                          |  164 +
 src/tests/bvfs_test.c                         |  319 ++
 src/tests/cats_test.c                         |  708 +++++
 src/tests/gigaslam.c                          |   50 +
 src/tests/grow.c                              |   58 +
 src/tests/ing_test.c                          |  339 +++
 src/tests/testls.c                            |  288 ++
 src/tools/Makefile.in                         |  119 +-
 src/tools/bbatch.c                            |  342 ---
 src/tools/bpluginfo.c                         |  260 +-
 src/tools/bregtest.c                          |  164 -
 src/tools/bscrypto.c                          |  526 ++++
 src/tools/bsmtp.c                             |    8 +-
 src/tools/bvfs_test.c                         |  313 --
 src/tools/cats_test.c                         |  710 -----
 src/tools/dbcheck.c                           | 1499 ----------
 src/tools/drivetype.c                         |    2 +-
 src/tools/gigaslam.c                          |   50 -
 src/tools/grow.c                              |   58 -
 src/tools/ing_test.c                          |  339 ---
 src/tools/testfind.c                          |  658 ----
 src/tools/testls.c                            |  288 --
 src/tools/timelimit.c                         |    8 +-
 src/tray-monitor/Makefile.in                  |   13 +-
 src/tray-monitor/authenticate.c               |   12 +-
 src/tray-monitor/tray-monitor.c               |   40 +-
 src/tray-monitor/tray_conf.c                  |  292 +-
 src/tray-monitor/tray_conf.h                  |   35 +-
 src/version.h                                 |   11 +-
 src/win32/cats/make_def                       |    4 +-
 src/win32/compat/getopt.c                     |    4 +-
 src/win32/compat/mingwconfig.h                |    6 +
 src/win32/filed/plugins/bpipe-fd.c            |   64 +-
 src/win32/filed/plugins/bpipe-fd.def          |    1 -
 src/win32/filed/plugins/exchange-fd.c         |   60 +-
 src/win32/filed/plugins/exchange-fd.def       |    1 -
 src/win32/filed/plugins/exchange-fd.h         |   17 +-
 src/win32/filed/plugins/root_node.c           |    4 +-
 src/win32/filed/plugins/service_node.c        |    6 +-
 src/win32/filed/plugins/storage_group_node.c  |    4 +-
 src/win32/filed/plugins/store_node.c          |   10 +-
 src/win32/lib/bacula32.def                    |    1 -
 src/win32/lib/bacula64.def                    |    1 -
 src/win32/lib/make_def                        |    5 +-
 src/win32/lib/make_def64                      |    5 +-
 src/win32/libwin32/protos.h                   |    5 +-
 src/win32/pebuilder/Makefile.in               |    6 +-
 updatedb/update_postgresql_tables_10_to_11.in |    2 +-
 532 files changed, 121713 insertions(+), 47505 deletions(-)

commit 36a3c11da91cf07d5cb569cf1e6eda7ef6c7bb2b
Author: Marco van Wieringen <marco.van.wieringen@bareos.com>
Date:   Tue Apr 30 18:23:51 2013 +0200

    Imported bacula-5.2.13 as downloaded from sourceforge.
    
    Released on 19/2/2013.

 .gitignore                                         |  1377 +
 ABOUT-NLS                                          |   986 +
 AUTHORS                                            |   118 +
 COPYING                                            |     2 +
 COPYRIGHT                                          |     2 +
 ChangeLog                                          |  5140 +++
 CheckList                                          |    61 +
 INSTALL                                            |    77 +
 LICENSE                                            |   860 +
 Makefile.in                                        |   277 +
 README                                             |    72 +
 README.AIX                                         |    56 +
 ReleaseNotes                                       |  1388 +
 SUPPORT                                            |    33 +
 VERIFYING                                          |    38 +
 autoconf/Make.common.in                            |   107 +
 autoconf/acconfig.h                                |   201 +
 autoconf/aclocal.m4                                |    51 +
 autoconf/aclocal.m4.save                           |    50 +
 autoconf/bacula-macros/compare-version.m4          |   101 +
 autoconf/bacula-macros/db.m4                       |   937 +
 autoconf/bacula-macros/db.m4.old                   |  1295 +
 autoconf/bacula-macros/largefiles.m4               |   109 +
 autoconf/bacula-macros/os.m4                       |   241 +
 autoconf/config.guess                              |  1533 +
 autoconf/config.h.in.save                          |  1152 +
 autoconf/config.rpath                              |   571 +
 autoconf/config.sub                                |  1693 +
 autoconf/configure.in                              |  3674 ++
 autoconf/gettext-macros/codeset.m4                 |    21 +
 autoconf/gettext-macros/gettext.m4                 |   549 +
 autoconf/gettext-macros/glibc2.m4                  |    30 +
 autoconf/gettext-macros/glibc21.m4                 |    30 +
 autoconf/gettext-macros/iconv.m4                   |   101 +
 autoconf/gettext-macros/intdiv0.m4                 |    70 +
 autoconf/gettext-macros/intmax.m4                  |    30 +
 autoconf/gettext-macros/inttypes-pri.m4            |    30 +
 autoconf/gettext-macros/inttypes.m4                |    25 +
 autoconf/gettext-macros/inttypes_h.m4              |    26 +
 autoconf/gettext-macros/isc-posix.m4               |    24 +
 autoconf/gettext-macros/lcmessage.m4               |    30 +
 autoconf/gettext-macros/lib-ld.m4                  |   110 +
 autoconf/gettext-macros/lib-link.m4                |   553 +
 autoconf/gettext-macros/lib-prefix.m4              |   153 +
 autoconf/gettext-macros/longdouble.m4              |    28 +
 autoconf/gettext-macros/longlong.m4                |    23 +
 autoconf/gettext-macros/nls.m4                     |    51 +
 autoconf/gettext-macros/po.m4                      |   429 +
 autoconf/gettext-macros/printf-posix.m4            |    44 +
 autoconf/gettext-macros/progtest.m4                |    92 +
 autoconf/gettext-macros/signed.m4                  |    17 +
 autoconf/gettext-macros/size_max.m4                |    59 +
 autoconf/gettext-macros/stdint_h.m4                |    26 +
 autoconf/gettext-macros/uintmax_t.m4               |    30 +
 autoconf/gettext-macros/ulonglong.m4               |    23 +
 autoconf/gettext-macros/wchar_t.m4                 |    20 +
 autoconf/gettext-macros/wint_t.m4                  |    20 +
 autoconf/gettext-macros/xsize.m4                   |    13 +
 autoconf/gnome-macros/Makefile.am                  |    42 +
 autoconf/gnome-macros/Makefile.in                  |   254 +
 autoconf/gnome-macros/aclocal-include.m4           |    16 +
 autoconf/gnome-macros/autogen.sh                   |   207 +
 autoconf/gnome-macros/compiler-flags.m4            |   109 +
 autoconf/gnome-macros/curses.m4                    |   318 +
 autoconf/gnome-macros/gnome-bonobo-check.m4        |   166 +
 autoconf/gnome-macros/gnome-common.m4              |    14 +
 autoconf/gnome-macros/gnome-fileutils.m4           |   414 +
 autoconf/gnome-macros/gnome-ghttp-check.m4         |    14 +
 autoconf/gnome-macros/gnome-gnorba-check.m4        |    35 +
 autoconf/gnome-macros/gnome-guile-checks.m4        |   134 +
 autoconf/gnome-macros/gnome-libgtop-check.m4       |   217 +
 autoconf/gnome-macros/gnome-objc-checks.m4         |    83 +
 autoconf/gnome-macros/gnome-orbit-check.m4         |    33 +
 autoconf/gnome-macros/gnome-print-check.m4         |    63 +
 autoconf/gnome-macros/gnome-pthread-check.m4       |    18 +
 autoconf/gnome-macros/gnome-support.m4             |    68 +
 autoconf/gnome-macros/gnome-undelfs.m4             |    22 +
 autoconf/gnome-macros/gnome-vfs.m4                 |   126 +
 autoconf/gnome-macros/gnome-x-checks.m4            |    80 +
 autoconf/gnome-macros/gnome-xml-check.m4           |    32 +
 autoconf/gnome-macros/gnome.m4                     |   130 +
 autoconf/gnome-macros/gperf-check.m4               |    79 +
 autoconf/gnome-macros/linger.m4                    |    28 +
 autoconf/gnome-macros/need-declaration.m4          |    42 +
 autoconf/install-sh                                |   520 +
 autoconf/install.sh                                |   235 +
 autoconf/ltmain.sh                                 |  9647 ++++++
 autoconf/mkinstalldirs                             |   150 +
 autoconf/python.conf.py                            |    14 +
 autoconf/randpass                                  |    27 +
 autoconf/randpass.awk                              |    14 +
 autoconf/randpass.bc                               |    44 +
 autoconf/who_and_what_of_libtool_patch             |   183 +
 code-changes                                       |     2 +
 commits                                            |     2 +
 configure                                          | 33906 +++++++++++++++++++
 examples/AFS-README                                |    45 +
 examples/afs-bacula                                |   296 +
 .../autochangers/Sun-desktop-20Gb-4mm-autoloader   |    43 +
 examples/autochangers/bacula-barcodes              |    53 +
 examples/autochangers/chio-bacula                  |   152 +
 examples/autochangers/chio-changer                 |   125 +
 examples/autochangers/chio-changer-openbsd         |   134 +
 examples/autochangers/chio-changer.Sony-TSL-SA300C |   167 +
 examples/autochangers/locking-mtx-changer          |   178 +
 examples/autochangers/mtx-changer.Adic-Scalar-100  |  1196 +
 examples/autochangers/mtx-changer.Adic-Scalar-24   |   133 +
 examples/autochangers/mtx-changer.Sony-TSL-SA300C  |    40 +
 .../autochangers/mtx-changer.StorageTek-HPA4853    |   157 +
 examples/autochangers/rc-chio-changer              |   139 +
 examples/autochangers/solaris-mtx-changer          |   174 +
 examples/client-backup                             |    15 +
 examples/conf/bacula-defs.m4                       |    45 +
 examples/conf/console.conf                         |    10 +
 examples/conf/defaultconfig                        |    24 +
 examples/conf/fileset_convert.pl                   |    34 +
 examples/conf/gnome-console.conf                   |    10 +
 examples/conf/m4.Makefile                          |    29 +
 examples/conf/m4.additions                         |    43 +
 examples/conf/m4.bacula-dir.conf                   |   364 +
 examples/conf/m4.bacula-fd.conf                    |    31 +
 examples/conf/m4.bacula-sd.conf                    |   152 +
 examples/conf/m4.email                             |    28 +
 examples/database/bacula-sqlite_2_mysqldump.sh     |    23 +
 examples/database/dbcheck.sql                      |   197 +
 examples/database/sqlite2pgsql                     |   146 +
 examples/devices/DDS.conf                          |    10 +
 examples/devices/DDS4.conf                         |    19 +
 examples/devices/DVD.conf                          |    22 +
 examples/devices/EXB-8200.conf                     |    13 +
 examples/devices/EXB-8500.conf                     |    10 +
 examples/devices/Exabyte.conf                      |    15 +
 examples/devices/FreeBSD.conf                      |    16 +
 examples/devices/HP-DLT80.conf                     |    12 +
 examples/devices/HP-autoloader.conf                |    14 +
 examples/devices/LTO-2.conf                        |    20 +
 examples/devices/LTO-3.conf                        |    20 +
 examples/devices/LTO-4.conf                        |    20 +
 examples/devices/OnStream.conf                     |    19 +
 examples/devices/OpenBSD.conf                      |    14 +
 examples/devices/README                            |    17 +
 examples/devices/Sony-DDS.conf                     |    10 +
 examples/devices/two-drive-autoloader.conf         |    48 +
 examples/local_partitions                          |    21 +
 examples/nagios/check_bacula/Makefile.in           |    98 +
 examples/nagios/check_bacula/README                |    15 +
 examples/nagios/check_bacula/authenticate.c        |   176 +
 examples/nagios/check_bacula/check_bacula.c        |   370 +
 examples/nagios/check_bacula/check_bacula.h        |   121 +
 examples/nagios/check_bacula_pools.sh              |   159 +
 examples/python/DirStartUp.py                      |   102 +
 examples/python/FDStartUp.py                       |    74 +
 examples/python/SDStartUp.py                       |    56 +
 examples/recover.pl                                |  2886 ++
 examples/reports/bacula_mail_summary.sh            |    73 +
 examples/reports/baculareport.pl                   |  1161 +
 examples/reports/check_bacula_pools.sh             |   178 +
 examples/reports/checkhost                         |    53 +
 examples/reports/is_client_alive                   |    21 +
 examples/reports/next_tape.sh                      |    78 +
 examples/reports/report.pl                         |   116 +
 examples/sample-query.sql                          |   242 +
 examples/ssh-tunnel.sh                             |    41 +
 examples/vm/bacula.data                            |     2 +
 examples/vm/blabela.exec                           |    83 +
 examples/vm/blabeli.exec                           |    83 +
 examples/vm/vmbacula.tgz                           |   Bin 0 -> 122401 bytes
 get_authors                                        |     2 +
 manpages/Makefile.in                               |    50 +
 manpages/bacula-bgnome-console.1                   |    45 +
 manpages/bacula-bwxconsole.1                       |    45 +
 manpages/bacula-dir.8                              |    93 +
 manpages/bacula-fd.8                               |    67 +
 manpages/bacula-sd.8                               |    64 +
 manpages/bacula-tray-monitor.1                     |    42 +
 manpages/bacula.8                                  |   125 +
 manpages/bat.1                                     |    44 +
 manpages/bconsole.8                                |    49 +
 manpages/bcopy.8                                   |    63 +
 manpages/bextract.8                                |    63 +
 manpages/bls.8                                     |    84 +
 manpages/bpluginfo.8                               |   120 +
 manpages/bregex.8                                  |    61 +
 manpages/bscan.8                                   |   105 +
 manpages/bsmtp.1                                   |   127 +
 manpages/btape.8                                   |   143 +
 manpages/btraceback.8                              |    68 +
 manpages/bwild.8                                   |    66 +
 manpages/dbcheck.8                                 |   202 +
 platforms/Makefile.in                              |   106 +
 platforms/README                                   |     5 +
 platforms/aix/Makefile.in                          |    85 +
 platforms/alpha/Makefile.in                        |    48 +
 platforms/alpha/bacula-fd.in                       |    39 +
 platforms/bsdi/Makefile.in                         |   140 +
 platforms/bsdi/bacula-dir.in                       |    38 +
 platforms/bsdi/bacula-fd.in                        |    37 +
 platforms/bsdi/bacula-sd.in                        |    37 +
 platforms/contrib-rpm/README                       |    61 +
 platforms/contrib-rpm/build_rpm.sh                 |   202 +
 platforms/contrib-rpm/rpm_wizard.sh                |   120 +
 platforms/contrib-rpm/rpmkey.spec                  |    51 +
 platforms/darwin/Makefile.in                       |    46 +
 platforms/debian/Makefile.in                       |    88 +
 platforms/debian/bacula-dir.in                     |    74 +
 platforms/debian/bacula-fd.in                      |    74 +
 platforms/debian/bacula-sd.in                      |    74 +
 platforms/freebsd/Makefile.in                      |   140 +
 platforms/freebsd/bacula-dir.in                    |    38 +
 platforms/freebsd/bacula-fd.in                     |    37 +
 platforms/freebsd/bacula-sd.in                     |    37 +
 platforms/freebsd/tapetest.c                       |   605 +
 platforms/gentoo/1.36.1-cdrecord-configure.patch   |    18 +
 platforms/gentoo/1.36.2-cdrecord-configure.patch   |    19 +
 platforms/gentoo/Makefile.in                       |    57 +
 platforms/gentoo/bacula-dir.in                     |    28 +
 platforms/gentoo/bacula-fd.in                      |    28 +
 platforms/gentoo/bacula-init.in                    |    94 +
 platforms/gentoo/bacula-sd.in                      |    28 +
 platforms/gentoo/bacula.ebuild                     |   426 +
 platforms/hurd/Makefile.in                         |    88 +
 platforms/hurd/bacula-dir.in                       |    73 +
 platforms/hurd/bacula-fd.in                        |    73 +
 platforms/hurd/bacula-sd.in                        |    73 +
 platforms/install-symlinks                         |    99 +
 platforms/irix/Makefile.in                         |    85 +
 platforms/irix/bacula-dir.in                       |    38 +
 platforms/irix/bacula-fd.in                        |    39 +
 platforms/irix/bacula-sd.in                        |    37 +
 platforms/mandrake/Makefile.in                     |    85 +
 platforms/mandrake/bacula-dir.in                   |    44 +
 platforms/mandrake/bacula-fd.in                    |    43 +
 platforms/mandrake/bacula-sd.in                    |    43 +
 platforms/mandrake/bacula.spec.bluca.in            |   501 +
 platforms/openbsd/Makefile.in                      |   140 +
 platforms/openbsd/bacula-dir.in                    |    38 +
 platforms/openbsd/bacula-fd.in                     |    37 +
 platforms/openbsd/bacula-sd.in                     |    37 +
 platforms/osx/Makefile.in                          |   155 +
 platforms/osx/README                               |    55 +
 .../osx/files/installer.pmdoc.in/01destdir.xml     |    27 +
 platforms/osx/files/installer.pmdoc.in/index.xml   |    30 +
 platforms/osx/files/org.bacula.bacula-fd.plist.in  |    17 +
 platforms/osx/files/uninstall.command.in           |    29 +
 platforms/osx/installer-gencontents.py             |    56 +
 platforms/osx/resources/ReadMe.html.in             |    62 +
 platforms/osx/resources/postflight.in              |    36 +
 platforms/osx/resources/preupgrade.in              |     7 +
 platforms/redhat/Makefile.in                       |    90 +
 platforms/redhat/bacula-dir.in                     |    71 +
 platforms/redhat/bacula-fd.in                      |    71 +
 platforms/redhat/bacula-sd.in                      |    72 +
 platforms/rpms/redhat/bacula-bat.spec.in           |   341 +
 platforms/rpms/redhat/bacula-docs.spec.in          |    91 +
 platforms/rpms/redhat/bacula-mtx.spec.in           |   121 +
 platforms/rpms/redhat/bacula.spec.in               |  1565 +
 platforms/slackware/Makefile.in                    |    66 +
 platforms/slackware/functions.bacula.in            |   188 +
 platforms/slackware/local-install.sh               |    89 +
 platforms/slackware/rc.bacula-dir.in               |    53 +
 platforms/slackware/rc.bacula-fd.in                |    53 +
 platforms/slackware/rc.bacula-sd.in                |    54 +
 platforms/solaris/Makefile.in                      |    55 +
 platforms/solaris/bacula-dir.in                    |    54 +
 platforms/solaris/bacula-fd.in                     |    54 +
 platforms/solaris/bacula-sd.in                     |    54 +
 platforms/solaris/copyright                        |    28 +
 platforms/solaris/makepkg.sh                       |    82 +
 platforms/solaris/pkginfo                          |    12 +
 platforms/solaris/postinstall                      |     9 +
 platforms/solaris/postremove                       |     9 +
 platforms/solaris/prototype.master                 |    24 +
 platforms/suse/Makefile.in                         |    84 +
 platforms/suse/bacula-dir-suse-sqlite.patch        |    13 +
 platforms/suse/bacula-dir.in                       |    63 +
 platforms/suse/bacula-fd.in                        |    62 +
 platforms/suse/bacula-sd.in                        |    62 +
 platforms/suse/bacula.in                           |   213 +
 platforms/systemd/Makefile.in                      |   107 +
 platforms/systemd/bacula-dir.service.in            |    39 +
 platforms/systemd/bacula-fd.service.in             |    31 +
 platforms/systemd/bacula-sd.service.in             |    32 +
 platforms/systemd/bacula.conf.in                   |     2 +
 platforms/ubuntu/Makefile.in                       |    88 +
 platforms/ubuntu/bacula-dir.in                     |    82 +
 platforms/ubuntu/bacula-fd.in                      |    82 +
 platforms/ubuntu/bacula-sd.in                      |    82 +
 platforms/unknown/Makefile.in                      |    46 +
 po/ChangeLog                                       |     0
 po/LINGUAS                                         |     6 +
 po/Makefile.in.in                                  |   395 +
 po/Makevars                                        |    41 +
 po/POTFILES.in                                     |   561 +
 po/README                                          |    66 +
 po/Rules-quot                                      |    47 +
 po/bacula.pot                                      | 18009 ++++++++++
 po/boldquot.sed                                    |    10 +
 po/de.po                                           | 18746 ++++++++++
 po/en@boldquot.header                              |    25 +
 po/en@quot.header                                  |    22 +
 po/es.po                                           | 19955 +++++++++++
 po/es_AR.po                                        | 14465 ++++++++
 po/fi.po                                           | 15930 +++++++++
 po/fr.po                                           | 19966 +++++++++++
 po/insert-header.sin                               |    23 +
 po/it.po                                           | 15930 +++++++++
 po/nl.po                                           | 18151 ++++++++++
 po/pl.po                                           | 18380 ++++++++++
 po/quot.sed                                        |     6 +
 po/remove-potcdate.sin                             |    19 +
 po/sv.po                                           | 18009 ++++++++++
 po/uk.po                                           | 18275 ++++++++++
 projects                                           |  1292 +
 release/README                                     |    49 +
 release/clean                                      |     4 +
 release/config                                     |    52 +
 release/git2changelog.pl                           |    81 +
 release/makeall                                    |    32 +
 release/makebacularel                              |   122 +
 release/makedocsrel                                |   121 +
 release/makerescuerel                              |    81 +
 release/makewinrel                                 |    69 +
 release/pushtags                                   |    22 +
 release/sign                                       |     4 +
 scripts/Makefile.in                                |   116 +
 scripts/bacula-ctl-dir.in                          |   242 +
 scripts/bacula-ctl-fd.in                           |   242 +
 scripts/bacula-ctl-sd.in                           |   242 +
 scripts/bacula-tray-monitor.desktop.in             |    10 +
 scripts/bacula.desktop.gnome1.consolehelper.in     |    10 +
 scripts/bacula.desktop.gnome1.in                   |    10 +
 scripts/bacula.desktop.gnome1.xsu.in               |    10 +
 scripts/bacula.desktop.gnome2.consolehelper.in     |    10 +
 scripts/bacula.desktop.gnome2.in                   |    10 +
 scripts/bacula.desktop.gnome2.xsu.in               |    10 +
 scripts/bacula.in                                  |    54 +
 scripts/bacula.png                                 |   Bin 0 -> 2983 bytes
 scripts/bacula.vim                                 |   176 +
 scripts/bat.console_apps.in                        |     4 +
 scripts/bat.desktop.consolehelper.in               |    11 +
 scripts/bat.desktop.in                             |    11 +
 scripts/bat.desktop.xsu.in                         |    11 +
 scripts/bat.pamd                                   |     7 +
 scripts/bconsole.in                                |    23 +
 scripts/btraceback.dbx                             |    48 +
 scripts/btraceback.gdb                             |    32 +
 scripts/btraceback.in                              |    47 +
 scripts/btraceback.mdb                             |    24 +
 scripts/defaultconfig                              |    24 +
 scripts/devel_bacula.in                            |   277 +
 scripts/disk-changer.in                            |   390 +
 scripts/dvd-handler.in                             |   498 +
 scripts/dvd-simulator.in                           |   461 +
 scripts/filetype.vim                               |     7 +
 scripts/logrotate.in                               |    14 +
 scripts/logwatch/Makefile.in                       |    20 +
 scripts/logwatch/README                            |    43 +
 scripts/logwatch/applybaculadate                   |    46 +
 scripts/logwatch/logfile.bacula.conf.in            |     3 +
 scripts/logwatch/services.bacula.conf              |     6 +
 scripts/magic.bacula                               |    11 +
 scripts/mtx-changer.conf                           |    56 +
 scripts/mtx-changer.in                             |   289 +
 scripts/wxconsole.console_apps.in                  |     3 +
 scripts/wxconsole.desktop.consolehelper.in         |    10 +
 scripts/wxconsole.desktop.xsu.in                   |    10 +
 scripts/wxconsole.pamd                             |     7 +
 src/.indent.pro                                    |    27 +
 src/Makefile.in                                    |    65 +
 src/baconfig.h                                     |   661 +
 src/bacula.h                                       |   202 +
 src/bc_types.h                                     |   258 +
 src/c                                              |    28 +
 src/c.scr                                          |     8 +
 src/cats/Makefile.in                               |   350 +
 src/cats/bdb_dbi.h                                 |    80 +
 src/cats/bdb_ingres.h                              |    76 +
 src/cats/bdb_mysql.h                               |    81 +
 src/cats/bdb_postgresql.h                          |    75 +
 src/cats/bdb_priv.h                                |    88 +
 src/cats/bdb_sqlite.h                              |    83 +
 src/cats/bvfs.c                                    |  1053 +
 src/cats/bvfs.h                                    |   211 +
 src/cats/cats.c                                    |   162 +
 src/cats/cats.h                                    |   589 +
 src/cats/cats_dummy.c                              |    43 +
 src/cats/create_bacula_database.in                 |    44 +
 src/cats/create_ingres_database.in                 |    32 +
 src/cats/create_mysql_database.in                  |    17 +
 src/cats/create_postgresql_database.in             |    61 +
 src/cats/create_sqlite3_database.in                |    16 +
 src/cats/create_sqlite3_database.in.patch          |    11 +
 src/cats/create_test_database                      |    16 +
 src/cats/dbi.c                                     |  1490 +
 src/cats/delete_catalog_backup.in                  |     7 +
 src/cats/drop_bacula_database.in                   |    44 +
 src/cats/drop_bacula_tables.in                     |    44 +
 src/cats/drop_ingres_database.in                   |    17 +
 src/cats/drop_ingres_tables.in                     |    63 +
 src/cats/drop_mysql_database.in                    |    17 +
 src/cats/drop_mysql_tables.in                      |    45 +
 src/cats/drop_postgresql_database.in               |    15 +
 src/cats/drop_postgresql_tables.in                 |    43 +
 src/cats/drop_sqlite3_database.in                  |     8 +
 src/cats/drop_sqlite3_tables.in                    |     8 +
 src/cats/drop_test_tables                          |    26 +
 src/cats/fix_postgresql_tables                     |    35 +
 src/cats/grant_bacula_privileges.in                |    45 +
 src/cats/grant_ingres_privileges.in                |    72 +
 src/cats/grant_mysql_privileges.in                 |    26 +
 src/cats/grant_mysql_privileges.patch              |    13 +
 src/cats/grant_postgresql_privileges.in            |    71 +
 src/cats/grant_privileges                          |    10 +
 src/cats/grant_sqlite3_privileges.in               |     7 +
 src/cats/ingres.c                                  |  1113 +
 src/cats/ingres.in                                 |     8 +
 src/cats/install-default-backend.in                |    40 +
 src/cats/make_bacula_tables.in                     |    44 +
 src/cats/make_catalog_backup.in                    |   107 +
 src/cats/make_catalog_backup.in.patch              |    12 +
 src/cats/make_catalog_backup.pl.in                 |   162 +
 src/cats/make_ingres_catalog_backup.in             |    67 +
 src/cats/make_ingres_tables.in                     |   508 +
 src/cats/make_mysql_tables.in                      |   435 +
 src/cats/make_postgresql_tables.in                 |   462 +
 src/cats/make_sqlite3_tables.in                    |   446 +
 src/cats/make_sqlite3_tables.in.patch              |    12 +
 src/cats/make_test_tables                          |   152 +
 src/cats/myingres.c                                |   912 +
 src/cats/myingres.h                                |    97 +
 src/cats/myingres.sc                               |   854 +
 src/cats/myingres.sh                               |   109 +
 src/cats/mysql.c                                   |   718 +
 src/cats/mysql.in                                  |     8 +
 src/cats/postgresql.c                              |  1136 +
 src/cats/postgresql.in                             |     8 +
 src/cats/protos.h                                  |   146 +
 src/cats/restore_ingres_catalog_backup.in          |    52 +
 src/cats/sql.c                                     |   755 +
 src/cats/sql_cmds.c                                |  1090 +
 src/cats/sql_cmds.h                                |    89 +
 src/cats/sql_create.c                              |  1231 +
 src/cats/sql_delete.c                              |   244 +
 src/cats/sql_find.c                                |   466 +
 src/cats/sql_get.c                                 |  1359 +
 src/cats/sql_glue.c                                |   213 +
 src/cats/sql_glue.h                                |    76 +
 src/cats/sql_list.c                                |   519 +
 src/cats/sql_update.c                              |   504 +
 src/cats/sqlite.c                                  |   749 +
 src/cats/sqlite.in                                 |     7 +
 src/cats/update_bacula_tables.in                   |    44 +
 src/cats/update_ingres_tables.in                   |    12 +
 src/cats/update_mysql_tables.in                    |    54 +
 src/cats/update_postgresql_tables.in               |    59 +
 src/cats/update_sqlite3_tables.in                  |    52 +
 src/cats/update_sqlite3_tables.in.patch            |    11 +
 src/ch.h                                           |    58 +
 src/cl                                             |    28 +
 src/console/Makefile.in                            |   134 +
 src/console/authenticate.c                         |   174 +
 src/console/bconsole.conf.in                       |    10 +
 src/console/conio.c                                |  1198 +
 src/console/conio.h                                |    45 +
 src/console/console.c                              |  1563 +
 src/console/console_conf.c                         |   338 +
 src/console/console_conf.h                         |   106 +
 src/console/func.h                                 |    85 +
 src/count-lines                                    |     9 +
 src/dird/Makefile.in                               |   154 +
 src/dird/README-config                             |   134 +
 src/dird/admin.c                                   |   134 +
 src/dird/authenticate.c                            |   421 +
 src/dird/autoprune.c                               |   238 +
 src/dird/backup.c                                  |   874 +
 src/dird/bacula-dir.conf.in                        |   313 +
 src/dird/bsr.c                                     |   584 +
 src/dird/bsr.h                                     |    67 +
 src/dird/catreq.c                                  |   704 +
 src/dird/dir_plugins.c                             |   547 +
 src/dird/dir_plugins.h                             |   194 +
 src/dird/dird.c                                    |  1228 +
 src/dird/dird.h                                    |    83 +
 src/dird/dird_conf.c                               |  2123 ++
 src/dird/dird_conf.h                               |   650 +
 src/dird/expand.c                                  |   476 +
 src/dird/fd_cmds.c                                 |   890 +
 src/dird/getmsg.c                                  |   375 +
 src/dird/inc_conf.c                                |   815 +
 src/dird/job.c                                     |  1477 +
 src/dird/jobq.c                                    |   846 +
 src/dird/jobq.h                                    |    80 +
 src/dird/migrate.c                                 |  1441 +
 src/dird/mountreq.c                                |    82 +
 src/dird/msgchan.c                                 |   545 +
 src/dird/newvol.c                                  |   170 +
 src/dird/next_vol.c                                |   462 +
 src/dird/protos.h                                  |   323 +
 src/dird/pythondir.c                               |   484 +
 src/dird/query.sql                                 |     7 +
 src/dird/recycle.c                                 |    91 +
 src/dird/restore.c                                 |   643 +
 src/dird/run_conf.c                                |   670 +
 src/dird/scheduler.c                               |   445 +
 src/dird/ua.h                                      |   134 +
 src/dird/ua_acl.c                                  |    85 +
 src/dird/ua_cmds.c                                 |  2074 ++
 src/dird/ua_dotcmds.c                              |  1202 +
 src/dird/ua_input.c                                |   238 +
 src/dird/ua_label.c                                |  1324 +
 src/dird/ua_output.c                               |   959 +
 src/dird/ua_prune.c                                |   733 +
 src/dird/ua_purge.c                                |   808 +
 src/dird/ua_query.c                                |   291 +
 src/dird/ua_restore.c                              |  1556 +
 src/dird/ua_run.c                                  |  1661 +
 src/dird/ua_select.c                               |  1213 +
 src/dird/ua_server.c                               |   234 +
 src/dird/ua_status.c                               |   894 +
 src/dird/ua_tree.c                                 |   914 +
 src/dird/ua_update.c                               |   985 +
 src/dird/vbackup.c                                 |   532 +
 src/dird/verify.c                                  |   814 +
 src/filed/Makefile.in                              |   184 +
 src/filed/accurate.c                               |   556 +
 src/filed/acl.c                                    |  2367 ++
 src/filed/acl.h                                    |    97 +
 src/filed/authenticate.c                           |   308 +
 src/filed/backup.c                                 |  1567 +
 src/filed/bacula-fd.conf.in                        |    43 +
 src/filed/estimate.c                               |   125 +
 src/filed/fd_plugins.c                             |  1979 ++
 src/filed/fd_plugins.h                             |   347 +
 src/filed/filed.c                                  |   572 +
 src/filed/filed.h                                  |    87 +
 src/filed/filed_conf.c                             |   462 +
 src/filed/filed_conf.h                             |   119 +
 src/filed/heartbeat.c                              |   217 +
 src/filed/job.c                                    |  2398 ++
 src/filed/protos.h                                 |    79 +
 src/filed/pythonfd.c                               |   271 +
 src/filed/restore.c                                |  1836 +
 src/filed/restore.h                                |    72 +
 src/filed/status.c                                 |   612 +
 src/filed/verify.c                                 |   392 +
 src/filed/verify_vol.c                             |   264 +
 src/filed/xattr.c                                  |  3897 +++
 src/filed/xattr.h                                  |   102 +
 src/fileopts.h                                     |    76 +
 src/filetypes.h                                    |    88 +
 src/findlib/Makefile.in                            |   128 +
 src/findlib/attribs.c                              |   822 +
 src/findlib/bfile.c                                |  1103 +
 src/findlib/bfile.h                                |   143 +
 src/findlib/create_file.c                          |   482 +
 src/findlib/drivetype.c                            |   128 +
 src/findlib/enable_priv.c                          |   167 +
 src/findlib/find.c                                 |   514 +
 src/findlib/find.h                                 |   227 +
 src/findlib/find_one.c                             |   858 +
 src/findlib/fstype.c                               |   261 +
 src/findlib/match.c                                |   413 +
 src/findlib/mkpath.c                               |   326 +
 src/findlib/protos.h                               |    96 +
 src/findlib/savecwd.c                              |   129 +
 src/findlib/savecwd.h                              |    51 +
 src/gcc-Wall                                       |    40 +
 src/host.h.in                                      |    41 +
 src/jcr.h                                          |   541 +
 src/lib/Makefile.in                                |   282 +
 src/lib/address_conf.c                             |   606 +
 src/lib/address_conf.h                             |   104 +
 src/lib/alist.c                                    |   208 +
 src/lib/alist.h                                    |   162 +
 src/lib/attr.c                                     |   305 +
 src/lib/attr.h                                     |    62 +
 src/lib/base64.c                                   |   382 +
 src/lib/base64.h                                   |    39 +
 src/lib/berrno.c                                   |   114 +
 src/lib/berrno.h                                   |    97 +
 src/lib/bget_msg.c                                 |   105 +
 src/lib/binflate.c                                 |   113 +
 src/lib/bits.h                                     |    69 +
 src/lib/bmtio.h                                    |   233 +
 src/lib/bnet.c                                     |   817 +
 src/lib/bnet_server.c                              |   256 +
 src/lib/bpipe.c                                    |   457 +
 src/lib/bpipe.h                                    |    42 +
 src/lib/breg.c                                     |   427 +
 src/lib/breg.h                                     |   119 +
 src/lib/bregex.c                                   |  2033 ++
 src/lib/bregex.h                                   |   204 +
 src/lib/bsnprintf.c                                |  1081 +
 src/lib/bsock.c                                    |  1094 +
 src/lib/bsock.h                                    |   230 +
 src/lib/bsys.c                                     |   830 +
 src/lib/btime.c                                    |   441 +
 src/lib/btime.h                                    |   107 +
 src/lib/btimers.c                                  |   270 +
 src/lib/btimers.h                                  |    48 +
 src/lib/cram-md5.c                                 |   162 +
 src/lib/crc32.c                                    |   465 +
 src/lib/crypto.c                                   |  1674 +
 src/lib/crypto.h                                   |   133 +
 src/lib/daemon.c                                   |   136 +
 src/lib/devlock.c                                  |   752 +
 src/lib/devlock.h                                  |    95 +
 src/lib/dlist.c                                    |   554 +
 src/lib/dlist.h                                    |   215 +
 src/lib/edit.c                                     |   560 +
 src/lib/fnmatch.c                                  |   342 +
 src/lib/fnmatch.h                                  |    56 +
 src/lib/guid_to_name.c                             |   206 +
 src/lib/guid_to_name.h                             |    48 +
 src/lib/hmac.c                                     |   127 +
 src/lib/htable.c                                   |   575 +
 src/lib/htable.h                                   |   123 +
 src/lib/ini.c                                      |   785 +
 src/lib/ini.h                                      |   220 +
 src/lib/jcr.c                                      |  1236 +
 src/lib/lex.c                                      |   809 +
 src/lib/lex.h                                      |   142 +
 src/lib/lib.h                                      |    73 +
 src/lib/lockmgr.c                                  |  1311 +
 src/lib/lockmgr.h                                  |   231 +
 src/lib/md5.c                                      |   382 +
 src/lib/md5.h                                      |    54 +
 src/lib/mem_pool.c                                 |   659 +
 src/lib/mem_pool.h                                 |   124 +
 src/lib/message.c                                  |  1626 +
 src/lib/message.h                                  |   168 +
 src/lib/mntent_cache.c                             |   496 +
 src/lib/mntent_cache.h                             |    65 +
 src/lib/mutex_list.h                               |    44 +
 src/lib/openssl.c                                  |   269 +
 src/lib/openssl.h                                  |    59 +
 src/lib/parse_conf.c                               |  1165 +
 src/lib/parse_conf.h                               |   257 +
 src/lib/plugins.c                                  |   279 +
 src/lib/plugins.h                                  |    99 +
 src/lib/priv.c                                     |   138 +
 src/lib/protos.h                                   |   362 +
 src/lib/pythonlib.c                                |   358 +
 src/lib/pythonlib.h                                |    60 +
 src/lib/queue.c                                    |   148 +
 src/lib/queue.h                                    |    49 +
 src/lib/rblist.c                                   |   497 +
 src/lib/rblist.h                                   |   170 +
 src/lib/res.c                                      |   131 +
 src/lib/runscript.c                                |   309 +
 src/lib/runscript.h                                |   116 +
 src/lib/rwlock.c                                   |   688 +
 src/lib/rwlock.h                                   |    85 +
 src/lib/scan.c                                     |   586 +
 src/lib/sellist.c                                  |   198 +
 src/lib/sellist.h                                  |   108 +
 src/lib/serial.c                                   |   318 +
 src/lib/serial.h                                   |   173 +
 src/lib/sha1.c                                     |   510 +
 src/lib/sha1.h                                     |   107 +
 src/lib/signal.c                                   |   447 +
 src/lib/smartall.c                                 |   562 +
 src/lib/smartall.h                                 |   179 +
 src/lib/status.h                                   |    61 +
 src/lib/tcpd.h                                     |   227 +
 src/lib/tls.c                                      |   750 +
 src/lib/tls.h                                      |    62 +
 src/lib/tree.c                                     |   606 +
 src/lib/tree.h                                     |   145 +
 src/lib/util.c                                     |   890 +
 src/lib/var.c                                      |  2728 ++
 src/lib/var.h                                      |   148 +
 src/lib/waitq.h                                    |    69 +
 src/lib/watchdog.c                                 |   357 +
 src/lib/watchdog.h                                 |    57 +
 src/lib/workq.c                                    |   384 +
 src/lib/workq.h                                    |    78 +
 src/plugins/README                                 |    46 +
 src/plugins/dir/Makefile.in                        |    49 +
 src/plugins/dir/example-plugin-dir.c               |   173 +
 src/plugins/sd/Makefile.in                         |    49 +
 src/plugins/sd/example-plugin-sd.c                 |   180 +
 src/plugins/sd/main.c                              |   119 +
 src/qt-console/COMMANDS                            |   125 +
 src/qt-console/External-qt-console                 |    26 +
 src/qt-console/PAGES                               |    44 +
 src/qt-console/PREFS                               |     9 +
 src/qt-console/README                              |   118 +
 src/qt-console/README.mingw32                      |   120 +
 src/qt-console/RELEASEFEATURES                     |    73 +
 src/qt-console/TODO                                |   313 +
 src/qt-console/bat.conf.example                    |    10 +
 src/qt-console/bat.conf.in                         |    10 +
 src/qt-console/bat.h                               |    66 +
 src/qt-console/bat.pro.in                          |   185 +
 src/qt-console/bat.pro.mingw32.in                  |   182 +
 src/qt-console/bat_conf.cpp                        |   350 +
 src/qt-console/bat_conf.h                          |   131 +
 src/qt-console/bcomm/dircomm.cpp                   |   550 +
 src/qt-console/bcomm/dircomm.h                     |    90 +
 src/qt-console/bcomm/dircomm_auth.cpp              |   177 +
 src/qt-console/build-depkgs-qt-console             |   165 +
 src/qt-console/clients/clients.cpp                 |   358 +
 src/qt-console/clients/clients.h                   |    71 +
 src/qt-console/clients/clients.ui                  |    82 +
 src/qt-console/console/console.cpp                 |   932 +
 src/qt-console/console/console.h                   |   167 +
 src/qt-console/console/console.ui                  |   117 +
 src/qt-console/fileset/fileset.cpp                 |   291 +
 src/qt-console/fileset/fileset.h                   |    68 +
 src/qt-console/fileset/fileset.ui                  |    52 +
 src/qt-console/help/clients.html                   |    35 +
 src/qt-console/help/console.html                   |    36 +
 src/qt-console/help/filesets.html                  |    29 +
 src/qt-console/help/help.cpp                       |    77 +
 src/qt-console/help/help.h                         |    60 +
 src/qt-console/help/help.ui                        |    73 +
 src/qt-console/help/index.html                     |    53 +
 src/qt-console/help/joblist.html                   |    84 +
 src/qt-console/help/jobplot.html                   |    28 +
 src/qt-console/help/jobs.html                      |    58 +
 src/qt-console/help/media.html                     |    41 +
 src/qt-console/help/restore.html                   |   158 +
 src/qt-console/help/storage.html                   |    33 +
 src/qt-console/images/0p.png                       |   Bin 0 -> 240 bytes
 src/qt-console/images/16p.png                      |   Bin 0 -> 252 bytes
 src/qt-console/images/32p.png                      |   Bin 0 -> 257 bytes
 src/qt-console/images/48p.png                      |   Bin 0 -> 261 bytes
 src/qt-console/images/64p.png                      |   Bin 0 -> 261 bytes
 src/qt-console/images/80p.png                      |   Bin 0 -> 262 bytes
 src/qt-console/images/96p.png                      |   Bin 0 -> 240 bytes
 src/qt-console/images/A.png                        |   Bin 0 -> 1379 bytes
 src/qt-console/images/R.png                        |   Bin 0 -> 1094 bytes
 src/qt-console/images/T.png                        |   Bin 0 -> 672 bytes
 src/qt-console/images/W.png                        |   Bin 0 -> 1077 bytes
 src/qt-console/images/applications-graphics.png    |   Bin 0 -> 1668 bytes
 src/qt-console/images/applications-graphics.svg    |   545 +
 src/qt-console/images/backup.png                   |   Bin 0 -> 1651 bytes
 src/qt-console/images/bat.png                      |   Bin 0 -> 96268 bytes
 src/qt-console/images/bat_icon.icns                |   Bin 0 -> 125067 bytes
 src/qt-console/images/bat_icon.png                 |   Bin 0 -> 5054 bytes
 src/qt-console/images/browse.png                   |   Bin 0 -> 3472 bytes
 src/qt-console/images/browse.svg                   |   620 +
 src/qt-console/images/cartridge-edit.png           |   Bin 0 -> 788 bytes
 src/qt-console/images/cartridge-edit.svg           |   277 +
 src/qt-console/images/cartridge.png                |   Bin 0 -> 698 bytes
 src/qt-console/images/cartridge.svg                |   148 +
 src/qt-console/images/cartridge1.png               |   Bin 0 -> 1138 bytes
 src/qt-console/images/check.png                    |   Bin 0 -> 551 bytes
 src/qt-console/images/check.svg                    |    94 +
 src/qt-console/images/connected.png                |   Bin 0 -> 547 bytes
 src/qt-console/images/copy.png                     |   Bin 0 -> 1339 bytes
 src/qt-console/images/cut.png                      |   Bin 0 -> 1323 bytes
 src/qt-console/images/disconnected.png             |   Bin 0 -> 640 bytes
 src/qt-console/images/edit-cut.png                 |   Bin 0 -> 807 bytes
 src/qt-console/images/edit-delete.png              |   Bin 0 -> 821 bytes
 src/qt-console/images/edit-delete.svg              |   882 +
 src/qt-console/images/edit.png                     |   Bin 0 -> 1092 bytes
 src/qt-console/images/emblem-system.png            |   Bin 0 -> 4050 bytes
 src/qt-console/images/emblem-system.svg            |   235 +
 src/qt-console/images/estimate-job.png             |   Bin 0 -> 2049 bytes
 src/qt-console/images/estimate-job.svg             |   222 +
 src/qt-console/images/extern.png                   |   Bin 0 -> 901 bytes
 src/qt-console/images/f.png                        |   Bin 0 -> 1379 bytes
 src/qt-console/images/folder.png                   |   Bin 0 -> 551 bytes
 src/qt-console/images/folder.svg                   |   422 +
 src/qt-console/images/folderbothchecked.png        |   Bin 0 -> 758 bytes
 src/qt-console/images/folderbothchecked.svg        |   438 +
 src/qt-console/images/folderchecked.png            |   Bin 0 -> 709 bytes
 src/qt-console/images/folderchecked.svg            |   430 +
 src/qt-console/images/folderunchecked.png          |   Bin 0 -> 692 bytes
 src/qt-console/images/folderunchecked.svg          |   430 +
 src/qt-console/images/go-down.png                  |   Bin 0 -> 683 bytes
 src/qt-console/images/go-down.svg                  |   199 +
 src/qt-console/images/go-jump.png                  |   Bin 0 -> 1491 bytes
 src/qt-console/images/go-jump.svg                  |   204 +
 src/qt-console/images/go-up.png                    |   Bin 0 -> 652 bytes
 src/qt-console/images/go-up.svg                    |   195 +
 src/qt-console/images/graph1.png                   |   Bin 0 -> 1853 bytes
 src/qt-console/images/graph1.svg                   |   380 +
 src/qt-console/images/help-browser.png             |   Bin 0 -> 862 bytes
 src/qt-console/images/help-browser.svg             |   215 +
 src/qt-console/images/home.png                     |   Bin 0 -> 1781 bytes
 src/qt-console/images/inflag0.png                  |   Bin 0 -> 847 bytes
 src/qt-console/images/inflag1.png                  |   Bin 0 -> 806 bytes
 src/qt-console/images/inflag2.png                  |   Bin 0 -> 859 bytes
 src/qt-console/images/intern.png                   |   Bin 0 -> 1079 bytes
 src/qt-console/images/joblog.png                   |   Bin 0 -> 2369 bytes
 src/qt-console/images/joblog.svg                   |   252 +
 src/qt-console/images/label.png                    |   Bin 0 -> 1291 bytes
 src/qt-console/images/mail-message-new.png         |   Bin 0 -> 1744 bytes
 src/qt-console/images/mail-message-new.svg         |   465 +
 src/qt-console/images/mail-message-pending.png     |   Bin 0 -> 1772 bytes
 src/qt-console/images/mail-message-pending.svg     |   467 +
 src/qt-console/images/mark.png                     |   Bin 0 -> 452 bytes
 src/qt-console/images/media-floppy.svg             |   340 +
 src/qt-console/images/network-server.png           |   Bin 0 -> 486 bytes
 src/qt-console/images/network-server.svg           |  1005 +
 src/qt-console/images/new.png                      |   Bin 0 -> 852 bytes
 src/qt-console/images/next.png                     |   Bin 0 -> 1646 bytes
 src/qt-console/images/open.png                     |   Bin 0 -> 2073 bytes
 src/qt-console/images/package-x-generic.png        |   Bin 0 -> 1270 bytes
 src/qt-console/images/package-x-generic.svg        |   483 +
 src/qt-console/images/page-next.gif                |   Bin 0 -> 875 bytes
 src/qt-console/images/page-prev.gif                |   Bin 0 -> 879 bytes
 src/qt-console/images/paste.png                    |   Bin 0 -> 1745 bytes
 src/qt-console/images/prev.png                     |   Bin 0 -> 1605 bytes
 src/qt-console/images/print.png                    |   Bin 0 -> 1732 bytes
 src/qt-console/images/purge.png                    |   Bin 0 -> 1308 bytes
 src/qt-console/images/restore.png                  |   Bin 0 -> 1352 bytes
 src/qt-console/images/run.png                      |   Bin 0 -> 2296 bytes
 src/qt-console/images/runit.png                    |   Bin 0 -> 36022 bytes
 src/qt-console/images/save.png                     |   Bin 0 -> 1187 bytes
 src/qt-console/images/server.png                   |   Bin 0 -> 2618 bytes
 src/qt-console/images/status-console.png           |   Bin 0 -> 1960 bytes
 src/qt-console/images/status-console.svg           |   606 +
 src/qt-console/images/status.png                   |   Bin 0 -> 952 bytes
 src/qt-console/images/status.svg                   |   380 +
 src/qt-console/images/system-file-manager.png      |   Bin 0 -> 540 bytes
 src/qt-console/images/system-file-manager.svg      |   318 +
 src/qt-console/images/unchecked.png                |   Bin 0 -> 461 bytes
 src/qt-console/images/unchecked.svg                |    97 +
 src/qt-console/images/undo.png                     |   Bin 0 -> 1768 bytes
 src/qt-console/images/unmark.png                   |   Bin 0 -> 387 bytes
 src/qt-console/images/up.png                       |   Bin 0 -> 1579 bytes
 src/qt-console/images/utilities-terminal.png       |   Bin 0 -> 731 bytes
 src/qt-console/images/utilities-terminal.svg       |   498 +
 src/qt-console/images/view-refresh.png             |   Bin 0 -> 3548 bytes
 src/qt-console/images/view-refresh.svg             |   391 +
 src/qt-console/images/weather-severe-alert.png     |   Bin 0 -> 783 bytes
 src/qt-console/images/weather-severe-alert.svg     |  4699 +++
 src/qt-console/images/zoom.png                     |   Bin 0 -> 1099 bytes
 src/qt-console/install_conf_file.in                |    16 +
 src/qt-console/job/job.cpp                         |   446 +
 src/qt-console/job/job.h                           |    63 +
 src/qt-console/job/job.ui                          |   747 +
 src/qt-console/jobgraphs/jobplot.cpp               |   578 +
 src/qt-console/jobgraphs/jobplot.h                 |   152 +
 src/qt-console/jobgraphs/jobplotcontrols.ui        |   337 +
 src/qt-console/joblist/joblist.cpp                 |   739 +
 src/qt-console/joblist/joblist.h                   |   108 +
 src/qt-console/joblist/joblist.ui                  |   486 +
 src/qt-console/joblog/joblog.cpp                   |   168 +
 src/qt-console/joblog/joblog.h                     |    58 +
 src/qt-console/joblog/joblog.ui                    |    85 +
 src/qt-console/jobs/jobs.cpp                       |   276 +
 src/qt-console/jobs/jobs.h                         |    73 +
 src/qt-console/jobs/jobs.ui                        |   157 +
 src/qt-console/main.cpp                            |   272 +
 src/qt-console/main.ui                             |   581 +
 src/qt-console/mainwin.cpp                         |  1036 +
 src/qt-console/mainwin.h                           |   178 +
 src/qt-console/make-win32                          |    40 +
 src/qt-console/mediaedit/mediaedit.cpp             |   431 +
 src/qt-console/mediaedit/mediaedit.h               |    75 +
 src/qt-console/mediaedit/mediaedit.ui              |   585 +
 src/qt-console/mediainfo/mediainfo.cpp             |   266 +
 src/qt-console/mediainfo/mediainfo.h               |    60 +
 src/qt-console/mediainfo/mediainfo.ui              |   701 +
 src/qt-console/medialist/medialist.cpp             |   483 +
 src/qt-console/medialist/medialist.h               |    75 +
 src/qt-console/medialist/medialist.ui              |   132 +
 src/qt-console/medialist/mediaview.cpp             |   473 +
 src/qt-console/medialist/mediaview.h               |    68 +
 src/qt-console/medialist/mediaview.ui              |   289 +
 src/qt-console/mount/mount.cpp                     |    89 +
 src/qt-console/mount/mount.h                       |    56 +
 src/qt-console/mount/mount.ui                      |   199 +
 src/qt-console/pages.cpp                           |   456 +
 src/qt-console/pages.h                             |   109 +
 src/qt-console/prefs.ui                            |   733 +
 src/qt-console/qstd.cpp                            |   104 +
 src/qt-console/qstd.h                              |    79 +
 src/qt-console/qwtconfig.pri                       |    88 +
 src/qt-console/restore/brestore.cpp                |   723 +
 src/qt-console/restore/brestore.ui                 |   666 +
 src/qt-console/restore/prerestore.cpp              |   398 +
 src/qt-console/restore/prerestore.ui               |   414 +
 src/qt-console/restore/restore.cpp                 |   507 +
 src/qt-console/restore/restore.h                   |   189 +
 src/qt-console/restore/restore.ui                  |   400 +
 src/qt-console/restore/restoretree.cpp             |  1774 +
 src/qt-console/restore/restoretree.h               |   122 +
 src/qt-console/restore/restoretree.ui              |   428 +
 src/qt-console/restore/runrestore.ui               |   366 +
 src/qt-console/run/estimate.cpp                    |   123 +
 src/qt-console/run/estimate.ui                     |   281 +
 src/qt-console/run/prune.cpp                       |   143 +
 src/qt-console/run/prune.ui                        |   302 +
 src/qt-console/run/run.cpp                         |   195 +
 src/qt-console/run/run.h                           |   115 +
 src/qt-console/run/run.ui                          |   357 +
 src/qt-console/run/runadmin.ui                     |   405 +
 src/qt-console/run/runbackup.ui                    |   405 +
 src/qt-console/run/runcmd.cpp                      |   182 +
 src/qt-console/run/runcmd.ui                       |   405 +
 src/qt-console/run/runcopy.ui                      |   405 +
 src/qt-console/run/runmigration.ui                 |   405 +
 src/qt-console/run/runrestore.ui                   |   405 +
 src/qt-console/select/select.cpp                   |   127 +
 src/qt-console/select/select.h                     |    37 +
 src/qt-console/select/select.ui                    |    82 +
 src/qt-console/select/textinput.cpp                |    76 +
 src/qt-console/select/textinput.h                  |    25 +
 src/qt-console/select/textinput.ui                 |   143 +
 src/qt-console/status/clientstat.cpp               |   289 +
 src/qt-console/status/clientstat.h                 |    73 +
 src/qt-console/status/clientstat.ui                |   215 +
 src/qt-console/status/dirstat.cpp                  |   400 +
 src/qt-console/status/dirstat.h                    |    74 +
 src/qt-console/status/dirstat.ui                   |   296 +
 src/qt-console/status/storstat.cpp                 |   452 +
 src/qt-console/status/storstat.h                   |    82 +
 src/qt-console/status/storstat.ui                  |   250 +
 src/qt-console/storage/content.cpp                 |   350 +
 src/qt-console/storage/content.h                   |    67 +
 src/qt-console/storage/content.ui                  |   295 +
 src/qt-console/storage/storage.cpp                 |   479 +
 src/qt-console/storage/storage.h                   |    81 +
 src/qt-console/storage/storage.ui                  |   142 +
 src/qt-console/testprogs/examp/dock.pro            |    15 +
 src/qt-console/testprogs/examp/dockwidgets.qrc     |     8 +
 src/qt-console/testprogs/examp/main.cpp            |    12 +
 src/qt-console/testprogs/examp/mainwindow.cpp      |   302 +
 src/qt-console/testprogs/examp/mainwindow.h        |    76 +
 src/qt-console/testprogs/putz/main.cpp             |    16 +
 src/qt-console/testprogs/putz/putz.cpp             |    11 +
 src/qt-console/testprogs/putz/putz.h               |    19 +
 src/qt-console/testprogs/putz/putz.pro             |    15 +
 src/qt-console/testprogs/putz/putz.ui              |    83 +
 src/qt-console/tray-monitor/authenticate.cpp       |   201 +
 src/qt-console/tray-monitor/tray-monitor.conf.in   |    29 +
 src/qt-console/tray-monitor/tray-monitor.cpp       |   471 +
 src/qt-console/tray-monitor/tray-monitor.h         |   187 +
 src/qt-console/tray-monitor/tray-monitor.pro.in    |    46 +
 src/qt-console/tray-monitor/tray-ui.h              |   396 +
 src/qt-console/tray-monitor/tray_conf.cpp          |   388 +
 src/qt-console/tray-monitor/tray_conf.h            |   129 +
 src/qt-console/ts/bat_de.ts                        |  2905 ++
 src/qt-console/ts/bat_fr.ts                        |  4981 +++
 src/qt-console/util/comboutil.cpp                  |   154 +
 src/qt-console/util/comboutil.h                    |    66 +
 src/qt-console/util/fmtwidgetitem.cpp              |   558 +
 src/qt-console/util/fmtwidgetitem.h                |   226 +
 src/qt-console/win32/qmake.conf                    |    97 +
 src/qt-console/win32/qplatformdefs.h               |   161 +
 src/stored/Makefile.in                             |   228 +
 src/stored/acquire.c                               |   790 +
 src/stored/ansi_label.c                            |   462 +
 src/stored/append.c                                |   354 +
 src/stored/askdir.c                                |   680 +
 src/stored/authenticate.c                          |   285 +
 src/stored/autochanger.c                           |   742 +
 src/stored/bacula-sd.conf.in                       |   205 +
 src/stored/bcopy.c                                 |   387 +
 src/stored/bextract.c                              |   626 +
 src/stored/block.c                                 |  1208 +
 src/stored/block.h                                 |   118 +
 src/stored/bls.c                                   |   493 +
 src/stored/bscan.c                                 |  1388 +
 src/stored/bsr.h                                   |   182 +
 src/stored/btape.c                                 |  3138 ++
 src/stored/butil.c                                 |   315 +
 src/stored/dev.c                                   |  2527 ++
 src/stored/dev.h                                   |   648 +
 src/stored/device.c                                |   335 +
 src/stored/dircmd.c                                |  1274 +
 src/stored/dvd.c                                   |   825 +
 src/stored/ebcdic.c                                |   191 +
 src/stored/fd_cmds.c                               |   365 +
 src/stored/job.c                                   |   435 +
 src/stored/label.c                                 |  1107 +
 src/stored/lock.c                                  |   520 +
 src/stored/lock.h                                  |    80 +
 src/stored/mac.c                                   |   282 +
 src/stored/match_bsr.c                             |   791 +
 src/stored/mount.c                                 |   883 +
 src/stored/parse_bsr.c                             |  1072 +
 src/stored/protos.h                                |   292 +
 src/stored/pythonsd.c                              |   282 +
 src/stored/read.c                                  |   143 +
 src/stored/read_record.c                           |   464 +
 src/stored/record.c                                |   707 +
 src/stored/record.h                                |   237 +
 src/stored/reserve.c                               |  1180 +
 src/stored/reserve.h                               |    74 +
 src/stored/scan.c                                  |   168 +
 src/stored/sd_plugins.c                            |   457 +
 src/stored/sd_plugins.h                            |   192 +
 src/stored/spool.c                                 |   804 +
 src/stored/status.c                                |   873 +
 src/stored/stored.c                                |   708 +
 src/stored/stored.conf.in                          |    56 +
 src/stored/stored.h                                |   101 +
 src/stored/stored_conf.c                           |   714 +
 src/stored/stored_conf.h                           |   168 +
 src/stored/vol_mgr.c                               |   859 +
 src/stored/vol_mgr.h                               |   100 +
 src/stored/vtape.c                                 |   930 +
 src/stored/vtape.h                                 |   125 +
 src/stored/wait.c                                  |   277 +
 src/streams.h                                      |   194 +
 src/tabs                                           |     5 +
 src/tools/Makefile.in                              |   208 +
 src/tools/assert_macro.h                           |   166 +
 src/tools/bbatch.c                                 |   342 +
 src/tools/bpluginfo.c                              |   637 +
 src/tools/bregex.c                                 |   175 +
 src/tools/bregtest.c                               |   164 +
 src/tools/bsmtp.c                                  |   709 +
 src/tools/bvfs_test.c                              |   313 +
 src/tools/bwild.c                                  |   141 +
 src/tools/cats_test.c                              |   710 +
 src/tools/dbcheck.c                                |  1499 +
 src/tools/drivetype.c                              |   138 +
 src/tools/fstype.c                                 |   110 +
 src/tools/gigaslam.c                               |    50 +
 src/tools/grow.c                                   |    58 +
 src/tools/ing_test.c                               |   339 +
 src/tools/smtp-orig.c                              |   455 +
 src/tools/testfind.c                               |   658 +
 src/tools/testls.c                                 |   288 +
 src/tools/timelimit.1                              |   217 +
 src/tools/timelimit.c                              |   537 +
 src/tray-monitor/Makefile.in                       |   107 +
 src/tray-monitor/TODO                              |     3 +
 src/tray-monitor/authenticate.c                    |   202 +
 src/tray-monitor/generic.xpm                       |    45 +
 src/tray-monitor/tray-monitor.c                    |  1187 +
 src/tray-monitor/tray-monitor.conf.in              |    29 +
 src/tray-monitor/tray-monitor.h                    |    57 +
 src/tray-monitor/tray_conf.c                       |   388 +
 src/tray-monitor/tray_conf.h                       |   129 +
 src/version.h                                      |   197 +
 src/win32/External-mingw-w64                       |    72 +
 src/win32/External-mingw32                         |    71 +
 src/win32/External-msvc                            |    59 +
 src/win32/Makefile.full                            |   109 +
 src/win32/Makefile.inc.in                          |   129 +
 src/win32/Makefile.rules                           |    76 +
 src/win32/Makefile.template                        |    74 +
 src/win32/README.mingw                             |   349 +
 src/win32/README.vc8                               |   246 +
 src/win32/bacula.sln                               |   403 +
 src/win32/build-cross-mingw-w64                    |   134 +
 src/win32/build-depkgs-mingw-w64                   |   298 +
 src/win32/build-depkgs-mingw32                     |   564 +
 src/win32/build-depkgs-msvc.cmd                    |   419 +
 src/win32/build-msvc.cmd                           |     7 +
 src/win32/build-win32-cross-tools                  |   554 +
 src/win32/cats/bacula_cats.def                     |   184 +
 src/win32/cats/bacula_cats/bacula_cats.vcproj      |    94 +
 src/win32/cats/cats_mysql/cats_mysql.vcproj        |   428 +
 .../cats/cats_postgresql/cats_postgresql.vcproj    |   432 +
 src/win32/cats/cats_sqlite3/cats_sqlite3.vcproj    |   421 +
 src/win32/cats/create_mysql_database.cmd           |    14 +
 src/win32/cats/create_postgresql_database.cmd      |    23 +
 src/win32/cats/create_postgresql_database.sql      |     2 +
 src/win32/cats/create_sqlite3_database.cmd         |     6 +
 src/win32/cats/delete_catalog_backup.cmd           |     5 +
 src/win32/cats/drop_mysql_database.cmd             |    14 +
 src/win32/cats/drop_mysql_tables.cmd               |    14 +
 src/win32/cats/drop_mysql_tables.sql               |    26 +
 src/win32/cats/drop_postgresql_database.cmd        |    14 +
 src/win32/cats/drop_postgresql_tables.cmd          |    14 +
 src/win32/cats/drop_postgresql_tables.sql          |    22 +
 src/win32/cats/drop_sqlite3_database.cmd           |     7 +
 src/win32/cats/drop_sqlite3_tables.cmd             |     8 +
 src/win32/cats/grant_mysql_privileges.cmd          |    14 +
 src/win32/cats/grant_mysql_privileges.sql          |     5 +
 src/win32/cats/grant_postgresql_privileges.cmd     |    15 +
 src/win32/cats/grant_postgresql_privileges.sql     |    37 +
 src/win32/cats/grant_sqlite3_privileges.cmd        |     7 +
 src/win32/cats/make_def                            |    79 +
 src/win32/cats/make_mysql_catalog_backup.cmd       |    41 +
 src/win32/cats/make_mysql_tables.cmd               |    14 +
 src/win32/cats/make_mysql_tables.sql               |   357 +
 src/win32/cats/make_postgresql_catalog_backup.cmd  |    41 +
 src/win32/cats/make_postgresql_tables.cmd          |    14 +
 src/win32/cats/make_postgresql_tables.sql          |   380 +
 src/win32/cats/make_sqlite3_catalog_backup.cmd     |    38 +
 src/win32/cats/make_sqlite3_tables.cmd             |     7 +
 src/win32/cats/make_sqlite3_tables.sql             |   384 +
 src/win32/compat/alloca.h                          |     0
 src/win32/compat/arpa/inet.h                       |     0
 src/win32/compat/compat.cpp                        |  2750 ++
 src/win32/compat/compat.h                          |   460 +
 src/win32/compat/dirent.h                          |     0
 src/win32/compat/dlfcn.h                           |    42 +
 src/win32/compat/getopt.c                          |   187 +
 src/win32/compat/getopt.h                          |    51 +
 src/win32/compat/grp.h                             |     0
 src/win32/compat/mingwconfig.h                     |   400 +
 src/win32/compat/ms_atl.h                          |    53 +
 src/win32/compat/mswinver.h                        |    35 +
 src/win32/compat/netdb.h                           |     0
 src/win32/compat/netinet/in.h                      |     0
 src/win32/compat/netinet/tcp.h                     |     0
 src/win32/compat/print.cpp                         |   745 +
 src/win32/compat/pwd.h                             |     0
 src/win32/compat/stdint.h                          |     3 +
 src/win32/compat/strings.h                         |     0
 src/win32/compat/sys/file.h                        |     2 +
 src/win32/compat/sys/ioctl.h                       |     1 +
 src/win32/compat/sys/mtio.h                        |   277 +
 src/win32/compat/sys/socket.h                      |     0
 src/win32/compat/sys/stat.h                        |     1 +
 src/win32/compat/sys/time.h                        |     0
 src/win32/compat/sys/wait.h                        |     0
 src/win32/compat/syslog.h                          |    32 +
 src/win32/compat/unistd.h                          |     3 +
 src/win32/compat/winapi.c                          |   217 +
 src/win32/compat/winhost.h                         |    61 +
 src/win32/compat/winsock.h                         |     4 +
 src/win32/console/console.vcproj                   |   293 +
 src/win32/cygwin.NET.bashrc                        |    63 +
 src/win32/dird/bacula.rc                           |     1 +
 src/win32/dird/dird.vcproj                         |  1118 +
 src/win32/dird/main.cpp                            |    36 +
 src/win32/dird/service.cpp                         |    36 +
 src/win32/dird/who.h                               |    44 +
 src/win32/filed/bacula-fd.manifest                 |    21 +
 src/win32/filed/bacula.rc                          |     1 +
 src/win32/filed/baculafd.vcproj                    |   610 +
 src/win32/filed/main.cpp                           |    36 +
 src/win32/filed/plugins/api.c                      |   146 +
 src/win32/filed/plugins/api.h                      |   302 +
 src/win32/filed/plugins/bpipe-fd.c                 |   564 +
 src/win32/filed/plugins/bpipe-fd.def               |    15 +
 src/win32/filed/plugins/comadmin.h                 |   876 +
 src/win32/filed/plugins/dbi_node.c                 |   292 +
 src/win32/filed/plugins/exchange-fd.c              |   522 +
 src/win32/filed/plugins/exchange-fd.def            |    15 +
 src/win32/filed/plugins/exchange-fd.h              |   166 +
 src/win32/filed/plugins/file_node.c                |   236 +
 src/win32/filed/plugins/node.c                     |   127 +
 src/win32/filed/plugins/node.h                     |   186 +
 src/win32/filed/plugins/root_node.c                |   162 +
 src/win32/filed/plugins/service_node.c             |   229 +
 src/win32/filed/plugins/storage_group_node.c       |   511 +
 src/win32/filed/plugins/store_node.c               |   249 +
 src/win32/filed/service.cpp                        |    36 +
 src/win32/filed/trayMonitor.cpp                    |    36 +
 src/win32/filed/vss.cpp                            |   250 +
 src/win32/filed/vss.h                              |   182 +
 src/win32/filed/vss_Vista.cpp                      |     4 +
 src/win32/filed/vss_W2K3.cpp                       |    13 +
 src/win32/filed/vss_XP.cpp                         |     4 +
 src/win32/filed/vss_generic.cpp                    |   898 +
 src/win32/filed/who.h                              |    41 +
 src/win32/full_win32_installer/ConfigPage1.nsh     |   294 +
 src/win32/full_win32_installer/ConfigPage2.nsh     |   454 +
 src/win32/full_win32_installer/DumpLog.nsh         |    46 +
 src/win32/full_win32_installer/InstallType.ini     |    56 +
 src/win32/full_win32_installer/InstallType.nsh     |   102 +
 src/win32/full_win32_installer/Start.bat           |     5 +
 src/win32/full_win32_installer/Stop.bat            |     5 +
 src/win32/full_win32_installer/WriteTemplates.ini  |    48 +
 src/win32/full_win32_installer/bacula-dir.conf.in  |   380 +
 src/win32/full_win32_installer/bacula-fd.conf.in   |    44 +
 src/win32/full_win32_installer/bacula-logo.bmp     |   Bin 0 -> 26046 bytes
 src/win32/full_win32_installer/bacula-sd.conf.in   |   115 +
 src/win32/full_win32_installer/bat.conf.in         |    10 +
 src/win32/full_win32_installer/bconsole.conf.in    |    10 +
 src/win32/full_win32_installer/build-installer.cmd |    70 +
 src/win32/full_win32_installer/bwx-console.conf.in |    10 +
 src/win32/full_win32_installer/client.conf.in      |    11 +
 src/win32/full_win32_installer/installer.vcproj    |   154 +
 src/win32/full_win32_installer/storage.conf.in     |    10 +
 src/win32/full_win32_installer/winbacula.nsi       |  1466 +
 src/win32/lib/bacula32.def                         |   795 +
 src/win32/lib/bacula64.def                         |   782 +
 src/win32/lib/make_def                             |    30 +
 src/win32/lib/make_def64                           |    30 +
 src/win32/libbac/libbac.vcproj                     |  1733 +
 src/win32/libbac/msvc/bacula.def                   |   510 +
 src/win32/libwin32/aboutDialog.cpp                 |    81 +
 src/win32/libwin32/aboutDialog.h                   |    49 +
 src/win32/libwin32/bacula.bmp                      |   Bin 0 -> 3126 bytes
 src/win32/libwin32/bacula.ico                      |   Bin 0 -> 766 bytes
 src/win32/libwin32/bacula.rc                       |   149 +
 src/win32/libwin32/error.ico                       |   Bin 0 -> 766 bytes
 src/win32/libwin32/idle.ico                        |   Bin 0 -> 766 bytes
 src/win32/libwin32/main.cpp                        |   687 +
 src/win32/libwin32/protos.h                        |    60 +
 src/win32/libwin32/res.h                           |    51 +
 src/win32/libwin32/running.ico                     |   Bin 0 -> 766 bytes
 src/win32/libwin32/saving.ico                      |   Bin 0 -> 766 bytes
 src/win32/libwin32/service.cpp                     |   601 +
 src/win32/libwin32/statusDialog.cpp                |   175 +
 src/win32/libwin32/statusDialog.h                  |    56 +
 src/win32/libwin32/trayMonitor.cpp                 |   274 +
 src/win32/libwin32/trayMonitor.h                   |    69 +
 src/win32/libwin32/warn.ico                        |   Bin 0 -> 766 bytes
 src/win32/libwin32/win32.h                         |    41 +
 src/win32/makeall                                  |     7 +
 src/win32/patches/binutils_texinfo_version.patch   |    31 +
 src/win32/patches/dvd+rw-tools.patch               |   264 +
 src/win32/patches/mingw-utils.patch                |  6670 ++++
 src/win32/patches/mt.patch                         |  1689 +
 src/win32/patches/mtx-msvc1.patch                  |    75 +
 src/win32/patches/mtx-msvc2.patch                  |    40 +
 src/win32/patches/mtx.patch                        |  1576 +
 src/win32/patches/nsis.patch                       |   428 +
 src/win32/patches/openssl-w64.patch                |  2663 ++
 src/win32/patches/openssl.patch                    |   309 +
 src/win32/patches/pcre.patch                       |   130 +
 src/win32/patches/postgresql.patch                 |   123 +
 src/win32/patches/pthreads-w64.patch               |   970 +
 src/win32/patches/pthreads.patch                   |    95 +
 src/win32/patches/sed.patch                        |    15 +
 src/win32/patches/sed_msc.patch                    |   927 +
 src/win32/patches/sqlite.patch                     |   162 +
 src/win32/patches/sqlite_msc.patch                 |   768 +
 src/win32/patches/wx.sed                           |     9 +
 src/win32/patches/wx1.patch                        |    37 +
 src/win32/patches/wx2.patch                        |    22 +
 src/win32/patches/wxWidgets.patch                  |    67 +
 src/win32/patches/zlib.patch                       |   150 +
 src/win32/pebuilder/Makefile.in                    |    55 +
 src/win32/pebuilder/README                         |    13 +
 src/win32/scripts/bsleep.c                         |    23 +
 src/win32/scripts/bsleep.vcproj                    |   199 +
 src/win32/scripts/disk-changer.cmd                 |   201 +
 src/win32/scripts/dvd-handler.cmd                  |   387 +
 src/win32/scripts/mtx-changer.cmd                  |   189 +
 src/win32/stored/bacula.rc                         |     1 +
 src/win32/stored/baculasd.vcproj                   |   396 +
 src/win32/stored/bcopy/bcopy.vcproj                |   230 +
 src/win32/stored/bextract/bextract.vcproj          |   229 +
 src/win32/stored/bls/bls.vcproj                    |   229 +
 src/win32/stored/bscan/bscan.vcproj                |   229 +
 src/win32/stored/btape/btape.vcproj                |   228 +
 src/win32/stored/main.cpp                          |    36 +
 src/win32/stored/mtops.cpp                         |  1175 +
 src/win32/stored/postest/postest.cpp               |   299 +
 src/win32/stored/postest/postest.vcproj            |   213 +
 src/win32/stored/service.cpp                       |    36 +
 src/win32/stored/storelib/storelib.vcproj          |   827 +
 src/win32/stored/trayMonitor.cpp                   |    36 +
 src/win32/stored/who.h                             |    44 +
 src/win32/tools/ScsiDeviceList.cpp                 |   363 +
 src/win32/tools/ScsiDeviceList.h                   |   169 +
 src/win32/tools/bsmtp/bsmtp.vcproj                 |   229 +
 src/win32/tools/dbcheck/dbcheck.vcproj             |   293 +
 src/win32/tools/drivetype/drivetype.vcproj         |   228 +
 src/win32/tools/fstype/fstype.vcproj               |   230 +
 src/win32/tools/scsilist.cpp                       |   119 +
 src/win32/tools/scsilist/scsilist.vcproj           |   216 +
 src/win32/tools/testfind/testfind.vcproj           |   289 +
 src/win32/tools/testls/testls.vcproj               |   229 +
 src/win32/win32_installer/ConfigPage1.nsh          |   294 +
 src/win32/win32_installer/ConfigPage2.nsh          |   455 +
 src/win32/win32_installer/DumpLog.nsh              |    46 +
 src/win32/win32_installer/InstallType.ini          |    56 +
 src/win32/win32_installer/InstallType.nsh          |    93 +
 src/win32/win32_installer/Start.bat                |     5 +
 src/win32/win32_installer/Stop.bat                 |     5 +
 src/win32/win32_installer/WriteTemplates.ini       |    30 +
 src/win32/win32_installer/bacula-dir.conf.in       |   380 +
 src/win32/win32_installer/bacula-fd.conf.in        |    44 +
 src/win32/win32_installer/bacula-logo.bmp          |   Bin 0 -> 26046 bytes
 src/win32/win32_installer/bacula-sd.conf.in        |   115 +
 src/win32/win32_installer/bat.conf.in              |    10 +
 src/win32/win32_installer/bconsole.conf.in         |    10 +
 src/win32/win32_installer/build-installer.cmd      |    70 +
 src/win32/win32_installer/bwx-console.conf.in      |    10 +
 src/win32/win32_installer/client.conf.in           |    11 +
 src/win32/win32_installer/installer.vcproj         |   154 +
 src/win32/win32_installer/storage.conf.in          |    10 +
 src/win32/win32_installer/tray-monitor.conf.in     |    30 +
 src/win32/win32_installer/winbacula.nsi            |  1029 +
 src/win32/win64_installer/ConfigPage1.nsh          |   294 +
 src/win32/win64_installer/ConfigPage2.nsh          |   455 +
 src/win32/win64_installer/DumpLog.nsh              |    46 +
 src/win32/win64_installer/InstallType.ini          |    56 +
 src/win32/win64_installer/InstallType.nsh          |   102 +
 src/win32/win64_installer/Start.bat                |     5 +
 src/win32/win64_installer/Stop.bat                 |     5 +
 src/win32/win64_installer/WriteTemplates.ini       |    30 +
 src/win32/win64_installer/bacula-dir.conf.in       |   380 +
 src/win32/win64_installer/bacula-fd.conf.in        |    44 +
 src/win32/win64_installer/bacula-logo.bmp          |   Bin 0 -> 26046 bytes
 src/win32/win64_installer/bacula-sd.conf.in        |   115 +
 src/win32/win64_installer/bat.conf.in              |    10 +
 src/win32/win64_installer/bconsole.conf.in         |    10 +
 src/win32/win64_installer/bwx-console.conf.in      |    10 +
 src/win32/win64_installer/client.conf.in           |    11 +
 src/win32/win64_installer/installer.vcproj         |   154 +
 src/win32/win64_installer/storage.conf.in          |    10 +
 src/win32/win64_installer/tray-monitor.conf.in     |    30 +
 src/win32/win64_installer/winbacula.nsi            |   993 +
 src/win32/winapi.h                                 |   215 +
 technotes                                          |  3282 ++
 unaccepted-projects                                |    32 +
 updatedb/README                                    |    22 +
 updatedb/update_bacula_tables_8_to_9               |    17 +
 updatedb/update_bdb_tables_8_to_9                  |     9 +
 updatedb/update_mysql_tables_10_to_11.in           |    64 +
 updatedb/update_mysql_tables_11_to_12.in           |    74 +
 updatedb/update_mysql_tables_12_to_14.in           |    54 +
 updatedb/update_mysql_tables_4_to_5                |    48 +
 updatedb/update_mysql_tables_5_to_6                |    97 +
 updatedb/update_mysql_tables_6_to_7                |    79 +
 updatedb/update_mysql_tables_7_to_8                |    50 +
 updatedb/update_mysql_tables_8_to_9                |    99 +
 updatedb/update_mysql_tables_9_to_10.in            |    78 +
 updatedb/update_postgresql_tables_10_to_11.in      |    42 +
 updatedb/update_postgresql_tables_11_to_12.in      |    97 +
 updatedb/update_postgresql_tables_12_to_14.in      |    56 +
 updatedb/update_postgresql_tables_7_to_8           |    72 +
 updatedb/update_postgresql_tables_8_to_9           |   133 +
 updatedb/update_postgresql_tables_9_to_10.in       |    85 +
 updatedb/update_sqlite3_tables_10_to_11.in         |   227 +
 updatedb/update_sqlite3_tables_11_to_12.in         |    75 +
 updatedb/update_sqlite3_tables_12_to_14.in         |    52 +
 updatedb/update_sqlite3_tables_8_to_9              |   338 +
 updatedb/update_sqlite3_tables_9_to_10.in          |   252 +
 updatedb/update_sqlite_tables_10_to_11.in          |   227 +
 updatedb/update_sqlite_tables_4_to_5               |   145 +
 updatedb/update_sqlite_tables_5_to_6               |   175 +
 updatedb/update_sqlite_tables_6_to_7               |   229 +
 updatedb/update_sqlite_tables_7_to_8               |   149 +
 updatedb/update_sqlite_tables_8_to_9               |   338 +
 updatedb/update_sqlite_tables_9_to_10.in           |   252 +
 1325 files changed, 594737 insertions(+)
