summaryrefslogtreecommitdiff
path: root/redhat/nagios-plugin-curl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/nagios-plugin-curl.spec')
-rw-r--r--redhat/nagios-plugin-curl.spec59
1 files changed, 59 insertions, 0 deletions
diff --git a/redhat/nagios-plugin-curl.spec b/redhat/nagios-plugin-curl.spec
new file mode 100644
index 0000000..105c8bf
--- /dev/null
+++ b/redhat/nagios-plugin-curl.spec
@@ -0,0 +1,59 @@
+Summary: curl-based web monitoring plugin for Nagios
+Name: nagios-plugin-curl
+Version: 0.0.4
+Release: 0.1
+License: GPL
+Group: Applications/System
+Source: %{name}-%{version}.tar
+
+#TODO: publish
+#URL:
+
+BuildRoot: %{_tmppath}/%{name}-root
+
+# usually too old versions packaged in the distributions!!
+#BuildRequires: gengetopt
+BuildRequires: curl-devel
+Requires: curl
+
+Distribution: rhel5
+Packager: Andreas Baumann <abaumann@yahoo.com>
+
+
+%description
+Nagios plugin with similar command line options and functionality
+as 'check_http', but based on the cURL web library.
+
+%prep
+%setup
+
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/%{_libdir}/nagios/plugins/
+install -D -m0755 src/check_curl $RPM_BUILD_ROOT/%{_libdir}/nagios/plugins/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%dir /%{_libdir}/nagios/plugins/
+/%{_libdir}/nagios/plugins/check_curl
+
+%changelog
+* Wed Mar 07 2012 Andreas Baumann <abaumann@yahoo.com> 0.0.4-0.1
+- added handling of cookies (for instance for JSESSIONID)
+- added POST parameters
+
+* Mon Sep 28 2009 Andreas Baumann <abaumann@yahoo.com> 0.0.3-0.1
+- added client certificate and self-signed SSL chain handling
+
+* Wed Dec 17 2008 Andreas Baumann <abaumann@yahoo.com> 0.0.2-0.1
+- fixes for 64-bit, upgrade to 0.0.2
+
+* Thu Sep 25 2008 Andreas Baumann <abaumann@yahoo.com> 0.0.1-0.1
+- first preliminary packaged release