Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
:
monitoring
>
nrpe
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
nrpe.spec
@@ -22,6 +22,7 @@ Group: Application/System Source0: %{myname}-%{version}.tar.bz2 Source1: %{myname}-rpmlintrc +Source2: openssl-1.0.2t.tar.gz Patch0: %{myname}-suse-init.patch Patch1: %{myname}-config.patch Patch2: %{myname}-%{version}_ADH.patch @@ -65,7 +66,7 @@ This package provides the nrpe plugin for Nagios-related applications. %prep -%setup -q -n %{myname}-%{version} +%setup -q -n %{myname}-%{version} -a 2 %patch0 %patch1 %patch2 @@ -136,9 +137,21 @@ fi %build +%if 0%{?rhel} >= 8 +cd openssl-1.0.2t +./Configure linux-x86_64 shared +make +cd .. +%endif + export PATH=$PATH:/usr/sbin CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure \ +%if 0%{?rhel} >= 8 + --with-ssl=openssl-1.0.2t \ + --with-ssl-inc=openssl-1.0.2t/include \ + --with-ssl-lib=openssl-1.0.2t/ \ +%endif --with-init-dir=/etc/init.d \ --with-nrpe-port=%{nsport} \ --with-nrpe-user=%{nsusr} \
Added
openssl-1.0.2t.tar.gz
^