]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- patch to fix a crash that may happen when using the DVD storage
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 21 Sep 2010 10:35:20 +0000 (10:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula-dvd_rewind.patch -> 1.1
    bacula.spec -> 1.150

bacula-dvd_rewind.patch [new file with mode: 0644]
bacula.spec

diff --git a/bacula-dvd_rewind.patch b/bacula-dvd_rewind.patch
new file mode 100644 (file)
index 0000000..a1d6e23
--- /dev/null
@@ -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;
index 7d081ab89ecf17e39de7368e2f41c2bc0ed151f8..e94657641169a4cfeb8ab194b09ea5e96bf27ee0 100644 (file)
@@ -28,7 +28,7 @@ Summary:      Bacula - The Network Backup Solution
 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
@@ -53,6 +53,7 @@ Patch5:               %{name}-desktop.patch
 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
@@ -467,6 +468,7 @@ Nagios plugin to check bacula.
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 tar -xf %{SOURCE2} && ln -s bacula-rescue-* rescue
 
This page took 0.075865 seconds and 4 git commands to generate.