DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-protobuf 5.36.2-2

Package Information

DescriptionProtocol buffers bindings for PHP

Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

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-protobuf.git (browse)
Trackerhttps://tracker.debian.org/pkg/php-protobuf
Uploaded4 hours ago

New Package Report

.changes◂
DateFri, 27 Nov 2026 15:58:14 +0100
Sourcephp-protobuf
Version5.36.2-2
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
Changelog◂
php-protobuf (5.36.2-2) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-protobuf deb php optional arch=all
php-protobuf-all-dev deb php optional arch=all
php8.6-protobuf deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: protobuf
Upstream-Contact: Arnaud Le Blanc <arnaud.lb@gmail.com>
Source: http://pecl.php.net/package/protobuf

Files: *
Copyright: 2008 Google Inc.
License:
 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 Google Inc. 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
 OWNER 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.
 .
 Code generated by the Protocol Buffer compiler is owned by the owner
 of the input file used when generating it.  This code is not
 standalone and requires a support library to be linked with it.  This
 support library is itself covered by the above license.

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 2 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 0 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-protobuf version 5.36.2-2

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 2 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 bulk of the tree is Google BSD-3-Clause and that is stated correctly, but third_party/utf8_range is a vendored MIT (Expat) component with its own LICENSE naming 2019 Yibo Cai and 2022 Google LLC, and debian/copyright applies the BSD-3 Files: * stanza to it without a stanza of its own. The holder Yibo Cai is named nowhere, and utf8_range.c is compiled into protobuf.so, so Policy 2.3 requires the notice. Both are licensing blockers; a secondary format defect is the empty short name on the Files: * License field. No non-free terms anywhere.

Packaging

The packaging follows the Debian PHP team's dh-php/pk-pecl scheme: a one-line rules including /usr/share/dh-php/pkg-pecl.mk, three binary packages (default metapackage, -all-dev, php8.6-protobuf) generated from control.in, a single DEP-3 patch with a clear FTBFS purpose, 3.0 (quilt) source, correct Vcs-* fields. Build-Depends are satisfiable: dh-php 5.25 is in unstable (>= 5.23) and php-all-dev 2:108~exp2 is in experimental (package targets experimental). The only defect is the stale Standards-Version 4.5.1.

Issues

blocker licensing 1. third_party/utf8_range is MIT-licensed but debian/copyright applies the BSD-3 Files: * stanza to it ◂
  • Files: debian/copyright:6-37, protobuf-5.36.2/third_party/utf8_range/LICENSE:1-21, protobuf-5.36.2/third_party/utf8_range/utf8_range.c:1-5, protobuf-5.36.2/config.m4:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: LICENSE: "MIT License / Copyright (c) 2019 Yibo Cai / Copyright 2022 Google LLC ... Permission is hereby granted, free of charge ..." against debian/copyright: Files: * / Copyright: 2008 Google Inc. / License: followed by the three-clause BSD text ("Neither the name of Google Inc. nor the names of its contributors ...").
  • Problem: Every file under third_party/utf8_range/ (utf8_range.c, utf8_range.h, utf8_range_sse.inc, utf8_range_neon.inc, the duplicated php-upb.c/php-upb.h) is MIT, not BSD-3-Clause, so debian/copyright states the wrong licence for them. utf8_range.c is listed in config.m4 and compiled into the shipped protobuf.so, and the SSE/NEON files are #included by it (utf8_range.c:173,175); the MIT permission notice is consequently not reproduced with the binary package, contrary to Policy 2.3 and to the licence's own condition.
  • Fix: Add a stanza before or after Files: * (later stanzas win, so put it after): Files: protobuf-5.36.2/third_party/utf8_range/* with Copyright: 2019 Yibo Cai and 2022, 2023 Google LLC, License: Expat, reusing the existing stand-alone License: Expat paragraph (or rename it MIT and add it).
blocker licensing 2. Files: * does not name Yibo Cai, holder of third_party/utf8_range code compiled into protobuf.so ◂
  • Files: protobuf-5.36.2/third_party/utf8_range/LICENSE:3, protobuf-5.36.2/third_party/utf8_range/utf8_range.c, protobuf-5.36.2/config.m4:7, debian/copyright:6-7
  • Basis: checked, in the package or with a reference tool
  • Evidence: LICENSE:3: Copyright (c) 2019 Yibo Cai; debian/copyright names only Copyright: 2008 Google Inc. for Files: *.
  • Problem: Policy 2.3 requires the copyright notice of files shipped compiled in a binary package to be in /usr/share/doc//copyright when the licence requires the notice to be kept, which MIT does. utf8_range.c and the .inc files it includes are built into protobuf.so (config.m4:7), so this is not a build-only or plain-text file; the holder must be named.
  • Fix: Name 2019 Yibo Cai in the new third_party/utf8_range stanza described in the preceding issue.
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 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 4. Files: * License field has no short name (empty synopsis), contrary to copyright-format 6.7 ◂
  • Files: debian/copyright:8-9
  • Basis: checked, in the package or with a reference tool
  • Evidence: License: is followed directly by the indented BSD text; copyright-format 6.7 says the first line of the field "is always the license short name".
  • Problem: Without a synopsis the BSD-3-Clause stanza has no short name, so DEP-5 consumers cannot identify the licence and the field does not conform to the specification (Policy 12.5 refers to it).
  • Fix: Write License: BSD-3-clause on the first line (the text may stay below it), and refer to the same short name in any summary or standalone stanza.
minor packaging 5. Standards-Version 4.5.1 is older than the current 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; the policy tool reports Debian Policy 4.7.4.1.
  • Problem: The declared policy version is two minor series behind; no other part of this packaging conflicts with current Policy, so the declaration is simply stale.
  • Fix: Raise to Standards-Version: 4.7.4 in both debian/control and debian/control.in.
minor packaging 6. 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 all of debian/ (changelog, compat, control, control.in, copyright, gbp.conf, php-protobuf.php, protobuf.ini, rules, source.lintian-overrides, source/format, patches/series and the patch) except debian/watch, which is out of scope.
  • Inventoried the whole upstream tree: 26 files under protobuf-5.36.2/ plus package.xml; nothing else at the top level (apart from .pc/, ignored), no binary data, images or fonts.
  • Grepped the tree for Copyright/(C)/©/SPDX/Licensed under/permission/GNU/Apache/MPL/public domain/All rights reserved: the only notices are Copyright 2008 Google Inc. (top-level LICENSE and every hand-written .c/.h, with 2014 for message.c and 2022 for php_protobuf.h) and the MIT utf8_range LICENSE/utf8_range.c; no GPL, LGPL, Apache, MPL, CC or non-commercial/no-modification wording anywhere.
  • protobuf-5.36.2/php-upb.c and php-upb.h (and their duplicates under third_party/utf8_range/) are upstream's /* Amalgamated source file */ concatenation of upb: plain, unminified C with no copyright header inside. They are built (config.m4:7) and are covered by the Google BSD-3 Files: * stanza and the shipped top-level LICENSE; no separately-licensed third-party content was found in them (grep for licence/copyright text returns only identifiers such as ..._DELIMITED).
  • protobuf-5.36.2/third_party/utf8_range/wkt.inc is generated from the .proto files for the well-known types, included by message.c:1431; its inputs are the protobuf well-known-type .proto files, which are not in the PECL tarball, but the file is plain readable C descriptor tables, not an opaque blob, and is covered by the Google BSD-3 stanza - I did not treat it as a DFSG problem.
  • utf8_range.c's include of utf8_range_sse.inc / utf8_range_neon.inc (lines 173/175) makes those compiled too; both carry no separate notice and are covered by the utf8_range MIT LICENSE, which is the licence defect reported above.
  • Google LLC (poscan: 'possibly named under a similar name') names the same Google holder that Files: * calls Google Inc.; I did not treat the Inc/LLC spelling or the year drift (2008 vs 2014/2022/2023) as a reportable inaccuracy, as instructed.
  • Upstream LICENSE and package.xml agree that the extension itself is BSD-3-Clause; the two agree with the Files: * text for the hand-written sources.
  • No generated-file or non-free-wording entries were listed in the prescan beyond the Yibo Cai holder; the prescan lists no built archives, PDFs or minified code.
  • apt-cache: dh-php 5.25 exists (Build-Depends >= 5.23 satisfied); php-all-dev 2:108exp2 is in experimental, satisfying (>= 2:108) for this experimental upload. libupb-dev in Debian is the obsolete 2020 upb (0.0.0~git200730), so the embedded modern upb is not a usable duplicate.
  • Patch 0001 has a DEP-3 From/Date/Subject header, a clear purpose (zval_dtor removed in PHP 8.6), touches only two files, and is short; no Forwarded field, which is optional and not reported.
  • uscan found the packaged version as the newest upstream release (upstream 5.36.2, packaged 5.36.2).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (no /usr/share/dh-php/pkg-pecl.mk), so the included rules fragment could not be read and how debian/control.in relates to the committed debian/control (which adds php-protobuf-all-dev and php8.6-protobuf and makes php-protobuf Architecture: all) could not be checked. Nothing in the files suggested a fault; a build would show it.
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/protobuf
Matching-Pattern: /get/protobuf-([\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