packages: nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec, n...
glen
glen at pld-linux.org
Mon Apr 4 10:34:14 CEST 2011
Author: glen Date: Mon Apr 4 08:34:14 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- move plugin conf as separate source in cvs
---- Files affected:
packages/nagios-plugin-check_ssl_cert:
nagios-plugin-check_ssl_cert.spec (1.1 -> 1.2) , check_ssl_cert.cfg (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec
diff -u packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec:1.1 packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec:1.2
--- packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec:1.1 Sun Apr 3 11:26:47 2011
+++ packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec Mon Apr 4 10:34:09 2011
@@ -4,11 +4,12 @@
Summary(pl.UTF_8): Wtyczka Nagiosa sprawdzająca CA i ważność certyfikatu X.509
Name: nagios-plugin-%{plugin}
Version: 1.9.1
-Release: 0.1
+Release: 1
License: GPL v3
Group: Networking
Source0: https://trac.id.ethz.ch/projects/nagios_plugins/downloads/%{plugin}-%{version}.tar.gz
# Source0-md5: 26b768e65e244f1057b443d7b4c8d49d
+Source1: check_ssl_cert.cfg
URL: https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_ssl_cert
Requires: expect
Requires: nagios-common
@@ -33,35 +34,12 @@
%prep
%setup -q -n %{plugin}-%{version}
-cat > %{plugin}.cfg <<'EOF'
-# Usage:
-# %{plugin}
-define command {
- command_name %{plugin}
- command_line %{plugindir}/%{plugin} -H $HOSTADDRESS$ $ARG1$
-}
-
-define service {
- use generic-service
- name template
- service_description template
- register 0
-
- normal_check_interval 5
- retry_check_interval 1
-
- notification_interval 10
-
- check_command %{plugin}
-}
-EOF
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir},%{_mandir}/man1}
install -p %{plugin} $RPM_BUILD_ROOT%{plugindir}/%{plugin}
-cp -a %{plugin}.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
-install -p check_ssl_cert.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
+cp -p check_ssl_cert.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -79,6 +57,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/04/04 08:34:09 glen
+- move plugin conf as separate source in cvs
+
Revision 1.1 2011/04/03 09:26:47 adamg
- new
-
================================================================
Index: packages/nagios-plugin-check_ssl_cert/check_ssl_cert.cfg
diff -u /dev/null packages/nagios-plugin-check_ssl_cert/check_ssl_cert.cfg:1.1
--- /dev/null Mon Apr 4 10:34:15 2011
+++ packages/nagios-plugin-check_ssl_cert/check_ssl_cert.cfg Mon Apr 4 10:34:09 2011
@@ -0,0 +1,20 @@
+# Usage:
+# check_ssl_cert
+define command {
+ command_name check_ssl_cert
+ command_line /usr/lib/nagios/plugins/check_ssl_cert -H $HOSTADDRESS$ $ARG1$
+}
+
+define service {
+ use generic-service
+ name template
+ service_description template
+ register 0
+
+ normal_check_interval 5
+ retry_check_interval 1
+
+ notification_interval 10
+
+ check_command check_ssl_cert
+}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_ssl_cert/nagios-plugin-check_ssl_cert.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list