Subject: PR/31570 CVS commit: pkgsrc/sysutils/bacula
To: None <,,>
From: Thomas Klausner <>
List: pkgsrc-bugs
Date: 10/14/2005 20:51:31
The following reply was made to PR pkg/31570; it has been noted by GNATS.

From: Thomas Klausner <>
Subject: PR/31570 CVS commit: pkgsrc/sysutils/bacula
Date: Fri, 14 Oct 2005 15:44:51 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Oct 14 15:44:51 UTC 2005
 Modified Files:
 	pkgsrc/sysutils/bacula: Makefile Makefile.common distinfo
 Added Files:
 	pkgsrc/sysutils/bacula/patches: patch-ag patch-ah patch-ai patch-aj
 Log Message:
 Update to 1.36.3nb1, provided by Geert Hendrickx in PR 31570.
 This contains the update to 1.36.3 and an additional security fix,
 thus the nb1.
 Changes since 1.36.0:
 Changes to 1.36.3 released 23Apr05:
 - Correct return type of ftello to avoid overflow --
   thanks to Peter Eriksson.
 - Fix seg fault if Name directive missing in Job resource.
 - Add new LaTeX doc to 1.36.2 branch.
 - Fix SuSE autostart routines to use /etc/init.d instead
   of /etc/rc.d/init.d.
 - Increase index size on File table Name and Path table Path
   to improve performance.
 - Second fix for not zeroing SD pointers on restarted job.
 - Turn off old style Include/Excludes.
 - Use fseeko and ftello so that attributes can exceed 4GB
 - Flush console output after every line.
 - Turn off Multiple Connections in catalog resource, which
   causes corruped databases.  It is silently ignored.
 - Drop support for old style Include/Exclude.  There is a
   perl script that will convert them.
 - Inhibit trying to reset attributes on a Win32 drive.
 18Mar05 1.36.2-store.patch
 - This patch fails a job if no Storage resource is specified and
   the job attempts to call the SD.
 18Mar05 1.36.2-reschedule.patch
 - This patch should fix a Segfault bug when a job is rescheduled.
   The storage pointers were being released when they should not
   have been.
 17Mar05 1.36.2-restore-speed.patch
 - This patch will fix a subtle bug that was introduced in 1.36.2
   which causes Bacula to be very slow restoring a few files. This
   is because it reads completely to the end of the Volume rather
   than stopping when all the files on the Volume are loaded. The
   introduction of the bug was caused by a patch that fixed
   Bacula truncating tapes after a restore.
   Note that all source files will be rebuilt during the make.
 16Mar05 1.36.2-console.patch
 - This patch causes the output directed to a file to be
   flushed after every line. This is a bit overkill, IMO, but
   a user complained about it.
 15Mar05 1.36.2-netbsd.patch
 - This patch corrects a compile problem because of no statfs()
   on NetBSD. The patch was submitted by kardel with bug 258.
 09Mar05 1.36.2-win32-drive.patch
 - This patch will prevent the Win32 FD from printing an error message
   when it attempts to restore the permissions for a drive (which Win32
   doesn't permit). The error is harmless in any case.
 04Mar05 1.36.2-level.patch
 - This patch should fix a problem with th %l editing in the
   client (FD) where it edited nothing. With this fix, it should
   edit "since".
 04Mar05 1.36.2-pool.patch
 - This patch corrects a problem preventing multiple
   simultaneous jobs from different pools.
 Changes to 1.36.2 released 28Feb05:
 - Fix pointer to stack variable in Verify jobs.
 - Change reference to DEV_BSIZE to B_DEV_BSIZE to
   avoid colision with some OSes.
 - Release storage[i] in job.c if allocated when
   starting/restarting a job. Avoids orpahanned buffers.
 - Add awk check to
 - Bring over a few files from 1.37.
 - Fix some lower case character problems in sql_cmds.c reported
   by Debian.
 - Fix seg fault if debug level 900 set in SD.
 - Truncate Win32 child return code to 8 bits.
 - Fix deadlock in multiple simultaneous jobs.
 - Fix tape "truncation"/"number of files" after restore bug.
 - Merge a few minor things from the 1.37 stream.
 - Add a number of new features from 1.37, and apply fixes
   for all known bugs. See ReleaseNotes for details.
 - Apply Tim's patch for ACLs.
 Version 1.36.1 released 26Nov04:
 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
 - Fix improper handling of autochanger Volumes that are not
   marked InChanger.
 - Update authentication failure message to indicate possible
   problem with Maximum Concurrent Jobs. Add to doc too.
 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
   get it.
 - Do not use a slot unless it is InChanger in the autochanger
   code, otherwise autochanger gets upset not finding the Volume.
 - Make authentication timeout compile time configurable.
   The value is set in src/baconfig.h
 - Fix removing items from watchdog queue, which apparently
   screwed up if there was more than one item.
 - Rework mediaformat part of manual to separate out old
   tape format for easier reading.
 - Add a lot of debug code to the authentication code.
 - Add seconds to the start/end times printed in the job report.
 - Fix mutex deadlock in dequeue of messages.
 - Add debug code to FD authorization.
 - Increase authentication timeouts to 10 minutes.
 - Fix cancel bug in FD on /lib/tls with zero pid in
 - Add date/time to all messages.
 - Make Qmsg use time message was queued rather than time
 - Indent job output two spaces.
 - Fix web page links for new manual.
 - Grant postgresql permission to cdimages.
 - Correct crash after "list nextvol" "list media" bug 160
 - Fix scripts/ missing ;\  -- thanks Martin
 - A bit of work on btape to keep if from going into infinite
   loops when things do not work well, and to print a bit
   better info.
 - JobDefs Storage resource completely overrode anything
   specified in Job resource -- bug 159 -- fixed.
 - Fix syntax of renaming postgresql per Dan.
 - Add working_directory to be /tmp for wx_console.
 - Allow both a JobId and a filename or list of files to be
   specified on a restore command line.
 - Save old mtx-changer before installing new one: bug 156
 - Fix errors in CDROM file pointed out by Scott.
 - Fix exepath when Bacula executed without path.
 - Move test for socket libraries for Solaris in
   before tcp wrapper tests so that linking works.
 - Add "make copy-static-fd" to makefile in CDROM file to
   copy existing static fd to CDROM rather than building it.
 - More doc updates
 - Fix ps command for OpenBSD
 - Rework the creation of indexes for SQL -- fall back
   to the old code, but document what can be added.
 - Add new Daemon message handler in default DIR conf.
 - Fix Seg Fault with -D100 in bpipe.c.
 - Fix Seg Fault in run specifying a JobId.
 - Make mail from daemon with a Messages Resource use
   the MailCommand with editing rather than the default
 - Replace Jmsg in dispatch_message() with Qmsg.
 - Make edit_job_codes handle NULL jcr.
 - Add M_ALERT class and put tape alerts into it.
 - Fix Verify count vs found by not double counting files
   that are split across files/Volumes.
 - Fix count returned from write_bsr_file() to handle multiple
   volumes. This fixes most cases of the Verify VolumeToCatalog.
 - Cleanup a bit the make clean for the rescue cdrom and remove
   unneeded files from the CVS.
 - Fixed acquiring a tape so that it does not block all acquires
   when operator intervention is needed.
 - Platform build script updates from Scott
 - Doc updates
 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
   new /lib/tls. This is done in the startup scripts.
 - Modify mtx-changer so that it checks for ONLINE while
 - Modify so that EndBlock is stored
   as a bigint. Prevents job failures when a disk volume is
   larger than 2GB.
 - Add grep ONLINE to wait_for_drive() in
 - More doc.
 - Rebuild Scott's new configure
 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/bacula/Makefile
 cvs rdiff -r1.10 -r1.11 pkgsrc/sysutils/bacula/Makefile.common
 cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/bacula/distinfo
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/bacula/patches/patch-ag \
     pkgsrc/sysutils/bacula/patches/patch-ah \
     pkgsrc/sysutils/bacula/patches/patch-ai \
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.