DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-ds 2.0.0.really.1.8.0-2

Package Information

DescriptionPHP extension providing efficient data structures for PHP 7

An PHP extension providing specialized data structures as efficient alternatives to the PHP array.

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-ds.git (browse)
Popcon Installs70
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-ds
Uploaded4 hours ago

New Package Report

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

Files: *
Copyright: 2016-2017 Rudi Theunissen
	   2016-2017 Joe Watkins
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, 6 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-ds version 2.0.0.really.1.8.0-2

Summary

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

Licensing

ds 1.8.0 is MIT/Expat throughout: ds-1.8.0/LICENSE carries the only copyright notice ('Copyright (c) 2016 Rudi Theunissen') and the full Expat permission text, package.xml declares 'MIT License', and none of the 96 C/H files, config.m4/config.w32 or package.xml has a different or additional licence notice. debian/copyright is DEP-5, Files: * covers package.xml and the whole ds-1.8.0/ tree, debian/* covers the packaging and patches, the Expat short name and text are correct, and the holder the single notice names is listed. No non-free terms, no vendored third-party code, no binaries or data files of unclear provenance. The prescan found no holder missing from debian/copyright, which matches my own grep.

Packaging

The packaging is the standard Debian PHP-team PECL pattern: debian/rules only includes dh-php's pkg-pecl.mk, debian/control.in is expanded into the three binaries php-ds, php-ds-all-dev and php8.6-ds, the ini/php hook files are present, gbp.conf and the 3.0 (quilt) source format are sane, and Build-Depends (dh-php >= 5.23~, php-all-dev >= 2:108~, which the archive has in experimental) look satisfiable. Only minor staleness: Standards-Version 4.5.1, debhelper compat 10 via debian/compat, descriptions still saying 'for PHP 7' although upstream requires PHP >= 8.2, patches without DEP-3 Description/Forwarded fields, and an inert blanket lintian override.

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, debian/control.in
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1 in both files; the policy tool reports "Debian Policy version 4.7.4.1, released on 2026-03-31".
  • Problem: The first two components (4.5) are behind the current Policy (4.7), so the package has not been checked against Policy 4.6/4.7.
  • Fix: Bump Standards-Version to 4.7.4 in debian/control.in, regenerate debian/control, and check the 4.6/4.7 upgrades (policy A10) in case anything applies.
minor packaging 3. debhelper compat level 10 with a debian/compat file is two generations behind the recommended level ◂
  • Files: debian/compat:1, debian/control, debian/control.in
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat contains 10 and Build-Depends has debhelper (>= 10~); the debhelper tool (14.5 on the reviewing system) calls v14 "the recommended mode of operation".
  • Problem: Compat 10 is supported but obsolete, and the debian/compat file form is superseded by a debhelper-compat (= N) build dependency, which also lets dpkg check the level. Nothing here requires compat 10.
  • Fix: Build-Depend on debhelper-compat (= 14) (or 13), drop debian/compat, and drop the separate debhelper (>= 10~) entry.
minor packaging 4. All Description fields say the extension is "for PHP 7" although upstream requires PHP >= 8.2 and the binary is php8.6-ds ◂
  • Files: debian/control.in, debian/control
  • Basis: checked, in the package or with a reference tool
  • Evidence: Description: PHP extension providing efficient data structures for PHP 7 in control.in and in all three stanzas of control; ds-1.8.0/package.xml has <php><min>8.2.0</min></php> and the notes say "Drop PHP < 8.2".
  • Problem: The synopsis users see in apt and on packages.debian.org claims PHP 7 support, which upstream 1.8.0 dropped and which the php8.6-ds package cannot provide. The rest of the synopsis uses the older "An PHP extension" wording as well.
  • Fix: Change the synopsis in debian/control.in to the PHP version actually supported (or drop the version), regenerate debian/control, and fix the grammar while there.
minor packaging 5. Both patches lack a DEP-3 Description and any Forwarded field ◂
  • Files: debian/patches/0001-Fix-PHP-8.6-compatibility.patch, debian/patches/0002-use-zval_get_long_ex-instead-of-zend_parse_parameter.patch
  • Basis: checked, in the package or with a reference tool
  • Evidence: Each patch header has only From:, Date:, Subject: and the diffstat; there is no Description:/Long-Description: and no Forwarded:.
  • Problem: DEP-3 asks for a Description (and for the Forwarded state, or Origin), so a reader cannot tell why the change exists beyond the subject line or whether upstream has it. Both patches are PHP 8.6 compatibility fixes that upstream should carry, and nothing records that they were sent.
  • Fix: Add Description:/Long-Description:, Forwarded: (with the bug/report URL, or not-needed with a reason) and Last-Update: to both patches, and send them upstream.
minor packaging 6. source.lintian-overrides suppresses license-problem-php-license for every file, but the tree has no PHP licence text ◂
  • Files: debian/source.lintian-overrides:2, ds-1.8.0/LICENSE
  • Basis: checked, in the package or with a reference tool
  • Evidence: php-ds source: license-problem-php-license *; grepping the whole upstream tree for PHP License, Zend Engine License, Copyright, SPDX-License-Identifier and the other licence wordings finds only the Expat text in ds-1.8.0/LICENSE.
  • Problem: The override matches nothing today, so it protects against no real false positive, and its * file glob would silently hide a genuine PHP-licensed (non-free) file if one were ever added to the tree.
  • Fix: Remove the override, or narrow it to the specific path that would trigger the tag.
minor packaging 7. 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/control, control.in, rules, compat, changelog, copyright, gbp.conf, ds.ini, php-ds.php, source.lintian-overrides, source/format, patches/series and both patches in full.
  • Only copyright notice in the upstream tree is ds-1.8.0/LICENSE: Copyright (c) 2016 Rudi Theunissen, with the full MIT/Expat permission text; a grep of all 96 C/H, config.m4, config.w32 and package.xml files for Copyright/(C)/©/SPDX-License-Identifier/GNU/Apache/MPL/public domain/All rights reserved/PHP License/Zend Engine License found no other notice or licence.
  • package.xml declares <license uri="https://opensource.org/licenses/MIT">MIT License</license> and its <contents> list matches the files present under ds-1.8.0/ one for one (LICENSE, config.m4, config.w32, php_ds.c, php_ds.h, src/**), so nothing was stripped from the PECL tarball and no Files-Excluded entry is needed.
  • Presented evidence shows no non-free or field-of-use wording; no images, fonts, sounds, PDFs or other binary files in the tree; src/ds/ is upstream's own internal collection code, not a vendored copy of another Debian library.
  • debian/copyright: Files: * covers package.xml and the whole ds-1.8.0/ tree, debian/* covers debian/ (including the patches), the Expat short name matches the quoted text, and every holder the prescan found is named; the prescan reported no missing holder and this matches my own search.
  • debian/control.in matches the generated debian/control (Build-Depends, Maintainer, Vcs-*, Homepage), and the three binaries (php-ds, php-ds-all-dev, php8.6-ds) are the dh-php expansion of the single template stanza.
  • Build-Depends versions checked with apt-cache: dh-php 5.25 is in the archive (>= 5.23~ satisfied); php-all-dev 2:108exp2 is in experimental (accepted from NEW), satisfying >= 2:108.
  • The patches touch only ds-1.8.0/src/php/{handlers,objects} files, i.e. code compiled into the extension; they add no new files and no third-party work beyond small fixes whose From: lines are in the patch headers.
  • gbp.conf's debian-branch = debian/main, tags and pristine-tar settings and the 3.0 (quilt) source format are consistent with the .dsc.
  • uscan found the packaged version as the newest upstream release (upstream 2.0.0.really.1.8.0, packaged 2.0.0.really.1.8.0).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php is absent), so the contents of /usr/share/dh-php/pkg-pecl.mk, which debian/rules includes, could not be read: how it locates the ds-1.8.0/ source subtree (config.m4 is not at the tree root), what it needs from debhelper, and the mod debian/ds.ini mechanism of debian/php-ds.php were not verified.
  • php8.6-ds in debian/control assumes a PHP 8.6 development stack; the reviewing system's lists only go up to php-all-dev 2:107 (which depends on php8.4-dev), so whether php-all-dev 2:108~exp2 from experimental brings php8.6-dev could not be confirmed; a build would show it.
  • The C sources were not compiled; that the offsetof() replacement in patch 0001 needs no extra include and that zval_get_long_ex(offset, true) keeps the old unset_dimension behaviour for non-numeric offsets was not tested.
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/ds
Matching-Pattern: /get/ds-(1\.[\d\.p?]*).tgz
Update-Script: uupdate
Uversionmangle: s/^/2.0.0.really./
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