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 openpkg-web Date: 11-Feb-2003 17:25:46 Branch: HEAD Handle: 2003021116252613 Modified files: openpkg-src/apache apache.spec openpkg-web news.txt Log: add optional GDBM based NDBM support Summary: Revision Changes Path 1.121 +15 -0 openpkg-src/apache/apache.spec 1.3268 +2 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/apache/apache.spec ============================================================================ $ cvs diff -u -r1.120 -r1.121 apache.spec --- openpkg-src/apache/apache.spec 11 Feb 2003 14:25:02 -0000 1.120 +++ openpkg-src/apache/apache.spec 11 Feb 2003 16:25:39 -0000 1.121 @@ -124,6 +124,9 @@ %option with_mod_php3_openssl no %option with_mod_php3_zlib no +# package options (braindead ones only) +%option with_gdbm_ndbm no + # fixing implicit inter-module dependencies and correlations %if "%{with_mod_php}" == "yes" %if "%{with_mod_php3}" == "yes" @@ -154,6 +157,10 @@ %define with_mod_php3_zlib yes %endif %endif +%if "%{with_php_gdbm}" == "yes" +%undefine with_gdbm_ndbm +%define with_gdbm_ndbm yes +%endif # list of sources Source0: http://www.apache.org/dist/httpd/apache_%{V_apache}.tar.gz @@ -279,6 +286,9 @@ BuildPreReq: PAM PreReq: PAM %endif +%if "%{with_gdbm_ndbm}" == "yes" +BuildPreReq: gdbm, gdbm::with_ndbm = yes +%endif AutoReq: no AutoReqProv: no @@ -701,6 +711,11 @@ cflags="$cflags -I%{l_prefix}/include" ldflags="$ldflags -L%{l_prefix}/lib" libs="$libs -lldap -llber -lssl -lcrypto" +%endif +%if "%{with_gdbm_ndbm}" == "yes" + cflags="$cflags -I%{l_prefix}/include" + ldflags="$ldflags -L%{l_prefix}/lib" + libs="$libs -lndbm -lgdbm" %endif CC="%{l_cc}" \ CFLAGS="$cflags" \ @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.3267 -r1.3268 news.txt --- openpkg-web/news.txt 11 Feb 2003 15:44:17 -0000 1.3267 +++ openpkg-web/news.txt 11 Feb 2003 16:25:26 -0000 1.3268 @@ -1,3 +1,5 @@ +11-Feb-2003: Upgraded package: P<apache-1.3.27-20030211> +11-Feb-2003: Upgraded package: P<gdbm-1.8.3-20030211> 11-Feb-2003: Upgraded package: P<lmtp2nntp-1.2b2-20030211> 11-Feb-2003: Upgraded package: P<mysql-3.23.55-20030211> 11-Feb-2003: New package: P<jikes-1.18-20030211> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]