DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-phpser 0.11.0-2

Package Information

Descriptionfast binary serializer for PHP cache workloads

This extension serializes PHP values into a compact binary format. It is written for read-heavy cache workloads, where a value is decoded far more often than it is encoded, and is optimized for decoding speed.

It provides phpser_serialize() and phpser_unserialize(), variants that sign the payload with an HMAC, and a session serialize handler.

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

New Package Report

.changes◂
Sourcephp-phpser
Version0.11.0-2
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:58:13 +0100
Changelog◂
php-phpser (0.11.0-2) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Priorityoptional
Componentmain
Package-Listphp-phpser deb php optional arch=all
php-phpser-all-dev deb php optional arch=all
php8.6-phpser deb php optional arch=any
Sectionphp
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: phpser
Upstream-Contact: Ilia Alshanetsky <ilia@ilia.ws>
Source: https://github.com/iliaal/phpser

Files: *
Copyright: 2025-2026 Ilia Alshanetsky
           2025-2026 Advanced Internet Designs Inc.
License: BSD-3-clause

Files: debian/*
Copyright: 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:
 .
 1. Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
 .
 2. 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.
 .
 3. Neither the name of the copyright holder 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 0 blocker, 0 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 0 hours ago.

Report◂

DFSG NEW review for php-phpser version 0.11.0-2

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5 and accurate. Everything upstream is BSD-3-Clause with the two holders (Ilia Alshanetsky, Advanced Internet Designs Inc.) named in both the per-file notices and the Files: * stanza; the full BSD-3 text is included and the LICENSE file ships. No non-free terms, no vendored third-party code and no unlicensed file were found. The one binary asset, images/phpser-hero.jpg, is a README illustration covered by Files: *.

Packaging

Packaging follows the Debian PHP team's dh-php/pecl pattern: control.in is the dh-php template, the generated control lists the metapackages and the php8.6 variant, rules is the single pkg-pecl.mk include, the quilt patch is applied and described, and php-all-dev 2:108~ exists in experimental as the changelog says. Remaining problems are minor: a new package still on debhelper compat 10 (which also loses dh_missing's fail-on-uninstalled behaviour), and a quilt patch with no Forwarded marker.

Issues

minor packaging 1. New package uses debhelper compat 10 instead of 13 or later ◂
  • Files: debian/compat, debian/control:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat: 10; debian/control: Build-Depends: debhelper (>= 10~),; dh_missing(1): "In compat 12, --list-missing is the default In compat 13 and later, --fail-missing is the default."
  • Problem: This is an initial upload, so there is no compatibility reason to stay at a level several releases behind current practice (debhelper 14.5 on the reviewing system; compat 13 is the normal baseline, and dh-php's own packages use debhelper-compat). At compat 10 dh_missing does nothing unless asked (compat 11 and earlier: "without either of these options, dh_missing will silently do nothing"), so a file the build installs but no binary package accounts for is dropped without a word — relevant here because the extension installs headers via PHP_INSTALL_HEADERS in config.m4. No Policy section is violated.
  • Fix: Replace debian/compat and the debhelper (>= 10~) dependency with debhelper-compat (= 13) in Build-Depends.
minor packaging 2. Quilt patch 0001 has no Forwarded field ◂
  • Files: debian/patches/0001-Use-an-empty-directory-as-the-INI-scan-dir-in-the-mem.patch:1-9
  • Basis: checked, in the package or with a reference tool
  • Evidence: Header is From:/Date:/Subject: plus a free-form description, then ---; no Forwarded: or Origin: field.
  • Problem: The patch rewrites tests/257-offheap-string-oom-pending.phpt because Debian's compiled-in PHP_INI_SCAN_DIR loads shared extensions in the child, i.e. it is a Debian-build-specific change, not an upstream bug fix. DEP-3 recommends recording forwarding state, and without it neither upstream nor a future maintainer can tell whether the change was sent upstream.
  • Fix: Add Forwarded: not-needed (with a line saying Debian's compiled-in scan dir is the reason) to the patch header.
Verified ◂
  • debian/copyright is DEP-5 (Format 1.0), read in full: Files: * BSD-3-clause with "2025-2026 Ilia Alshanetsky" and "2025-2026 Advanced Internet Designs Inc.", Files: debian/* Ondřej Surý 2026, and a stand-alone BSD-3-clause paragraph with the complete text.
  • Unpacked orig tarball root is iliaal-phpser-bb0405f and contains no debian/, so every path outside debian/ and .pc/ is upstream's own tree (26 top-level files, tests/ 001-296 plus four .inc fixtures, docs/, images/, scripts/, .github/).
  • All 12 files carrying a copyright header name both holders and its licence line points at LICENSE: php_phpser.h, php_phpser_api.h, phpser.c, phpser_api.c, phpser_hmac.c, phpser_int.h, phpser_module.c, phpser_session.c, phpser_sha256.c, phpser_sha256.h, phpser.stub.php (implicit, generated arginfo) and scripts/test-zts-session-threads.c — the two holders the prescan flagged as possibly missing are exactly these, and both are in Files: *.
  • Tree-wide grep for Copyright, (C), ©, SPDX-License-Identifier, GPL/LGPL/Apache/MPL, MIT, public domain, All rights reserved, non-commercial and no-derivatives found only the BSD-3 references (LICENSE, the C/H headers, README badge, composer.json "license", CONTRIBUTING license paragraph); nothing non-free and no second licence.
  • LICENSE at the top level is byte-for-byte the same BSD-3 text as the License paragraph in debian/copyright, including both holders.
  • phpser_sha256.c is an original SHA-256 block implementation (ARMv8/SHA-NI intrinsic paths) calling PHP's ext/hash for the fallback; no third-party implementation is copied or attributed, so no extra holder is needed.
  • phpser_arginfo.h is generated from phpser.stub.php, which is shipped (Stub hash: 0d75eb4c... in the generated file), so the generated code has its preferred form for modification.
  • tests/061-igbinary-bug-regressions.phpt, 050-ints-range.phpt etc. are rewritten phpser tests that merely cite igbinary/ext-standard test numbers in comments; no igbinary test text or header is copied.
  • docs/index.html is a hand-written static benchmark page (952 lines, inline CSS only, no , no external library) whose data is produced by the shipped bench.php --html; nothing is minified or generated from absent sources.
  • images/phpser-hero.jpg is only referenced by README.md and is not installed; debian/copyright's Files: * covers it.
  • debian/rules is the single include /usr/share/dh-php/pkg-pecl.mk that the Debian PHP team's PECL packages use; control.in is the dh-php template and debian/control its generated form (the base package becomes Architecture: all with the "empty package" sentence and php8.6-phpser is added), both consistent with each other.
  • debian/changelog is sane: 0.11.0-1~exp1 then 0.11.0-2, distribution experimental, no bug closures to check; the -2 entry matches Build-Depends php-all-dev (>= 2:108~).
  • apt-cache: php-all-dev 2:108~ is satisfiable in experimental (archive has 2:108exp1nodba and 2:108~exp2), and dh-php 5.25 in unstable satisfies dh-php (>= 5.24~).
  • Standards-Version 4.7.2 has the same first two components as the reviewing system's Policy 4.7.4.1, so it is current enough.
  • Patch 0001 applies to tests/257-offheap-string-oom-pending.phpt only, has From/Date/Subject and an explanatory description, and its change is technically coherent (mkdir a scan dir, rmdir it in --CLEAN-- before the glob unlink loop).
  • .pc/ was ignored as instructed; no debian/cargo-checksum.json exists.
  • uscan found the packaged version as the newest upstream release (upstream 0.11.0, packaged 0.11.0).
Not confirmed ◂
  • images/phpser-hero.jpg was not opened (binary); its authorship and embedded metadata are not verifiable from the package, though upstream's LICENSE covers the whole repository.
  • dh-php is not installed on the reviewing system (/usr/share/dh-php absent), so pkg-pecl.mk could not be read: the exact install paths it sets up (notably whether PHP_INSTALL_HEADERS' php_phpser.h/php_phpser_api.h reach the versioned binary package) were not verified.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package