OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 26-Nov-2006 22:35:26
Branch: HEAD Handle: 2006112621352600
Modified files:
openpkg-src/lynx lynx.spec
Log:
make SSL/TLS support optional and add optional local CGI support
Summary:
Revision Changes Path
1.44 +20 -3 openpkg-src/lynx/lynx.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lynx/lynx.spec
============================================================================
$ cvs diff -u -r1.43 -r1.44 lynx.spec
--- openpkg-src/lynx/lynx.spec 22 Oct 2006 08:47:04 -0000 1.43
+++ openpkg-src/lynx/lynx.spec 26 Nov 2006 21:35:26 -0000 1.44
@@ -38,7 +38,11 @@
Group: Web
License: GPL
Version: %{V_opkg}
-Release: 20061022
+Release: 20061126
+
+# package options
+%option with_ssl yes
+%option with_cgi no
# list of sources
Source0: http://lynx.isc.org/release/lynx%{V_dist}.tar.bz2
@@ -48,8 +52,12 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, make
PreReq: OpenPKG, openpkg >= 20040130
-BuildPreReq: slang >= 2.0, zlib, bzip2, openssl
-PreReq: slang >= 2.0, zlib, bzip2, openssl
+BuildPreReq: slang >= 2.0, zlib, bzip2
+PreReq: slang >= 2.0, zlib, bzip2
+%if "%{with_ssl}" == "yes"
+BuildPreReq: openssl
+PreReq: openssl
+%endif
AutoReq: no
AutoReqProv: no
@@ -79,7 +87,16 @@
--disable-trace \
--disable-nls \
--with-screen=slang \
+%if "%{with_ssl}" == "yes"
--with-ssl=%{l_prefix} \
+%else
+ --without-ssl \
+%endif
+%if "%{with_cgi}" == "yes"
+ --enable-cgi-links \
+%else
+ --disable-cgi-links \
+%endif
--enable-default-colors \
--enable-prettysrc \
--enable-read-eta \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]