head 1.52; access; symbols OPENPKG_E1_MP_HEAD:1.52 OPENPKG_E1_MP:1.52 OPENPKG_2_5_RELEASE:1.37.2.1 OPENPKG_2_5_SOLID:1.37.0.2 OPENPKG_2_5_SOLID_BP:1.37 OPENPKG_2_4_RELEASE:1.30.2.1 OPENPKG_2_4_SOLID:1.30.0.2 OPENPKG_2_4_SOLID_BP:1.30 OPENPKG_CW_FP:1.26 OPENPKG_2_3_RELEASE:1.26.2.1 OPENPKG_2_3_SOLID:1.26.0.2 OPENPKG_2_3_SOLID_BP:1.26; locks; strict; comment @-- @; 1.52 date 2006.05.28.09.47.27; author rse; state dead; branches; next 1.51; commitid fWFTkaJb9grVRLyr; 1.51 date 2006.05.14.07.40.19; author rse; state Exp; branches; next 1.50; commitid nXvScmOdxLrdCXwr; 1.50 date 2006.05.11.18.46.44; author rse; state Exp; branches; next 1.49; commitid pXaHwiVi9UXOoDwr; 1.49 date 2006.05.04.10.16.15; author cs; state Exp; branches; next 1.48; commitid 4poZIGrKEhMCNGvr; 1.48 date 2006.05.03.07.52.41; author cs; state Exp; branches; next 1.47; commitid 7ZK6KR3NR2Ln2yvr; 1.47 date 2006.05.02.06.33.43; author rse; state Exp; branches; next 1.46; commitid 2BlUcFbGAKHhDpvr; 1.46 date 2006.03.13.21.10.39; author rse; state Exp; branches; next 1.45; commitid tkhBVAUsWPIL54pr; 1.45 date 2006.02.22.19.36.28; author rse; state Exp; branches; next 1.44; commitid Cr6ObbzbdFykbCmr; 1.44 date 2006.01.13.07.13.46; author rse; state Exp; branches; next 1.43; commitid 8YbNFMusAHDfmphr; 1.43 date 2006.01.12.20.40.38; author rse; state Exp; branches; next 1.42; commitid ovA5EKTgTo13Rlhr; 1.42 date 2006.01.01.13.20.38; author rse; state Exp; branches; next 1.41; commitid otZG8yKMCw1JFTfr; 1.41 date 2005.11.29.15.42.16; author rse; state Exp; branches; next 1.40; commitid XI24CmNomoYnCFbr; 1.40 date 2005.11.26.08.54.08; author rse; state Exp; branches; next 1.39; commitid 0Ua7s8kLfy8lsfbr; 1.39 date 2005.11.26.08.24.19; author rse; state Exp; branches; next 1.38; commitid Xp84qvfAOF47ifbr; 1.38 date 2005.11.03.07.30.27; author rse; state Exp; branches; next 1.37; commitid CgoWRerQUMvtJh8r; 1.37 date 2005.10.04.20.10.00; author rse; state Exp; branches 1.37.2.1; next 1.36; 1.36 date 2005.10.04.20.03.51; author rse; state Exp; branches; next 1.35; 1.35 date 2005.09.06.19.45.07; author rse; state Exp; branches; next 1.34; 1.34 date 2005.09.02.11.42.47; author rse; state Exp; branches; next 1.33; 1.33 date 2005.09.02.07.24.22; author rse; state Exp; branches; next 1.32; 1.32 date 2005.09.01.09.45.28; author rse; state Exp; branches; next 1.31; 1.31 date 2005.08.27.17.45.16; author rse; state Exp; branches; next 1.30; 1.30 date 2005.06.15.14.01.30; author thl; state Exp; branches 1.30.2.1; next 1.29; 1.29 date 2005.06.11.08.00.50; author rse; state Exp; branches; next 1.28; 1.28 date 2005.04.01.06.17.51; author rse; state Exp; branches; next 1.27; 1.27 date 2005.03.24.11.20.02; author rse; state Exp; branches; next 1.26; 1.26 date 2005.02.18.17.01.17; author rse; state Exp; branches 1.26.2.1; next 1.25; 1.25 date 2005.02.17.17.04.19; author rse; state Exp; branches; next 1.24; 1.24 date 2005.01.01.10.53.52; author rse; state Exp; branches; next 1.23; 1.23 date 2004.12.16.11.46.20; author hms; state Exp; branches; next 1.22; 1.22 date 2004.11.30.21.10.58; author rse; state Exp; branches; next 1.21; 1.21 date 2004.11.18.13.37.08; author rse; state Exp; branches; next 1.20; 1.20 date 2004.10.22.10.56.15; author rse; state Exp; branches; next 1.19; 1.19 date 2004.09.24.18.51.45; author rse; state Exp; branches; next 1.18; 1.18 date 2004.09.20.16.17.36; author rse; state Exp; branches; next 1.17; 1.17 date 2004.08.13.06.16.42; author rse; state Exp; branches; next 1.16; 1.16 date 2004.07.25.09.45.00; author rse; state Exp; branches; next 1.15; 1.15 date 2004.07.14.07.54.22; author rse; state Exp; branches; next 1.14; 1.14 date 2004.06.08.18.37.01; author rse; state Exp; branches; next 1.13; 1.13 date 2004.04.25.18.39.11; author rse; state Exp; branches; next 1.12; 1.12 date 2004.04.21.18.25.56; author rse; state Exp; branches; next 1.11; 1.11 date 2004.04.03.07.49.08; author rse; state Exp; branches; next 1.10; 1.10 date 2004.03.20.12.48.15; author rse; state Exp; branches; next 1.9; 1.9 date 2004.02.12.19.19.24; author rse; state Exp; branches; next 1.8; 1.8 date 2004.02.07.17.57.56; author rse; state Exp; branches; next 1.7; 1.7 date 2004.02.03.20.05.24; author rse; state Exp; branches; next 1.6; 1.6 date 2004.01.24.16.27.32; author rse; state Exp; branches; next 1.5; 1.5 date 2004.01.24.13.28.36; author rse; state Exp; branches; next 1.4; 1.4 date 2004.01.23.13.12.52; author rse; state Exp; branches; next 1.3; 1.3 date 2004.01.20.23.59.38; author thl; state Exp; branches; next 1.2; 1.2 date 2003.12.22.07.09.37; author rse; state Exp; branches; next 1.1; 1.1 date 2003.11.27.16.53.04; author rse; state Exp; branches; next ; 1.37.2.1 date 2005.10.11.12.51.28; author rse; state Exp; branches; next ; 1.30.2.1 date 2005.06.15.19.03.36; author rse; state Exp; branches; next ; 1.26.2.1 date 2005.02.21.17.08.11; author rse; state Exp; branches; next 1.26.2.2; 1.26.2.2 date 2005.06.23.13.58.32; author thl; state Exp; branches; next ; desc @@ 1.52 log @remove obsolete package @ text @## ## php5.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package versions %define V_php 5.1.4 %define V_php_hardened 5.1.4-0.4.11 # package information Name: php5 Summary: Personal HomePage (PHP) URL: http://www.php.net/ Vendor: The PHP Project Packager: OpenPKG Distribution: OpenPKG Class: PLUS Group: Language License: PHP Version: %{V_php} Release: 20060514 # package options %option with_calendar no %option with_sqlite no %option with_mysql no %option with_pgsql no %option with_gd no %option with_bdb no %option with_zlib no %option with_bzip2 no %option with_ssl no %option with_openldap no %option with_openldapsasl no %option with_mm no %option with_pcre no %option with_ftp no %option with_oci8 no %option with_fastcgi no %option with_freetype no %option with_gettext no %option with_hardened no %option with_imap no %option with_xml no %option with_xslt no %option with_dom no %option with_bc no %option with_curl no %option with_mhash no %option with_mcrypt no %option with_wddx no %option with_gdbm no %option with_versioning no %option with_snmp no %option with_odbc no %option with_mbregex no %option with_mbstring no %option with_exif no %option with_iconv no %option with_sendmail no %option with_pear no # fixing implicit extension dependencies and correlations %if "%{with_pear}" == "yes" %undefine with_xml %define with_xml yes %undefine with_pcre %define with_pcre yes %endif %if "%{with_freetype}" == "yes" %undefine with_gd %define with_gd yes %endif %if "%{with_mysql}" == "yes" || "%{with_gd}" == "yes" || "%{with_dom}" == "yes" %undefine with_zlib %define with_zlib yes %endif %if "%{with_pgsql}" == "yes" %undefine with_ssl %define with_ssl yes %endif # list of sources Source0: http://static.php.net/www.php.net/distributions/php-%{V_php}.tar.gz Source1: php.ini Patch0: http://www.hardened-php.net/hardening-patch-%{V_php_hardened}.patch.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20050615, gcc, flex, bison PreReq: OpenPKG, openpkg >= 20050615, MTA %if "%{with_sqlite}" == "yes" BuildPreReq: sqlite PreReq: sqlite %endif %if "%{with_mysql}" == "yes" BuildPreReq: mysql PreReq: mysql %endif %if "%{with_pgsql}" == "yes" BuildPreReq: postgresql PreReq: postgresql %endif %if "%{with_gd}" == "yes" BuildPreReq: gd >= 2.0.20, jpeg, png PreReq: gd >= 2.0.20, jpeg, png %endif %if "%{with_bdb}" == "yes" BuildPreReq: db PreReq: db %endif %if "%{with_zlib}" == "yes" BuildPreReq: zlib PreReq: zlib %endif %if "%{with_bzip2}" == "yes" BuildPreReq: bzip2 PreReq: bzip2 %endif %if "%{with_ssl}" == "yes" BuildPreReq: openssl PreReq: openssl %endif %if "%{with_openldap}" == "yes" BuildPreReq: openldap PreReq: openldap %if "%{with_openldapsasl}" == "yes" BuildPreReq: openldap::with_sasl = yes PreReq: openldap::with_sasl = yes %else BuildPreReq: openldap::with_sasl = no PreReq: openldap::with_sasl = no %endif %endif %if "%{with_mm}" == "yes" BuildPreReq: mm PreReq: mm %endif %if "%{with_pcre}" == "yes" BuildPreReq: pcre PreReq: pcre %endif %if "%{with_freetype}" == "yes" BuildPreReq: freetype PreReq: freetype %endif %if "%{with_gettext}" == "yes" BuildPreReq: gettext, libiconv PreReq: gettext, libiconv %endif %if "%{with_iconv}" == "yes" BuildPreReq: libiconv PreReq: libiconv %endif %if "%{with_imap}" == "yes" BuildPreReq: imap, openssl PreReq: imap, openssl %endif %if "%{with_xml}" == "yes" BuildPreReq: libxml PreReq: libxml %endif %if "%{with_xslt}" == "yes" BuildPreReq: libxslt PreReq: libxslt %endif %if "%{with_dom}" == "yes" BuildPreReq: libxml, libxslt PreReq: libxml, libxslt %endif %if "%{with_curl}" == "yes" BuildPreReq: curl PreReq: curl %endif %if "%{with_mhash}" == "yes" BuildPreReq: mhash PreReq: mhash %endif %if "%{with_mcrypt}" == "yes" BuildPreReq: libmcrypt PreReq: libmcrypt %endif %if "%{with_gdbm}" == "yes" BuildPreReq: gdbm, gdbm::with_ndbm = yes PreReq: gdbm, gdbm::with_ndbm = yes %endif %if "%{with_oci8}" == "yes" BuildPreReq: oracle PreReq: oracle %endif %if "%{with_snmp}" == "yes" BuildPreReq: snmp PreReq: snmp %endif %if "%{with_odbc}" == "yes" BuildPreReq: unixodbc PreReq: unixodbc %endif %if "%{with_sendmail}" == "yes" BuildPreReq: MTA PreReq: MTA %endif AutoReq: no AutoReqProv: no %description PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. This is the Command Line Interface (CLI) and Common Gateway Interface (CGI) version of PHP, intended for use in the "shebang" line ("#!%{l_prefix}/bin/php") of stand-alone PHP based programs and for use in the "shebang" line ("#!%{l_prefix}/cgi/php") of stand-alone webserver-independent CGI scripts. %track prog php5 = { version = %{V_php} url = http://www.php.net/downloads.php regex = php-(5.\d+\.\d+)\.tar\.gz } prog php5:hardened = { version = %{V_php_hardened} url = http://www.hardened-php.net/downloads.13.html regex = hardening-patch-(5\.\d+\.\d+-\d+(\.\d+)+)\.patch\.gz } %prep %setup -q -n php-%{version} %if "%{with_hardened}" == "yes" %patch -p1 %endif %{l_shtool} subst \ -e 's;\(/include\)/freetype2;\1;' \ configure \ ext/gd/config.m4 %build # configure package cflags="%{l_cflags -O}" cppflags="%{l_cppflags}" ldflags="%{l_ldflags}" libs="" %if "%{with_gdbm}" == "yes" libs="$libs -lndbm -lgdbm" %endif %if "%{with_gd}" == "yes" libs="$libs -lpng -lz" %endif %if "%{with_gettext}" == "yes" libs="$libs -liconv" %endif %if "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes" libs="$libs -lsasl2" %endif %if "%{with_imap}" == "yes" libs="$libs -lssl -lcrypto" %endif %if "%{with_bdb}" == "yes" libs="$libs -ldb" %endif %if "%{with_oci8}" == "yes" ORACLE_HOME="`%{l_rc} --query oracle_home`" export ORACLE_HOME %endif CC="%{l_cc}" \ CFLAGS="$cflags" \ CPPFLAGS="$cppflags" \ LDFLAGS="$ldflags" \ LIBS="$libs" \ %if "%{with_sendmail}" == "yes" PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \ %else PROG_SENDMAIL="`%{l_shtool} path false`" \ %endif ./configure \ --prefix=%{l_prefix} \ --sysconfdir=%{l_prefix}/etc/php5 \ --with-config-file-path=%{l_prefix}/etc/php5 \ --libdir=%{l_prefix}/lib/php5 \ --disable-all \ --enable-pdo \ %if "%{with_calendar}" == "yes" --enable-calendar \ %endif %if "%{with_sqlite}" == "yes" --with-sqlite=%{l_prefix} \ --with-pdo-sqlite=%{l_prefix} \ %else --without-sqlite \ %endif %if "%{with_mysql}" == "yes" --with-mysql=%{l_prefix} \ --with-pdo-mysql=%{l_prefix} \ %else --without-mysql \ %endif %if "%{with_pgsql}" == "yes" --with-pgsql=%{l_prefix} \ --with-pdo-pgsql=%{l_prefix} \ %else --without-pgsql \ %endif %if "%{with_gd}" == "yes" --with-gd=%{l_prefix} \ --with-jpeg-dir=%{l_prefix} \ --with-png-dir=%{l_prefix} \ %endif %if "%{with_fastcgi}" == "yes" --enable-fastcgi \ %else --disable-fastcgi \ %endif %if "%{with_freetype}" == "yes" --enable-gd-native-ttf \ --with-freetype-dir=%{l_prefix} \ %endif %if "%{with_bdb}" == "yes" --with-db4=%{l_prefix} \ %endif %if "%{with_zlib}" == "yes" --with-zlib=%{l_prefix} \ --with-zlib-dir=%{l_prefix} \ %endif %if "%{with_bzip2}" == "yes" --with-bz2=%{l_prefix} \ %endif %if "%{with_ssl}" == "yes" || "%{with_openldap}" == "yes" --with-openssl=%{l_prefix} \ %endif %if "%{with_openldap}" == "yes" --with-ldap=%{l_prefix} \ %endif %if "%{with_mm}" == "yes" --with-mm=%{l_prefix} \ --enable-session \ %endif %if "%{with_pcre}" == "yes" --with-pcre-regex=%{l_prefix} \ %endif %if "%{with_ftp}" == "yes" --enable-ftp \ %endif %if "%{with_oci8}" == "yes" --with-oci8 \ %endif %if "%{with_gettext}" == "yes" --with-gettext=%{l_prefix} \ %endif %if "%{with_imap}" == "yes" --with-imap=%{l_prefix} \ --with-imap-ssl=%{l_prefix} \ %endif %if "%{with_xml}" == "yes" --enable-xml \ --enable-libxml \ --with-libxml-dir=%{l_prefix} \ %else --disable-xml \ %endif %if "%{with_xslt}" == "yes" --with-xsl=%{l_prefix} \ %else --without-xsl \ %endif %if "%{with_dom}" == "yes" --enable-dom \ --with-libxml-dir=%{l_prefix} \ %else --disable-dom \ %endif %if "%{with_wddx}" == "yes" --enable-wddx \ %endif %if "%{with_bc}" == "yes" --enable-bcmath \ %endif %if "%{with_mhash}" == "yes" --with-mhash=%{l_prefix} \ %endif %if "%{with_mcrypt}" == "yes" --with-mcrypt=%{l_prefix} \ %endif %if "%{with_curl}" == "yes" --with-curl=%{l_prefix} \ %endif %if "%{with_gdbm}" == "yes" --with-gdbm=%{l_prefix} \ %endif %if "%{with_versioning}" == "yes" --enable-versioning \ %endif %if "%{with_pear}" == "yes" --with-pear=%{l_prefix}/lib/php \ %else --without-pear \ %endif %if "%{with_snmp}" == "yes" --with-snmp=%{l_prefix} \ --with-openssl-dir=%{l_prefix} \ %endif %if "%{with_odbc}" == "yes" --with-unixODBC=%{l_prefix} \ --with-pdo-odbc=unixODBC,%{l_prefix} \ %endif %if "%{with_mbregex}" == "yes" --enable-mbregex \ %endif %if "%{with_mbstring}" == "yes" --enable-mbstring \ %endif %if "%{with_exif}" == "yes" --with-exif \ %endif %if "%{with_iconv}" == "yes" --with-iconv=%{l_prefix} \ %endif --enable-cli \ --enable-cgi \ --enable-force-cgi-redirect \ --enable-discard-path \ --enable-memory-limit # build package %{l_make} %{l_mflags} %install # install package rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT # install CLI version # ("make install" incorrectly installs the CGI version into bin/php!) %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 %{l_shtool} install -c -s -m 755 \ sapi/cli/php $RPM_BUILD_ROOT%{l_prefix}/bin/php5 %{l_shtool} install -c -m 644 \ sapi/cli/php.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/php5.1 # (re)install CGI version %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/cgi %{l_shtool} install -c -s -m 755 \ sapi/cgi/php $RPM_BUILD_ROOT%{l_prefix}/cgi/php5 # adjust paths mv $RPM_BUILD_ROOT%{l_prefix}/include/php \ $RPM_BUILD_ROOT%{l_prefix}/include/php5 %{l_shtool} subst \ -e 's;/include/php;/include/php5;g' \ $RPM_BUILD_ROOT%{l_prefix}/bin/phpize \ $RPM_BUILD_ROOT%{l_prefix}/bin/php-config for bin in php-config phpize; do mv $RPM_BUILD_ROOT%{l_prefix}/bin/$bin \ $RPM_BUILD_ROOT%{l_prefix}/bin/`echo $bin | sed -e 's;^php;php5;'` mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/$bin.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/`echo $bin.1 | sed -e 's;^php;php5;'` done # install default configuration file %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/etc/php5 %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE php.ini} $RPM_BUILD_ROOT%{l_prefix}/etc/php5/ # strip down installation rmdir $RPM_BUILD_ROOT%{l_prefix}/lib/php >/dev/null 2>&1 || true strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true # determine installation files %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ '%config %{l_prefix}/etc/php5/*' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.51 log @modifying package: php5-5.1.4 20060511 -> 20060514 @ text @@ 1.50 log @upgrade PHP hardening patch @ text @d27 1 a27 1 %define V_php_hardened 5.1.4-0.4.10 d40 1 a40 1 Release: 20060511 @ 1.49 log @upgrading package: php5 5.1.3 -> 5.1.4 @ text @d27 1 a27 1 %define V_php_hardened 5.1.4-0.4.9 d40 1 a40 1 Release: 20060504 @ 1.48 log @modifying package: php5-5.1.3 20060502 -> 20060503 @ text @d26 2 a27 2 %define V_php 5.1.3 %define V_php_hardened 5.1.3-0.4.9 d40 1 a40 1 Release: 20060503 @ 1.47 log @upgrading package: php5 5.1.2 -> 5.1.3 @ text @d27 1 a27 1 %define V_php_hardened 5.1.2-0.4.8 d40 1 a40 1 Release: 20060502 @ 1.46 log @fix post-processing and avoid conflicts with manual pages, too @ text @d26 1 a26 1 %define V_php 5.1.2 d40 1 a40 1 Release: 20060313 @ 1.45 log @add FastCGI support @ text @d40 1 a40 1 Release: 20060222 d477 1 a477 1 for bin in php php-config phpize; do d480 2 @ 1.44 log @modifying package: php5-5.1.2 20060112 -> 20060113 @ text @d40 1 a40 1 Release: 20060113 d58 1 d331 5 @ 1.43 log @upgrading package: php5 5.1.1 -> 5.1.2 @ text @d27 1 a27 1 %define V_php_hardened 5.1.1-0.4.8 d40 1 a40 1 Release: 20060112 @ 1.42 log @adjust copyrights for new year 2006 @ text @d26 1 a26 1 %define V_php 5.1.1 d40 1 a40 1 Release: 20051129 @ 1.41 log @upgrading package: php5 5.1.0 -> 5.1.1 @ text @d3 2 a4 2 ## Copyright (c) 2000-2005 OpenPKG Foundation e.V. ## Copyright (c) 2000-2005 Ralf S. Engelschall @ 1.40 log @add PDO support; add SQLite support @ text @d26 2 a27 2 %define V_php 5.1.0 %define V_php_hardened 5.1.0-0.4.6 d40 1 a40 1 Release: 20051126 @ 1.39 log @upgrading package: php5 5.0.5 -> 5.1.0 @ text @d44 1 d111 4 d303 1 d307 6 d315 1 d321 1 d420 1 @ 1.38 log @add PHP hardening patch also to PHP 5 @ text @d26 2 a27 2 %define V_php 5.0.5 %define V_php_hardened 5.0.5-0.4.5 d40 1 a40 1 Release: 20051103 a55 1 %option with_oci7 no d103 1 a103 2 Patch0: php5.patch Patch1: http://www.hardened-php.net/hardening-patch-%{V_php_hardened}.patch.gz d201 1 a201 1 %if "%{with_oci7}" == "yes" || "%{with_oci8}" == "yes" a245 2 # php5.patch is currently already part of the hardening patch, so # once it is taken over into the PHP distribution remove the %else clause. d247 1 a247 3 %patch -p1 -P 1 %else %patch -p0 -P 0 d278 1 a278 1 %if "%{with_oci7}" == "yes" || "%{with_oci8}" == "yes" a345 3 %if "%{with_oci7}" == "yes" --with-oracle \ %endif @ 1.37 log @remove obsolete security fix as PHP 5.0.5 already contains the (fixed) GNU shtool 2.0.2 @ text @d25 4 d39 2 a40 2 Version: 5.0.5 Release: 20051004 d60 1 d102 1 a102 1 Source0: http://static.php.net/www.php.net/distributions/php-%{version}.tar.gz d105 1 d236 1 a236 1 version = %{version} d240 5 d248 7 a254 1 %patch -p0 @ 1.37.2.1 log @bump release numbers for OpenPKG 2.5 @ text @d36 1 a36 1 Release: 2.5.0 d104 2 a105 2 BuildPreReq: OpenPKG, openpkg >= 2.5.0, gcc, flex, bison PreReq: OpenPKG, openpkg >= 2.5.0, MTA @ 1.36 log @Security Fix (CAN-2005-3054) @ text @a241 1 cp %{l_shtool} ./build/shtool @ 1.35 log @upgrading package: php5 5.0.4 -> 5.0.5 @ text @d36 1 a36 1 Release: 20050906 d99 1 d237 1 @ 1.34 log @PHP5's --enable-xml is not neough, it also requires also an --enable-libxml @ text @d35 2 a36 2 Version: 5.0.4 Release: 20050902 d447 1 a447 1 for bin in php php-config phpextdist phpize; do @ 1.33 log @PEAR in PHP5 requires PCRE @ text @d349 1 @ 1.32 log @the build directory is important for developing new extensions and corresponds to the php5ize command. So as long as we keep this command, we also have to keep its files. If we want to get rid of the stuff, we have to remove both later. @ text @d36 1 a36 1 Release: 20050901 d80 2 @ 1.31 log @forget RC versions for now @ text @d36 1 a36 1 Release: 20050827 a455 1 rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/php/build @ 1.30 log @SA-2005.011-shtool; CAN-2005-1751, CAN-2005-1759 @ text @d36 1 a36 1 Release: 20050615 d229 1 a229 1 regex = php-(5.\d+\.\d+(RC\d+)?)\.tar\.gz @ 1.30.2.1 log @bump release numbers for OpenPKG 2.4 @ text @d36 1 a36 1 Release: 2.4.0 d101 2 a102 2 BuildPreReq: OpenPKG, openpkg >= 2.4.0, gcc, flex, bison PreReq: OpenPKG, openpkg >= 2.4.0, MTA @ 1.29 log @do not track beta versions for now @ text @d36 1 a36 1 Release: 20050611 d101 2 a102 2 BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, flex, bison PreReq: OpenPKG, openpkg >= 20040130, MTA d238 1 @ 1.28 log @upgrading package: php5 5.0.3 -> 5.0.4 @ text @d36 1 a36 1 Release: 20050401 d229 1 a229 1 regex = php-(5.\d+\.\d+((?:b|RC)\d+)?)\.tar\.gz @ 1.27 log @Adjust the copyright declaration in this (RSE's) copy of the OpenPKG source code now that the fork point for C&W was established (CVS tag OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is no longer active (as C&W no longer officially sponsors OpenPKG) and the new shared copyright from RSE can be taken over by the newly established juristic entity OpenPKG Foundation e.V. (instead of the non-juristic entity OpenPKG Project). @ text @d35 2 a36 2 Version: 5.0.3 Release: 20050218 a96 1 Patch0: php5.patch a233 1 %patch -p0 @ 1.26 log @bless for PLUS class @ text @d2 3 a4 4 ## php5.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2005 The OpenPKG Project ## Copyright (c) 2000-2005 Ralf S. Engelschall ## Copyright (c) 2000-2005 Cable & Wireless d30 1 a30 1 Packager: The OpenPKG Project @ 1.26.2.1 log @bump release numbers for OpenPKG 2.3 @ text @d37 1 a37 1 Release: 2.3.0 d103 2 a104 2 BuildPreReq: OpenPKG, openpkg >= 2.3.0, gcc, flex, bison PreReq: OpenPKG, openpkg >= 2.3.0, MTA @ 1.26.2.2 log @MFC: SA-2005.011-shtool; CAN-2005-1751, CAN-2005-1759 @ text @d37 1 a37 1 Release: 2.3.1 d103 2 a104 2 BuildPreReq: OpenPKG, openpkg >= 2.3.3, gcc, flex, bison PreReq: OpenPKG, openpkg >= 2.3.3, MTA a240 1 cp %{l_shtool} ./build/shtool @ 1.25 log @port to Itantium and Solaris @ text @d33 1 a33 1 Class: EVAL d37 1 a37 1 Release: 20050217 @ 1.24 log @Happy New Year 2005 @ text @d37 1 a37 1 Release: 20041216 d98 1 d236 1 @ 1.23 log @update from 5.0.2 to 5.0.3 @ text @d3 3 a5 3 ## Copyright (c) 2000-2004 The OpenPKG Project ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 Cable & Wireless @ 1.22 log @sync with php package by adding a php.ini file @ text @d36 2 a37 2 Version: 5.0.2 Release: 20041130 @ 1.21 log @switch to lower-case 'oracle' because this is actually an always required glue package and not providing ORACLE itself @ text @d37 1 a37 1 Release: 20041118 d97 1 d452 2 a453 2 %{l_shtool} install -c -m 644 /dev/null \ $RPM_BUILD_ROOT%{l_prefix}/etc/php5/php.ini @ 1.20 log @cleanup packaging by renaming options to reflect reality/implementation and by removing options still no longer provided by PHP. Triggered by feedback from Christian Reiber. @ text @d37 1 a37 1 Release: 20041022 d195 2 a196 1 BuildPreReq: ORACLE @ 1.19 log @upgrading package: php5 5.0.1 -> 5.0.2 @ text @d37 1 a37 1 Release: 20040924 a44 1 %option with_debug no a52 1 %option with_java no a61 1 %option with_transsid no a149 4 %if "%{with_java}" == "yes" BuildPreReq: j2se PreReq: j2se %endif a300 1 --enable-gd-imgstrttf \ a306 5 %if "%{with_debug}" == "yes" --with-debug=yes \ %else --with-debug=no \ %endif d325 1 a325 1 --with-pcre=%{l_prefix} \ a329 3 %if "%{with_java}" == "yes" --with-java=%{l_prefix}/libexec/j2se \ %endif d355 1 a355 1 --enable-dom=%{l_prefix} \ a365 3 %if "%{with_transsid}" == "yes" --enable-trans-sid \ %endif d382 1 a382 1 --with-pear \ d388 1 a408 1 --enable-track-vars \ @ 1.18 log @Cleanup: %{l_prefix}/etc/rc -> %{l_rc} @ text @d36 2 a37 2 Version: 5.0.1 Release: 20040920 @ 1.17 log @upgrading package: php5 5.0.0 -> 5.0.1 @ text @d37 1 a37 1 Release: 20040813 d270 1 a270 1 ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`" @ 1.16 log @there is no PDFLib extension shipped with PHP5 (it was moved to PECL) @ text @d36 2 a37 2 Version: 5.0.0 Release: 20040725 @ 1.15 log @upgrading package: php5 5.0.0RC3 -> 5.0.0 @ text @d37 1 a37 1 Release: 20040714 a45 1 %option with_pdflib no d89 1 a89 1 %if "%{with_mysql}" == "yes" || "%{with_pdflib}" == "yes" || "%{with_gd}" == "yes" || "%{with_dom}" == "yes" a121 4 %if "%{with_pdflib}" == "yes" BuildPreReq: pdflib, jpeg, png PreReq: pdflib, jpeg, png %endif a326 5 %if "%{with_pdflib}" == "yes" --with-pdflib=%{l_prefix} \ --with-jpeg-dir=%{l_prefix} \ --with-png-dir=%{l_prefix} \ %endif @ 1.14 log @upgrading package: php5 5.0.0RC2 -> 5.0.0RC3 @ text @d36 2 a37 2 Version: 5.0.0RC3 Release: 20040608 @ 1.13 log @upgrading package: php5 5.0.0RC1 -> 5.0.0RC2 @ text @d36 2 a37 2 Version: 5.0.0RC2 Release: 20040425 @ 1.12 log @synchronize php5 with php package @ text @d36 2 a37 2 Version: 5.0.0RC1 Release: 20040421 d100 1 a100 1 Source0: http://www.php.net/distributions/php-%{version}.tar.gz @ 1.11 log @fix tracking @ text @d37 1 a37 1 Release: 20040403 d68 1 a71 1 %option with_pear no d73 4 d78 2 d198 4 d213 8 d245 4 d283 1 d285 3 d398 3 d418 12 a475 5 # strip down installation rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/php/build rmdir $RPM_BUILD_ROOT%{l_prefix}/lib/php >/dev/null 2>&1 || true strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true d481 5 @ 1.10 log @upgrading package: php5 5.0.0b4 -> 5.0.0RC1 @ text @d37 1 a37 1 Release: 20040320 d222 1 a222 1 regex = php-(5.\d+\.\d+(b\d+)?)\.tar\.gz @ 1.9 log @upgrading package: php5 5.0.0b3 -> 5.0.0b4 @ text @d36 2 a37 2 Version: 5.0.0b4 Release: 20040212 @ 1.8 log @Mass Commit: reduce redundancy within .spec files by referencing macros defining vendor source versions whenever possible. This was half-way automated and half-way manually edited. As a result the PMOD activity in 95% of all cases just means editing the version in one single place, only. @ text @d36 2 a37 2 Version: 5.0.0b3 Release: 20040207 @ 1.7 log @Mass-Commit: - split "Distribution" header into "Distribution" (old) and "Class" (new) headers by moving the attached class information. - embed the vendor version tracking configuration through the new "%track" section. - bump up the OpenPKG bootstrap dependency, because the "Class" header and "%track" section are only supported by our latest bootstrap version. @ text @d37 1 a37 1 Release: 20040203 d220 1 a220 1 version = 5.0.0b3 @ 1.6 log @use same dependency as in php package @ text @d32 2 a33 1 Distribution: OpenPKG [EVAL] d37 1 a37 1 Release: 20040124 d99 2 a100 2 BuildPreReq: OpenPKG, openpkg >= 20030708, gcc, flex, bison PreReq: OpenPKG, openpkg >= 20030708, MTA d217 7 @ 1.5 log @add iconv support @ text @d109 2 a110 2 BuildPreReq: gd, jpeg, png PreReq: gd, jpeg, png @ 1.4 log @bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally @ text @d36 1 a36 1 Release: 20040121 d72 1 d163 4 d380 3 @ 1.3 log @cleanup consistency of options by renaming some of them @ text @d3 3 a5 3 ## Copyright (c) 2000-2003 The OpenPKG Project ## Copyright (c) 2000-2003 Ralf S. Engelschall ## Copyright (c) 2000-2003 Cable & Wireless @ 1.2 log @upgrading package: php5 5.0.0b2 -> 5.0.0b3 @ text @d36 1 a36 1 Release: 20031222 d43 1 a43 1 %option with_db no d48 1 a48 1 %option with_openssl no d87 2 a88 2 %undefine with_openssl %define with_openssl yes d111 1 a111 1 %if "%{with_db}" == "yes" d127 1 a127 1 %if "%{with_openssl}" == "yes" d236 1 a236 1 %if "%{with_db}" == "yes" d278 1 a278 1 %if "%{with_db}" == "yes" d298 1 a298 1 %if "%{with_openssl}" == "yes" || "%{with_openldap}" == "yes" @ 1.1 log @new package: php5 5.0.0b2 (Personal HomePage (PHP)) @ text @d35 2 a36 2 Version: 5.0.0b2 Release: 20031127 @