SPECS: php4-eaccelerator.spec - package: webinterface - config fi...

hunter hunter at pld-linux.org
Sun Sep 11 19:45:09 CEST 2005


Author: hunter                       Date: Sun Sep 11 17:45:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package: webinterface 
- config file in php4/conf.d  

---- Files affected:
SPECS:
   php4-eaccelerator.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/php4-eaccelerator.spec
diff -u SPECS/php4-eaccelerator.spec:1.10 SPECS/php4-eaccelerator.spec:1.11
--- SPECS/php4-eaccelerator.spec:1.10	Wed Sep  7 16:09:23 2005
+++ SPECS/php4-eaccelerator.spec	Sun Sep 11 19:45:04 2005
@@ -14,7 +14,7 @@
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/eaccelerator/%{_pkgname}-%{version}.tar.gz
 # Source0-md5:	b17ddf953f18ee6df5c2c24ffccb37d9
-Source1:	%{name}.ini
+Source1:	%{_name}.ini
 URL:		http://eaccelerator.sourceforge.net/
 BuildRequires:	php4-devel >= 3:4.1
 %requires_eq_to php4 php4-devel
@@ -37,6 +37,30 @@
 postaci skompilowanej, dzięki czemu narzut potrzebny na kompilację
 jest prawie całkowicie wyeliminowany.
 
+
+%package webinterface
+Summary:    WEB interface for PHP Accelerator
+Summary(pl):    Interfejs WEB dla PHP Accelerator
+Group:      Libraries
+Requires:   %{name} = %{epoch}:%{version}-%{release}
+
+%description webinterface
+PHP Accelerator can be managed through web interface script mmcache.php.
+So you need to put this file on your web site. For security reasons it
+is recommended to restrict the usage of this script by your local IP and
+setup password based access.
+
+More information you can find at %{url}.
+
+%description webinterface -l pl
+PHP Accelerator może być sterowany ze strony internetowej z
+wykorzystaniem skryptu eaccelerator.php. Jedyne co trzeba zrobić, to
+umieścić plik we właściwym miejscu na stronie internetowej. Z powodów
+bezpieczeństwa zalecane jest, aby ograniczyć korzystanie ze skryptu do
+lokalnego adresu i ustawić autoryzację hasłem
+
+Więcej informacji można znaleźć %{url}.
+
 %prep
 %setup -q -n %{_pkgname}-%{version}
 
@@ -83,6 +107,12 @@
 %attr(755,root,root) %{extensionsdir}/eaccelerator.so
 %attr(755,root,root) %{_bindir}/*
 %attr(770,root,http) /var/cache/%{_name}
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/php4/conf.d/eaccelerator.ini
+
+%files webinterface
+%defattr(644,root,root,755)
+# FIXME: czy tak rzeczywiście powinno/może być??
+%doc eaccelerator{,_password}.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +120,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/09/11 17:45:04  hunter
+- package: webinterface
+- config file in php4/conf.d
+
 Revision 1.10  2005/09/07 14:09:23  glen
 - phpize already calls aclocal
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4-eaccelerator.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list