aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2006-06-26 19:26:05 +0800
committermat <mat@FreeBSD.org>2006-06-26 19:26:05 +0800
commitea090b231ba6318a739b1adc5c5acb548ff2b8a4 (patch)
treeb255ad0ff6531205c1f211f5586b572cad78b7ec /sysutils/bacula-server
parent3e4abed488a33531feee01479eba078b05394571 (diff)
downloadfreebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.tar.gz
freebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.tar.zst
freebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.zip
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. See http://article.gmane.org/gmane.comp.sysutils.backup.bacula.announce/85 PR: 99486 Submitted by: maintainer
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r--sysutils/bacula-server/Makefile2
-rw-r--r--sysutils/bacula-server/files/patch-src-dird-scheduler.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 2041fe15b023..6c6fea5c80dc 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bacula
DISTVERSION= 1.38.10
-#PORTREVISION= 1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
diff --git a/sysutils/bacula-server/files/patch-src-dird-scheduler.c b/sysutils/bacula-server/files/patch-src-dird-scheduler.c
new file mode 100644
index 000000000000..0f9c78c4ef28
--- /dev/null
+++ b/sysutils/bacula-server/files/patch-src-dird-scheduler.c
@@ -0,0 +1,10 @@
+--- 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();