OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Aug-2005 15:52:32
Branch: HEAD Handle: 2005080814523200
Modified files:
openpkg-src/stunnel stunnel.spec
Log:
add a with_wrap option to stunnel, unbreaking build on
vm5-ix86-suse9.3 where configure detects system tcpwrappers but
openpkg tcpwrappers are searched for and not found during linking
phase
Summary:
Revision Changes Path
1.63 +9 -1 openpkg-src/stunnel/stunnel.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/stunnel/stunnel.spec
============================================================================
$ cvs diff -u -r1.62 -r1.63 stunnel.spec
--- openpkg-src/stunnel/stunnel.spec 10 Jul 2005 18:14:16 -0000 1.62
+++ openpkg-src/stunnel/stunnel.spec 8 Aug 2005 13:52:32 -0000 1.63
@@ -33,10 +33,11 @@
Group: Network
License: GPL
Version: 4.11
-Release: 20050710
+Release: 20050808
# package options
%option with_fsl yes
+%option with_wrap no
# list of sources
Source0:
http://www.stunnel.org/download/stunnel/src/stunnel-%{version}.tar.gz
@@ -56,6 +57,10 @@
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
%endif
+%if "%{with_wrap}" == "yes"
+BuildPreReq: tcpwrappers
+PreReq: tcpwrappers
+%endif
AutoReq: no
AutoReqProv: no
@@ -87,6 +92,9 @@
--prefix=%{l_prefix} \
--with-ssl=%{l_prefix} \
--with-threads=fork \
+%if "%{with_wrap}" != "yes"
+ --disable-libwrap \
+%endif
--disable-shared
%{l_make} %{l_mflags -O}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]