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: 30-Nov-2004 22:10:58
Branch: HEAD Handle: 2004113021105800
Added files:
openpkg-src/php5 php.ini
Modified files:
openpkg-src/php5 php5.spec
Log:
sync with php package by adding a php.ini file
Summary:
Revision Changes Path
1.1 +21 -0 openpkg-src/php5/php.ini
1.22 +4 -3 openpkg-src/php5/php5.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/php5/php.ini
============================================================================
$ cvs diff -u -r0 -r1.1 php.ini
--- /dev/null 2004-11-30 22:10:58 +0100
+++ php.ini 2004-11-30 22:10:58 +0100
@@ -0,0 +1,21 @@
+;;
+;; php.ini -- PHP Configuration
+;;
+
+[PHP]
+
+; Resource Limits
+register_globals = off ; Global variables are no longer registered for
input data
+safe_mode = on ; Enable Safe Mode (file UID comparisons)
+safe_mode_gid = off ; Whether to relax Safe Mode to file GID
comparisons
+display_errors = off ; Errors will NOT be displayed
+log_errors = on ; Errors will be logged
+max_execution_time = 60 ; Maximum execution time of each script, in
seconds
+max_input_time = 60 ; Maximum amount of time each script may spend
parsing request data
+memory_limit = 8M ; Maximum amount of memory a script may consume
+post_max_size = 8M ; Maximum amount of POST data accepted
+
+; Include Paths
+include_path = ".:@l_prefix@/lib/php"
+safe_mode_include_dir = "@l_prefix@/lib/php"
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/php5/php5.spec
============================================================================
$ cvs diff -u -r1.21 -r1.22 php5.spec
--- openpkg-src/php5/php5.spec 18 Nov 2004 13:37:08 -0000 1.21
+++ openpkg-src/php5/php5.spec 30 Nov 2004 21:10:58 -0000 1.22
@@ -34,7 +34,7 @@
Group: Language
License: PHP
Version: 5.0.2
-Release: 20041118
+Release: 20041130
# package options
%option with_calendar no
@@ -94,6 +94,7 @@
# list of sources
Source0:
http://static.php.net/www.php.net/distributions/php-%{version}.tar.gz
+Source1: php.ini
# build information
Prefix: %{l_prefix}
@@ -448,8 +449,8 @@
# install default configuration file
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/etc/php5
- %{l_shtool} install -c -m 644 /dev/null \
- $RPM_BUILD_ROOT%{l_prefix}/etc/php5/php.ini
+ %{l_shtool} install -c -m 644 %{l_value -s -a} \
+ %{SOURCE php.ini} $RPM_BUILD_ROOT%{l_prefix}/etc/php5/
# strip down installation
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/php/build
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]