commit f84f47adf25604ce20770e3dc9f25b3f99754cdb Author: Arkadiusz Miśkiewicz <ar...@maven.pl> Date: Wed Feb 21 20:56:14 2018 +0100
- rel 3; mail duration info duration.patch | 20 ++++++++++++++++++++ nagios-notify.spec | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) --- diff --git a/nagios-notify.spec b/nagios-notify.spec index 9296b35..e7f7d1b 100644 --- a/nagios-notify.spec +++ b/nagios-notify.spec @@ -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 diff --git a/duration.patch b/duration.patch new file mode 100644 index 0000000..bc5a452 --- /dev/null +++ b/duration.patch @@ -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: ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/nagios-notify.git/commitdiff/f84f47adf25604ce20770e3dc9f25b3f99754cdb _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit