commit c6f91e8656d6c96464d95e55b71720ac9c0e0f64 Author: Arkadiusz Miśkiewicz <ar...@maven.pl> Date: Wed Feb 21 20:50:17 2018 +0100
- rel 2; add Auto-Submitted: auto-generated header headers.patch | 33 +++++++++++++++++++++++++++++++++ nagios-notify.spec | 4 +++- 2 files changed, 36 insertions(+), 1 deletion(-) --- diff --git a/nagios-notify.spec b/nagios-notify.spec index a0e92ba..9296b35 100644 --- a/nagios-notify.spec +++ b/nagios-notify.spec @@ -2,11 +2,12 @@ Summary: Nagios Notify Script Summary(pl.UTF-8): Skrypt powiadamiający dla Nagiosa Name: nagios-notify Version: 0.14 -Release: 1 +Release: 2 License: GPL v2 Group: Applications Source0: %{name}-%{version}.tar.bz2 # Source0-md5: 47c06d14e2944f222fe08298a62ef607 +Patch0: headers.patch URL: http://glen.alkohol.ee/nagios-notify/ Requires: awk Requires: nagios-common @@ -53,6 +54,7 @@ Powody, dla których dobrze jest używać tego skryptu: %prep %setup -q +%patch0 -p1 %install rm -rf $RPM_BUILD_ROOT diff --git a/headers.patch b/headers.patch new file mode 100644 index 0000000..1c2c0c2 --- /dev/null +++ b/headers.patch @@ -0,0 +1,33 @@ +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 2012-12-14 11:48:27.000000000 +0100 ++++ nagios-notify-0.14/templates/notify-host-by-email.tmpl 2018-02-21 20:49:01.969994349 +0100 +@@ -4,6 +4,7 @@ + In-Reply-To: $DATE$@$HOSTNAME$.nagios + To: "$(encode_mime_header:iso8859-1,$CONTACTALIAS$)" <$CONTACTEMAIL$> + Subject: Host $HOSTSTATE$ alert for $HOSTNAME$! ++Auto-Submitted: auto-generated + + ***** Nagios/$VERSION$ ***** + +diff -urN nagios-notify-0.14.org/templates/notify-service-by-email-conditions.tmpl nagios-notify-0.14/templates/notify-service-by-email-conditions.tmpl +--- nagios-notify-0.14.org/templates/notify-service-by-email-conditions.tmpl 2012-12-14 11:48:27.000000000 +0100 ++++ nagios-notify-0.14/templates/notify-service-by-email-conditions.tmpl 2018-02-21 20:49:12.600313242 +0100 +@@ -4,6 +4,7 @@ + In-Reply-To: $SERVICEDESC$.$DATE$@$HOSTALIAS$.nagios + To: "$(encode_mime_header:utf-8,$CONTACTALIAS$)" <$CONTACTEMAIL$> + Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** ++Auto-Submitted: auto-generated + + ***** Nagios/$VERSION$ ***** + +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 2012-12-14 11:48:27.000000000 +0100 ++++ nagios-notify-0.14/templates/notify-service-by-email.tmpl 2018-02-21 20:49:19.157176605 +0100 +@@ -4,6 +4,7 @@ + In-Reply-To: $SERVICEDESC$.$DATE$@$HOSTALIAS$.nagios + To: "$(encode_mime_header:iso8859-1,$CONTACTALIAS$)" <$CONTACTEMAIL$> + Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** ++Auto-Submitted: auto-generated + + ***** Nagios/$VERSION$ ***** + ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/nagios-notify.git/commitdiff/c6f91e8656d6c96464d95e55b71720ac9c0e0f64 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit