Subject: CVS commit: pkgsrc/sysutils/bacula
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 10/14/2005 15:44:51
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:
22Apr05
- Correct return type of ftello to avoid overflow --
  thanks to Peter Eriksson.
13Apr05
- Fix seg fault if Name directive missing in Job resource.
12Apr05
- 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.
01Apr05
- 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:
27Feb05
- 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.
24Feb05
- Add awk check to configure.in
- Bring over a few files from 1.37.
18Feb05
- 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.
15Feb05
- 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.
14Feb05
- 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:
24Nov04
- 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.
22Nov04
- 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.
21Nov04
- 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.
19Nov04
- Fix mutex deadlock in dequeue of messages.
- Add debug code to FD authorization.
18Nov04
- Increase authentication timeouts to 10 minutes.
15Nov04
- Fix cancel bug in FD on /lib/tls with zero pid in
  pthread_kill.
- Add date/time to all messages.
- Make Qmsg use time message was queued rather than time
  printed.
- Indent job output two spaces.
13Nov04
- Fix web page links for new manual.
- Grant postgresql permission to cdimages.
- Correct crash after "list nextvol" "list media" bug 160
12Nov04
- Fix scripts/Makefile.in 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.
11Nov04
- 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.
10Nov04
- 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.
09Nov04
- Fix exepath when Bacula executed without path.
- Move test for socket libraries for Solaris in configure.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.
08Nov04
- 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.
06Nov04
- Add new Daemon message handler in default DIR conf.
05Nov04
- 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
  sendmail.
- Replace Jmsg in dispatch_message() with Qmsg.
- Make edit_job_codes handle NULL jcr.
04Nov04
- 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.
30Oct04
- 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.
28Oct04
- 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
  waiting.
- Modify make_postgresql_tables.in so that EndBlock is stored
  as a bigint. Prevents job failures when a disk volume is
  larger than 2GB.
24Oct04
- Add grep ONLINE to wait_for_drive() in mtx-changer.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 \
    pkgsrc/sysutils/bacula/patches/patch-aj

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.