diff --git a/.gitignore b/.gitignore index 2b657d6..7d3bdec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,31 +1,67 @@ clog -*spec~ -package-*.xml -/PHP_CompatInfo-2.1.0.tgz -/PHP_CompatInfo-2.2.1.tgz -/PHP_CompatInfo-2.2.2.tgz -/PHP_CompatInfo-2.2.3.tgz -/PHP_CompatInfo-2.2.4.tgz -/PHP_CompatInfo-2.2.5.tgz -/PHP_CompatInfo-2.3.0.tgz -/PHP_CompatInfo-2.4.0.tgz -/PHP_CompatInfo-2.5.0.tgz -/PHP_CompatInfo-2.6.0.tgz -/PHP_CompatInfo-2.7.0.tgz -/PHP_CompatInfo-2.8.0.tgz -/PHP_CompatInfo-2.8.1.tgz -/PHP_CompatInfo-2.11.0.tgz -/PHP_CompatInfo-2.12.1.tgz -/PHP_CompatInfo-2.13.0.tgz -/PHP_CompatInfo-2.13.2.tgz -/PHP_CompatInfo-2.14.0.tgz -/PHP_CompatInfo-2.14.1.tgz -/PHP_CompatInfo-2.15.0.tgz -/PHP_CompatInfo-2.16.0.tgz -/PHP_CompatInfo-2.17.0.tgz -/PHP_CompatInfo-2.18.0.tgz -/PHP_CompatInfo-2.19.0.tgz -/PHP_CompatInfo-2.20.0.tgz -/PHP_CompatInfo-2.21.0.tgz -/PHP_CompatInfo-2.22.0.tgz -/PHP_CompatInfo-2.23.1.tgz +/php-compat-info-3.2.0.tar.gz +/php-compat-info-3.3.0.tar.gz +/php-compat-info-3.4.0.tar.gz +/php-compat-info-3.5.0.tar.gz +/php-compat-info-3.6.0.tar.gz +/php-compat-info-3.6.1.tar.gz +/php-compat-info-3.7.1.tar.gz +/php-compat-info-3.7.2.tar.gz +/php-compat-info-3.7.3.tar.gz +/php-compat-info-4.2.0-4026f69.tar.gz +/php-compat-info-4.3.0-c4bfef8.tar.gz +/php-compat-info-4.4.0-92ee634.tar.gz +/php-compat-info-4.5.0-31d781a.tar.gz +/php-compat-info-4.5.1-e4c5d42.tar.gz +/php-compat-info-4.5.2-4fc02f5.tar.gz +/php-compat-info-5.0.0-1b65ee3.tar.gz +/php-compat-info-5.0.1-300a168.tar.gz +/php-compat-info-5.0.2-49d6752.tar.gz +/php-compat-info-5.0.3-8e875d5.tar.gz +/php-compat-info-5.0.4-8a49d05.tar.gz +/php-compat-info-5.0.5-cbd0389.tar.gz +/php-compat-info-5.0.6-3878275.tar.gz +/php-compat-info-5.0.7-1a615a1.tar.gz +/php-compat-info-5.0.8-18913e8.tar.gz +/php-compat-info-5.0.9-23db55a.tar.gz +/php-compat-info-5.0.10-c2ba1ec.tar.gz +/php-bartlett-PHP-CompatInfo-5.0.11-56a9f8b.tar.gz +/php-bartlett-PHP-CompatInfo-5.0.12-ecf11cf.tar.gz +/php-bartlett-PHP-CompatInfo-5.1.0-e1239c5.tar.gz +/php-bartlett-PHP-CompatInfo-5.2.0-b54d109.tar.gz +/php-bartlett-PHP-CompatInfo-5.2.1-287d879.tar.gz +/php-bartlett-PHP-CompatInfo-5.2.3-ec29a4e.tar.gz +/php-bartlett-PHP-CompatInfo-5.3.0-5b58fb5.tar.gz +/php-bartlett-PHP-CompatInfo-5.4.1-3e79a1a.tar.gz +/php-bartlett-PHP-CompatInfo-5.4.2-456308c.tar.gz +/php-bartlett-PHP-CompatInfo-5.4.3-e4f9846.tar.gz +/php-bartlett-PHP-CompatInfo-5.4.4-85f8a27.tar.gz +/php-bartlett-PHP-CompatInfo-5.5.1-3829490.tar.gz +/php-bartlett-PHP-CompatInfo-5.5.2-547803e.tar.gz +/php-bartlett-PHP-CompatInfo-5.5.3-7353738.tar.gz +/php-bartlett-PHP-CompatInfo-5.5.4-e3b0129.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.1-5978aea.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.2-4beab5e.tar.gz +/php-bartlett-PHP-CompatInfo-6.0.3-7f878c7.tgz +/php-bartlett-PHP-CompatInfo-6.1.0-e40303a.tgz +/php-bartlett-PHP-CompatInfo-6.1.1-553a953.tgz +/php-bartlett-PHP-CompatInfo-6.1.2-df38ea6.tgz +/php-bartlett-PHP-CompatInfo-6.2.0-dcb0d52.tgz +/php-bartlett-PHP-CompatInfo-6.3.0-2b7c3f9.tgz +/php-bartlett-PHP-CompatInfo-6.4.0-3e23268.tgz +/php-bartlett-PHP-CompatInfo-6.4.1-07bb648.tgz +/php-bartlett-PHP-CompatInfo-6.4.2-0413526.tgz +/php-bartlett-PHP-CompatInfo-6.5.2-832e40e.tgz +/php-bartlett-PHP-CompatInfo-6.5.3-e2bc72e.tgz +/php-bartlett-PHP-CompatInfo-6.5.4-d3e9319.tgz +/php-bartlett-PHP-CompatInfo-7.0.0-7b05300.tgz +/php-bartlett-PHP-CompatInfo-7.0.1-c944914.tgz +/php-bartlett-PHP-CompatInfo-7.0.2-cff8a7a.tgz +/php-bartlett-PHP-CompatInfo-7.1.0-26b0219.tgz +/php-bartlett-PHP-CompatInfo-7.1.1-d9504f5.tgz +/php-bartlett-PHP-CompatInfo-7.1.2-072d0f8.tgz +/php-bartlett-PHP-CompatInfo-7.1.3-7a74bd0.tgz +/php-bartlett-PHP-CompatInfo-7.1.4-9875282.tgz +/php-bartlett-PHP-CompatInfo-7.2.3-25777bc.tgz +/php-bartlett-PHP-CompatInfo-7.2.4-165460c.tgz +/php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz diff --git a/PHP_CompatInfo-conf.patch b/PHP_CompatInfo-conf.patch deleted file mode 100644 index 2aa82ae..0000000 --- a/PHP_CompatInfo-conf.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- PHP_CompatInfo-2.19.0/phpcompatinfo.xml.dist 2013-07-11 22:21:27.000000000 +0200 -+++ PHP_CompatInfo-2.19.0/phpcompatinfo.xml 2013-07-12 08:22:34.529605184 +0200 -@@ -5,13 +5,14 @@ - reportFileAppend="false" - cacheDriver="file" - recursive="false" -- fileExtensions="php, inc, phtml" -+ fileExtensions="php, inc, phtml, module, install" - consoleProgress="true" - verbose="false" - > - - - -+ /tmp/phpci-%{USER} - 1 - 86400 - diff --git a/fedora-review-check b/fedora-review-check new file mode 100755 index 0000000..cc72fc4 --- /dev/null +++ b/fedora-review-check @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ $# -eq 2 ] +then exec /usr/bin/phpcompatinfo analyser:run $2 --output $1 --no-ansi + +else echo "usage $0 logname dirname" + exit 1 +fi diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..a2d4c80 --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +NAME=$(basename $PWD) +DATE=$(sed -n '/^%global gh_date/{s/.* //;p}' $NAME.spec) +OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} + +DATE=$(date -d "$DATE -4 days" +%Y-%m-%d) + +echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Commit=$COMMIT\n" + +echo "Cloning..." +rm -rf $HOME/.cache/bartlett +git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + +echo "Getting commit..." + pushd $PROJECT-$COMMIT + git checkout $COMMIT || exit 1 + + cp composer.json ../ + module load php81 + composer config platform.php 8.1.99 + composer install --no-interaction --no-progress --no-dev --optimize-autoloader + cp vendor/composer/installed.json ../ + + export DATABASE_URL=sqlite:///$PWD/data/compatinfo-db.sqlite + mkdir data + bin/phpcompatinfo db:create + bin/phpcompatinfo db:init + bin/phpcompatinfo diag + popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT +rm -rf $HOME/.cache/bartlett + +echo "Done." + diff --git a/php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch b/php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch new file mode 100644 index 0000000..a6a4931 --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-7.2.3-rpm.patch @@ -0,0 +1,14 @@ +diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo +--- ./bin/phpcompatinfo.rpm 2025-05-04 07:31:28.259594805 +0200 ++++ ./bin/phpcompatinfo 2025-05-04 07:32:09.736421056 +0200 +@@ -15,6 +15,10 @@ if (PHP_SAPI !== 'cli') { + return; + } + ++if (!getenv("DATABASE_URL")) { ++ putenv("DATABASE_URL=sqlite:///" . dirname(__DIR__) . "/data/compatinfo-db.sqlite"); ++} ++ + gc_disable(); // performance boost + + require_once dirname(__DIR__) . '/autoload.php'; diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index af4a7b5..0e89b83 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -1,67 +1,56 @@ -# spec file for php-bartlett-PHP-CompatInfo +# remirepo/fedora spec file for php-bartlett-PHP-CompatInfo # -# Copyright (c) 2011-2013 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/3.0/ +# SPDX-FileCopyrightText: Copyright 2011-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} -%{!?pear_metadir: %global pear_metadir %{pear_phpdir}} -%global pear_name PHP_CompatInfo -%global channel bartlett.laurent-laville.org -# TODO : link /usr/share/pear/data/PHP_CompatInfo/misc/jquery-min.js -# to system jquery when available, then fix License (BSD only) +%{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} +%global gh_commit 56d3215bcf8acb2e822fc9ce21fa934cd6129637 +%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) +%global gh_date 2025-11-23 +%global gh_owner llaville +%global gh_project php-compatinfo + +%global upstream_version 7.2.5 +#global upstream_prever RC1 Name: php-bartlett-PHP-CompatInfo -Version: 2.23.1 +Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: Find out version and the extensions required for a piece of code to run -Group: Development/Libraries -# PHP-CompatInfo is BSD, bundled jquery is MIT (or GPL) -License: BSD and MIT -URL: http://php5.laurent-laville.org/compatinfo/ -Source0: http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz -Source1: https://raw.github.com/llaville/php-compat-info/master/misc/phpcompatinfo.1 +# SPDX: see bundled libraries list below +License: BSD-3-Clause and MIT +URL: https://github.com/llaville/php-compatinfo +Source0: %{name}-%{version}-%{gh_short}.tgz +# Script for fedora-review +Source1: fedora-review-check +# Generate the archive will all dependencies +Source9: makesrc.sh -# Update configuration for best experience -# Reference = ALL known extension (instead of installed ones) -# Make cache / save_path user specific -# Add .install .module to fileExtensions (for drupal) -Patch0: %{pear_name}-conf.patch +# Relocate the database +Patch0: %{name}-7.2.3-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 5.3.0 -BuildRequires: php-pear(PEAR) >= 1.9.0 -BuildRequires: php-channel(%{channel}) -# to run test suite -BuildRequires: php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0 -BuildRequires: php-pear(%{channel}/PHP_Reflect) >= 1.8.0 +BuildRequires: php(language) >= 8.1 +BuildRequires: php-cli +BuildRequires: composer-generators -Requires(post): %{__pear} -Requires(postun): %{__pear} -Requires: php(language) >= 5.3.0 -Requires: php-date +Requires: php(language) >= 8.1 +Requires: php-cli Requires: php-dom Requires: php-libxml -Requires: php-pcre -Requires: php-reflection -Requires: php-spl -Requires: php-pear(PEAR) >= 1.9.0 -Requires: php-pear(%{channel}/PHP_Reflect) >= 1.8.0 -Requires: php-pear(%{channel}/PHP_Reflect) < 2 -Requires: php-pear(Console_CommandLine) >= 1.2.0 -# Optional -Requires: php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0 -Requires: php-pear(pear.phpunit.de/PHP_Timer) >= 1.0.0 -# Optional and not yet availalble php-pear(Net_Growl) >= 2.2.2 +Requires: php-phar +Requires: php-pdo +Requires: php-pdo_sqlite +Requires: php-simplexml +Requires: php-xmlreader -Provides: php-pear(%{channel}/%{pear_name}) = %{version}%{?prever} -Provides: phpci = %{version}%{?prever} -Provides: phpcompatinfo = %{version}%{?prever} +Provides: phpcompatinfo = %{version} %description @@ -70,102 +59,455 @@ version and extensions required for it to run. CLI version has many reports (extension, interface, class, function, constant) to display and ability to show content of dictionary references. -HTML Documentation: %{pear_docdir}/%{pear_name}/html/index.html - %prep -%setup -q -c +%setup -q -n %{gh_project}-%{gh_commit} +%patch -P0 -p1 -b .rpm +rm bin/*rpm -cd %{pear_name}-%{version}%{?prever} +# https://github.com/llaville/php-compatinfo-db/issues/112 +sed -e 's/touch/@touch/' -i vendor/bartlett/php-compatinfo-db/config/set/default.php -# Copy upstream default configuration -cp phpcompatinfo.xml.dist phpcompatinfo.xml -# Apply our changes -%patch0 -p1 -b .rpm - -cp ../package.xml %{name}.xml +: Gather all license files and cleanup tests +mv vendor/composer/LICENSE composer_LICENSE +for vendor in $(ls vendor) +do + for proj in $(ls vendor/$vendor) + do + [ -d vendor/$vendor/$proj/tests ] && rm -r vendor/$vendor/$proj/tests + [ -f vendor/$vendor/$proj/LICENSE ] && mv vendor/$vendor/$proj/LICENSE ${vendor}_${proj}_LICENSE + done +done +rm -r vendor/bartlett/*/.github +rm -r vendor/bartlett/*/.changes %build -cd %{pear_name}-%{version}%{?prever} +# Nothing %install -cd %{pear_name}-%{version}%{?prever} -%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml +mkdir -p %{buildroot}%{_datadir}/%{name} +for i in bin config data resources src vendor composer.* autoload.php +do cp -pr $i %{buildroot}%{_datadir}/%{name}/$i +done -# Clean up unnecessary files -rm -rf %{buildroot}%{pear_metadir}/.??* +mkdir -p %{buildroot}%{_bindir} +ln -s ../share/%{name}/bin/phpcompatinfo %{buildroot}%{_bindir}/phpcompatinfo -# Install XML package description -mkdir -p %{buildroot}%{pear_xmldir} -install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} - -# Create default package configuration -install -pm 644 phpcompatinfo.xml %{buildroot}%{pear_cfgdir}/%{pear_name}/ - -# Install the man page mkdir -p %{buildroot}%{_mandir}/man1 -install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpcompatinfo.1 +mv %{buildroot}%{_datadir}/%{name}/bin/phpcompatinfo.1 \ + %{buildroot}%{_mandir}/man1/phpcompatinfo.1 -# Keep old phpci command for compatibility (will be remove later) -cd %{buildroot}%{_bindir} -ln -s phpcompatinfo phpci +install -D -p -m 755 %{SOURCE1} \ + %{buildroot}%{_datadir}/%{name}/fedora-review-check %check -cd %{pear_name}-%{version}%{?prever} - -%if 0%{?rhel} == 6 -# php-5.3.3-CVE-2012-0057.patch add new constants from php 5.3.9 -# so drop this test which fails with -# Constant 'XSL_SECPREF_CREATE_DIRECTORY', found in Reference (5.3.9,), exists. -rm -f tests/Reference/XslTest.php -%endif - -# OK, but incomplete or skipped tests! -# Tests: 810, Assertions: 10996, Skipped: 80, when most extensions installed -# Tests: 551, Assertions: 6833, Skipped: 378, in mock -# Reference tests need some fixes for EL-5, so ignore result for now -%{_bindir}/phpunit \ - -d date.timezone=UTC \ - -d memory_limit=-1 \ - --bootstrap %{buildroot}%{pear_phpdir}/Bartlett/PHP/CompatInfo/Autoload.php \ -%if 0%{?rhel} < 6 && 0%{?fedora} < 8 - tests || exit 0 -%else - tests -%endif - - -%post -%{__pear} install --nodeps --soft --force --register-only \ - %{pear_xmldir}/%{name}.xml >/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - %{__pear} uninstall --nodeps --ignore-errors --register-only \ - %{channel}/%{pear_name} >/dev/null || : -fi +%{buildroot}%{_bindir}/phpcompatinfo --version | grep %{version} && exit 0 %files -%doc %{pear_docdir}/%{pear_name} -%dir %{pear_cfgdir}/%{pear_name} -# Editable configuration -%config(noreplace) %{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml -# Default configuration -%{pear_cfgdir}/%{pear_name}/phpcompatinfo.xml.dist -%{pear_xmldir}/%{name}.xml -%{pear_phpdir}/Bartlett/PHP/Compat* -%{pear_testdir}/%{pear_name} -%{pear_datadir}/%{pear_name} -%{_bindir}/phpci +%license *LICENSE +%doc *md +%doc docs +%doc examples +%doc composer.json +%doc vendor/composer/installed.json %{_bindir}/phpcompatinfo -%{_mandir}/man1/phpcompatinfo.* +%{_datadir}/%{name} +%{_mandir}/man1/phpcompatinfo.1* %changelog +* Tue Nov 25 2025 Remi Collet - 7.2.5-1 +- update to 7.2.5 +- update bundled bartlett/php-compatinfo-db to 6.26.0 + +* Thu Oct 9 2025 Remi Collet - 7.2.4-1 +- update to 7.2.4 +- update bundled bartlett/php-compatinfo-db to 6.24.1 + +* Fri Jul 25 2025 Fedora Release Engineering - 7.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon May 5 2025 Remi Collet - 7.2.3-1 +- update to 7.2.3 +- re-license spec file to CECILL-2.1 +- always build with composer-generators +- update bundled bartlett/php-compatinfo-db to 6.16.0 + +* Sat Jan 18 2025 Fedora Release Engineering - 7.1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Nov 7 2024 Remi Collet - 7.1.4-4 +- hack for PHP 8.4 + +* Thu Nov 7 2024 Remi Collet - 7.1.4-3 +- update bundled bartlett/php-compatinfo-db to 6.12.0 +- update bundled dependencies +- optional support build with composer-generators + +* Fri Jul 19 2024 Fedora Release Engineering - 7.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Apr 24 2024 Remi Collet - 7.1.4-1 +- update to 7.1.4 +- update bundled bartlett/php-compatinfo-db to 6.5.0 + +* Tue Mar 19 2024 Remi Collet - 7.1.3-1 +- update to 7.1.3 +- update bundled bartlett/php-compatinfo-db to 6.4.2 + +* Thu Feb 8 2024 Remi Collet - 7.1.2-1 +- update to 7.1.2 +- update bundled bartlett/php-compatinfo-db to 6.2.1 + +* Thu Jan 25 2024 Fedora Release Engineering - 7.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 7.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 18 2024 Remi Collet - 7.1.1-1 +- update to 7.1.1 +- cleanup installation tree +- move docs and examples in package documentation + +* Tue Jan 2 2024 Remi Collet - 7.1.0-1 +- update to 7.1.0 + +* Wed Dec 6 2023 Remi Collet - 7.0.2-1 +- update to 7.0.2 +- update bundled bartlett/php-compatinfo-db to 6.0.0 +- open https://github.com/llaville/php-compatinfo/issues/365 8.0 compatibility +- raise dependency on PHP 8.1 + +* Tue Nov 14 2023 Remi Collet - 7.0.1-1 +- update to 7.0.1 +- update bundled bartlett/php-compatinfo-db to 5.13.0 + +* Mon Nov 13 2023 Remi Collet - 7.0.0-3 +- update bundled bartlett/php-compatinfo-db to 5.12.0 + +* Fri Jul 21 2023 Fedora Release Engineering - 7.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 16 2023 Remi Collet - 7.0.0-1 +- update to 7.0.0 +- raise dependency on PHP 8.0 +- update bundled bartlett/php-compatinfo-db to 5.5.0 + +* Fri Jan 20 2023 Fedora Release Engineering - 6.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 10 2023 Remi Collet - 6.5.4-2 +- update bundled bartlett/php-compatinfo-db to 4.11.0 + +* Wed Dec 14 2022 Remi Collet - 6.5.4-1 +- update to 6.5.4 +- update bundled bartlett/php-compatinfo-db to 4.10.0 + +* Mon Nov 7 2022 Remi Collet - 6.5.3-1 +- update to 6.5.3 +- update bundled bartlett/php-compatinfo-db to 4.8.0 + +* Tue Oct 25 2022 Remi Collet - 6.5.2-1 +- update to 6.5.2 + +* Tue Sep 27 2022 Remi Collet - 6.4.2-1 +- update to 6.4.2 + +* Fri Jul 22 2022 Fedora Release Engineering - 6.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Apr 20 2022 Remi Collet - 6.4.1-2 +- update bundled bartlett/php-compatinfo-db to 4.2.0 + +* Thu Apr 7 2022 Remi Collet - 6.4.1-1 +- update to 6.4.1 + +* Wed Apr 6 2022 Remi Collet - 6.4.0-1 +- update to 6.4.0 +- update bundled bartlett/php-compatinfo-db to 4.2.0 + +* Mon Mar 7 2022 Remi Collet - 6.3.0-1 +- update to 6.3.0 +- update bundled bartlett/php-compatinfo-db to 4.1.0 + +* Mon Feb 7 2022 Remi Collet - 6.2.0-1 +- update to 6.2.0 +- update bundled bartlett/php-compatinfo-db to 4.0.0 + +* Fri Jan 28 2022 Remi Collet - 6.1.2-1 +- update to 6.1.2 + +* Thu Jan 27 2022 Remi Collet - 6.1.1-5 +- update bundled bartlett/php-compatinfo-db 3.18.0 +- use better process to create the database, as discussed on + https://github.com/llaville/php-compatinfo-db/issues/113 +- silent touch on read only database, reported as + https://github.com/llaville/php-compatinfo-db/issues/112 + +* Fri Jan 21 2022 Fedora Release Engineering - 6.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 18 2022 Remi Collet - 6.1.1-1 +- update to 6.1.1 +- update bundled bartlett/php-compatinfo-db 3.17.1 + +* Thu Jan 6 2022 Remi Collet - 6.1.0-1 +- update to 6.1.0 + +* Wed Jan 5 2022 Remi Collet - 6.0.3-1 +- update to 6.0.3 +- use all PHP bundled libraries instead of system ones + +* Mon Jan 3 2022 Remi Collet - 6.0.2-1 +- update to 6.0.2 +- open https://github.com/llaville/php-compatinfo/issues/316 + regression, compatibility with Symfony 4 + +* Mon Dec 13 2021 Remi Collet - 6.0.1-1 +- update to 6.0.1 +- raise dependency on PHP 7.4 +- drop dependency on bartlett/php-reflect +- add dependency on nikic/php-parser + +* Fri Dec 10 2021 Remi Collet - 5.5.4-1 +- update to 5.5.4 +- raise dependency on bartlett/php-compatinfo-db 3.6 + +* Fri Jul 23 2021 Fedora Release Engineering - 5.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 3 2021 Remi Collet - 5.5.3-1 +- update to 5.5.3 + +* Tue Apr 13 2021 Remi Collet - 5.5.2-1 +- update to 5.5.2 + +* Mon Mar 15 2021 Remi Collet - 5.5.1-1 +- update to 5.5.1 +- raise dependency on PHP 7.2 +- raise dependency on bartlett/php-compatinfo-db 3.4 + +* Mon Feb 22 2021 Remi Collet - 5.4.4-1 +- update to 5.4.4 (no change) + +* Mon Feb 15 2021 Remi Collet - 5.4.3-1 +- update to 5.4.3 + +* Wed Jan 27 2021 Fedora Release Engineering - 5.4.2-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 23 2020 Remi Collet - 5.4.2-1 +- update to 5.4.2 + +* Tue Oct 6 2020 Remi Collet - 5.4.1-1 +- update to 5.4.1 +- switch to phpunit9 +- add dependency on ramsey/uuid +- add dependency on symfony components: config, console, dependency-injection, + event-dispatcher, finder, serializer and stopwatch +- add dependency on doctrine/collections +- drop dependency on doctrine/cache +- switch to classmap autoloader +- drop configuration file (no more supported) + +* Tue Jul 28 2020 Fedora Release Engineering - 5.3.0-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 8 2020 Remi Collet - 5.3.0-1 +- update to 5.3.0 +- raise dependency on PHP 7.1.3 +- raise dependency on bartlett/php-reflect 4.4 +- raise dependency on bartlett/php-compatinfo-db 2.0 +- switch to phpunit8 + +* Wed Apr 29 2020 Remi Collet - 5.2.3-1 +- update to 5.2.3 + +* Thu Jan 30 2020 Fedora Release Engineering - 5.2.1-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 22 2019 Remi Collet - 5.2.1-1 +- update to 5.2.1 (no change) + +* Fri Jul 26 2019 Fedora Release Engineering - 5.2.0-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jun 3 2019 Remi Collet - 5.2.0-1 +- update to 5.2.0 +- allow bartlett/php-compatinfo-db v2 + +* Sat Feb 02 2019 Fedora Release Engineering - 5.1.0-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Nov 28 2018 Remi Collet - 5.1.0-1 +- update to 5.1.0 +- raise dependency on bartlett/php-reflect 4.3 +- add explicit dependency on nikic/php-parser +- add explicit dependency on doctrine/cache +- add dependency on psr/log +- switch to phpunit7 + +* Fri Jul 13 2018 Fedora Release Engineering - 5.0.12-1.2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 5.0.12-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 2 2018 Remi Collet - 5.0.12-1 +- Update to 5.0.12 (no change) +- use range dependency on F27+ + +* Tue Dec 12 2017 Remi Collet - 5.0.11-1 +- Update to 5.0.11 (no change) +- raise dependency on PHP 5.5 + +* Tue Dec 12 2017 Remi Collet - 5.0.10-1 +- Update to 5.0.10 (no change) +- raise dependency on bartlett/php-reflect 4.2 +- only require a single Symfony version + +* Wed Dec 6 2017 Remi Collet - 5.0.9-1 +- Update to 5.0.9 + +* Mon Aug 7 2017 Remi Collet - 5.0.8-1 +- Update to 5.0.8 + +* Thu Jul 27 2017 Fedora Release Engineering - 5.0.7-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 10 2017 Remi Collet - 5.0.7-1 +- Update to 5.0.7 + +* Mon Mar 27 2017 Remi Collet - 5.0.6-1 +- Update to 5.0.6 + +* Fri Mar 17 2017 Remi Collet - 5.0.5-1 +- Update to 5.0.5 + +* Sat Feb 11 2017 Fedora Release Engineering - 5.0.4-1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jan 17 2017 Remi Collet - 5.0.4-1 +- update to 5.0.4 + +* Wed Jan 11 2017 Remi Collet - 5.0.3-1 +- update to 5.0.3 + +* Fri Dec 16 2016 Remi Collet - 5.0.2-1 +- update to 5.0.2 + +* Mon Oct 31 2016 Remi Collet - 5.0.1-2 +- switch to fedora/autoloader + +* Wed Jul 6 2016 Remi Collet - 5.0.1-1 +- update to 5.0.1 +- display DB version instead of build date + +* Thu Feb 04 2016 Fedora Release Engineering - 5.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 10 2015 Remi Collet - 5.0.0-1 +- update to 5.0.0 +- raise dependency on bartlett/php-reflect ~4.0 +- raise minimal php version to 5.4 +- add dependency on bartlett/php-compatinfo-db + +* Wed Nov 25 2015 Remi Collet - 4.5.2-1 +- update to 4.5.2 + +* Sun Oct 11 2015 Remi Collet - 4.5.1-1 +- update to 4.5.1 + +* Tue Oct 6 2015 Remi Collet - 4.5.0-1 +- update to 4.5.0 + +* Mon Jul 20 2015 Remi Collet - 4.4.0-2 +- add upstream patch for Intl reference + +* Mon Jul 13 2015 Remi Collet - 4.4.0-1 +- update to 4.4.0 + +* Mon Jun 29 2015 Remi Collet - 4.3.0-4 +- upstream patch for ldap extension in 5.6.11RC1 (thanks Koschei) + +* Fri Jun 26 2015 Remi Collet - 4.3.0-3 +- rewrite autoloader + +* Sun Jun 21 2015 Remi Collet - 4.3.0-2 +- fix autoloader + +* Tue Jun 16 2015 Remi Collet - 4.3.0-1 +- update to 4.3.0 + +* Tue May 19 2015 Remi Collet - 4.2.0-1 +- update to 4.2.0 +- raise dependency on bartlett/php-reflect 3.1 +- add dependency on bartlett/umlwriter +- add fedora-review-check script +- handle --without tests option to skip test suite during build + +* Mon Feb 2 2015 Remi Collet - 3.7.3-1 +- Update to 3.7.3 + +* Mon Jan 5 2015 Remi Collet - 3.7.2-1 +- Update to 3.7.2 +- open https://github.com/llaville/php-compat-info/pull/157 + +* Fri Dec 19 2014 Remi Collet - 3.7.1-1 +- Update to 3.7.1 + +* Thu Nov 20 2014 Remi Collet - 3.6.1-1 +- Update to 3.6.1 + +* Thu Nov 13 2014 Remi Collet - 3.6.0-1 +- Update to 3.6.0 +- add dependency on justinrainbow/json-schema +- raise dependency on bartlett/php-reflect 2.6 + +* Thu Oct 16 2014 Remi Collet - 3.5.0-1 +- Update to 3.5.0 +- add dependency on sebastian/version +- raise dependency on bartlett/php-reflect 2.5 + +* Mon Oct 6 2014 Remi Collet - 3.4.0-2 +- fix FTBFS with PHP 5.6.1 (Thanks to Koschei) + +* Thu Sep 25 2014 Remi Collet - 3.4.0-1 +- Update to 3.4.0 + +* Fri Aug 22 2014 Remi Collet - 3.3.0-1 +- Update to 3.2.0 +- add dependency on seld/jsonlint +- raise dependency on bartlett/php-reflect 2.3 +- enable the cache plugin in default configuration + +* Fri Jul 25 2014 Remi Collet - 3.2.0-1 +- Update to 3.2.0 +- add manpage +- sources from github +- patch autoloader to not rely on composer +- drop documentation (link to online doc in description) +- add upstream patch for SNMP extension + +* Sat Jun 07 2014 Fedora Release Engineering - 2.26.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Dec 13 2013 Remi Collet - 2.26.0-1 +- Update to 2.26.0 (stable) + +* Thu Nov 14 2013 Remi Collet - 2.25.0-1 +- Update to 2.25.0 +- remove phpci temporary compat command + +* Fri Oct 18 2013 Remi Collet - 2.24.0-1 +- update to 2.24.0 +- raise dependency, PHP_Reflect 1.9.0 + * Mon Sep 23 2013 Remi Collet - 2.23.1-1 - Update to 2.23.1 - raise dependencies: PHP 5.3.0, PHP_Reflect 1.8.0 (and < 2) diff --git a/phpcompatinfo.1 b/phpcompatinfo.1 deleted file mode 100644 index 0a0f32b..0000000 --- a/phpcompatinfo.1 +++ /dev/null @@ -1,149 +0,0 @@ -'\" t -.\" Title: phpcompatinfo -.\" Author: [see the "AUTHORS" section] -.\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/28/2013 -.\" Manual: \ \& -.\" Source: \ \& -.\" Language: English -.\" -.TH "PHPCOMPATINFO" "1" "05/28/2013" "\ \&" "\ \&" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -phpcompatinfo \- parse any data source to find out the minimum version and extensions required for it to run -.SH "SYNOPSIS" -.sp -\fBphpcompatinfo\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR] -.SH "DESCRIPTION" -.sp -The phpcompatinfo(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&. -.SH "OPTIONS" -.PP -\fB\-\-configuration\fR=\fIXMLFILE\fR -.RS 4 -Read configuration options from -\fIXMLFILE\fR\&. All command line options will overrides those that are defined in this xml file\&. -.RE -.PP -\fB\-\-no\-configuration\fR -.RS 4 -Ignore default configuration files: -\fIphpcompatinfo\&.xml\fR, -\fIphpcompatinfo\&.xml\&.dist\fR\&. -.RE -.PP -\fB\-d, \-\-ini\-set\fR=\fIINI_SET\fR -.RS 4 -Sets a php\&.ini directive value\&. This option may be specified more than once\&. -.RE -.PP -\fB\-v, \-\-verbose\fR -.RS 4 -Verbosely print processing information and warning messages\&. -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -[\fITOPIC\fR] \-h, \-\-help*:: Print help TOPIC\&. -\fItopic\fR\fB\-\-help\fR -will print help content about a topic, -\fB\-\-help\fR -summarizes phpcompatinfo syntax\&. -.RE -.RE -.PP -\fB\-\-version\fR -.RS 4 -Print program version number\&. -.RE -.SH "PRINT COMMAND" -.sp -The phpcompatinfo(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax: -.sp -.if n \{\ -.RS 4 -.\} -.nf -phpcompatinfo print [OPTION] DATA_SOURCE -.fi -.if n \{\ -.RE -.\} -.sp -Where: -.PP -\fBOPTION\fR -.RS 4 -phpcompatinfo(1) -\fB\-\-report\fR -option specifying the type of result to print on stdout\&. See -\fB\-\-help\-report\fR -option for valid choices\&. -.RE -.PP -\fBDATA_SOURCE\fR -.RS 4 -The source path to scan\&. -.RE -.sp -The commands perform as follows: -.PP -\fBprint\fR -.RS 4 -Print report on stdout or into a file if -\fB\-\-report\-file\fR -option is in effect\&. -.RE -.SH "EXIT STATUS" -.PP -\fB0\fR -.RS 4 -Success -.RE -.PP -\fB1\fR -.RS 4 -Failure (syntax or usage error; configuration error; unexpected error)\&. -.RE -.SH "BUGS" -.sp -Report any issue at https://github\&.com/llaville/php\-compat\-info/issues -.SH "AUTHORS" -.sp -PHP_CompatInfo was originally written by Davey Shafik in 2004\&. -.sp -Remi Collet, contributor of many extensions reference and unit tests, joined the project since version 2\&.0\&.0RC2 -.sp -This CLI version was introduced and written by Laurent Laville\&. -.SH "SEE ALSO" -.sp -Main web site: http://php5\&.laurent\-laville\&.org/compatinfo/ -.SH "COPYRIGHT" -.sp -Copyright (C) 2010\-2013 Laurent Laville\&. -.SH "LICENSE" -.sp -Free use of this software is granted under the terms of the BSD 3\-clause license\&. diff --git a/sources b/sources index 910650b..b1418ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7ded2ef550bf99ea703af79dfe0064c4 PHP_CompatInfo-2.23.1.tgz +SHA512 (php-bartlett-PHP-CompatInfo-7.2.5-56d3215.tgz) = 51b2715fccc20ab6fafadf9f9e0d60cc8103f2d435e0133f6020b05d7449761042dd4be30d2a0b141664d6e4193692cc9800b35ccc25d4144b03bae603ec26fe