DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-yaml 2.3.0-4

Package Information

DescriptionYAML-1.1 parser and emitter for PHP

PHP extension adding support for YAML 1.1 (YAML Ain't Markup Language) serialization using the LibYAML library.

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-yaml.git (browse)
Popcon Installs1617
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-yaml
Uploaded11 hours ago
Supersedes2.3.0-3

New Package Report

.changes◂
Distributionexperimental
DateFri, 27 Nov 2026 15:58:24 +0100
Sourcephp-yaml
Version2.3.0-4
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Changelog◂
php-yaml (2.3.0-4) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-yaml deb php optional arch=all
php-yaml-all-dev deb php optional arch=all
php8.6-yaml deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: yaml
Upstream-Contact: Bryan Davis <bd808@php.net>
Source: http://pecl.php.net/package/yaml

Files: *
Copyright: 2007 Ryusuke SEKIYAMA
	   2009 Keynetics Inc
	   2015 Bryan Davis and contributors
License: Expat

Files: debian/*
Copyright: 2016 Ondřej Surý <ondrej@debian.org>
License: Expat

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 8 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-yaml version 2.3.0-4

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • 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

All 91 upstream files are MIT/Expat: the LICENSE file and the headers of yaml.c, parse.c, emit.c, detect.c, php_yaml.h and php_yaml_int.h all carry the same three copyright holders (2007 Ryusuke SEKIYAMA, 2009 Keynetics Inc, 2015 Bryan Davis and contributors), and package.xml declares MIT. debian/copyright is DEP-5 and its Files: * and debian/* stanzas correctly cover the tree with those holders; the License: Expat paragraph is the full MIT text, matching the licence. No non-free terms, no vendored third-party code (libyaml is linked from libyaml-dev), no file without a licence, and no built or generated file of unclear provenance. The pre-scan found no holder missing, and my own grep of the whole tree confirms only the three named holders.

Packaging

The packaging is conventional dh-php/PECL packaging and works: control.in generates a metapackage (php-yaml, arch all), an all-versions metapackage and php8.6-yaml (arch any); the Build-Depends (debhelper >= 10, dh-php >= 5.23, libyaml-dev, php-all-dev >= 2:108~) are all satisfiable (php-all-dev 2:108~exp2 is in experimental, matching the experimental target); Vcs-*, Homepage, Multi-Arch-less extension packages, changelog and 3.0 (quilt) format are fine. Only minor issues: Standards-Version is 4.5.1 against 4.7.4.1, the patch set lacks DEP-3 forwarding information and 0006-fix.patch is named and summarised only as "fix", and source.lintian-overrides still blanket-suppresses license-problem-php-license although nothing in 2.3.0 is PHP-licensed.

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 packaging 2. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:11, debian/control.in:11
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The declared Standards-Version is 4.5.1, while the Policy installed here is 4.7.4.1 and the package has not declared conformance with the requirements added since (Debian Policy 4.5.1 is two minor versions behind). No behaviour change is known to be needed, but the field should be current.
  • Fix: Bump Standards-Version to 4.7.4 in debian/control.in, regenerate debian/control, and re-check the A10 checklist for 4.6.0 through 4.7.4.
minor packaging 3. Patches lack Forwarded/Origin metadata and 0006-fix.patch documents no purpose ◂
  • Files: debian/patches/0006-fix.patch:1-8, debian/patches/0002-Fix-some-edge-case-memory-leaks-and-outstanding-TODO.patch:1-6, debian/patches/0005-Fix-build-on-PHP8.6.0-beta2.patch:1-6, debian/patches/series

  • Basis: inferred from what was read, not seen directly

  • Evidence:

    From: Sunch 120295462+Sunch233@users.noreply.github.com
    Subject: fix

    yaml-2.3.0/tests/yaml_parse_file_002.phpt | 2 +-

  • Problem: All six patches carry only From/Date/Subject and no Forwarded: or Origin: field, so a reader cannot tell whether they are upstream commits already fixed upstream or Debian-only work that should be sent upstream; 0002-0005 are PHP 8.6 build fixes. 0006-fix.patch goes further: its subject is just "fix" and its body is a bare diff, so the purpose (relaxing the expected warning regex in a test from yaml_parse_file(invalid) to also allow yaml_parse_file()) is only discoverable by reading the patch. DEP-3 practice is a descriptive header plus forwarding status.

  • Fix: Give each patch Origin: upstream, <commit> or Forwarded: <bug/PR URL> (or Forwarded: not-needed with a reason), and rename 0006-fix.patch with a real subject/Description, e.g. "Relax yaml_parse_file warning expectation for PHP 8.6".

minor packaging 4. source.lintian-overrides needlessly suppresses license-problem-php-license for every file ◂
  • Files: debian/source.lintian-overrides:1-2

  • Basis: inferred from what was read, not seen directly

  • Evidence:

    Override invalid PHP license problem for PHP extensions coming from PECL.PHP.NET

    php-yaml source: license-problem-php-license *

  • Problem: Nothing in 2.3.0 is PHP-licensed: the LICENSE file, all C/H headers and package.xml declare MIT, and a grep of the tree finds no PHP License text. The wildcard override is a leftover from the pre-2.0 (PHP-licensed) upstream and now suppresses a licence-related lintian warning for every path in the source package, which would hide a genuine problem if one were introduced later.

  • Fix: Drop debian/source.lintian-overrides (or, if a specific file ever needs it, replace the * wildcard with that path).

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, Files: * names 2007 Ryusuke SEKIYAMA, 2009 Keynetics Inc, 2015 Bryan Davis and contributors; Files: debian/* names 2016 Ondřej Surý; both use License: Expat with the complete MIT text, matching upstream LICENSE.
  • Read yaml-2.3.0/LICENSE, CREDITS, README, config.m4, config.w32 and the full header blocks of yaml.c, parse.c, emit.c, detect.c, php_yaml.h and php_yaml_int.h: same MIT grant and same three holders everywhere; package.xml <license ...>MIT</license>.
  • The pre-scan's author check reports "every holder found is named in debian/copyright"; an independent grep for Copyright/(C)/©/SPDX/licence terms over the whole tree (including .pc and debian/) found no other holder and no non-free wording.
  • All 84 files under yaml-2.3.0/tests/ are PHPT tests and .yaml fixtures; they carry no separate copyright or licence notice (only PECL bug URLs and yaml.kwiki.org test provenance), so the Files: * stanza covers them.
  • No COPYING/NOTICE/AUTHORS elsewhere and no vendored library: libyaml is used through Build-Depends libyaml-dev, not embedded; no built, minified or generated binary files are in the tarball (only C sources, headers, m4/w32 build files, docs and tests).
  • Read all six patches and debian/patches/series; they only modify package.xml, emit.c, parse.c, yaml.c and tests/yaml_parse_file_002.phpt. 0006 creates tests/yaml_parse_file_002.phpt content that a patch modifies, covered by the debian/* stanza; no patch introduces code under a different licence.
  • Read debian/control, control.in, rules, changelog, compat, gbp.conf, source/format, php-yaml.php, yaml.ini and source.lintian-overrides; there are no install/links/docs/dirs files, no maintainer scripts and no debian/tests.
  • Build-Depends checked with apt-cache: dh-php 5.25 and libyaml-dev exist; php-all-dev 2:108exp2 is in experimental (and php-defaults 108exp1 in NEW), so php-all-dev (>= 2:108~) is satisfiable for this experimental upload.
  • debian/compat is 10 and consistent with debhelper (>= 10~); debhelper 14.5 does not mark v10 deprecated (only v7 deprecated, v11 discouraged), so no compat-level defect follows.
  • debian/rules is the standard dh-php one-liner (include /usr/share/dh-php/pkg-pecl.mk) and also sets REPORT_EXIT_STATUS:=0, i.e. upstream test failures are non-fatal by design (changelog 2.1.0+1.3.2-2, Closes: #964538).
  • uscan found the packaged version as the newest upstream release (upstream 2.3.0, packaged 2.3.0).
Not confirmed ◂
  • /usr/share/dh-php is not installed on the reviewing system, so pkg-pecl.mk and dh_php could not be inspected; what the rules machinery does (test invocation, ini/maintscript generation, metapackage dependencies) is taken at face value.
  • No build or test run was possible; the upstream suite includes a network test (tests/yaml_parse_url_001.phpt) and failures are not fatal, so the actual test status is unverified.
  • package.xml's 2.3.0 release notes mention an added composer.json, but no composer.json is in the tarball or in package.xml's ; this is an upstream release-metadata inconsistency, not a Debian omission.
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/yaml
Matching-Pattern: /get/yaml-([\d\.p?]*).tgz
Update-Script: uupdate
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