Hello community,
here is the log from the commit of package storeBackup.11843 for
openSUSE:Leap:15.1:Update checked in at 2020-01-28 14:11:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/storeBackup.11843 (Old)
and /work/SRC/openSUSE:Leap:15.1:Update/.storeBackup.11843.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "storeBackup.11843"
Tue Jan 28 14:11:26 2020 rev:1 rq:766560 version:3.5
Changes:
--------
New Changes file:
--- /dev/null 2019-12-19 10:12:34.003146842 +0100
+++
/work/SRC/openSUSE:Leap:15.1:Update/.storeBackup.11843.new.26092/storeBackup.changes
2020-01-28 14:11:27.387759853 +0100
@@ -0,0 +1,225 @@
+-------------------------------------------------------------------
+Mon Jan 20 18:00:00 UTC 2020 - Jan Ritzerfeld <[email protected]>
+
+- add fix-tmp-lock-file-race-condition.patch:
+ fix CVE-2020-7040 (bsc#1156767)
+
+-------------------------------------------------------------------
+Sun Mar 18 17:08:53 UTC 2018 - [email protected]
+
+- fixed location of original README.1ST in README.SUSE and spec file
+
+-------------------------------------------------------------------
+Sun Mar 18 13:00:32 UTC 2018 - [email protected]
+
+- add fix-rpmlint-env-script-interpreter.patch:
+ fix rpmlint perl env-script-interpreter errors
+
+-------------------------------------------------------------------
+Mon May 29 09:53:45 UTC 2017 - [email protected]
+
+- don't process vim's *.swp and *.udf files (in addition to *~)
+ from /etc/storebackup.d/
+
+-------------------------------------------------------------------
+Sat Dec 5 09:29:58 UTC 2015 - [email protected]
+
+- Added earlier_execute_precommand.patch:
+ Fixed exceptDirs incomatible when mounting with precommand
+ see http://savannah.nongnu.org/bugs/?46605
+
+-------------------------------------------------------------------
+Wed Aug 6 19:50:28 UTC 2014 - [email protected]
+
+- config file backups in /etc/storebackup.d are now ignored (bnc#855477)
+
+-------------------------------------------------------------------
+Mon Apr 21 08:44:25 UTC 2014 - [email protected]
+
+- Update to 3.5:
+ * Added wildcard support to series names and option
+ --createNewSeries for replication in storeBackupUpdateBackup.pl
+ * Fixed ownership and permissions of sysmlinks and their targets
+ in linkToDirs.pl
+ * Added option --force to storeBackupIsolatedMode.pl
+ * Added options --suppressTime, --maxFilelen, --noOfOldFiles,
+ --saveLogs, and --compressWith to storeBackupMount.pl
+ * Added auto-detection for cpIsGnu on Linux in storeBackup.pl
+ * Fixed exit on error message "no permissions to read ..." in
+ storeBackup.pl
+ * Added option stayInFileSystem to storeBackup.pl
+ * Renamed option --noOldFiles to --noOfOldFiles in multiTail.pl
+
+-------------------------------------------------------------------
+Mon Nov 11 11:59:20 UTC 2013 - [email protected]
+
+- Update to 3.4.3:
+ * Fixed occasional copying instead of hard linking identical
+ blocks in blocked files
+ * Added caching of already created directories in backup when
+ using --lateLinks to reduce checking whether directory does
+ already exist on high latency remote line
+ * Renamed multitail.pl to multiTail.pl
+ * Added options --print, --color, and --grep to multiTail.pl
+ * Added option --printDepth to linkToDirs.pl
+ * Added time frame support to --progressReport option
+ of linkToDirs.pl
+
+-------------------------------------------------------------------
+Fri Sep 27 14:36:26 UTC 2013 - [email protected]
+
+- Update to 3.4.2:
+ * Fixed reading output of external programs
+ * Fixed option --debug in storeBackupUpdateBackup.pl
+ * Added time frame support to --progressReport option
+ * Added --createSparseFiles option to storeBackupRecover.pl and
+ linkToDirs.pl to create sparse files when restoring blocked
+ files and copying files, respectively
+
+-------------------------------------------------------------------
+Sun Sep 8 19:09:56 UTC 2013 - [email protected]
+
+- Update to 3.4.1:
+ * Fixed rule functions MARK_DIR and MARK_DIR_REC when using
+ saveRAM option
+ * Added chapter "Internals" to documentation
+
+-------------------------------------------------------------------
+Mon Aug 19 17:15:28 UTC 2013 - [email protected]
+
+- Update to 3.4:
+ * Store "special files" in individual cpio or tar archives on
+ not system compatible file systems like NTFS or sshfs,
+ --archiveTypes and --specialTypeArchiver on the command line
+ * Exclude defined directories from backup or compression by file
+ system flags
+ * Simple recreation of isolated mode
+ * Some bug fixes
+
+-------------------------------------------------------------------
+Sun Jun 16 10:24:35 UTC 2013 - [email protected]
+
+- Update to 3.3.1:
+ * rewritten storeBackupMount.pl, options have changed
+ * easy compression rule, --checkCompr (-C) on the command line
+
+-------------------------------------------------------------------
+Sun Mar 10 16:32:56 UTC 2013 - [email protected]
+
+- Update to 3.3:
+ * Improved configurability of file compression
+ * Added isolated mode/offline backups
+ * Added Replication of backups
+ * Added linkToDirs.pl
+ * Added storeBackupCheckSource.pl
+- Added "Recommends: cron" again, otherwise included automated
+ backup script will not work
+- Linked all storeBackup* tools to /usr/bin
+- Included _ATTENTION_ and correct.sh in documentation
+- Included man pages
+-------------------------------------------------------------------
+Mon Oct 1 07:35:14 UTC 2012 - [email protected]
+
+- Really package README.SUSE and storebackup.config.default (bnc#780664).
+
+-------------------------------------------------------------------
+Mon Jan 2 14:26:49 UTC 2012 - [email protected]
+
+- license update: GPL-3.0+
+ No indication of a GPL-3.0 "only" license in the package
+
+-------------------------------------------------------------------
+Thu Dec 15 10:31:31 UTC 2011 - [email protected]
+
+- fix license to be in spdx.org format
+
+-------------------------------------------------------------------
+Fri Jan 8 17:27:42 CET 2010 - [email protected]
+
+- Update to 3.2, fixes bnc#512990
+- Thanks to Lars for providing the update.
+
+-------------------------------------------------------------------
+Thu Apr 10 00:32:55 CEST 2008 - [email protected]
+
+- soft 'Recommends' cron, otherwise included automated backup
+ script will not work
+
+-------------------------------------------------------------------
+Wed Jan 25 21:47:52 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Mon Jan 23 03:51:10 CET 2006 - [email protected]
+
+- applied patches by [email protected] (Tue Dec 13 2005):
+ #132857: Fixed directory permissions
+ * re-added the config file to the file list
+ with the proper permissions, marked as ghost
+ * use more macros
+
+-------------------------------------------------------------------
+Tue Sep 6 16:18:53 CEST 2005 - [email protected]
+
+- update to 1.19 includes fixes to several smaller issues,
+ and mainly these bugs:
+ #73908: Insecure tempfile-names
+ #73910: too generous permissions of backup-root
+- also #100101: Installing storeBackup causes cron job
+ failure emails
+ is fixed
+
+-------------------------------------------------------------------
+Fri Mar 18 15:34:09 CET 2005 - [email protected]
+
+- this patch is (nearly) 1.19, but not final
+- fixes #65788 - /etc/storebackup.d/storebackup.config should
+ not be executable
+- fixes #65422 - storebackup symlink attack
+
+-------------------------------------------------------------------
+Thu Aug 12 13:57:17 CEST 2004 - [email protected]
+
+- update to 1.18.4
+
+-------------------------------------------------------------------
+Mon Mar 22 16:14:07 CET 2004 - [email protected]
+
+- update to 1.16.1: storeBackup.pl
+ * better explanations in the configuration file
+ and for command line options
+ * better error messages
+ * option --print did not work for some values
+ * fixed a bug in the module for reading the
+ configuration file with keepWeekday
+ * when printing to a log file and to stdout
+ simultaneously, a possible error message with exit
++++ 28 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.1:Update/.storeBackup.11843.new.26092/storeBackup.changes
New:
----
earlier_execute_precommand.patch
fix-rpmlint-env-script-interpreter.patch
fix-tmp-lock-file-race-condition.patch
storeBackup-3.5.config.default
storeBackup-3.5.diff
storeBackup-3.5.tar.bz2
storeBackup-README.SUSE
storeBackup.changes
storeBackup.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ storeBackup.spec ++++++
#
# spec file for package storeBackup
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: storeBackup
Version: 3.5
Release: 0
Summary: A disk-to-disk backup tool for Linux
License: GPL-3.0+
Group: Productivity/Archiving/Backup
Source0: storeBackup-%{version}.tar.bz2
Source1: storeBackup-%{version}.config.default
Source2: storeBackup-README.SUSE
Patch0: storeBackup-%{version}.diff
# PATCH-FIX-UPSTREAM earlier_execute_precommand.patch
http://savannah.nongnu.org/bugs/?46605
Patch1: earlier_execute_precommand.patch
# PATCH-FIX-OPENSUSE fix-rpmlint-env-script-interpreter.patch
Patch2: fix-rpmlint-env-script-interpreter.patch
# PATCH-FIX-UPSTREAM fix-tmp-lock-file-race-condition.patch CVE-2020-7040
bsc#1156767
Patch3: fix-tmp-lock-file-race-condition.patch
Url: http://storebackup.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: bzip2
Requires: e2fsprogs
Requires: fileutils
Requires: sh-utils
Requires: textutils
Recommends: cron
%description
storeBackup is a disk-to-disk backup tool for Linux. It should run on
other Unix like machines. You can directly browse through the backuped
files (locally, via NFS, via SAMBA or whatever). This gives the users
the possibility to restore files absolutely easily and fast. He/She
only has to copy (and possibly uncompress) the file. The is also a
tool for easily restoring (sub) trees for the administrator. Every
single backup of a specific time can be deleted without affecting the
other existing backups.
Before you can start using storeBackup, please carefully read
/usr/share/doc/packages/storeBackup/README.1ST
and create an appropriate configuration file
/etc/storebackup.d/storebackup.config
using
/usr/share/doc/packages/storeBackup/storebackup.config.default
as a template.
%prep -n storeBackup
%setup -n storeBackup
%patch0 -p 1
%patch1 -p 0
%patch2 -p 1
%patch3 -p 1
%build
# make
%install
#
install -d ${RPM_BUILD_ROOT}
\
${RPM_BUILD_ROOT}/usr/lib/storeBackup/
\
${RPM_BUILD_ROOT}/usr/bin/
\
${RPM_BUILD_ROOT}/usr/share/doc/packages/storeBackup/
\
${RPM_BUILD_ROOT}/etc/cron.daily/
\
${RPM_BUILD_ROOT}/etc/storebackup.d/
\
${RPM_BUILD_ROOT}/%{_mandir}/man1
#
cp -a %{S:1}
./doc/storebackup.config.default
cp -a %{S:2}
./doc/README.SUSE
cp -a _ATTENTION_ correct.sh ./doc/
cp -aRpv bin/ lib/
${RPM_BUILD_ROOT}/usr/lib/storeBackup/
cp -a cron-storebackup
${RPM_BUILD_ROOT}/etc/cron.daily/storebackup
ln -sf /usr/lib/storeBackup/bin/storeBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackup.pl
ln -sf /usr/lib/storeBackup/bin/storeBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackup
ln -sf /usr/lib/storeBackup/bin/storeBackupCheckBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupCheckBackup.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupCheckSource.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupCheckSource.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupConvertBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupConvertBackup.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupDel.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupDel.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupMergeIsolatedBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupMergeIsolatedBackup.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupMount.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupMount.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupRecover.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupRecover.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupReplicationWizard.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupReplicationWizard.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupSearch.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupSearch.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupSetupIsolatedMode.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupSetupIsolatedMode.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupUpdateBackup.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupUpdateBackup.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupVersions.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupVersions.pl
ln -sf /usr/lib/storeBackup/bin/storeBackupls.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackupls.pl
ln -sf /usr/lib/storeBackup/bin/storeBackup_du.pl
${RPM_BUILD_ROOT}/usr/bin/storeBackup_du.pl
#
install -m 644 man/man1/*.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1
ln -sf storeBackup.pl.1 $RPM_BUILD_ROOT%{_mandir}/man1/storeBackup.1
%{?suse_check}
%files
%defattr(-,root,root)
%doc doc/*
%doc %{_mandir}/man1/*.1.gz
# ChangeLog LICENSE README.1ST _ATTENTION_ README storebackup.config.default
README.SUSE
/usr/lib/storeBackup/
%dir /etc/storebackup.d/
# %attr(755, root, root) %config(noreplace)
/etc/storebackup.d/storebackup.config
%attr(755, root, root) /usr/bin/*
%attr(755, root, root) /etc/cron.daily/storebackup
%changelog
++++++ earlier_execute_precommand.patch ++++++
--- bin/storeBackup.pl 2014-04-24 06:47:17.000000000 +0200
+++ bin/storeBackup_new.pl 2015-12-05 10:13:56.775693955 +0100
@@ -2677,6 +2677,8 @@
unless exists $suppressWarning{'use_DB_File'};
}
+
+
# OS-Typ feststellen, um ARG_MAX zu setzen
# Default wird vorsichtshalber auf 4 KB gesetzt!
{
@@ -2728,6 +2730,48 @@
'-str' => ["preserve Perms is not set"])
if $preservePerms eq 'no';
+
+#
+# precommand ausführen
+#
+if (defined $precommand)
+{
+ $prLog->print('-kind' => 'I',
+ '-str' => ["starting pre command <@$precommand> ..."]);
+ my ($preComm, @preParam) = (@$precommand);
+ my $preco = forkProc->new('-exec' => $preComm,
+ '-param' => \@preParam,
+ '-workingDir' => '.',
+ '-outRandom' => "$tmpdir/precomm-",
+ '-prLog' => $prLog);
+ $preco->wait();
+ my $out = $preco->getSTDOUT();
+ $prLog->print('-kind' => 'W',
+ '-str' => ["STDOUT of <@$precommand>:", @$out])
+ if (@$out > 0);
+ $out = $preco->getSTDERR();
+ $prLog->print('-kind' => 'E',
+ '-str' => ["STDERR of <@$precommand>:", @$out])
+ if (@$out > 0);
+
+ my $status = $preco->get('-what' => 'status');
+ if ($status == 0)
+ {
+ $prLog->print('-kind' => 'I',
+ '-str' =>
+ ["pre command <@$precommand> finished with status 0"]);
+ }
+ else
+ {
+ $prLog->print('-kind' => 'E',
+ '-str' => ["pre command <@$precommand> finished with " .
+ "status $status, exiting"]);
+ unlink $lockFile if $lockFile;
+ exit 1;
+ }
+}
+
+
#
# initialise include, exclude and checkBlocks rules
#
@@ -3238,45 +3282,7 @@
$exTypes{$et} = 0; # this is a flag and and also a counter
}
-#
-# precommand ausführen
-#
-if (defined $precommand)
-{
- $prLog->print('-kind' => 'I',
- '-str' => ["starting pre command <@$precommand> ..."]);
- my ($preComm, @preParam) = (@$precommand);
- my $preco = forkProc->new('-exec' => $preComm,
- '-param' => \@preParam,
- '-workingDir' => '.',
- '-outRandom' => "$tmpdir/precomm-",
- '-prLog' => $prLog);
- $preco->wait();
- my $out = $preco->getSTDOUT();
- $prLog->print('-kind' => 'W',
- '-str' => ["STDOUT of <@$precommand>:", @$out])
- if (@$out > 0);
- $out = $preco->getSTDERR();
- $prLog->print('-kind' => 'E',
- '-str' => ["STDERR of <@$precommand>:", @$out])
- if (@$out > 0);
- my $status = $preco->get('-what' => 'status');
- if ($status == 0)
- {
- $prLog->print('-kind' => 'I',
- '-str' =>
- ["pre command <@$precommand> finished with status 0"]);
- }
- else
- {
- $prLog->print('-kind' => 'E',
- '-str' => ["pre command <@$precommand> finished with " .
- "status $status, exiting"]);
- unlink $lockFile if $lockFile;
- exit 1;
- }
-}
#
++++++ fix-rpmlint-env-script-interpreter.patch ++++++
Index: storeBackup/bin/linkToDirs.pl
===================================================================
--- storeBackup.orig/bin/linkToDirs.pl
+++ storeBackup/bin/linkToDirs.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2012-2014)
Index: storeBackup/bin/llt
===================================================================
--- storeBackup.orig/bin/llt
+++ storeBackup/bin/llt
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Heinz-Josef Claes (2000-2013)
Index: storeBackup/bin/multiTail.pl
===================================================================
--- storeBackup.orig/bin/multiTail.pl
+++ storeBackup/bin/multiTail.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Heinz-Josef Claes (2000-2014)
Index: storeBackup/bin/storeBackup.pl
===================================================================
--- storeBackup.orig/bin/storeBackup.pl
+++ storeBackup/bin/storeBackup.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2001-2014)
Index: storeBackup/bin/storeBackupCheckBackup.pl
===================================================================
--- storeBackup.orig/bin/storeBackupCheckBackup.pl
+++ storeBackup/bin/storeBackupCheckBackup.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2008-2014)
Index: storeBackup/bin/storeBackupCheckSource.pl
===================================================================
--- storeBackup.orig/bin/storeBackupCheckSource.pl
+++ storeBackup/bin/storeBackupCheckSource.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2012-2014)
Index: storeBackup/bin/storeBackupConvertBackup.pl
===================================================================
--- storeBackup.orig/bin/storeBackupConvertBackup.pl
+++ storeBackup/bin/storeBackupConvertBackup.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2002-2014)
Index: storeBackup/bin/storeBackupDel.pl
===================================================================
--- storeBackup.orig/bin/storeBackupDel.pl
+++ storeBackup/bin/storeBackupDel.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2003-2014)
Index: storeBackup/bin/storeBackupMergeIsolatedBackup.pl
===================================================================
--- storeBackup.orig/bin/storeBackupMergeIsolatedBackup.pl
+++ storeBackup/bin/storeBackupMergeIsolatedBackup.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2012-2014)
Index: storeBackup/bin/storeBackupMount.pl
===================================================================
--- storeBackup.orig/bin/storeBackupMount.pl
+++ storeBackup/bin/storeBackupMount.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2004-2014)
Index: storeBackup/bin/storeBackupRecover.pl
===================================================================
--- storeBackup.orig/bin/storeBackupRecover.pl
+++ storeBackup/bin/storeBackupRecover.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2002-2014)
Index: storeBackup/bin/storeBackupReplicationWizard.pl
===================================================================
--- storeBackup.orig/bin/storeBackupReplicationWizard.pl
+++ storeBackup/bin/storeBackupReplicationWizard.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2012-2014)
Index: storeBackup/bin/storeBackupSearch.pl
===================================================================
--- storeBackup.orig/bin/storeBackupSearch.pl
+++ storeBackup/bin/storeBackupSearch.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2008-2014)
Index: storeBackup/bin/storeBackupSetupIsolatedMode.pl
===================================================================
--- storeBackup.orig/bin/storeBackupSetupIsolatedMode.pl
+++ storeBackup/bin/storeBackupSetupIsolatedMode.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2012-2014)
Index: storeBackup/bin/storeBackupUpdateBackup.pl
===================================================================
--- storeBackup.orig/bin/storeBackupUpdateBackup.pl
+++ storeBackup/bin/storeBackupUpdateBackup.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2008-2014)
Index: storeBackup/bin/storeBackupVersions.pl
===================================================================
--- storeBackup.orig/bin/storeBackupVersions.pl
+++ storeBackup/bin/storeBackupVersions.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2002-2014)
Index: storeBackup/bin/storeBackup_du.pl
===================================================================
--- storeBackup.orig/bin/storeBackup_du.pl
+++ storeBackup/bin/storeBackup_du.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Heinz-Josef Claes (2002-2014)
Index: storeBackup/bin/storeBackupls.pl
===================================================================
--- storeBackup.orig/bin/storeBackupls.pl
+++ storeBackup/bin/storeBackupls.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Dr. Heinz-Josef Claes (2002-2014)
Index: storeBackup/lib/stbuLog.pl
===================================================================
--- storeBackup.orig/lib/stbuLog.pl
+++ storeBackup/lib/stbuLog.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (C) Heinz-Josef Claes (2012-2014)
++++++ fix-tmp-lock-file-race-condition.patch ++++++
Index: storeBackup/lib/fileDir.pl
===================================================================
--- storeBackup.orig/lib/fileDir.pl
+++ storeBackup/lib/fileDir.pl
@@ -21,7 +21,7 @@
use Digest::MD5 qw(md5_hex);
-use Fcntl qw(O_RDWR O_CREAT);
+use Fcntl qw(O_RDWR O_CREAT O_WRONLY O_EXCL);
use Fcntl ':mode';
use POSIX;
use Cwd 'abs_path';
@@ -482,7 +482,7 @@ sub checkLockFile
'-str' => ["creating lock file <$lockFile>"]);
&::checkDelSymLink($lockFile, $prLog, 0x01);
- open(FILE, '>', $lockFile) or
+ sysopen(FILE, $lockFile, O_WRONLY | O_CREAT | O_EXCL) or
$prLog->print('-kind' => 'E',
'-str' => ["cannot create lock file <$lockFile>"],
'-exit' => 1);
++++++ storeBackup-3.5.config.default ++++++
++++ 616 lines (skipped)
++++++ storeBackup-3.5.diff ++++++
Index: storeBackup/cron-storebackup
===================================================================
--- storeBackup.orig/cron-storebackup
+++ storeBackup/cron-storebackup
@@ -10,7 +10,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin
[ -x /usr/bin/storeBackup ] || exit 0
-configs=`run-parts --list /etc/storebackup.d/`
+configs=$(find /etc/storebackup.d/ -type f \( ! -iname "*~" ! -iname "*.swp" !
-iname "*.udf" \))
delayed_error=''
if [ "$configs" ]; then
++++++ storeBackup-README.SUSE ++++++
Before you can start using storeBackup, please carefully read
/usr/share/doc/packages/storeBackup/README.1ST
and create an appropriate configuration file
/etc/storebackup.d/storebackup.config
using
/usr/share/doc/packages/storeBackup/storebackup.config.default
as a template.
Have fun!