|
|
@@ -22,6 +22,9 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+%define with_pcre yes
|
|
|
+%define with_skey no
|
|
|
+
|
|
|
# package information
|
|
|
Name: openssh
|
|
|
Summary: Secure Shell (SSH)
|
|
|
@@ -43,7 +46,13 @@ Source3: ssh_config
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 0.9-20011107.0, perl, openssl, zlib, skey, pcre
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 0.9-20011107.0, perl, openssl, zlib
|
|
|
+%if "%{with_pcre}" == "yes"
|
|
|
+BuildPreReq: pcre
|
|
|
+%endif
|
|
|
+%if "%{with_skey}" == "yes"
|
|
|
+BuildPreReq: skey
|
|
|
+%endif
|
|
|
PreReq: OpenPKG, openpkg >= 0.9-20011107.0
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
@@ -78,9 +87,13 @@ AutoReqProv: no
|
|
|
--localstatedir=%{l_prefix}/var/openssh \
|
|
|
--with-pid-dir=%{l_prefix}/var/openssh \
|
|
|
--with-ssl-dir=%{l_prefix} \
|
|
|
+%if "%{with_pcre}" == "yes"
|
|
|
+ --with-pcre=%{l_prefix} \
|
|
|
+%endif
|
|
|
+%if "%{with_skey}" == "yes"
|
|
|
--with-skey=%{l_prefix} \
|
|
|
+%endif
|
|
|
--with-zlib=%{l_prefix} \
|
|
|
- --with-pcre=%{l_prefix} \
|
|
|
--with-ipv4-default \
|
|
|
--with-md5-passwords \
|
|
|
--with-pam \
|