DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-psr 1.2.0-12

Package Information

DescriptionPSR 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.

MaintainerDebian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
Changed ByOndřej Surý <ondrej@debian.org>
Sponsorondrej@debian.org
Distributionexperimental
Architectureany all
VCSgit: https://salsa.debian.org/php-team/pecl/php-psr.git (browse)
Popcon Installs19
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-psr
Uploaded11 hours ago

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:58:16 +0100
Sourcephp-psr
Version1.2.0-12
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-psr (1.2.0-12) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Componentmain
Package-Listphp-psr deb php optional arch=all
php-psr-all-dev deb php optional arch=all
php8.6-psr deb php optional arch=any
Sectionphp
Priorityoptional
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, 3 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 9 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-12

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 1 important, 3 minor
  • debian/watch: old format (version 3)
  • debian/copyright: machine-readable, without the current Format URL
  • Scan before the review: nothing found

Licensing

The code is DFSG-free: the project is Simplified BSD (BSD-2-clause) per LICENSE.md, package.xml declares BSD-2-Clause, and the C sources are John Boehr's own implementation with no copied third-party code or restrictive terms. debian/copyright names John Boehr for Files: * and Ondřej Surý for debian/*, with the BSD-2-clause and Expat texts embedded. The one gap is completeness: upstream credits PHP Framework Interoperability Group for the PSR interface definitions in README.md:150, and no such holder appears in debian/copyright.

Packaging

Standard dh-php/php-pecl packaging: rules includes pkg-pecl.mk and lets dh do the work, debhelper compat 10 with an explicit debhelper (>= 10~), control generated from control.in with the expected php-psr / php-psr-all-dev / php8.6-psr split, no patches, no maintainer scripts, and build dependencies that exist (dh-php 5.25 in unstable, php-all-dev 2:108~exp2 accepted in experimental). The only fault worth noting is the stale Standards-Version.

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 the http:// 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-Contact and Source in the header, not Name or Maintainer).
minor licensing 2. debian/copyright does not name PHP Framework Interoperability Group, credited by upstream for the PSR interfaces ◂
  • Files: debian/copyright:6-8, psr-1.2.0/README.md:150, psr-1.2.0/LICENSE.md:4
  • Basis: checked, in the package or with a reference tool
  • Evidence: README.md:150: PSR Interfaces: Copyright (c) 2012-present [PHP Framework Interoperability Group][:php-fig:]. — the only Copyright: line in debian/copyright is Copyright: 2016-2018 John Boehr (Files: *, line 7).
  • Problem: Debian Policy 2.3 does not require this notice to be copied: the only PHP-FIG notice is in README.md, a plain-text document that ships unmodified with the notice in it (or is not installed at all), and no file in the tree is a copy of PHP-FIG's source — the psr_*.c/.h files are an independent C implementation of the interfaces (grep finds only method-name comments, no copied docblocks or notices). The DFSG team nevertheless asks for a complete debian/copyright, and upstream itself attributes the PSR interface definitions implemented here to PHP-FIG. The prescan's other hit, John Boehr in LICENSE.md:4, is a false positive: he is the holder named in Files: *.
  • Fix: Extend debian/copyright to record the attribution, e.g. a Files: psr-1.2.0/README.md stanza naming both 2016-2018 John Boehr and 2012-present PHP Framework Interoperability Group, or add the group to the Files: * Copyright field; no new licence stanza is needed since no PHP-FIG source file is distributed.
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, while the reviewing system's Policy is 4.7.4.1.
  • Problem: The declared Policy version is two minor series behind (4.5 against 4.7), so the package has not been checked against the Policy changes since 4.5 (Policy appendix A10).
  • Fix: Bump to Standards-Version: 4.7.4.1 (or the current version), checking appendix A10 for the intervening changes; no packaging changes appear to be needed.
minor packaging 4. 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 ◂
  • Enumerated the whole tree: top-level package.xml, psr-1.2.0/ with 25 .c/.h files, config.m4, config.w32 and CHANGELOG.md/LICENSE.md/README.md, psr-1.2.0/tests/ with .phpt tests and .inc fixtures, and 11 files under debian/; .pc/ not read, per instructions. No built, minified, generated or PDF artefacts, and no missing generator input.
  • The only licence notices in the tree are LICENSE.md (Simplified BSD, John Boehr 2016-2018), README.md's licence section and the PHP-FIG credit line, and package.xml's <license ...>BSD-2-Clause</license>; no non-free wording anywhere (the prescan listed none).
  • Copyright: 2016-2018 John Boehr in Files: * matches LICENSE.md:4 and the years in package.xml; Files: debian/* with Expat matches the dh-php/Ondřej Surý packaging files.
  • The BSD-2-clause and Expat texts embedded in debian/copyright are complete and match the licences used; the CHANGELOG.md:92 mention of LGPLv3 is historical (licence changed to Simplified BSD in 0.2.3).
  • All .c/.h files carry no separate copyright header; the PSR interface content is method names and signatures only, with no copied PHP-FIG source or docblocks.
  • Build-Depends resolve: apt-cache shows dh-php 5.25 (unstable) and php-all-dev 2:108~exp2 accepted in experimental, satisfying the 2:108~ constraint of the experimental target; debhelper 10 (compat 10) is supported.
  • No debian/patches, no debian/tests, no maintainer scripts or *.maintscript files; quilt state under .pc/ is stale and empty of applied patches.
  • debian/control, control.in, rules, changelog, compat, copyright, gbp.conf, php-psr.php, psr.ini and source/format read in full; the control/control.in split (arch:any template expanded to php-psr, php-psr-all-dev and php8.6-psr) is consistent with dh-php generation.
  • uscan found the packaged version as the newest upstream release (upstream 1.2.0, packaged 1.2.0).
Not confirmed ◂
  • debian/php-psr.php (mod debian/psr.ini) is consumed by dh-php's pkg-pecl.mk, and whether psr-1.2.0/README.md and CHANGELOG.md are installed as documentation depends on that file; dh-php is not installed on the reviewing system (no /usr/share/dh-php), so this could not be read. Neither point changes any finding.
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.

Back to Dashboard | View all reviews for this package