]> git.pld-linux.org Git - packages/rsnapshot.git/commitdiff
- rel 2; log pid in messages auto/th/rsnapshot-1.4.2-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Dec 2018 10:43:49 +0000 (11:43 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Dec 2018 10:43:49 +0000 (11:43 +0100)
pid.patch [new file with mode: 0644]
rsnapshot.spec

diff --git a/pid.patch b/pid.patch
new file mode 100644 (file)
index 0000000..2fb6ca5
--- /dev/null
+++ b/pid.patch
@@ -0,0 +1,11 @@
+--- rsnapshot-1.4.2/rsnapshot-program.pl~      2015-12-12 00:55:44.000000000 +0100
++++ rsnapshot-1.4.2/rsnapshot-program.pl       2018-12-04 11:41:44.825674546 +0100
+@@ -2257,7 +2257,7 @@ sub log_msg {
+                               exit(1);
+                       }
+-                      print LOG '[', get_current_date(), '] ', $str, "\n";
++                      print LOG '[', get_current_date(), '][', $$, '] ', $str, "\n";
+                       $result = close(LOG);
+                       if (!defined($result)) {
index 3ca1c095d46403a40eb842be70184cb2f4b5ae24..6f10519cab98729aaff4b47b44dd2c8aa9534289 100644 (file)
@@ -3,12 +3,13 @@ Summary:      Program for efficient remote updates of backup sets
 Summary(pl.UTF-8):     Program do wydajnego zdalnego uaktualniania zbiorów kopii zapasowych
 Name:          rsnapshot
 Version:       1.4.2
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://www.rsnapshot.org/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: 860382f19e38fc649f9447397b54e442
 Patch0:                bug-207.patch
+Patch1:                pid.patch
 URL:           http://www.rsnapshot.org/
 BuildRequires: rpm-perlprov
 Requires:      rsync
@@ -24,6 +25,7 @@ w oparciu o rsynca.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \
This page took 0.124796 seconds and 4 git commands to generate.