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: 15-Jul-2003 12:43:10 Branch: HEAD Handle: 2003071511430802 Modified files: openpkg-src/php php.spec openpkg-web news.txt Log: add PostgreSQL support for PHP Summary: Revision Changes Path 1.56 +15 -1 openpkg-src/php/php.spec 1.5573 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/php/php.spec ============================================================================ $ cvs diff -u -r1.55 -r1.56 php.spec --- openpkg-src/php/php.spec 8 Jul 2003 14:41:52 -0000 1.55 +++ openpkg-src/php/php.spec 15 Jul 2003 10:43:10 -0000 1.56 @@ -33,11 +33,12 @@ Group: Language License: PHP Version: 4.3.2 -Release: 20030708 +Release: 20030715 # package options (analog to apache.spec) %option with_calendar no %option with_mysql no +%option with_pgsql no %option with_gd no %option with_db no %option with_debug no @@ -76,6 +77,10 @@ %undefine with_zlib %define with_zlib yes %endif +%if "%{with_pgsql}" == "yes" +%undefine with_openssl +%define with_openssl yes +%endif # list of sources Source0: http://www.php.net/distributions/php-%{version}.tar.gz @@ -90,6 +95,10 @@ BuildPreReq: mysql PreReq: mysql %endif +%if "%{with_pgsql}" == "yes" +BuildPreReq: postgresql +PreReq: postgresql +%endif %if "%{with_gd}" == "yes" BuildPreReq: gd, jpeg, png PreReq: gd, jpeg, png @@ -219,6 +228,11 @@ --with-mysql=%{l_prefix} \ %else --without-mysql \ +%endif +%if "%{with_pgsql}" == "yes" + --with-pgsql=%{l_prefix} \ +%else + --without-pgsql \ %endif %if "%{with_gd}" == "yes" --with-gd=%{l_prefix} \ @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.5572 -r1.5573 news.txt --- openpkg-web/news.txt 15 Jul 2003 10:15:57 -0000 1.5572 +++ openpkg-web/news.txt 15 Jul 2003 10:43:08 -0000 1.5573 @@ -1,3 +1,4 @@ +15-Jul-2003: Upgraded package: P<php-4.3.2-20030715> 15-Jul-2003: Upgraded package: P<perforce-2003.1-20030715> 15-Jul-2003: Upgraded package: P<rdist-7.0.0a10-20030715> 15-Jul-2003: Upgraded package: P<whoson-2.02a-20030715> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]