Re: [Nagios-devel] [PATCH] specfile patches for NSCA / NRPE plugins

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] specfile patches for NSCA / NRPE plugins

Post by Guest »

This is a multi-part message in MIME format.
--------------040302040706090604090104
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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@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 ankcs.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
- 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: [email protected]
>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 ... dat=121642
>_______________________________________________
>Nagios-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/lis ... gios-devel
>
>
>
>


--
----------------------------------------------------------------------
Andreas Kasenides
Tel: +357 - 22892714
e-mail: Andreas.Kasenides%at%cs.ucy.ac.cy

(replace the %at% above with @)

--------------040302040706090604090104
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit








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
co

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked