]> git.pld-linux.org Git - packages/nagios-notify.git/commitdiff
- rel 3; mail duration info auto/th/nagios-notify-0.14-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 Feb 2018 19:56:14 +0000 (20:56 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 21 Feb 2018 19:56:14 +0000 (20:56 +0100)
duration.patch [new file with mode: 0644]
nagios-notify.spec

diff --git a/duration.patch b/duration.patch
new file mode 100644 (file)
index 0000000..bc5a452
--- /dev/null
@@ -0,0 +1,20 @@
+diff -urN nagios-notify-0.14.org/templates/notify-host-by-email.tmpl nagios-notify-0.14/templates/notify-host-by-email.tmpl
+--- nagios-notify-0.14.org/templates/notify-host-by-email.tmpl 2018-02-21 20:49:01.969994349 +0100
++++ nagios-notify-0.14/templates/notify-host-by-email.tmpl     2018-02-21 20:55:06.047582770 +0100
+@@ -14,4 +14,5 @@
+ Address: $HOSTADDRESS$
+ Info: $HOSTOUTPUT$
++Duration: $SERVICEDURATION$
+ Date/Time: $LONGDATETIME$
+diff -urN nagios-notify-0.14.org/templates/notify-service-by-email.tmpl nagios-notify-0.14/templates/notify-service-by-email.tmpl
+--- nagios-notify-0.14.org/templates/notify-service-by-email.tmpl      2018-02-21 20:49:19.157176605 +0100
++++ nagios-notify-0.14/templates/notify-service-by-email.tmpl  2018-02-21 20:55:16.601232698 +0100
+@@ -15,6 +15,7 @@
+ Address: $HOSTADDRESS$
+ State: $SERVICESTATE$
++Duration: $SERVICEDURATION$
+ Date/Time: $LONGDATETIME$
+ Additional Info:
index 9296b355412ca892359161a1dd8172e53ac22e24..e7f7d1b99609db18ec9349c7955aa7245e9de8a4 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Nagios Notify Script
 Summary(pl.UTF-8):     Skrypt powiadamiający dla Nagiosa
 Name:          nagios-notify
 Version:       0.14
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Applications
 Source0:       %{name}-%{version}.tar.bz2
 # Source0-md5: 47c06d14e2944f222fe08298a62ef607
 Patch0:                headers.patch
+Patch1:                duration.patch
 URL:           http://glen.alkohol.ee/nagios-notify/
 Requires:      awk
 Requires:      nagios-common
@@ -55,6 +56,7 @@ Powody, dla których dobrze jest używać tego skryptu:
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.111333 seconds and 4 git commands to generate.