nrpe rpmspec requirements

oogali at currenex.com oogali at currenex.com
Mon Jan 12 01:28:57 CET 2009


Hi,

I'm building NRPE as an RPM on RHEL 5.2, and there's a requirement for
OpenSSL (and its development files), that isn't registered in the spec
file. Below is a patch that remedies that...

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

--snip--
--- nrpe-2.12/nrpe.spec.old	2008-03-10 21:04:41.000000000 +0000
+++ nrpe-2.12/nrpe.spec	2009-01-12 00:20:12.000000000 +0000
@@ -24,7 +24,8 @@
 Prefix: %{_prefix}
 Prefix: /etc/init.d
 Prefix: /etc/nagios
-Requires: bash, grep, nagios-plugins
+BuildRequires: openssl-devel
+Requires: bash, grep, nagios-plugins, openssl
 PreReq: /usr/bin/logger, chkconfig, sh-utils, shadow-utils, sed,
initscripts, fileutils, mktemp
 
 %description
@@ -148,6 +149,9 @@
 %doc Changelog LEGAL README
 
 %changelog
+* Sun Jan 11 2009 Omachonu Ogali <oogali at currenex.com>
+- Added OpenSSL references to pre- and post-build requirements
+
 * Mon Jan 23 2006 Andreas Kasenides ank<@>cs.ucy.ac.cy
 - fixed nrpe.cfg relocation to sample-config
 - replaced Copyright label with License
--snip--

oo

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB




More information about the Developers mailing list