|
|
@@ -52,6 +52,7 @@ Release: 20031030
|
|
|
%option with_chroot no
|
|
|
%option with_watchdog no
|
|
|
%option with_ldap no
|
|
|
+%option with_wrap no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
|
|
@@ -98,6 +99,10 @@ PreReq: X11
|
|
|
BuildPreReq: openldap
|
|
|
PreReq: openldap
|
|
|
%endif
|
|
|
+%if "%{with_wrap}" == "yes"
|
|
|
+BuildPreReq: tcpwrappers
|
|
|
+PreReq: tcpwrappers
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -169,6 +174,9 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
%if "%{with_x11}" == "yes"
|
|
|
--with-xauth="`%{l_prefix}/etc/rc --query x11_bindir`/xauth" \
|
|
|
+%endif
|
|
|
+%if "%{with_wrap}" == "yes"
|
|
|
+ --with-tcp-wrappers=%{l_prefix} \
|
|
|
%endif
|
|
|
--with-md5-passwords \
|
|
|
--with-zlib=%{l_prefix} \
|