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


3
SOURCES/apcu.conf.php

@ -10,7 +10,7 @@ define('USE_AUTHENTICATION',1); // Use (internal) authentication - best choice @@ -10,7 +10,7 @@ define('USE_AUTHENTICATION',1); // Use (internal) authentication - best choice
define('ADMIN_USERNAME','apc'); // Admin Username
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

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

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


2
SOURCES/apcu.ini

@ -38,7 +38,7 @@ apc.enabled=1 @@ -38,7 +38,7 @@ apc.enabled=1
; Set to zero or omit if you are not sure;
;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

; On very busy servers whenever you start the server or

16
SPECS/php-pecl-apcu.spec

@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@

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

cd NTS

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


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

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

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


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

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


%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
- update to 5.1.17


Loading…
Cancel
Save