]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoFix libtool definition and make the helper script executable.
Marco van Wieringen [Fri, 8 Jul 2011 14:39:41 +0000 (16:39 +0200)]
Fix libtool definition and make the helper script executable.

11 years agoUse a helper script to link the correct database backend.
Marco van Wieringen [Fri, 8 Jul 2011 13:44:15 +0000 (15:44 +0200)]
Use a helper script to link the correct database backend.

On some platforms the extension of shared libs is not .so
(OSX seems to use .dylib and some other platform even other
exotic names). We now extract the extension from libtool
which knows best as it also creates our shared libs.

11 years agoSync libtool to 2.4 version.
Marco van Wieringen [Fri, 8 Jul 2011 11:57:14 +0000 (13:57 +0200)]
Sync libtool to 2.4 version.

11 years agoupdate releasenotes
Eric Bollengier [Fri, 8 Jul 2011 12:36:58 +0000 (14:36 +0200)]
update releasenotes

11 years agoupdate ReleaseNotes
Eric Bollengier [Fri, 8 Jul 2011 12:13:22 +0000 (14:13 +0200)]
update ReleaseNotes

11 years agoFix #1741 about possible problems with fnmatch
Eric Bollengier [Fri, 8 Jul 2011 11:58:43 +0000 (13:58 +0200)]
Fix #1741 about possible problems with fnmatch

11 years agoAdd missing stream in bscan, fix #1749
Eric Bollengier [Thu, 7 Jul 2011 14:19:03 +0000 (16:19 +0200)]
Add missing stream in bscan, fix #1749

11 years agoChange intmax_t to int64_t to fix #1664
Eric Bollengier [Thu, 7 Jul 2011 11:58:59 +0000 (13:58 +0200)]
Change intmax_t to int64_t to fix #1664

11 years agoFix compilation with gcc 4.6.1
Eric Bollengier [Thu, 7 Jul 2011 09:28:16 +0000 (11:28 +0200)]
Fix compilation with gcc 4.6.1

11 years agoupdate changelog
Eric Bollengier [Wed, 6 Jul 2011 15:01:15 +0000 (17:01 +0200)]
update changelog

11 years agoregress: Tweak vtape-test-changer for more data
Eric Bollengier [Wed, 6 Jul 2011 14:45:46 +0000 (16:45 +0200)]
regress: Tweak vtape-test-changer for more data

11 years agoAdd mutex priority check for changer mutex
Eric Bollengier [Wed, 6 Jul 2011 14:45:37 +0000 (16:45 +0200)]
Add mutex priority check for changer mutex

11 years agoFix deadlock with autochanger
Eric Bollengier [Wed, 6 Jul 2011 14:43:42 +0000 (16:43 +0200)]
Fix deadlock with autochanger

11 years agoFix #1602 about Uninstall /S that should not prompt for user interaction
Eric Bollengier [Wed, 6 Jul 2011 12:19:59 +0000 (14:19 +0200)]
Fix #1602 about Uninstall /S that should not prompt for user interaction

11 years agoChange JobFiles display from %f to %F in RunScript because %f was already affected...
Eric Bollengier [Tue, 5 Jul 2011 17:07:05 +0000 (19:07 +0200)]
Change JobFiles display from %f to %F in RunScript because %f was already affected to Fileset name

11 years agoRemove last traces of AFS detection.
Marco van Wieringen [Sat, 2 Jul 2011 20:59:03 +0000 (22:59 +0200)]
Remove last traces of AFS detection.

11 years agoUpdate configure
Eric Bollengier [Sat, 2 Jul 2011 13:18:51 +0000 (15:18 +0200)]
Update configure

11 years agoTweak warning in configure
Eric Bollengier [Sat, 2 Jul 2011 13:18:44 +0000 (15:18 +0200)]
Tweak warning in configure

11 years agoUpdate config.h.in for LZO flags
Eric Bollengier [Tue, 28 Jun 2011 13:43:43 +0000 (15:43 +0200)]
Update config.h.in for LZO flags

11 years agoFix brestore compilation from previous patch
Laurent Papier [Tue, 28 Jun 2011 12:16:13 +0000 (14:16 +0200)]
Fix brestore compilation from previous patch

11 years agoAdd LZO compression support in bacula-fd.
Laurent Papier [Wed, 18 May 2011 21:25:30 +0000 (23:25 +0200)]
Add LZO compression support in bacula-fd.

Add new generic compressed streams This should make easier to
add additional compression scheme

Rename a few define, add an element containing compression algorithm
in some data structures.

11 years agoUpdate version
Eric Bollengier [Mon, 27 Jun 2011 14:18:22 +0000 (16:18 +0200)]
Update version

11 years agoTweak gzip patch for manpages
Eric Bollengier [Mon, 27 Jun 2011 12:22:29 +0000 (14:22 +0200)]
Tweak gzip patch for manpages

11 years agoSolaris make doesn't like comments in make rules.
Marco van Wieringen [Tue, 21 Jun 2011 11:10:16 +0000 (13:10 +0200)]
Solaris make doesn't like comments in make rules.

As the cleanup uses rm -f for the time being we can leave
these rules in as they won't harm the deinstall.

11 years agoFix OSX acl regression test.
Marco van Wieringen [Tue, 21 Jun 2011 08:48:17 +0000 (10:48 +0200)]
Fix OSX acl regression test.

11 years agoStoring the result in a local variable from sql_num_fields saves us a lot of callbacks.
Marco van Wieringen [Mon, 20 Jun 2011 22:03:57 +0000 (00:03 +0200)]
Storing the result in a local variable from sql_num_fields saves us a lot of callbacks.

11 years agoUpdate configure
Eric Bollengier [Thu, 16 Jun 2011 13:47:59 +0000 (15:47 +0200)]
Update configure

11 years agoAlter the manpages uninstall targetto handle optional compression
Ben Walton [Wed, 18 May 2011 03:01:42 +0000 (23:01 -0400)]
Alter the manpages uninstall targetto handle optional compression

Now that the manpages may not be compressed, the uninstall target
should remove both compressed and uncompressed manpage files from the
destination directory.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoAlter the manpages install target to handle optional compression
Ben Walton [Sat, 4 Jun 2011 15:37:31 +0000 (11:37 -0400)]
Alter the manpages install target to handle optional compression

Break the install target for the manpages up such that it depends on a
separate target named install-manpages to copy the files into place.
The install target will then perform compression based on the autoconf
COMPRESS_MANPAGES substitution.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoAdd COMPRESS_MANPAGES substituted variable to autoconf
Ben Walton [Wed, 18 May 2011 02:56:35 +0000 (22:56 -0400)]
Add COMPRESS_MANPAGES substituted variable to autoconf

Solaris doesn't handle compressed manpages so we need a toggle that
will allow installing them uncompressed on that platform.  It should
be yes by default and disabled for platforms that have a legacy man
binary.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoAdd extra check for pInfo size when loading plugin
Eric Bollengier [Wed, 15 Jun 2011 08:04:43 +0000 (10:04 +0200)]
Add extra check for pInfo size when loading plugin

11 years agoFix [bs #2710] about Storage combo that is too small
Eric Bollengier [Tue, 14 Jun 2011 09:03:22 +0000 (11:03 +0200)]
Fix [bs #2710] about Storage combo that is too small

By default, when the Combo box is created, if the parent is hidden, the
combo can't configure the size automatically.

11 years agoregress: tweak hardlink-test to avoid strict counting
Eric Bollengier [Sat, 7 May 2011 14:10:09 +0000 (16:10 +0200)]
regress: tweak hardlink-test to avoid strict counting

11 years agoMake bad Storage check in is_on_same_storage non-fatal
Kern Sibbald [Tue, 14 Jun 2011 15:32:11 +0000 (17:32 +0200)]
Make bad Storage check in is_on_same_storage non-fatal

11 years agoImplement RestoreObject for sqlite + cleanups
Eric Bollengier [Tue, 14 Jun 2011 13:41:39 +0000 (15:41 +0200)]
Implement RestoreObject for sqlite + cleanups

11 years agoRemove Ingress and DBI from configure
Kern Sibbald [Sat, 11 Jun 2011 21:10:54 +0000 (23:10 +0200)]
Remove Ingress and DBI from configure

11 years agoRemove Ingres and DBI backends
Kern Sibbald [Sat, 11 Jun 2011 21:00:00 +0000 (23:00 +0200)]
Remove Ingres and DBI backends

11 years agoRebuild configure
Marco van Wieringen [Mon, 6 Jun 2011 11:32:45 +0000 (13:32 +0200)]
Rebuild configure

11 years agoTweak director plugin example
Eric Bollengier [Tue, 17 May 2011 17:43:47 +0000 (19:43 +0200)]
Tweak director plugin example

11 years agoAllow va_arg in Dmsg/Jmsg director plugin functions
Eric Bollengier [Tue, 17 May 2011 17:43:09 +0000 (19:43 +0200)]
Allow va_arg in Dmsg/Jmsg director plugin functions

11 years agoFix debug code
Eric Bollengier [Fri, 3 Jun 2011 17:51:47 +0000 (19:51 +0200)]
Fix debug code

11 years agoAdd barcodes help to label command
Kern Sibbald [Sat, 4 Jun 2011 14:44:02 +0000 (16:44 +0200)]
Add barcodes help to label command

11 years agoFix the lockmgr test tool
Eric Bollengier [Tue, 31 May 2011 14:14:06 +0000 (16:14 +0200)]
Fix the lockmgr test tool

11 years agoRemove class member shadowing.
Marco van Wieringen [Sat, 4 Jun 2011 21:47:08 +0000 (23:47 +0200)]
Remove class member shadowing.

"breg.c", line 259: Warning: regs hides BREGEXP::regs.
"breg.c", line 299: Warning: regs hides BREGEXP::regs.

11 years agoRemove class member shadowing.
Marco van Wieringen [Sat, 4 Jun 2011 21:23:51 +0000 (23:23 +0200)]
Remove class member shadowing.

"bsock.c", line 982: Warning: msg hides BSOCK::msg.
"bsock.c", line 982: Warning: msglen hides BSOCK::msglen.

11 years agoEliminate some old bnet code
Kern Sibbald [Sat, 4 Jun 2011 19:20:30 +0000 (21:20 +0200)]
Eliminate some old bnet code

11 years agoRemove broken code
Kern Sibbald [Sat, 4 Jun 2011 18:53:58 +0000 (20:53 +0200)]
Remove broken code

11 years agoFix small memory leak when job get canceled.
Marco van Wieringen [Fri, 3 Jun 2011 20:03:43 +0000 (22:03 +0200)]
Fix small memory leak when job get canceled.

11 years agoFix small memory leak in dbcheck not calling free_pool_memory for name variable.
Marco van Wieringen [Wed, 1 Jun 2011 18:56:07 +0000 (20:56 +0200)]
Fix small memory leak in dbcheck not calling free_pool_memory for name variable.

11 years agoRemove global variable shadowing by local variable.
Marco van Wieringen [Wed, 1 Jun 2011 08:46:17 +0000 (10:46 +0200)]
Remove global variable shadowing by local variable.

11 years agoFix dbcheck to use the new runtime checks for mysql and not compile time.
Marco van Wieringen [Tue, 31 May 2011 17:07:35 +0000 (19:07 +0200)]
Fix dbcheck to use the new runtime checks for mysql and not compile time.

11 years agoTweak layout and redo comments.
Marco van Wieringen [Tue, 31 May 2011 17:00:08 +0000 (19:00 +0200)]
Tweak layout and redo comments.

11 years agoRestore db_type printing to dbcheck -B
Marco van Wieringen [Tue, 31 May 2011 16:39:53 +0000 (18:39 +0200)]
Restore db_type printing to dbcheck -B

11 years agoFix unitialized DeltaSeq during Verify jobs
Eric Bollengier [Mon, 30 May 2011 18:34:40 +0000 (20:34 +0200)]
Fix unitialized DeltaSeq during Verify jobs

11 years agoMake delta_seq same size as in other places
Kern Sibbald [Mon, 30 May 2011 10:14:17 +0000 (12:14 +0200)]
Make delta_seq same size as in other places

11 years agoRemove broken code
Kern Sibbald [Mon, 30 May 2011 10:03:07 +0000 (12:03 +0200)]
Remove broken code

11 years agoAdd db_strtime_handler to get DATE fields from database
Eric Bollengier [Mon, 16 May 2011 16:53:25 +0000 (18:53 +0200)]
Add db_strtime_handler to get DATE fields from database

11 years agoDrop AFS detection.
Marco van Wieringen [Mon, 16 May 2011 15:24:18 +0000 (17:24 +0200)]
Drop AFS detection.

11 years agoAC_CHECK_DECL doesn't seem to work so lets do it somewhat differently.
Marco van Wieringen [Mon, 16 May 2011 13:43:29 +0000 (15:43 +0200)]
AC_CHECK_DECL doesn't seem to work so lets do it somewhat differently.

11 years agoFix typo
Marco van Wieringen [Sat, 14 May 2011 15:16:28 +0000 (17:16 +0200)]
Fix typo

11 years agoCleanup code path for acl and count number of acl entries so we only save real acls.
Marco van Wieringen [Fri, 13 May 2011 21:06:10 +0000 (23:06 +0200)]
Cleanup code path for acl and count number of acl entries so we only save real acls.

11 years agoFirst attempt at fixing bug #1735 where acls on OSX doesn't seem to reach the backup.
Marco van Wieringen [Fri, 13 May 2011 17:55:53 +0000 (19:55 +0200)]
First attempt at fixing bug #1735 where acls on OSX doesn't seem to reach the backup.

11 years agoDrop old unused protypes from before backend refactoring.
Marco van Wieringen [Tue, 10 May 2011 11:59:35 +0000 (13:59 +0200)]
Drop old unused protypes from before backend refactoring.

11 years agoDon't force job duplicate checking on copy and migration jobs.
Marco van Wieringen [Wed, 4 May 2011 19:13:40 +0000 (21:13 +0200)]
Don't force job duplicate checking on copy and migration jobs.

11 years agoSimplify the code path in migration and copy jobs
Marco van Wieringen [Wed, 4 May 2011 19:11:15 +0000 (21:11 +0200)]
Simplify the code path in migration and copy jobs

11 years agoAllow duplicate job check override from run cmdline for migrate and copy jobs.
Marco van Wieringen [Wed, 4 May 2011 19:07:13 +0000 (21:07 +0200)]
Allow duplicate job check override from run cmdline for migrate and copy jobs.

11 years agoInitialize spool_data_set as boolean.
Marco van Wieringen [Wed, 4 May 2011 19:06:11 +0000 (21:06 +0200)]
Initialize spool_data_set as boolean.

11 years agoAdd stat packet size to encode/decode_ routines to detect compile differences
Kern Sibbald [Wed, 4 May 2011 09:39:57 +0000 (11:39 +0200)]
Add stat packet size to encode/decode_ routines to detect compile differences

11 years agoDrop unused variable.
Marco van Wieringen [Fri, 29 Apr 2011 19:42:53 +0000 (21:42 +0200)]
Drop unused variable.

11 years agoCleanup Solaris init scripts and made them zone aware.
Marco van Wieringen [Fri, 29 Apr 2011 19:32:54 +0000 (21:32 +0200)]
Cleanup Solaris init scripts and made them zone aware.

Some cleanups to the option parsing added in previous patch.
Added support for checking if we run on a Solaris 10 or later
global zone where using pkill -x is kind of dangerous as we
kill all bacula processes also in non-global zones.

11 years agoMake the solaris init scripts user/group aware
Ben Walton [Fri, 29 Apr 2011 15:53:45 +0000 (11:53 -0400)]
Make the solaris init scripts user/group aware

Import the values for the user and group settings specified by
configure when generating the solaris init scripts.  Use these values
for the -u and -g parameters when starting the daemons.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoCorrect fix for bat brestore crash
Kern Sibbald [Sat, 30 Apr 2011 19:17:56 +0000 (21:17 +0200)]
Correct fix for bat brestore crash

11 years agoKludge fix to bat brestore crash
Kern Sibbald [Sat, 30 Apr 2011 14:39:07 +0000 (16:39 +0200)]
Kludge fix to bat brestore crash

11 years agobat: Call parent constructor in all pages
Eric Bollengier [Fri, 29 Apr 2011 15:40:01 +0000 (17:40 +0200)]
bat: Call parent constructor in all pages

11 years agoAdd debug to bat label seg fault bug
Kern Sibbald [Fri, 29 Apr 2011 07:50:04 +0000 (09:50 +0200)]
Add debug to bat label seg fault bug

11 years agoUse user arguments when upgrading catalog
Eric Bollengier [Thu, 21 Apr 2011 16:05:37 +0000 (18:05 +0200)]
Use user arguments when upgrading catalog

11 years agoChange all sm_checks into Dsm_check for performance reasons
Kern Sibbald [Thu, 21 Apr 2011 10:57:20 +0000 (12:57 +0200)]
Change all sm_checks into Dsm_check for performance reasons

11 years agoFree database results on class destruction (e.g. when reference count == 0)
Marco van Wieringen [Thu, 21 Apr 2011 08:31:31 +0000 (10:31 +0200)]
Free database results on class destruction (e.g. when reference count == 0)

11 years agoAllow custom variables and checks from debian/ubuntu startup scripts
Eric Bollengier [Wed, 20 Apr 2011 19:03:38 +0000 (21:03 +0200)]
Allow custom variables and checks from debian/ubuntu startup scripts

11 years agoFix couple of g++ warnings
Eric Bollengier [Tue, 19 Apr 2011 14:22:42 +0000 (16:22 +0200)]
Fix couple of g++ warnings

11 years agoUpdate configure
Eric Bollengier [Tue, 19 Apr 2011 14:11:03 +0000 (16:11 +0200)]
Update configure

11 years agoEnsure the directories for solaris init scripts are created
Ben Walton [Fri, 15 Apr 2011 18:42:08 +0000 (14:42 -0400)]
Ensure the directories for solaris init scripts are created

Now that DESTDIR is used for the init script installation, we need to
ensure the directories exist prior to placing files in them.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoHonour DESTDIR in Solaris install-autostart targets
Ben Walton [Fri, 15 Apr 2011 18:25:36 +0000 (14:25 -0400)]
Honour DESTDIR in Solaris install-autostart targets

The installation of the init scripts was not taking DESTDIR into
account.  Correct this so that the init scripts are installed to the
same base location as the other files.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoCollapse Solaris install-autostart targets
Ben Walton [Fri, 15 Apr 2011 18:17:43 +0000 (14:17 -0400)]
Collapse Solaris install-autostart targets

Use a patterened rule to install and uninstall the various init
scripts for solaris.  They're all the same, so reduce the redundancy.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoUpdate AC_INIT use to make configure handle docdir properly
Ben Walton [Wed, 13 Apr 2011 19:06:13 +0000 (15:06 -0400)]
Update AC_INIT use to make configure handle docdir properly

This patch allows AC_INIT to properly set the PACKAGE variables in the
Makefiles.  In turn, this allows docdir use to work correctly.  With
the new behaviour, things placed in docdir go to share/doc/bacula.
Previously the would end up in share/doc.

We move the detection of the source directory to a separate
AC_CONFIG_SRCDIR macro call.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
11 years agoSome more use DeltaSeq instead of MarkId
Marco van Wieringen [Tue, 19 Apr 2011 08:31:36 +0000 (10:31 +0200)]
Some more use DeltaSeq instead of MarkId

11 years agobweb: Fix configuration loading problem
Eric Bollengier [Mon, 18 Apr 2011 19:00:19 +0000 (21:00 +0200)]
bweb: Fix configuration loading problem

11 years agoUpdate Catalog version and use DeltaSeq instead of MarkId
Eric Bollengier [Sat, 16 Apr 2011 06:44:53 +0000 (08:44 +0200)]
Update Catalog version and use DeltaSeq instead of MarkId

11 years agoFix Sqlite driver seg fault
Kern Sibbald [Sat, 16 Apr 2011 12:16:49 +0000 (14:16 +0200)]
Fix Sqlite driver seg fault

11 years agobweb: update tpl
Eric Bollengier [Fri, 15 Apr 2011 11:52:08 +0000 (13:52 +0200)]
bweb: update tpl

11 years agobweb: Fix recyclepool problem reported by Magnus Kulk
Eric Bollengier [Fri, 15 Apr 2011 11:51:49 +0000 (13:51 +0200)]
bweb: Fix recyclepool problem reported by Magnus Kulk

11 years agoregress: add checks checksums for #1612
Eric Bollengier [Wed, 13 Apr 2011 09:32:09 +0000 (11:32 +0200)]
regress: add checks checksums for #1612

11 years agoFix #1612 about checksum for hardlinks
Eric Bollengier [Wed, 13 Apr 2011 09:31:44 +0000 (11:31 +0200)]
Fix #1612 about checksum for hardlinks

11 years agoTweak configure
Marco van Wieringen [Mon, 11 Apr 2011 18:31:54 +0000 (20:31 +0200)]
Tweak configure

11 years agoFix typo.
Marco van Wieringen [Sat, 9 Apr 2011 21:12:24 +0000 (23:12 +0200)]
Fix typo.

11 years agoTweak layout.
Marco van Wieringen [Mon, 4 Apr 2011 15:53:23 +0000 (17:53 +0200)]
Tweak layout.

11 years agoSome more code sniplets of no need to call thr_setconcurrency anymore.
Marco van Wieringen [Sat, 2 Apr 2011 21:05:31 +0000 (23:05 +0200)]
Some more code sniplets of no need to call thr_setconcurrency anymore.

11 years agoFor Solaris 9 and higher there is no need to call thr_setconcurrency anymore.
Marco van Wieringen [Sat, 2 Apr 2011 20:48:00 +0000 (22:48 +0200)]
For Solaris 9 and higher there is no need to call thr_setconcurrency anymore.

See the manual page:

These functions are obsolete and maintained for compatibility
only. The thr_setconcurrency() function updates the
desired concurrency level that libthread maintains for the
calling  process. This value does not affect the behavior of
the calling process.

11 years agoExecute the Index creation for mysql in bvfs.c
Marco van Wieringen [Sat, 2 Apr 2011 19:58:09 +0000 (21:58 +0200)]
Execute the Index creation for mysql in bvfs.c

11 years agoUse B_ISSPACE in scan.c and reformat comments a bit.
Marco van Wieringen [Sat, 2 Apr 2011 19:56:00 +0000 (21:56 +0200)]
Use B_ISSPACE in scan.c and reformat comments a bit.