pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bacula Add Bacula's 1.38.10-scheduler.patch a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9545133cecf
branches:  trunk
changeset: 515158:a9545133cecf
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Mon Jun 26 13:05:19 2006 +0000

description:
Add Bacula's 1.38.10-scheduler.patch as patch-al.  From the announce mail:

> I have released a patch (1.38.10-scheduler.patch) to the patches area of the
> Bacula Source Forge releases.  I *strongly* recommend that everyone using
> Bacula version 1.38.10 apply this patch.  It applies only to the Director
> (the SD and FD are unchanged) and *only* to version 1.38.10.  The patch will
> prevent the Director for crashing or hanging (depending on your OS) whenever
> you do a "reload" command or whenever there is a sudden clock shift, which
> occurs much more often than one would imagine.

Bump PKGREVISION.

diffstat:

 sysutils/bacula/Makefile         |   4 +++-
 sysutils/bacula/distinfo         |   3 ++-
 sysutils/bacula/patches/patch-al |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 80f075aeb80a -r a9545133cecf sysutils/bacula/Makefile
--- a/sysutils/bacula/Makefile  Mon Jun 26 12:45:31 2006 +0000
+++ b/sysutils/bacula/Makefile  Mon Jun 26 13:05:19 2006 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2006/03/29 21:44:41 ghen Exp $
+# $NetBSD: Makefile,v 1.18 2006/06/26 13:05:19 ghen Exp $
+
+PKGREVISION=           1
 
 CONFLICTS+=            bacula-client-[0-9]*
 
diff -r 80f075aeb80a -r a9545133cecf sysutils/bacula/distinfo
--- a/sysutils/bacula/distinfo  Mon Jun 26 12:45:31 2006 +0000
+++ b/sysutils/bacula/distinfo  Mon Jun 26 13:05:19 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2006/06/13 16:00:39 ghen Exp $
+$NetBSD: distinfo,v 1.17 2006/06/26 13:05:19 ghen Exp $
 
 SHA1 (bacula-1.38.10.tar.gz) = 1623afa5d5e30e1d4a746832bb8234dfb54cc655
 RMD160 (bacula-1.38.10.tar.gz) = 0a1985fa1f56d628bfb3f84d247972fe558022eb
@@ -11,3 +11,4 @@
 SHA1 (patch-ah) = f084238634be75e6122bb4ec8c14ed68e24bddb4
 SHA1 (patch-ai) = 499a164fcf9e4fc466b691f91203b4293dcee7eb
 SHA1 (patch-aj) = ff1cdc149bcc1d960ddd24d0fa044fff69db165c
+SHA1 (patch-al) = e61ade0433a0b44aeb9ad9c929eb739bc1dc253d
diff -r 80f075aeb80a -r a9545133cecf sysutils/bacula/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bacula/patches/patch-al  Mon Jun 26 13:05:19 2006 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-al,v 1.1 2006/06/26 13:05:19 ghen Exp $
+
+This patch should correct the FreeBSD mutex crash that happens in
+the Director after a sudden clock shift or after the "reload" command.
+
+Index: src/dird/scheduler.c
+===================================================================
+RCS file: /cvsroot/bacula/bacula/src/dird/scheduler.c,v
+retrieving revision 1.33.2.2
+diff -u -r1.33.2.2 scheduler.c
+--- src/dird/scheduler.c       4 Jun 2006 12:24:39 -0000       1.33.2.2
++++ src/dird/scheduler.c       24 Jun 2006 17:25:58 -0000
+@@ -151,6 +151,7 @@
+               free(next_job);
+           }
+           schedules_invalidated = false;
++          unlock_jobs();
+           goto again;
+       }
+       unlock_jobs();



Home | Main Index | Thread Index | Old Index