• Bug#1065071: bullseye-pu: package php-symfony-contracts/1.1.10-2+deb11u

    From David =?UTF-8?Q?Pr=C3=A9vot?=@21:1/5 to All on Thu Feb 29 12:40:02 2024
    XPost: linux.debian.devel.release

    --uxVuf1vG4Zml+8r3
    Content-Type: text/plain; charset=utf-8
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    Package: release.debian.org
    Severity: normal
    Tags: bullseye
    X-Debbugs-Cc: php-symfony-contracts@packages.debian.org, team@security.debian.org
    Control: affects -1 + src:php-symfony-contracts
    User: release.debian.org@packages.debian.org
    Usertags: pu

    [2/6 for bullseye]

    This is a follow up from composer/DSA-5632-1, similar to #1065058 in
    bookworm.

    In order to fix a Debian-specific issue related to CVE-2024-24821, we
    agreed with the security team to push related dependencies via the next
    point release.

    The only change (besides changelog entry) in the binary packages is of
    the following kind (thanks to diffoscope), for example for php-symfony-cache-contracts.

    │ │ ├── ./usr/share/php/Symfony/Contracts/Cache/autoload.php
    │ │ │ @@ -1,13 +1,11 @@
    │ │ │ <?php
    │ │ │ -require_once 'Psr/Cache/autoload.php';
    │ │ │ +require_once __DIR__ . '/../../../Psr/Cache/autoload.php';
    │ │ │
    │ │ │ -if (stream_resolve_include_path('Symfony/Component/Cache/autoload.php')){
    │ │ │ - include_once 'Symfony/Component/Cache/autoload.php';
    │ │ │ -}
    │ │ │ +if (stream_resolve_include_path(__DIR__ . '/../../Component/Cache/autoload.php')) { include_once __DIR__ . '/../../Component/Cache/autoload.php'; }
    │ │ │
    │ │ │ // @codingStandardsIgnoreFile

    The goal is to ensure related dependencies are loaded from the system
    path.

    The attached debdiff is a lot bigger, since this source package builds
    seven binary packages, and that d/rules has been adapted to keep the
    testsuite at buildtime effective.

    [ Checklist ]
    [x] *all* changes are documented in the d/changelog
    [x] I reviewed all changes and I approve them
    [x] attach debdiff against the package in (old)stable
    [x] the issue is verified as fixed in unstable

    TIA for considering.

    Cheers,

    taffit

    --uxVuf1vG4Zml+8r3
    Content-Type: text/x-diff; charset=iso-8859-1
    Content-Disposition: attachment;
    filename="php-symfony-contracts_1.1.10-2+deb11u1.patch" Content-Transfer-Encoding: quoted-printable

    diff -Nru php-symfony-contracts-1.1.10/debian/changelog php-symfony-contracts-1.1.10/debian/changelog
    --- php-symfony-contracts-1.1.10/debian/changelog 2020-09-15 22:17:37.000000000 +0200
    +++ php-symfony-contracts-1.1.10/debian/changelog 2024-02-18 11:57:14.000000000 +0100
    @@ -1,3 +1,9 @@
    +php-symfony-contracts (1.1.10-2+deb11u1) bookworm; urgency=medium
    +
    + * Force system dependencies loading
    +
    + -- David Prévot <taffit@debian.org> Sun, 18 Feb 2024 11:57:14 +0100
    +
    php-symfony-contracts (1.1.10-2) unstable; urgency=medium

    * Revert "stop using deprecated PHPUnit APIs", fixing symfony FTBFS
    diff -Nru php-symfony-contracts-1.1.10/debian/rules php-symfony-contracts-1.1.10/debian/rules
    --- php-symfony-contracts-1.1.10/debian/rules 2020-09-15 22:17:37.000000000 +0200
    +++ php-symfony-contracts-1.1.10/debian/rules 2024-02-18 11:57:10.000000000 +0100
    @@ -45,13 +45,13 @@
    fi; \
    done
    cp debian/autoload.php .
    - mkdir --parents vendor Symfony
    + mkdir --parents vendor Symfony/Contracts
    phpab \
    --output vendor/autoload.php \
    --template debian/autoload.tests.php.tpl \
    Tests
  • From Jonathan Wiltshire@21:1/5 to All on Mon Apr 22 23:10:01 2024
    XPost: linux.debian.devel.release

    Control: tag -1 confirmed

    On Thu, Feb 29, 2024 at 12:30:50PM +0100, David Prévot wrote:
    This is a follow up from composer/DSA-5632-1, similar to #1065058 in bookworm.

    Please go ahead.

    Thanks,



    --
    Jonathan Wiltshire jmw@debian.org
    Debian Developer http://people.debian.org/~jmw

    4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51 ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)