php-psr 1.2.0-11
Package Information
| Description | PSR interfaces for PHP This PHP extension provides the interfaces from the PSR standards as established by the PHP-FIG group. See http://www.php-fig.org/psr/ for more information on PSR standards. This is empty package that depends on default PHP version. |
|---|---|
| Maintainer | Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | any all |
| VCS | git: https://salsa.debian.org/php-team/pecl/php-psr.git (browse) |
| Popcon Installs | 20 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-psr |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Architecture | source all amd64 |
|---|---|
| Distribution | experimental |
| Date | Sat, 21 Nov 2026 10:04:33 +0100 |
| Source | php-psr |
| Version | 1.2.0-11 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
Changelog
php-psr (1.2.0-11) experimental; urgency=medium . * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6 * Bump Build-Depends to dh-php >= 5.23~
.dsc
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-psr deb php optional arch=all php-psr-all-dev deb php optional arch=all php8.6-psr deb php optional arch=any |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: psr
Upstream-Contact: John Boehr <jbboehr@php.net>
Source: http://pecl.php.net/package/psr
Files: *
Copyright: 2016-2018 John Boehr
License: BSD-2-clause
Files: debian/*
Copyright: 2015-2016 Ondřej Surý <ondrej@debian.org>
License: Expat
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 4 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 2 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Proposes a replacement debian/copyright:
debian/copyright Format field
Report
DFSG NEW review for php-psr version 1.2.0-11
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 4 minor
- debian/watch: old format (version 3)
- debian/copyright: machine-readable, without the current Format URL
- Scan before the review: nothing found
Licensing
The licensing is DFSG-free: upstream is Simplified BSD (BSD-2-clause) and the Debian packaging Expat, both with complete texts in debian/copyright, and nothing in the tree carries non-free terms. The file is DEP-5 but leaves one holder out: README.md credits the PHP Framework Interoperability Group for the PSR interfaces, and debian/copyright names only John Boehr. That is a completeness gap rather than a DFSG problem, and Policy 2.3 does not require the credit to be copied because it is plain text in a documentation file, not a notice on compiled code.
Packaging
The packaging is the standard Debian PHP team dh-php PECL template and is sound: correct binary split (arch:all metapackages plus the arch:any php8.6-psr extension), substvars supplied for the compat 10 level, Vcs-* fields, a coherent changelog and Build-Depends that exist (php-all-dev 2:102~ in experimental, dh-php 5.23 in unstable). Only minor nits: Standards-Version is behind current Policy, and an unused po-debconf build dependency.
Issues
important licensing 1. debian/copyright does not declare the current copyright-format 1.0 URL ◂
- Files:
debian/copyright:1 - Basis: found by the review tooling's own checks
- Evidence:
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ - Problem: The first field must be exactly
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/(copyright-format 1.0, "Format" field). Anything else, including thehttp://form and the URLs of the drafts that preceded 1.0, does not declare the file to be in the current format, and a file written to a draft may also use field names and licence short names that 1.0 changed. - Fix: Replace the line as shown under Proposed changes, then check the rest of the file against copyright-format 1.0 (for example
Upstream-Name,Upstream-ContactandSourcein the header, notNameorMaintainer).
minor licensing 2. Files: * does not name the PHP Framework Interoperability Group, credited in README.md for the PSR interfaces ◂
- Files:
debian/copyright:6-8,psr-1.2.0/README.md:150 - Basis: checked, in the package or with a reference tool
- Evidence:
PSR Interfaces: Copyright (c) 2012-present [PHP Framework Interoperability Group][:php-fig:].— while debian/copyright'sFiles: *stanza gives onlyCopyright: 2016-2018 John Boehr. - Problem: The upstream README itself states that the PSR interface definitions implemented by the extension (psr_*.c/.h) are PHP-FIG's copyrighted work, but debian/copyright attributes every upstream file to John Boehr alone. Policy 2.3 does not require this notice in debian/copyright: it is not a notice on a compiled file but a plain-text credit inside README.md, which ships as documentation with the line intact, so condition 3 of Policy 2.3 fails. It is still a gap in a complete copyright file.
- Fix: Add the holder to the upstream stanza, e.g. a second Copyright line
2012-present PHP Framework Interoperability Group; if the interface definitions are treated as reproduced from PHP-FIG's MIT-licensed psr/* packages, add the MIT text as a separate License paragraph as well.
minor packaging 3. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
- Files:
debian/control:10 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1; the policy tool reports Debian Policy version 4.7.4.1. - Problem: A Standards-Version two minor series behind current Policy. No Policy 4.6/4.7 change appears to affect this package, so the field can simply be raised.
- Fix: Bump to
4.7.4(or4.7.4.1) after checking the upgrading checklist (Policy A10).
minor packaging 4. Build-Depends on po-debconf is unused: the package has no debconf templates ◂
- Files:
debian/control:9,debian/control.in:9 - Basis: checked, in the package or with a reference tool
- Evidence:
po-debconfin Build-Depends, and nodebian/*.templates,debian/po/or debconfconfigscript anywhere in the tree. - Problem: Nothing in the build or the maintainer scripts uses debconf, so the build dependency is dead weight. It does not break the build, because debhelper itself depends on po-debconf.
- Fix: Drop
po-debconffrom Build-Depends in both debian/control and debian/control.in.
minor packaging 5. debian/watch is in the old version 3 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=3 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Read debian/copyright in full: DEP-5, a
Files: *stanza (BSD-2-clause), a laterdebian/*stanza (Expat), and complete stand-alone texts for both short names (neither BSD-2-clause nor Expat is in /usr/share/common-licenses). - Prescan hit
John Boehrat psr-1.2.0/LICENSE.md:4 is a loose-match false positive: the same holder and years are already in theFiles: *stanza. - Prescan hit
PHP Framework Interoperability Groupat psr-1.2.0/README.md:150 is reported above as a minor completeness gap. - Grepped the whole upstream tree for Copyright/(C)/©/SPDX/Licensed under/GNU/Apache/MPL/public domain/All rights reserved: only LICENSE.md:4-5 and README.md:150 match; psr_.c, psr_.h, config.m4, config.w32, CHANGELOG.md, package.xml and all 74 tests/.phpt|.inc files carry no notice of their own, so the
Files: *BSD-2-clause claim plus the README credit cover the tree. - No built files, minified code, bytecode, archives or PDFs in the tree; package.xml is the PECL release descriptor for 1.2.0 and declares
BSD-2-Clause, consistent with LICENSE.md. - LICENSE.md's trailing paragraph about the FreeBSD Project is a disclaimer of official endorsement, not a licence restriction;
All rights reservedis followed by a full two-clause BSD grant, so the files are DFSG-free. - No debian/patches, no maintainer scripts, no debian/tests; debian/rules is the two-line dh-php include, and debian/psr.ini plus debian/php-psr.php are the dh-php module registration files.
- Build-Depends are satisfiable per the archive data given by apt-cache: php-all-dev 2:102~ exists in experimental and dh-php 5.23 in unstable; debhelper 14.5 provides debhelper-compat 10.
- The arch:all/arch:any split and the
${pecl:*}/${php:*}substvars match what the same dh-php template produces for php-psr 1.2.0-9 and php-redis 6.2.0-1 (php-redis-all-dev shows${php:Depends}expanding to php-all-dev), so no dependency field is obviously wrong. - debian/rules deliberately sets
REPORT_EXIT_STATUS:=0, and changelog 1.2.0-7 says so: the build-time test suite cannot fail the build. Not graded as a defect, but no autopkgtest covers the extension either, so the suite is not enforced anywhere in Debian. - uscan found the packaged version as the newest upstream release (upstream
1.2.0, packaged1.2.0).
Not confirmed ◂
- dh-php is not installed on the reviewing system, so I could not read /usr/share/dh-php/pkg-pecl.mk or dh_php to confirm the exact substvar expansion and the installation of psr.ini/php-psr.php; the shipped php-psr and php-redis controls are consistent with this template.
- Whether README.md (with the PHP-FIG credit) is actually installed into the binary packages depends on dh-php's documentation handling, which I could not read; the issue above is graded minor either way.
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Source: https://pecl.php.net/package/psr
Matching-Pattern: .*/psr-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
Proposed: debian/copyright Format field ◂
Replace line 1 of debian/copyright with:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.