OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 14-Jul-2004 19:46:41
Branch: HEAD Handle: 2004071418464100
Modified files:
openpkg-src/sasl sasl.spec
Log:
add PostgreSQL and SQLite support
Summary:
Revision Changes Path
1.119 +23 -1 openpkg-src/sasl/sasl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sasl/sasl.spec
============================================================================
$ cvs diff -u -r1.118 -r1.119 sasl.spec
--- openpkg-src/sasl/sasl.spec 14 Jul 2004 17:41:33 -0000 1.118
+++ openpkg-src/sasl/sasl.spec 14 Jul 2004 17:46:41 -0000 1.119
@@ -42,6 +42,8 @@
%option with_login no
%option with_ldap no
%option with_mysql no
+%option with_pgsql no
+%option with_sqlite no
%option with_ntlm no
# list of sources
@@ -74,6 +76,14 @@
BuildPreReq: mysql
PreReq: mysql
%endif
+%if "%{with_pgsql}" == "yes"
+BuildPreReq: postgresql
+PreReq: postgresql
+%endif
+%if "%{with_sqlite}" == "yes"
+BuildPreReq: sqlite
+PreReq: sqlite
+%endif
AutoReq: no
AutoReqProv: no
@@ -165,12 +175,24 @@
%else
--without-ldap \
%endif
-%if "%{with_mysql}" == "yes"
+%if "%{with_mysql}" == "yes" || "%{with_pgsql}" == "yes" || "%{with_pgsql}" == "yes"
--enable-sql \
+%if "%{with_mysql}" == "yes"
--with-mysql=%{l_prefix} \
%else
--without-mysql \
%endif
+%if "%{with_pgsql}" == "yes"
+ --with-pgsql=%{l_prefix} \
+%else
+ --without-pgsql \
+%endif
+%if "%{with_sqlite}" == "yes"
+ --with-sqlite=%{l_prefix} \
+%else
+ --without-sqlite \
+%endif
+%endif
%if "%{with_ntlm}" == "yes"
--enable-ntlm \
%else
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]