Browse Source

php-pecl-apcu package update

Signed-off-by: webbuilder_pel7x64builder0 <webbuilder@powerel.org>
master
webbuilder_pel7x64builder0 5 years ago
parent
commit
92796eef7f
  1. 1
      SOURCES/apcu-panel.conf
  2. 3
      SOURCES/apcu.conf.php
  3. 2
      SOURCES/apcu.ini
  4. 16
      SPECS/php-pecl-apcu.spec

1
SOURCES/apcu-panel.conf

@ -14,3 +14,4 @@ Alias /apcu-panel /usr/share/apcu-panel
Allow from ::1 Allow from ::1
</IfModule> </IfModule>
</Directory> </Directory>


3
SOURCES/apcu.conf.php

@ -10,7 +10,7 @@ define('USE_AUTHENTICATION',1); // Use (internal) authentication - best choice
define('ADMIN_USERNAME','apc'); // Admin Username define('ADMIN_USERNAME','apc'); // Admin Username
define('ADMIN_PASSWORD','password'); // Admin Password - CHANGE THIS TO ENABLE!!! define('ADMIN_PASSWORD','password'); // Admin Password - CHANGE THIS TO ENABLE!!!


// (beckerr) I'm using a clear text password here, because I've no good idea how to let // (beckerr) I'm using a clear text password here, because I've no good idea how to let
// users generate a md5 or crypt password in a easy way to fill it in above // users generate a md5 or crypt password in a easy way to fill it in above


//define('DATE_FORMAT', "d.m.Y H:i:s"); // German //define('DATE_FORMAT', "d.m.Y H:i:s"); // German
@ -20,3 +20,4 @@ define('DATE_FORMAT', 'Y/m/d H:i:s'); // US
define('GRAPH_SIZE',200); // Image size define('GRAPH_SIZE',200); // Image size


//define('PROXY', 'tcp://127.0.0.1:8080'); //define('PROXY', 'tcp://127.0.0.1:8080');


2
SOURCES/apcu.ini

@ -38,7 +38,7 @@ apc.enabled=1
; Set to zero or omit if you are not sure; ; Set to zero or omit if you are not sure;
;apc.entries_hint=4096 ;apc.entries_hint=4096


; The mktemp-style file_mask to pass to the mmap module ; The mktemp-style file_mask to pass to the mmap module
apc.mmap_file_mask=/tmp/apc.XXXXXX apc.mmap_file_mask=/tmp/apc.XXXXXX


; On very busy servers whenever you start the server or ; On very busy servers whenever you start the server or

16
SPECS/php-pecl-apcu.spec

@ -16,7 +16,7 @@


Name: php-pecl-apcu Name: php-pecl-apcu
Summary: APC User Cache Summary: APC User Cache
Version: 5.1.17 Version: 5.1.18
Release: 1%{?dist} Release: 1%{?dist}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Source1: %{pecl_name}.ini Source1: %{pecl_name}.ini
@ -84,7 +84,6 @@ mv %{pecl_name}-%{version} NTS
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml


cd NTS cd NTS

# Sanity check, really often broken # Sanity check, really often broken
extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h) extver=$(sed -n '/#define PHP_APCU_VERSION/{s/.* "//;s/".*$//;p}' php_apc.h)
if test "x${extver}" != "x%{version}"; then if test "x${extver}" != "x%{version}"; then
@ -151,9 +150,9 @@ cd NTS
for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') for i in $(grep 'role="test"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i do install -Dpm 644 $i %{buildroot}%{pecl_testdir}/%{pecl_name}/$i
done done
#for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//') for i in $(grep 'role="doc"' ../package.xml | sed -e 's/^.*name="//;s/".*$//')
#do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i do install -Dpm 644 $i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
#done done




%check %check
@ -186,7 +185,7 @@ REPORT_EXIT_STATUS=1 \


%files %files
%license NTS/LICENSE %license NTS/LICENSE
#%doc %{pecl_docdir}/%{pecl_name} %doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml %{pecl_xmldir}/%{name}.xml


%config(noreplace) %{php_inidir}/%{ini_name} %config(noreplace) %{php_inidir}/%{ini_name}
@ -199,7 +198,7 @@ REPORT_EXIT_STATUS=1 \




%files devel %files devel
#%doc %{pecl_testdir}/%{pecl_name} %doc %{pecl_testdir}/%{pecl_name}
%{php_incldir}/ext/%{pecl_name} %{php_incldir}/ext/%{pecl_name}


%if %{with_zts} %if %{with_zts}
@ -216,6 +215,9 @@ REPORT_EXIT_STATUS=1 \




%changelog %changelog
* Mon Oct 28 2019 Remi Collet <remi@remirepo.net> - 5.1.18-1
- update to 5.1.18

* Fri Feb 8 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1 * Fri Feb 8 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1
- update to 5.1.17 - update to 5.1.17



Loading…
Cancel
Save