Compare commits
No commits in common. "c8-stream-7.4" and "c10s" have entirely different histories.
c8-stream-
...
c10s
2
.fmf/version
Normal file
2
.fmf/version
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
|
30
.gitignore
vendored
30
.gitignore
vendored
@ -1 +1,29 @@
|
|||||||
SOURCES/apcu-5.1.18.tgz
|
clog
|
||||||
|
*spec~
|
||||||
|
/apcu-4.0.1.tgz
|
||||||
|
/apcu-4.0.2.tgz
|
||||||
|
/apcu-4.0.3.tgz
|
||||||
|
/apcu-4.0.4.tgz
|
||||||
|
/apcu-4.0.6.tgz
|
||||||
|
/apcu-4.0.7.tgz
|
||||||
|
/apcu-4.0.8.tgz
|
||||||
|
/apcu-4.0.10.tgz
|
||||||
|
/apcu-4.0.11.tgz
|
||||||
|
/apcu-5.1.5.tgz
|
||||||
|
/apcu-5.1.6.tgz
|
||||||
|
/apcu-5.1.7.tgz
|
||||||
|
/apcu-5.1.8.tgz
|
||||||
|
/apcu-5.1.9.tgz
|
||||||
|
/apcu-5.1.10.tgz
|
||||||
|
/apcu-5.1.11.tgz
|
||||||
|
/apcu-5.1.12.tgz
|
||||||
|
/apcu-5.1.13.tgz
|
||||||
|
/apcu-5.1.14.tgz
|
||||||
|
/apcu-5.1.15.tgz
|
||||||
|
/apcu-5.1.17.tgz
|
||||||
|
/apcu-5.1.18.tgz
|
||||||
|
/apcu-5.1.19.tgz
|
||||||
|
/apcu-5.1.20.tgz
|
||||||
|
/apcu-5.1.21.tgz
|
||||||
|
/apcu-5.1.22.tgz
|
||||||
|
/apcu-5.1.23.tgz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
feb857e48c942501f16760460427a5c902eb7a98 SOURCES/apcu-5.1.18.tgz
|
|
@ -3,15 +3,7 @@ Alias /apcu-panel /usr/share/apcu-panel
|
|||||||
|
|
||||||
<Directory /usr/share/apcu-panel>
|
<Directory /usr/share/apcu-panel>
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
# Apache 2.4
|
|
||||||
Require local
|
Require local
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
Order Deny,Allow
|
|
||||||
Deny from All
|
|
||||||
Allow from 127.0.0.1
|
|
||||||
Allow from ::1
|
|
||||||
</IfModule>
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
@ -55,7 +55,7 @@ apc.mmap_file_mask=/tmp/apc.XXXXXX
|
|||||||
;apc.serializer='php'
|
;apc.serializer='php'
|
||||||
|
|
||||||
; use the SAPI request start time for TTL
|
; use the SAPI request start time for TTL
|
||||||
;apc.use_request_time=1
|
;apc.use_request_time=0
|
||||||
|
|
||||||
; Enables APCu handling of signals, such as SIGSEGV, that write core files
|
; Enables APCu handling of signals, such as SIGSEGV, that write core files
|
||||||
; when signaled. APCu will attempt to unmap the shared memory segment in
|
; when signaled. APCu will attempt to unmap the shared memory segment in
|
8
gating.yaml
Normal file
8
gating.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#gating rhel
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
||||||
|
|
@ -1,35 +1,34 @@
|
|||||||
# RHEL / Fedora spec file for php-pecl-apcu
|
# Fedora spec file for php-pecl-apcu
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013-2020 Remi Collet
|
# Copyright (c) 2013-2023 Remi Collet
|
||||||
# License: CC-BY-SA
|
# License: CC-BY-SA-4.0
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
|
|
||||||
# we don't want -z defs linker flag
|
%global pecl_name apcu
|
||||||
%undefine _strict_symbol_defs_build
|
%global with_zts 0%{?__ztsphp:1}
|
||||||
|
%global ini_name 40-%{pecl_name}.ini
|
||||||
%global pecl_name apcu
|
%global sources %{pecl_name}-%{version}
|
||||||
%global with_zts 0%{?__ztsphp:1}
|
%global _configure ../%{sources}/configure
|
||||||
%global ini_name 40-%{pecl_name}.ini
|
|
||||||
|
|
||||||
Name: php-pecl-apcu
|
Name: php-pecl-apcu
|
||||||
Summary: APC User Cache
|
Summary: APC User Cache
|
||||||
Version: 5.1.18
|
Version: 5.1.23
|
||||||
Release: 1%{?dist}
|
Release: 5%{?dist}
|
||||||
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
|
Source0: https://pecl.php.net/get/%{sources}.tgz
|
||||||
Source1: %{pecl_name}.ini
|
Source1: %{pecl_name}.ini
|
||||||
Source2: %{pecl_name}-panel.conf
|
Source2: %{pecl_name}-panel.conf
|
||||||
Source3: %{pecl_name}.conf.php
|
Source3: %{pecl_name}.conf.php
|
||||||
|
|
||||||
License: PHP
|
License: PHP-3.01
|
||||||
URL: http://pecl.php.net/package/APCu
|
URL: https://pecl.php.net/package/APCu
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: php-devel > 7
|
BuildRequires: php-devel
|
||||||
BuildRequires: php-pear
|
BuildRequires: php-pear
|
||||||
BuildRequires: pcre-devel
|
|
||||||
|
|
||||||
Requires: php(zend-abi) = %{php_zend_api}
|
Requires: php(zend-abi) = %{php_zend_api}
|
||||||
Requires: php(api) = %{php_core_api}
|
Requires: php(api) = %{php_core_api}
|
||||||
@ -79,11 +78,10 @@ configuration, available on http://localhost/apcu-panel/
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qc
|
%setup -qc
|
||||||
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 %{sources}
|
||||||
# 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
|
||||||
@ -92,30 +90,31 @@ if test "x${extver}" != "x%{version}"; then
|
|||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
mkdir NTS
|
||||||
%if %{with_zts}
|
%if %{with_zts}
|
||||||
# duplicate for ZTS build
|
mkdir ZTS
|
||||||
cp -pr NTS ZTS
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Fix path to configuration file
|
# Fix path to configuration file
|
||||||
sed -e s:apc.conf.php:%{_sysconfdir}/apcu-panel/conf.php:g \
|
sed -e s:apc.conf.php:%{_sysconfdir}/apcu-panel/conf.php:g \
|
||||||
-i NTS/apc.php
|
-i %{sources}/apc.php
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd NTS
|
cd %{sources}
|
||||||
%{_bindir}/phpize
|
%{__phpize}
|
||||||
|
|
||||||
|
cd ../NTS
|
||||||
%configure \
|
%configure \
|
||||||
--enable-apcu \
|
--enable-apcu \
|
||||||
--with-php-config=%{_bindir}/php-config
|
--with-php-config=%{__phpconfig}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%if %{with_zts}
|
%if %{with_zts}
|
||||||
cd ../ZTS
|
cd ../ZTS
|
||||||
%{_bindir}/zts-phpize
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-apcu \
|
--enable-apcu \
|
||||||
--with-php-config=%{_bindir}/zts-php-config
|
--with-php-config=%{__ztsphpconfig}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -136,7 +135,7 @@ install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
|
|||||||
|
|
||||||
# Install the Control Panel
|
# Install the Control Panel
|
||||||
# Pages
|
# Pages
|
||||||
install -D -m 644 -p NTS/apc.php \
|
install -D -m 644 -p %{sources}/apc.php \
|
||||||
%{buildroot}%{_datadir}/apcu-panel/index.php
|
%{buildroot}%{_datadir}/apcu-panel/index.php
|
||||||
# Apache config
|
# Apache config
|
||||||
install -D -m 644 -p %{SOURCE2} \
|
install -D -m 644 -p %{SOURCE2} \
|
||||||
@ -146,7 +145,7 @@ install -D -m 644 -p %{SOURCE3} \
|
|||||||
%{buildroot}%{_sysconfdir}/apcu-panel/conf.php
|
%{buildroot}%{_sysconfdir}/apcu-panel/conf.php
|
||||||
|
|
||||||
# Test & Documentation
|
# Test & Documentation
|
||||||
cd NTS
|
cd %{sources}
|
||||||
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
|
||||||
@ -156,35 +155,30 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
cd NTS
|
cd %{sources}
|
||||||
%{_bindir}/php -n \
|
%{__php} -n \
|
||||||
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
|
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
|
||||||
-m | grep 'apcu'
|
-m | grep '^apcu$'
|
||||||
|
|
||||||
# Upstream test suite for NTS extension
|
# Upstream test suite for NTS extension
|
||||||
TEST_PHP_EXECUTABLE=%{_bindir}/php \
|
TEST_PHP_EXECUTABLE=%{__php} \
|
||||||
TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
|
TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
|
||||||
NO_INTERACTION=1 \
|
%{__php} -n run-tests.php -q --show-diff
|
||||||
REPORT_EXIT_STATUS=1 \
|
|
||||||
%{_bindir}/php -n run-tests.php
|
|
||||||
|
|
||||||
%if %{with_zts}
|
%if %{with_zts}
|
||||||
cd ../ZTS
|
|
||||||
%{__ztsphp} -n \
|
%{__ztsphp} -n \
|
||||||
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
|
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
|
||||||
-m | grep 'apcu'
|
-m | grep '^apcu$'
|
||||||
|
|
||||||
# Upstream test suite for ZTS extension
|
# Upstream test suite for ZTS extension
|
||||||
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
||||||
TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
|
TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
|
||||||
NO_INTERACTION=1 \
|
%{__ztsphp} -n run-tests.php -q --show-diff
|
||||||
REPORT_EXIT_STATUS=1 \
|
|
||||||
%{__ztsphp} -n run-tests.php
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license NTS/LICENSE
|
%license %{sources}/LICENSE
|
||||||
%doc %{pecl_docdir}/%{pecl_name}
|
%doc %{pecl_docdir}/%{pecl_name}
|
||||||
%{pecl_xmldir}/%{name}.xml
|
%{pecl_xmldir}/%{name}.xml
|
||||||
|
|
||||||
@ -215,12 +209,105 @@ REPORT_EXIT_STATUS=1 \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 14 2020 Remi Collet <rcollet@redhat.com> - 5.1.18-1
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.1.23-5
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.1.23-4
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.23-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.23-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Nov 13 2023 Remi Collet <remi@remirepo.net> - 5.1.23-1
|
||||||
|
- update to 5.1.23
|
||||||
|
|
||||||
|
* Tue Oct 03 2023 Remi Collet <remi@remirepo.net> - 5.1.22-6
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php83
|
||||||
|
- build out of sources tree
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.22-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Apr 20 2023 Remi Collet <remi@remirepo.net> - 5.1.22-5
|
||||||
|
- use SPDX license ID
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.22-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Oct 05 2022 Remi Collet <remi@remirepo.net> - 5.1.22-3
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php82
|
||||||
|
|
||||||
|
* Tue Sep 20 2022 Remi Collet <remi@remirepo.net> - 5.1.22-2
|
||||||
|
- drop unneeded build dependency on pcre #2128350
|
||||||
|
|
||||||
|
* Mon Sep 19 2022 Remi Collet <remi@remirepo.net> - 5.1.22-1
|
||||||
|
- update to 5.1.22
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.21-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.21-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 28 2021 Remi Collet <remi@remirepo.net> - 5.1.21-2
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php81
|
||||||
|
|
||||||
|
* Thu Oct 7 2021 Remi Collet <remi@remirepo.net> - 5.1.21-1
|
||||||
|
- update to 5.1.21
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.20-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Mar 4 2021 Remi Collet <remi@remirepo.net> - 5.1.20-1
|
||||||
|
- update to 5.1.20
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.19-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Oct 5 2020 Remi Collet <remi@remirepo.net> - 5.1.19-1
|
||||||
|
- update to 5.1.19
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.18-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.18-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Oct 28 2019 Remi Collet <remi@remirepo.net> - 5.1.18-1
|
||||||
- update to 5.1.18
|
- update to 5.1.18
|
||||||
|
|
||||||
* Tue May 7 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1
|
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 5.1.17-3
|
||||||
|
- rebuild for https://fedoraproject.org/wiki/Changes/php74
|
||||||
|
- add upstream patches for test suite
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.17-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 8 2019 Remi Collet <remi@remirepo.net> - 5.1.17-1
|
||||||
- update to 5.1.17
|
- update to 5.1.17
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.15-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Dec 7 2018 Remi Collet <remi@remirepo.net> - 5.1.15-1
|
||||||
|
- update to 5.1.15
|
||||||
|
|
||||||
|
* Wed Nov 21 2018 Remi Collet <remi@remirepo.net> - 5.1.14-1
|
||||||
|
- update to 5.1.14 (stable)
|
||||||
|
|
||||||
|
* Mon Nov 19 2018 Remi Collet <remi@remirepo.net> - 5.1.13-1
|
||||||
|
- update to 5.1.13 (stable)
|
||||||
|
|
||||||
|
* Thu Oct 11 2018 Remi Collet <remi@remirepo.net> - 5.1.12-3
|
||||||
|
- Rebuild for https://fedoraproject.org/wiki/Changes/php73
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.12-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jul 9 2018 Remi Collet <remi@remirepo.net> - 5.1.12-1
|
* Mon Jul 9 2018 Remi Collet <remi@remirepo.net> - 5.1.12-1
|
||||||
- update to 5.1.12 (stable)
|
- update to 5.1.12 (stable)
|
||||||
|
|
11
plans/tier1-internal.fmf
Normal file
11
plans/tier1-internal.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
summary: Internal Tier1 beakerlib tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://gitlab.com/redhat/rhel/tests/php-pecl-apcu
|
||||||
|
filter: "tier:1"
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
adjust:
|
||||||
|
enabled: false
|
||||||
|
when: distro == centos-stream-10
|
||||||
|
|
Loading…
Reference in New Issue
Block a user