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: 09-Apr-2007 13:14:59
Branch: HEAD Handle: 2007040912145900
Modified files:
openpkg-src/x11vnc x11vnc.spec
Log:
add optional SSL support
Summary:
Revision Changes Path
1.19 +15 -1 openpkg-src/x11vnc/x11vnc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/x11vnc/x11vnc.spec
============================================================================
$ cvs diff -u -r1.18 -r1.19 x11vnc.spec
--- openpkg-src/x11vnc/x11vnc.spec 1 Feb 2007 17:32:08 -0000 1.18
+++ openpkg-src/x11vnc/x11vnc.spec 9 Apr 2007 11:14:59 -0000 1.19
@@ -33,7 +33,10 @@
Group: XWindow
License: GPL
Version: 0.8.4
-Release: 20070201
+Release: 20070409
+
+# package options
+%option with_ssl no
# list of sources
Source0:
http://switch.dl.sourceforge.net/sourceforge/libvncserver/x11vnc-%{version}.tar.gz
@@ -45,6 +48,10 @@
PreReq: OpenPKG, openpkg >= 20040130
BuildPreReq: X11, zlib, jpeg
PreReq: X11, zlib, jpeg
+%if "%{with_ssl}" == "yes"
+BuildPreReq: openssl
+PreReq: openssl
+%endif
AutoReq: no
AutoReqProv: no
@@ -71,6 +78,13 @@
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
+%if "%{with_ssl}" == "yes"
+ --with-crypto \
+ --with-ssl \
+%else
+ --without-crypto \
+ --without-ssl \
+%endif
--with-x \
--x-includes=`%{l_rc} --query x11_incdir` \
--x-libraries=`%{l_rc} --query x11_libdir`
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]