[PATCH] specfile patches for NSCA / NRPE plugins
Andreas Kasenides
ank at cs.ucy.ac.cy
Mon Jan 23 14:59:34 CET 2006
It would also be nice if
--enable-command-args
is added also to the config section to show this feature.
Can be disabled by simply commenting out if desired.
Here is the related diff -ru that also includes the already reported
corrections:
---------------------
[root at arion SPECS]# diff -ru nrpe-2.2.spec ../BUILD/nrpe-2.2/nrpe.spec
--- nrpe-2.2.spec 2006-01-23 15:48:07.000000000 +0200
+++ ../BUILD/nrpe-2.2/nrpe.spec 2006-01-21 03:03:22.000000000 +0200
@@ -1,6 +1,6 @@
%define name nrpe
%define version 2.2
-%define release 1
+%define release 1
%define nsusr nagios
%define nsgrp nagios
%define nsport 5666
@@ -17,8 +17,7 @@
Name: %{name}
Version: %{version}
Release: %{release}
-# Copyright: GPL
-License: GPL
+Copyright: GPL
Group: Application/System
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-buildroot
@@ -110,8 +109,7 @@
--libexecdir=%{_prefix}/lib/nagios/plugins \
--datadir=%{_prefix}/share/nagios \
--sysconfdir=/etc/nagios \
- --localstatedir=/var/log/nagios \
- --enable-command-args
+ --localstatedir=/var/log/nagios
make all
@@ -123,7 +121,7 @@
install -d -m 0755 ${RPM_BUILD_ROOT}/usr/lib/nagios/plugins
# install templated configuration files
-cp sample-config/nrpe.cfg ${RPM_BUILD_ROOT}/etc/nagios/nrpe.cfg
+cp nrpe.cfg ${RPM_BUILD_ROOT}/etc/nagios/nrpe.cfg
cp init-script ${RPM_BUILD_ROOT}/etc/init.d/nrpe
cp src/nrpe ${RPM_BUILD_ROOT}/usr/sbin
cp src/check_nrpe ${RPM_BUILD_ROOT}/usr/lib/nagios/plugins
@@ -149,12 +147,6 @@
%doc Changelog LEGAL README
%changelog
-* Mon Jan 23 2006 Andreas Kasenides ank<@>cs.ucy.ac.cy
-- fixed nrpe.cfg relocation to sample-config
-- replaced Copyright label with License
-- added --enable-command-args to enable remote arg passing
- (if desired can be disabled by commenting out)
-
* Wed Nov 12 2003 Ingimar Robertsson <iar at skyrr.is>
- Added adding of nagios group if it does not exist.
--------------------------
Ethan Galstad wrote:
>Thanks! Will be in CVS shortly...
>
>On 22 Jan 2006 at 19:21, John Berninger wrote:
>
>
>
>>I pulled down the plugins in $subject that were dates Jan 21, 2006, and
>>discovered that they wouldn't build due to incorrect specfiles. The
>>changes required were fairly trivial; I also had to add the LICENSE file
>>to the NSCA plugin tarball, which isn't reflected in the attached
>>patches. Using specfiles with these patches, I was able to build both
>>plugins normally on a Fedora Core 3 system.
>>
>>--
>>John
>>
>>
>>
>
>
>
>Ethan Galstad,
>Nagios Developer
>---
>Email: nagios at nagios.org
>Website: http://www.nagios.org
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Nagios-devel mailing list
>Nagios-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
>
>
--
----------------------------------------------------------------------
Andreas Kasenides
Tel: +357 - 22892714
e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy
<mailto:Andreas.Kasenides%20at%20cs.ucy.ac.cy>
(replace the %at% above with @)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060123/ea064e5e/attachment.html>
More information about the Developers
mailing list