commit:     c0667f3d0c12f35b61c89259799ec7e7e63f7cc7
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 18:59:50 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 00:57:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0667f3d

profiles: mask php:7.4, revdeps, and affected USE=test

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 profiles/base/package.use.mask | 39 +++++++++++++++++++++++++++++++++++----
 profiles/base/use.mask         | 10 +++++-----
 profiles/package.mask          | 26 ++++++++++++++++++++++++++
 3 files changed, 66 insertions(+), 9 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index f9334180fdd1..79764f01fdb3 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,10 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Michael Orlitzky <[email protected]> (2023-08-11)
+# php-7.x is End-of-Life (EOL) and masked.
+www-servers/nginx-unit php7-4
+
 # Ionen Wolkens <[email protected]> (2023-07-26)
 # MPV currently[1] has no plans to support >=lua5-3 making luajit
 # the only choice for maintained lua. Apply mask/force to override
@@ -466,18 +470,45 @@ www-client/seamonkey lto
 # http://httpd.apache.org/docs/current/mod/mod_lua.html
 www-servers/apache apache2_modules_lua
 
-# Brian Evans <[email protected]> (2021-01-07)
-# Block test deps on packages until they can be updated
-# Old phpunit does not work with new PHP and last is vulnerable
-<dev-php/PEAR-Crypt_GPG-1.6.4 test
+# Michael Orlitzky <[email protected]> (2023-08-11)
+# Our PHPUnit (or at least one of its dependencies) doesn't work with
+# modern versions of PHP itself.
+dev-php/PEAR-Console_Getargs test
+dev-php/PEAR-Crypt_GPG test
+dev-php/PEAR-Crypt_HMAC2 test
+dev-php/PEAR-Exception test
+dev-php/PEAR-File_Fortune test
+dev-php/PEAR-HTML_CSS test
+dev-php/PEAR-HTML_Template_Sigma test
+dev-php/PEAR-HTTP_Request2 test
+dev-php/PEAR-Image_Color2 test
+dev-php/PEAR-Image_Text test
+dev-php/PEAR-Net_IPv6 test
+dev-php/PEAR-Net_LDAP2 test
+dev-php/PEAR-Numbers_Words test
+dev-php/PEAR-Text_Password test
+dev-php/PEAR-Text_Wiki test
 dev-php/PEAR-Text_Wiki_Mediawiki test
+dev-php/PEAR-XML_RSS test
+dev-php/PHP_CodeCoverage test
 dev-php/PHP_CodeSniffer test
+dev-php/PHP_TokenStream test
+dev-php/awl test
+dev-php/fedora-autoloader test
+dev-php/json-schema test
+dev-php/jsonlint test
 dev-php/php-redmine-api test
 dev-php/recaptcha test
 dev-php/symfony-config test
+dev-php/symfony-dependency-injection test
 dev-php/symfony-event-dispatcher test
 dev-php/symfony-filesystem test
 dev-php/symfony-finder test
+dev-php/symfony-process test
+dev-php/symfony-yaml test
+dev-php/theseer-Autoload test
+dev-php/twig test
+
 
 # Sam James <[email protected]> (2021-01-04)
 # Doc generation is broken, needs gtkdoc-mktmpl (gone from gtk-doc)

diff --git a/profiles/base/use.mask b/profiles/base/use.mask
index dad9b1707b61..cbddc6b7042e 100644
--- a/profiles/base/use.mask
+++ b/profiles/base/use.mask
@@ -4,6 +4,11 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Michael Orlitzky <[email protected]> (2023-08-11)
+# PHP 7.x is end-of-life. Please upgrade to a newer slot.
+php_targets_php7-3
+php_targets_php7-4
+
 # Hans de Graaff <[email protected]> (2023-04-10)
 # Ruby 2.7 is masked for removal.
 ruby_targets_ruby27
@@ -19,11 +24,6 @@ pyside6
 # dev-util/sysprof not keyworded on most arches yet
 sysprof
 
-# Brian Evans <[email protected]> (2022-01-21)
-# PHP 7.3 is end-of-life
-# Please upgrade to a newer slot
-php_targets_php7-3
-
 # Sam James <[email protected]> (2022-01-12)
 # PCH has proven itself to be unreliable and lead to spurious build
 # failures. Masking so users aren't exposed to such failures without opting-in.

diff --git a/profiles/package.mask b/profiles/package.mask
index 832ed9b8b8fb..fbc0a3df51a4 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,32 @@
 
 #--- END OF EXAMPLES ---
 
+# Michael Orlitzky <[email protected]> (2023-08-11)
+# php-7.x is End Of Life (EOL) upstream and no longer receives security
+# fixes. We lose phpunit because it depends on CodeCoverage which
+# depends on TokenStream, and TokenStream is limited to 7.x. Bug 887739
+# to upgrade moodle is seven months old, which I think is long enough to
+# have waited. Selfoss has a newer version. Removal after 2023-09-11.
+dev-lang/php:7.4
+dev-php/PHP_TokenStream
+dev-php/PHP_CodeCoverage
+dev-php/phpspec-prophecy
+dev-php/phpunit
+dev-php/phpunit-mock-objects
+dev-php/sebastian-comparator
+dev-php/sebastian-exporter
+dev-php/sebastian-global-state
+dev-php/sebastian-object-enumerator
+dev-php/sebastian-object-reflector
+dev-php/sebastian-recursion-context
+=mail-client/roundcube-1.4.11
+=virtual/httpd-php-7.4
+=www-apps/moodle-3.11.15
+=www-apps/moodle-4.0.9
+=www-apps/moodle-4.1.4
+=www-apps/moodle-4.2.1
+=www-apps/selfoss-2.19
+
 # Volkmar W. Pogatzki <[email protected]> (2023-07-05)
 # Library without consumers. Bug #906882
 # Removal on 2023-08-05.

Reply via email to