OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 01-Aug-2006 12:53:34
Branch: HEAD Handle: 2006080111533400
Modified files:
openpkg-src/php-eaccelerator
php-eaccelerator.spec
Log:
bring up to date with current 'configure' script; adjust configuration
to a more reasonable default one; install administration interface
Summary:
Revision Changes Path
1.16 +15 -4 openpkg-src/php-eaccelerator/php-eaccelerator.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/php-eaccelerator/php-eaccelerator.spec
============================================================================
$ cvs diff -u -r1.15 -r1.16 php-eaccelerator.spec
--- openpkg-src/php-eaccelerator/php-eaccelerator.spec 14 Jun 2006
07:24:00 -0000 1.15
+++ openpkg-src/php-eaccelerator/php-eaccelerator.spec 1 Aug 2006
10:53:34 -0000 1.16
@@ -37,7 +37,7 @@
Group: Language
License: GPL
Version: %{V_opkg}
-Release: 20060614
+Release: 20060801
# package options
%option with_apache yes
@@ -95,9 +95,10 @@
--with-eaccelerator-encoder \
--with-eaccelerator-loader \
--with-eaccelerator-sessions \
+ --with-eaccelerator-shared-memory \
--with-eaccelerator-content-caching \
--with-eaccelerator-disassembler \
- --without-eaccelerator-executor \
+ --with-eaccelerator-info \
--enable-shared \
--disable-static
@@ -109,18 +110,28 @@
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
- $RPM_BUILD_ROOT%{l_prefix}/share/php-eaccelerator \
$RPM_BUILD_ROOT%{l_prefix}/libexec/php-eaccelerator \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/php-eaccelerator \
+ $RPM_BUILD_ROOT%{l_prefix}/share/php-eaccelerator \
$RPM_BUILD_ROOT%{l_prefix}/var/php-eaccelerator
# install module
%{l_shtool} install -c -m 755 \
.libs/eaccelerator.so
$RPM_BUILD_ROOT%{l_prefix}/libexec/php-eaccelerator/
+ # install administration user interface
+ %{l_shtool} install -c -m 644 \
+ control.php dasm.php $RPM_BUILD_ROOT%{l_prefix}/lib/php-eaccelerator/
+
# install PHP configuration
- %{l_shtool} install -c -m 755 \
+ %{l_shtool} install -c -m 644 \
-e
's;^\(zend_extension="\)\(eaccelerator\.so.*\)$;\1%{l_prefix}/libexec/php-''eaccelerator/\2;'
\
-e 's;/tmp/eaccelerator;%{l_prefix}/var/php-''eaccelerator;' \
+ -e 's/^\(eaccelerator\.log_file\)/; \1/' \
+ -e
's;/var/log/httpd/eaccelerator_log;%{l_prefix}/var/php-''eaccelerator/php-''eaccelerator.log;'
\
+ -e 's;^\(eaccelerator.compress_level = "\)9\("\);\14\2;' \
+ -e 's;shm_and_disk;shm_only;' \
+ -e 's;^\(eaccelerator.allowed_admin_path =
"\)\("\);\1%{l_prefix}/lib/php-''eaccelerator/\2;' \
eaccelerator.ini $RPM_BUILD_ROOT%{l_prefix}/share/php-eaccelerator/
# install encoder utility
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]