Tue, 28 Aug 2012 18:37:15 +0200
Import package vendor original specs for necessary manipulations.
php/php.ini | file | annotate | diff | comparison | revisions | |
php/php.patch | file | annotate | diff | comparison | revisions | |
php/php.spec | file | annotate | diff | comparison | revisions |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/php/php.ini Tue Aug 28 18:37:15 2012 +0200 1.3 @@ -0,0 +1,22 @@ 1.4 +;; 1.5 +;; php.ini -- PHP Configuration 1.6 +;; 1.7 + 1.8 +[PHP] 1.9 + 1.10 +; Resource Limits 1.11 +register_globals = off ; Global variables are no longer registered for input data 1.12 +allow_url_fopen = off ; Disable the opening of remote URLs 1.13 +display_errors = off ; Errors will NOT be displayed 1.14 +log_errors = on ; Errors will be logged 1.15 +max_execution_time = 60 ; Maximum execution time of each script, in seconds 1.16 +max_input_time = 60 ; Maximum amount of time each script may spend parsing request data 1.17 +memory_limit = 128M ; Maximum amount of memory a script may consume 1.18 +post_max_size = 16M ; Maximum amount of POST data accepted 1.19 +realpath_cache_size = 256K ; Maximum size of realpath(2) cache 1.20 +realpath_cache_ttl = 120 ; Duration of time (in seconds) to cache realpath(2) information 1.21 +date.timezone = "UTC" ; The timezone for date calculations 1.22 + 1.23 +; Include Paths 1.24 +include_path = ".:@l_prefix@/lib/php" 1.25 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/php/php.patch Tue Aug 28 18:37:15 2012 +0200 2.3 @@ -0,0 +1,11 @@ 2.4 +Index: ext/gd/libgd/gd_compat.c 2.5 +--- ext/gd/libgd/gd_compat.c.orig 2009-08-09 15:15:45 +0200 2.6 ++++ ext/gd/libgd/gd_compat.c 2010-01-19 21:20:30 +0100 2.7 +@@ -5,6 +5,7 @@ 2.8 + #endif 2.9 + 2.10 + #ifdef HAVE_GD_JPG 2.11 ++# include <stdio.h> 2.12 + # include <jpeglib.h> 2.13 + #endif 2.14 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/php/php.spec Tue Aug 28 18:37:15 2012 +0200 3.3 @@ -0,0 +1,537 @@ 3.4 +## 3.5 +## php.spec -- OpenPKG RPM Package Specification 3.6 +## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/> 3.7 +## 3.8 +## Permission to use, copy, modify, and distribute this software for 3.9 +## any purpose with or without fee is hereby granted, provided that 3.10 +## the above copyright notice and this permission notice appear in all 3.11 +## copies. 3.12 +## 3.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 3.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 3.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 3.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 3.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 3.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 3.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 3.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 3.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3.24 +## SUCH DAMAGE. 3.25 +## 3.26 + 3.27 +# package information 3.28 +Name: php 3.29 +Summary: Personal HomePage (PHP) 3.30 +URL: http://www.php.net/ 3.31 +Vendor: The PHP Project 3.32 +Packager: OpenPKG Foundation e.V. 3.33 +Distribution: OpenPKG Community 3.34 +Class: BASE 3.35 +Group: Language 3.36 +License: PHP 3.37 +Version: 5.4.5 3.38 +Release: 20120723 3.39 + 3.40 +# package options 3.41 +%option with_bc no 3.42 +%option with_bdb no 3.43 +%option with_bzip2 no 3.44 +%option with_calendar no 3.45 +%option with_ctype no 3.46 +%option with_curl no 3.47 +%option with_debug no 3.48 +%option with_dom no 3.49 +%option with_exif no 3.50 +%option with_freetype no 3.51 +%option with_ftp no 3.52 +%option with_gd no 3.53 +%option with_gdbm no 3.54 +%option with_gettext no 3.55 +%option with_iconv no 3.56 +%option with_imap no 3.57 +%option with_json no 3.58 +%option with_tokenizer no 3.59 +%option with_mbregex no 3.60 +%option with_mbstring no 3.61 +%option with_mcrypt no 3.62 +%option with_mhash no 3.63 +%option with_mm no 3.64 +%option with_mysql no 3.65 +%option with_mysqlnd no 3.66 +%option with_oci8 no 3.67 +%option with_odbc no 3.68 +%option with_openldap no 3.69 +%option with_openldapsasl no 3.70 +%option with_pear no 3.71 +%option with_pgsql no 3.72 +%option with_posix no 3.73 +%option with_sendmail no 3.74 +%option with_session no 3.75 +%option with_simplexml no 3.76 +%option with_snmp no 3.77 +%option with_soap no 3.78 +%option with_sqlite no 3.79 +%option with_ssl no 3.80 +%option with_tidy no 3.81 +%option with_versioning no 3.82 +%option with_wddx no 3.83 +%option with_xml no 3.84 +%option with_xslt no 3.85 +%option with_zlib no 3.86 +%option with_zip no 3.87 + 3.88 +# fixing implicit extension dependencies and correlations 3.89 +%if "%{with_mm}" == "yes" 3.90 +%undefine with_session 3.91 +%define with_session yes 3.92 +%endif 3.93 +%if "%{with_pear}" == "yes" 3.94 +%undefine with_xml 3.95 +%define with_xml yes 3.96 +%endif 3.97 +%if "%{with_freetype}" == "yes" 3.98 +%undefine with_gd 3.99 +%define with_gd yes 3.100 +%endif 3.101 +%if "%{with_mysql}" == "yes" || "%{with_gd}" == "yes" || "%{with_dom}" == "yes" || "%{with_zip}" == "yes" 3.102 +%undefine with_zlib 3.103 +%define with_zlib yes 3.104 +%endif 3.105 +%if "%{with_xslt}" == "yes" 3.106 +%undefine with_dom 3.107 +%define with_dom yes 3.108 +%endif 3.109 +%if "%{with_dom}" == "yes" 3.110 +%undefine with_xml 3.111 +%define with_xml yes 3.112 +%endif 3.113 +%if "%{with_soap}" == "yes" 3.114 +%undefine with_xml 3.115 +%define with_xml yes 3.116 +%endif 3.117 +%if "%{with_pgsql}" == "yes" 3.118 +%undefine with_ssl 3.119 +%define with_ssl yes 3.120 +%endif 3.121 + 3.122 +# list of sources 3.123 +Source0: http://static.php.net/www.php.net/distributions/php-%{version}.tar.bz2 3.124 +Source1: php.ini 3.125 +Patch0: php.patch 3.126 + 3.127 +# build information 3.128 +BuildPreReq: OpenPKG, openpkg >= 20120101, gcc, flex, bison 3.129 +PreReq: OpenPKG, openpkg >= 20120101 3.130 +BuildPreReq: pcre 3.131 +PreReq: pcre 3.132 +%if "%{with_sqlite}" == "yes" 3.133 +BuildPreReq: sqlite 3.134 +PreReq: sqlite 3.135 +%endif 3.136 +%if "%{with_mysql}" == "yes" 3.137 +BuildPreReq: mysql 3.138 +PreReq: mysql 3.139 +%endif 3.140 +%if "%{with_pgsql}" == "yes" 3.141 +BuildPreReq: postgresql 3.142 +PreReq: postgresql 3.143 +%endif 3.144 +%if "%{with_gd}" == "yes" 3.145 +BuildPreReq: gd >= 2.0.20, jpeg, png 3.146 +PreReq: gd >= 2.0.20, jpeg, png 3.147 +%endif 3.148 +%if "%{with_bdb}" == "yes" 3.149 +BuildPreReq: db 3.150 +PreReq: db 3.151 +%endif 3.152 +%if "%{with_zlib}" == "yes" 3.153 +BuildPreReq: zlib 3.154 +PreReq: zlib 3.155 +%endif 3.156 +%if "%{with_bzip2}" == "yes" 3.157 +BuildPreReq: bzip2 3.158 +PreReq: bzip2 3.159 +%endif 3.160 +%if "%{with_ssl}" == "yes" 3.161 +BuildPreReq: openssl 3.162 +PreReq: openssl 3.163 +%endif 3.164 +%if "%{with_openldap}" == "yes" 3.165 +BuildPreReq: openldap 3.166 +PreReq: openldap 3.167 +%if "%{with_openldapsasl}" == "yes" 3.168 +BuildPreReq: openldap::with_sasl = yes 3.169 +PreReq: openldap::with_sasl = yes 3.170 +%else 3.171 +BuildPreReq: openldap::with_sasl = no 3.172 +PreReq: openldap::with_sasl = no 3.173 +%endif 3.174 +%endif 3.175 +%if "%{with_mm}" == "yes" 3.176 +BuildPreReq: mm 3.177 +PreReq: mm 3.178 +%endif 3.179 +%if "%{with_freetype}" == "yes" 3.180 +BuildPreReq: freetype 3.181 +PreReq: freetype 3.182 +%endif 3.183 +%if "%{with_gettext}" == "yes" 3.184 +BuildPreReq: gettext, libiconv 3.185 +PreReq: gettext, libiconv 3.186 +%endif 3.187 +%if "%{with_iconv}" == "yes" 3.188 +BuildPreReq: libiconv 3.189 +PreReq: libiconv 3.190 +%endif 3.191 +%if "%{with_imap}" == "yes" 3.192 +BuildPreReq: imap, openssl 3.193 +PreReq: imap, openssl 3.194 +%endif 3.195 +%if "%{with_xml}" == "yes" 3.196 +BuildPreReq: libxml 3.197 +PreReq: libxml 3.198 +%endif 3.199 +%if "%{with_xslt}" == "yes" 3.200 +BuildPreReq: libxslt 3.201 +PreReq: libxslt 3.202 +%endif 3.203 +%if "%{with_dom}" == "yes" 3.204 +BuildPreReq: libxml, libxslt 3.205 +PreReq: libxml, libxslt 3.206 +%endif 3.207 +%if "%{with_curl}" == "yes" 3.208 +BuildPreReq: curl 3.209 +PreReq: curl 3.210 +%endif 3.211 +%if "%{with_mhash}" == "yes" 3.212 +BuildPreReq: mhash 3.213 +PreReq: mhash 3.214 +%endif 3.215 +%if "%{with_mcrypt}" == "yes" 3.216 +BuildPreReq: libmcrypt 3.217 +PreReq: libmcrypt 3.218 +%endif 3.219 +%if "%{with_gdbm}" == "yes" 3.220 +BuildPreReq: gdbm, gdbm::with_ndbm = yes 3.221 +PreReq: gdbm, gdbm::with_ndbm = yes 3.222 +%endif 3.223 +%if "%{with_oci8}" == "yes" 3.224 +BuildPreReq: oracle 3.225 +PreReq: oracle 3.226 +%endif 3.227 +%if "%{with_snmp}" == "yes" 3.228 +BuildPreReq: snmp 3.229 +PreReq: snmp 3.230 +%endif 3.231 +%if "%{with_odbc}" == "yes" 3.232 +BuildPreReq: unixodbc 3.233 +PreReq: unixodbc 3.234 +%endif 3.235 +%if "%{with_sendmail}" == "yes" 3.236 +BuildPreReq: MTA 3.237 +PreReq: MTA 3.238 +%endif 3.239 +%if "%{with_simplexml}" == "yes" 3.240 +BuildPreReq: libxml 3.241 +PreReq: libxml 3.242 +%endif 3.243 +%if "%{with_tidy}" == "yes" 3.244 +BuildPreReq: tidy 3.245 +PreReq: tidy 3.246 +%endif 3.247 + 3.248 +%description 3.249 + PHP is an HTML-embedded scripting language. Much of its syntax is 3.250 + borrowed from C, Java and Perl with a couple of unique PHP-specific 3.251 + features thrown in. The goal of the language is to allow web 3.252 + developers to write dynamically generated pages quickly. 3.253 + 3.254 + This is the Command Line Interface (CLI) and Common Gateway 3.255 + Interface (CGI) version of PHP, intended for use in the "shebang" 3.256 + line ("#!%{l_prefix}/bin/php") of stand-alone PHP based programs 3.257 + and for use in the "shebang" line ("#!%{l_prefix}/cgi/php") of 3.258 + stand-alone webserver-independent CGI scripts. 3.259 + 3.260 +%track 3.261 + prog php = { 3.262 + version = %{version} 3.263 + url = http://www.php.net/downloads.php 3.264 + regex = php-(5\.\d+\.\d+)\.tar\.(bz2|gz) 3.265 + } 3.266 + 3.267 +%prep 3.268 + %setup -q 3.269 + %{l_shtool} subst \ 3.270 + -e 's;\(/include\)/freetype2;\1;' \ 3.271 + configure \ 3.272 + ext/gd/config.m4 3.273 + %patch -p0 3.274 + 3.275 +%build 3.276 + # configure package 3.277 + case "%{l_platform -t}" in 3.278 + *-sunos5.10 ) cflags="%{l_cflags}" ;; 3.279 + * ) cflags="%{l_cflags -O}" ;; 3.280 + esac 3.281 + cppflags="%{l_cppflags}" 3.282 + ldflags="%{l_ldflags}" 3.283 + libs="" 3.284 +%if "%{with_gdbm}" == "yes" 3.285 + libs="$libs -lndbm -lgdbm" 3.286 +%endif 3.287 +%if "%{with_gd}" == "yes" 3.288 + libs="$libs -lpng -lz" 3.289 +%endif 3.290 +%if "%{with_gettext}" == "yes" 3.291 + libs="$libs -liconv" 3.292 +%endif 3.293 +%if "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes" 3.294 + libs="$libs -lsasl2" 3.295 +%endif 3.296 +%if "%{with_imap}" == "yes" 3.297 + libs="$libs -lssl -lcrypto" 3.298 +%endif 3.299 +%if "%{with_bdb}" == "yes" 3.300 + libs="$libs -ldb" 3.301 +%endif 3.302 +%if "%{with_pgsql}" == "yes" 3.303 + libs="$libs `pg_config --libs`" 3.304 +%endif 3.305 +%if "%{with_oci8}" == "yes" 3.306 + ORACLE_HOME="`%{l_rc} --query oracle_home`" 3.307 + export ORACLE_HOME 3.308 +%endif 3.309 + CC="%{l_cc}" \ 3.310 + CFLAGS="$cflags" \ 3.311 + CPPFLAGS="$cppflags" \ 3.312 + LDFLAGS="$ldflags" \ 3.313 + LIBS="$libs" \ 3.314 +%if "%{with_sendmail}" == "yes" 3.315 + PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \ 3.316 +%else 3.317 + PROG_SENDMAIL="`%{l_shtool} path false`" \ 3.318 +%endif 3.319 + ./configure \ 3.320 + --prefix=%{l_prefix} \ 3.321 + --sysconfdir=%{l_prefix}/etc/php \ 3.322 + --with-config-file-path=%{l_prefix}/etc/php \ 3.323 + --libdir=%{l_prefix}/lib/php \ 3.324 + --mandir=%{l_prefix}/man \ 3.325 + --disable-all \ 3.326 + --enable-pdo \ 3.327 + --enable-filter \ 3.328 + --with-pcre-regex=%{l_prefix} \ 3.329 +%if "%{with_calendar}" == "yes" 3.330 + --enable-calendar \ 3.331 +%endif 3.332 +%if "%{with_sqlite}" == "yes" 3.333 + --with-sqlite3=%{l_prefix} \ 3.334 + --with-pdo-sqlite=%{l_prefix} \ 3.335 +%else 3.336 + --without-sqlite3 \ 3.337 + --without-pdo-sqlite \ 3.338 +%endif 3.339 +%if "%{with_mysql}" == "yes" || "%{with_mysqlnd}" == "yes" 3.340 +%if "%{with_mysqlnd}" == "yes" 3.341 + --with-mysql=mysqlnd \ 3.342 + --with-pdo-mysql=mysqlnd \ 3.343 +%else 3.344 + --with-mysql=%{l_prefix} \ 3.345 + --with-pdo-mysql=%{l_prefix} \ 3.346 +%endif 3.347 + --with-mysqli=mysqlnd \ 3.348 + --with-mysql-sock=%{l_prefix}/var/mysql/mysql.sock \ 3.349 +%else 3.350 + --without-mysql \ 3.351 + --without-pdo-mysql \ 3.352 +%endif 3.353 +%if "%{with_pgsql}" == "yes" 3.354 + --with-pgsql=%{l_prefix} \ 3.355 + --with-pdo-pgsql=%{l_prefix} \ 3.356 +%else 3.357 + --without-pgsql \ 3.358 +%endif 3.359 +%if "%{with_posix}" == "yes" 3.360 + --enable-posix \ 3.361 +%endif 3.362 +%if "%{with_gd}" == "yes" 3.363 + --with-gd=yes \ 3.364 + --with-jpeg-dir=%{l_prefix} \ 3.365 + --with-png-dir=%{l_prefix} \ 3.366 +%endif 3.367 +%if "%{with_freetype}" == "yes" 3.368 + --enable-gd-native-ttf \ 3.369 + --with-freetype-dir=%{l_prefix} \ 3.370 +%endif 3.371 +%if "%{with_bdb}" == "yes" 3.372 + --with-db4=%{l_prefix} \ 3.373 +%endif 3.374 +%if "%{with_debug}" == "yes" 3.375 + --enable-debug \ 3.376 +%else 3.377 + --disable-debug \ 3.378 +%endif 3.379 +%if "%{with_zlib}" == "yes" 3.380 + --with-zlib=%{l_prefix} \ 3.381 + --with-zlib-dir=%{l_prefix} \ 3.382 +%endif 3.383 +%if "%{with_bzip2}" == "yes" 3.384 + --with-bz2=%{l_prefix} \ 3.385 +%endif 3.386 +%if "%{with_ssl}" == "yes" || "%{with_openldap}" == "yes" 3.387 + --with-openssl=%{l_prefix} \ 3.388 +%endif 3.389 +%if "%{with_openldap}" == "yes" 3.390 + --with-ldap=%{l_prefix} \ 3.391 +%endif 3.392 +%if "%{with_session}" == "yes" 3.393 + --enable-session \ 3.394 +%endif 3.395 +%if "%{with_mm}" == "yes" 3.396 + --with-mm=%{l_prefix} \ 3.397 +%endif 3.398 +%if "%{with_ftp}" == "yes" 3.399 + --enable-ftp \ 3.400 +%endif 3.401 +%if "%{with_oci8}" == "yes" 3.402 + --with-oci8 \ 3.403 +%endif 3.404 +%if "%{with_gettext}" == "yes" 3.405 + --with-gettext=%{l_prefix} \ 3.406 +%endif 3.407 +%if "%{with_imap}" == "yes" 3.408 + --with-imap=%{l_prefix} \ 3.409 + --with-imap-ssl=%{l_prefix} \ 3.410 +%endif 3.411 +%if "%{with_json}" == "yes" 3.412 + --enable-json \ 3.413 +%else 3.414 + --disable-json \ 3.415 +%endif 3.416 +%if "%{with_tokenizer}" == "yes" 3.417 + --enable-tokenizer \ 3.418 +%else 3.419 + --disable-tokenizer \ 3.420 +%endif 3.421 +%if "%{with_xml}" == "yes" 3.422 + --enable-xml \ 3.423 + --enable-xmlreader \ 3.424 + --enable-libxml \ 3.425 + --with-libxml-dir=%{l_prefix} \ 3.426 +%else 3.427 + --disable-xml \ 3.428 +%endif 3.429 +%if "%{with_xslt}" == "yes" 3.430 + --with-xsl=%{l_prefix} \ 3.431 +%else 3.432 + --without-xsl \ 3.433 +%endif 3.434 +%if "%{with_dom}" == "yes" 3.435 + --enable-dom \ 3.436 +%else 3.437 + --disable-dom \ 3.438 +%endif 3.439 +%if "%{with_wddx}" == "yes" 3.440 + --enable-wddx \ 3.441 +%endif 3.442 +%if "%{with_soap}" == "yes" 3.443 + --enable-soap \ 3.444 +%endif 3.445 +%if "%{with_bc}" == "yes" 3.446 + --enable-bcmath \ 3.447 +%endif 3.448 +%if "%{with_mhash}" == "yes" 3.449 + --with-mhash=%{l_prefix} \ 3.450 +%endif 3.451 +%if "%{with_mcrypt}" == "yes" 3.452 + --with-mcrypt=%{l_prefix} \ 3.453 +%endif 3.454 +%if "%{with_ctype}" == "yes" 3.455 + --enable-ctype \ 3.456 +%endif 3.457 +%if "%{with_curl}" == "yes" 3.458 + --with-curl=%{l_prefix} \ 3.459 +%endif 3.460 +%if "%{with_gdbm}" == "yes" 3.461 + --with-gdbm=%{l_prefix} \ 3.462 +%endif 3.463 +%if "%{with_versioning}" == "yes" 3.464 + --enable-versioning \ 3.465 +%endif 3.466 +%if "%{with_pear}" == "yes" 3.467 + --with-pear=%{l_prefix}/lib/php \ 3.468 +%else 3.469 + --without-pear \ 3.470 +%endif 3.471 +%if "%{with_simplexml}" == "yes" 3.472 + --enable-simplexml \ 3.473 + --enable-libxml \ 3.474 + --with-libxml-dir=%{l_prefix} \ 3.475 +%else 3.476 + --disable-simplexml \ 3.477 +%endif 3.478 +%if "%{with_snmp}" == "yes" 3.479 + --with-snmp=%{l_prefix} \ 3.480 + --with-openssl-dir=%{l_prefix} \ 3.481 +%endif 3.482 +%if "%{with_odbc}" == "yes" 3.483 + --with-unixODBC=%{l_prefix} \ 3.484 + --with-pdo-odbc=unixODBC,%{l_prefix} \ 3.485 +%endif 3.486 +%if "%{with_mbregex}" == "yes" 3.487 + --enable-mbregex \ 3.488 +%endif 3.489 +%if "%{with_mbstring}" == "yes" 3.490 + --enable-mbstring \ 3.491 +%endif 3.492 +%if "%{with_exif}" == "yes" 3.493 + --with-exif \ 3.494 +%endif 3.495 +%if "%{with_iconv}" == "yes" 3.496 + --with-iconv=%{l_prefix} \ 3.497 +%endif 3.498 +%if "%{with_tidy}" == "yes" 3.499 + --with-tidy=%{l_prefix} \ 3.500 +%else 3.501 + --without-tidy \ 3.502 +%endif 3.503 +%if "%{with_zip}" == "yes" 3.504 + --enable-zip \ 3.505 +%endif 3.506 + --enable-cli \ 3.507 + --enable-cgi 3.508 + 3.509 + # build package 3.510 + %{l_make} %{l_mflags} 3.511 + 3.512 +%install 3.513 + # install package 3.514 + %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT 3.515 + 3.516 + # move CGI executale 3.517 + %{l_shtool} mkdir -f -p -m 755 \ 3.518 + $RPM_BUILD_ROOT%{l_prefix}/cgi 3.519 + mv $RPM_BUILD_ROOT%{l_prefix}/bin/php-cgi \ 3.520 + $RPM_BUILD_ROOT%{l_prefix}/cgi/php 3.521 + 3.522 + # install default configuration file 3.523 + %{l_shtool} mkdir -f -p -m 755 \ 3.524 + $RPM_BUILD_ROOT%{l_prefix}/etc/php 3.525 + %{l_shtool} install -c -m 644 %{l_value -s -a} \ 3.526 + %{SOURCE php.ini} \ 3.527 + $RPM_BUILD_ROOT%{l_prefix}/etc/php/ 3.528 + 3.529 + # strip down installation 3.530 + rmdir $RPM_BUILD_ROOT%{l_prefix}/lib/php >/dev/null 2>&1 || true 3.531 + strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 3.532 + 3.533 + # determine installation files 3.534 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ 3.535 + '%config %{l_prefix}/etc/php/*' 3.536 + 3.537 +%files -f files 3.538 + 3.539 +%clean 3.540 +