packages: bacula/bacula.spec, bacula/bacula-dvd_rewind.patch (NEW) - patch ...
jajcus
jajcus at pld-linux.org
Tue Sep 21 12:35:25 CEST 2010
Author: jajcus Date: Tue Sep 21 10:35:25 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- patch to fix a crash that may happen when using the DVD storage
---- Files affected:
packages/bacula:
bacula.spec (1.149 -> 1.150) , bacula-dvd_rewind.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/bacula/bacula.spec
diff -u packages/bacula/bacula.spec:1.149 packages/bacula/bacula.spec:1.150
--- packages/bacula/bacula.spec:1.149 Sun Aug 22 18:45:39 2010
+++ packages/bacula/bacula.spec Tue Sep 21 12:35:20 2010
@@ -29,7 +29,7 @@
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
Version: 5.0.3
-Release: 2
+Release: 3
License: extended GPL v2
Group: Networking/Utilities
Source0: http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
@@ -54,6 +54,7 @@
Patch7: %{name}-dbi_fixes.patch
Patch8: %{name}-dbi_dbcheck.patch
Patch9: %{name}-openssl1.patch
+Patch10: %{name}-dvd_rewind.patch
URL: http://www.bacula.org/
BuildRequires: acl-devel
BuildRequires: autoconf
@@ -468,6 +469,7 @@
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
@@ -1054,6 +1056,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.150 2010/09/21 10:35:20 jajcus
+- patch to fix a crash that may happen when using the DVD storage
+
Revision 1.149 2010/08/22 16:45:39 glen
- enable nagios package
================================================================
Index: packages/bacula/bacula-dvd_rewind.patch
diff -u /dev/null packages/bacula/bacula-dvd_rewind.patch:1.1
--- /dev/null Tue Sep 21 12:35:25 2010
+++ packages/bacula/bacula-dvd_rewind.patch Tue Sep 21 12:35:20 2010
@@ -0,0 +1,11 @@
+--- bacula-5.0.3/src/stored/dev.c.orig 2010-08-05 16:29:51.000000000 +0200
++++ bacula-5.0.3/src/stored/dev.c 2010-09-21 09:53:25.000000000 +0200
+@@ -832,7 +832,7 @@
+ }
+ break;
+ }
+- } else if (is_file() || is_dvd()) {
++ } else if (dcr && (is_file() || is_dvd())) {
+ if (lseek(dcr, (boffset_t)0, SEEK_SET) < 0) {
+ berrno be;
+ dev_errno = errno;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bacula/bacula.spec?r1=1.149&r2=1.150&f=u
More information about the pld-cvs-commit
mailing list