php-msgpack 1:3.0.1-1
Package Information
| Description | PHP extension for interfacing with MessagePack This extension provide API for communicating with MessagePack serialization. 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-msgpack.git (browse) |
| Popcon Installs | 989 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-msgpack |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Distribution | experimental |
|---|---|
| Date | Sat, 21 Nov 2026 10:04:27 +0100 |
| Source | php-msgpack |
| Version | 1:3.0.1-1 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
Changelog
php-msgpack (1:3.0.1-1) experimental; urgency=medium . * New upstream version 3.0.1 * Add upstream patch to fix FTBFS with PHP 8.6 * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6 * Bump Build-Depends to dh-php >= 5.23~
.dsc
| Package-List | php-msgpack deb php optional arch=all php-msgpack-all-dev deb php optional arch=all php8.6-msgpack deb php optional arch=any |
|---|---|
| Section | php |
| Priority | optional |
| Component | main |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PHP extension for interfacing with MessagePack Source: http://pecl.php.net/package/msgpack Files: * Copyright: 2010 advect vasquaz <advect@gmail.com> License: BSD-3-clause Files: msgpack-*/msgpack/*: Copyright: 2008-2010 FURUHASHI Sadayuki License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems, the complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0". Files: debian/* Copyright: 2013 Mathieu Parent <math.parent@gmail.com> 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.
DFSG Assistant LLM REVIEW 2 blocker, 1 important, 2 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 1 hour 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-msgpack version 1:3.0.1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 2 blocker, 1 important, 2 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable, without the current Format URL
- Scan before the review: 1 found
Licensing
All licences involved are DFSG-free (BSD-3-Clause for the PHP extension, BSL-1.0 for the bundled msgpack-c template headers), but debian/copyright does not describe them correctly. The six headers under msgpack-3.0.1/msgpack/ are Boost Software License 1.0 by FURUHASHI Sadayuki, not Apache-2.0, and the stanza that is supposed to describe them matches no file at all because its Files pattern ends with a stray colon, so those headers silently fall under the BSD-3-Clause Files: * stanza and their holder is not attributed.
Packaging
The packaging follows the Debian PHP team's dh-php workflow: a short rules including pkg-pecl.mk, dependencies on the matching dh-php/php-all-dev versions, a DEP-3 patch with a clear purpose, a sane changelog to experimental and correct Vcs fields. The only defect is a stale Standards-Version.
Issues
blocker licensing 1. debian/copyright calls the Boost-licensed msgpack/ headers Apache-2.0 ◂
- Files:
debian/copyright:9-11,msgpack-3.0.1/msgpack/pack_define.h:4-8,msgpack-3.0.1/msgpack/pack_template.h:4-8,msgpack-3.0.1/msgpack/sysdep.h:4-8,msgpack-3.0.1/msgpack/unpack_define.h:4-8,msgpack-3.0.1/msgpack/unpack_template.h:4-8,msgpack-3.0.1/msgpack/version.h:4-8 - Basis: checked, in the package or with a reference tool
- Evidence: Each header says
Copyright (C) 2008-2010 FURUHASHI SadayukiandDistributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt), while the stanza saysLicense: Apache-2.0. - Problem: The stated licence is wrong: msgpack-c's template headers in this release are BSL-1.0, not Apache-2.0, so the Apache-2.0 text in debian/copyright does not describe them. All six headers are compiled into the shipped extension (
msgpack_pack.c:26includes pack_template.h,msgpack_unpack.h:97unpack_template.h,msgpack.c:26version.h), so the source package and binary package are distributed under a licence misstatement; Policy 12.5 and copyright-format 6.7 require the actual licence. - Fix: Change the stanza to
License: BSL-1.0and give the licence text by pointing at the existing/usr/share/common-licenses/BSL-1.0(or include the full Boost text), keepingCopyright: 2008-2010 FURUHASHI Sadayuki.
blocker
licensing
2. Files pattern msgpack-*/msgpack/*: in debian/copyright ends with a colon and matches no file
◂
- Files:
debian/copyright:9,debian/copyright:5-7 - Basis: checked, in the package or with a reference tool
- Evidence:
Files: msgpack-*/msgpack/*: - Problem: copyright-format 6.9 makes the Files field a whitespace-separated list of simplified glob patterns; the colon is part of the pattern, so this stanza matches nothing. The six msgpack/ headers therefore get the earlier
Files: *stanza: BSD-3-Clause with only2010 advect vasquazas holder, dropping FURUHASHI Sadayuki's notice and misstating the licence of files compiled into the binary package. - Fix: Delete the trailing colon so the pattern reads
Files: msgpack-*/msgpack/*.
important licensing 3. 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 packaging 4. Standards-Version 4.5.1 is older than the reviewing system's Policy 4.7.4.1 ◂
- Files:
debian/control:9,debian/control.in:9 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1, while thepolicytool reports Policy 4.7.4.1. - Problem: The first two components of the declared version (4.5) are behind current Policy (4.7); this is a minor policy-interface staleness, not a violation of any rule the package breaks.
- Fix: Bump to
Standards-Version: 4.7.4.1in both control.in and the generated control, after checking Policy appendix A10 for changes since 4.5.1.
minor packaging 5. 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 of debian/ (control, control.in, rules, changelog, copyright, compat, gbp.conf, msgpack.ini, php-msgpack.php, source/format, patches/series and the single patch) and listed the complete upstream tree (170 files); .pc/ was ignored as instructed.
- Collected licence evidence with grep across the whole tree for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU/Apache/BSD/public domain/All rights reserved: notices exist only in msgpack-3.0.1/LICENSE (BSD-3-Clause, holder advect), in msgpack-3.0.1/msgpack/*.h (BSL-1.0, FURUHASHI Sadayuki) and in package.xml (
<license filesource="LICENSE">3-Clause-BSD</license>); there is no COPYING, NOTICE, AUTHORS or second licence text anywhere. - Checked that every listed licence is DFSG-free and mutually compatible; Boost 1.0 text is available in /usr/share/common-licenses/BSL-1.0, so a pointer suffices once the stanza names it.
msgpack-3.0.1/tests/030.phptis an upstream phpt test (--TEST-- Unserialize invalid data) whose expected output embeds a binary/NUL-containing MessagePack payload; it is test data, not a generated or built file, and its input is the PHP code in the same file.- The prescan's holder check is borne out: the only copyright holders with notices are advect (LICENSE) and FURUHASHI Sadayuki (msgpack/*.h); both are named in debian/copyright (FURUHASHI in the stanza whose pattern is broken). CREDITS/package.xml list authors, not further copyright notices.
- Versioned Build-Depends are satisfiable: the archive has php-all-dev 2:102~ (experimental/unstable) and dh-php 5.23 (unstable); the upload targets experimental, consistent with the PHP 8.6 dependency.
- Patch 0001 has DEP-3 headers (From, Date, Subject, description) and a clear purpose (PHP 8.6 zend_string change in msgpack_unserialize_class); changelog distribution/versioning and Vcs-* fields are sane.
- Debian ships msgpack-c as libmsgpack-c-dev (7.0.2), but the six headers are upstream's own bundled templates included by design rather than an installed library; noted, not reported.
- uscan found the packaged version as the newest upstream release (upstream
3.0.1, packaged3.0.1). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; how it consumes the nested msgpack-3.0.1/ tree, control.in, msgpack.ini and php-msgpack.php, and how it invokes the phpt suite, was not verified from the helper itself.
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/
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.