summaryrefslogtreecommitdiff
path: root/sysutils/bacula
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-06-26 13:05:19 +0000
committerghen <ghen@pkgsrc.org>2006-06-26 13:05:19 +0000
commite0241b30635bd636677107015f0631419574c073 (patch)
tree6ea2fa4486c686acdef0ec85a378e66653e6ca5b /sysutils/bacula
parent339f864371388332443bfe954fc31bc0adf74468 (diff)
downloadpkgsrc-e0241b30635bd636677107015f0631419574c073.tar.gz
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 (limited to 'sysutils/bacula')
-rw-r--r--sysutils/bacula/Makefile4
-rw-r--r--sysutils/bacula/distinfo3
-rw-r--r--sysutils/bacula/patches/patch-al20
3 files changed, 25 insertions, 2 deletions
diff --git a/sysutils/bacula/Makefile b/sysutils/bacula/Makefile
index 425dcda9579..1928e9f0714 100644
--- a/sysutils/bacula/Makefile
+++ b/sysutils/bacula/Makefile
@@ -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 --git a/sysutils/bacula/distinfo b/sysutils/bacula/distinfo
index 4d985357487..3f87751f251 100644
--- a/sysutils/bacula/distinfo
+++ b/sysutils/bacula/distinfo
@@ -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-ag) = 9e54b2bb207e9ea82326e48b8548ad03bf71fb8d
SHA1 (patch-ah) = f084238634be75e6122bb4ec8c14ed68e24bddb4
SHA1 (patch-ai) = 499a164fcf9e4fc466b691f91203b4293dcee7eb
SHA1 (patch-aj) = ff1cdc149bcc1d960ddd24d0fa044fff69db165c
+SHA1 (patch-al) = e61ade0433a0b44aeb9ad9c929eb739bc1dc253d
diff --git a/sysutils/bacula/patches/patch-al b/sysutils/bacula/patches/patch-al
new file mode 100644
index 00000000000..df297a258a3
--- /dev/null
+++ b/sysutils/bacula/patches/patch-al
@@ -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();