DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-msgpack 1:3.0.1-2

Package Information

DescriptionPHP extension for interfacing with MessagePack

This extension provide API for communicating with MessagePack serialization.

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-msgpack.git (browse)
Popcon Installs985
Trackerhttps://tracker.debian.org/pkg/php-msgpack
Uploaded7 hours ago
Supersedes1:3.0.1-1

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 13:55:53 +0100
Sourcephp-msgpack
Version1:3.0.1-2
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-msgpack (1:3.0.1-2) experimental; urgency=medium
 .
   * Fix msgpack-c headers license (BSL-1.0) and Format URL in d/copyright
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-msgpack deb php optional arch=all
php-msgpack-all-dev deb php optional arch=all
php8.4-msgpack deb php optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: msgpack
Upstream-Contact: Advect <advect@gmail.com>
                  Xinchen Hui <laruence@php.net>
                  Michael Wallner <mike@php.net>
Source: https://pecl.php.net/package/msgpack

Files: *
Copyright: 2010 advect vasquaz <advect@gmail.com>
License: BSD-3-clause

Files: */msgpack/*
Copyright: 2008-2010 FURUHASHI Sadayuki
License: BSL-1.0
Comment: Headers of msgpack-c, included by msgpack.c, msgpack_pack.c and
 msgpack_unpack.h.

Files: debian/*
Copyright: 2013 Mathieu Parent <math.parent@gmail.com>
           2016-2026 Ondřej Surý <ondrej@debian.org>
License: BSD-3-clause

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 .
 Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 .
 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.
 .
 Neither the name of the advect nor the names of its contributors may be used
 to endorse or promote products derived from this software without specific
 prior written permission.
 .
 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: BSL-1.0
 Boost Software License - Version 1.0 - August 17th, 2003
 .
 Permission is hereby granted, free of charge, to any person or organization
 obtaining a copy of the software and accompanying documentation covered by
 this license (the "Software") to use, reproduce, display, distribute,
 execute, and transmit the Software, and to prepare derivative works of the
 Software, and to permit third-parties to whom the Software is furnished to
 do so, all subject to the following:
 .
 The copyright notices in the Software and this entire statement, including
 the above license grant, this restriction and the following disclaimer,
 must be included in all copies of the Software, in whole or in part, and
 all derivative works of the Software, unless such copies or derivative
 works are solely in the form of machine-executable object code generated by
 a source language processor.
 .
 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN 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, 0 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 6 hours ago.

Proposes a replacement debian/watch: debian/watch in version 5 format

Report◂

DFSG NEW review for php-msgpack version 1:3.0.1-2

Summary

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

Licensing

debian/copyright is DEP-5 and matches the tree: Files: * is the 3-clause BSD text of LICENSE (holder advect), and Files: /msgpack/ correctly overrides it for the seven vendored msgpack-c headers, all of which carry Copyright (C) 2008-2010 FURUHASHI Sadayuki and BSL-1.0. Both licence texts are reproduced in full, the only files with notices are the ones the stanzas name, and no non-free or unclear terms were found. Both licences are DFSG-free and compatible.

Packaging

Standard dh-php packaging: single rules include of pkg-pecl.mk, generated control that matches control.in and the archive's existing binaries (php8.4-, php-msgpack, php-msgpack-all-dev), a DEP-3 patch scoped to msgpack_unpack.c, and Build-Depends all satisfied by the archive (dh-php 5.25, php-all-dev 2:107, debhelper 14.5). Only two old-age items: Standards-Version 4.5.1 and debhelper compat 10 via the deprecated debian/compat file.

Issues

minor packaging 1. Standards-Version 4.5.1 is two Policy series behind (Policy 4.7.4.1) ◂
  • Files: debian/control:9
  • 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, released 2026-03-31.
  • Problem: The declared Standards-Version has 4.5 where current Policy has 4.7, so the packaging has not been checked against the requirements added since 4.6/4.7 (Policy Appendix A10).
  • Fix: Review the A10 upgrading checklist and bump Standards-Version to the Policy version current at upload (4.7.4).
minor packaging 2. debhelper compat 10 is declared through the deprecated debian/compat file ◂
  • Files: debian/compat:1, debian/control:6-8
  • 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) lists v14 as recommended and v11 as discouraged, and reports for v13: The dh_missing command will now default to --fail-missing (it did not before).
  • Problem: At compat 10 files left uninstalled by the helpers are neither listed nor fatal, and the separate debian/compat file is the deprecated way of declaring the level; four levels behind the recommended one. Nothing in this package depends on compat 10 behaviour.
  • Fix: Replace debhelper (>= 10~) with debhelper-compat (= 13) (or 14 after reading debhelper-compat-upgrade-checklist(7)) and drop debian/compat.
minor packaging 3. debian/watch is in the old version 4 format ◂
  • Files: debian/watch
  • Basis: found by the review tooling's own checks
  • Evidence: version=4
  • 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 every file under debian/: control, control.in, rules, changelog (all 356 lines), compat, copyright, gbp.conf, msgpack.ini, php-msgpack.php, source/format, patches/series and the single patch.
  • Inventoried the whole upstream tree: package.xml plus msgpack-3.0.1/ with 10 C sources/headers, 7 headers under msgpack/, ~150 .phpt tests, 2 serialized fixtures, LICENSE, CREDITS, README.md.
  • Licence evidence: the only files carrying notices are the 7 msgpack/*.h (Copyright (C) 2008-2010 FURUHASHI Sadayuki, Distributed under the Boost Software License, Version 1.0); no Copyright/licence header exists in any .c, .h or .phpt file outside msgpack/.
  • LICENSE is the 3-clause BSD text with holder advect; package.xml declares <license filesource="LICENSE">3-Clause-BSD</license> for release 3.0.1 (the <license>PHP License</license> entries are historical changelog entries for releases up to 2.0.3, not file licences).
  • Stanza matching: Files: * covers package.xml, LICENSE, CREDITS, README.md, the extension sources and tests; Files: /msgpack/ matches msgpack-3.0.1/msgpack/* at any depth and is ordered after Files: ; debian/ covers debian/ and the patch. Full texts of BSD-3-clause and BSL-1.0 are present; neither is in /usr/share/common-licenses, so both must be and are reproduced.
  • No DFSG problem wording found (non-commercial, no-modification, field-of-use, CC-*-NC/ND, JSON 'Good, not Evil'); the single hit for GPL is inside base64 test data in msgpack-3.0.1/tests/issue107.phpt.
  • msgpack-3.0.1/tests/030.phpt (the scan's binary-data hit): upstream PHP test source (role="test" in package.xml) containing an embedded NUL byte in a test string, which makes it non-UTF-8; it is plain-text test input, not a built artefact, and tests are not installed by the binary packages.
  • msgpack-3.0.1/tests/enum002.ser.txt (25-byte msgpack serialized fixture) and msgpack-3.0.1/tests/issue149.ser.txt (PHP-serialized data) are read by enum002.phpt and issue149.phpt via file_get_contents(DIR...); test data only, not installed.
  • Patch 0001-fix-build-with-PHP-8.6-unserialize_callback_func-is-.patch has a DEP-3 header (From, Date, Subject, rationale), modifies only msgpack-3.0.1/msgpack_unpack.c and creates no file; its paths strip with -p1 against the unpacked tree.
  • apt-cache: debhelper (14.5), dh-php (5.25) and php-all-dev (2:107) exist and satisfy debhelper (>= 10~), dh-php (>= 5.23~), php-all-dev (>= 2:102~); the archive's php-msgpack 1:3.0.0-1 depends on php8.4-msgpack, consistent with the php8.4-msgpack package in debian/control.
  • debhelper tool for compat 10: the dh_missing --list-missing/--fail-missing defaults and the dh_auto_test/dh_strip nocheck skipping are compat 12/13 changes, so none applies here; substvars are named explicitly in debian/control, as compat 10 requires.
  • Changelog: version 1:3.0.1-2, distribution experimental (matching the previous 1:3.0.1-1 upload), dated before today; no stale bug closures.
  • uscan found the packaged version as the newest upstream release (upstream 3.0.1, packaged 3.0.1).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php does not exist), so /usr/share/dh-php/pkg-pecl.mk could not be read: whether dh-php consumes debian/php-msgpack.php (23 bytes, mod debian/msgpack.ini, a pkg-php-tools-era descriptor) or reads only debian/msgpack.ini, and whether it runs the upstream test suite during the build.
  • Related, and not checkable without pkg-pecl.mk: export REPORT_EXIT_STATUS:=0 in debian/rules would make run-tests.php exit 0 even when tests fail, so if dh-php does run make test, test failures cannot fail the build.
  • msgpack-3.0.1/tests/issue149.ser.txt is 1.2 MB of PHP-serialized data; only its first 4 KB were read, enough to identify it as a test fixture.
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/msgpack
Matching-Pattern: /get/msgpack-(.*).tgz
Uversionmangle: s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/

Uploader's response to the LLM review

The uploader was emailed about the review 5 hours ago.

Back to Dashboard | View all reviews for this package