|
|
@@ -42,7 +42,7 @@ Release: 20060123
|
|
|
# package options
|
|
|
%option with_eperl yes
|
|
|
%option with_fsl yes
|
|
|
-%option with_ldap yes
|
|
|
+%option with_ldap yes
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-%{V_nagios}.tar.gz
|
|
|
@@ -55,16 +55,16 @@ Patch0: nagios.patch
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-%if "%{with_ldap}" == "yes"
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, traceroute, gcc, openldap
|
|
|
-%else
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20040130, traceroute, gcc
|
|
|
-%endif
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, traceroute, apache, MTA
|
|
|
BuildPreReq: zlib, jpeg, png, gd
|
|
|
PreReq: zlib, jpeg, png, gd
|
|
|
BuildPreReq: openssl, openssh, coreutils, inetutils, fping
|
|
|
PreReq: openssl, openssh, coreutils, inetutils, fping
|
|
|
+%if "%{with_ldap}" == "yes"
|
|
|
+BuildPreReq: openldap
|
|
|
+PreReq: openldap
|
|
|
+%endif
|
|
|
%if "%{with_fsl}" == "yes"
|
|
|
BuildPreReq: fsl >= 1.3.0
|
|
|
PreReq: fsl >= 1.3.0
|