php-lz4 0.8.0-3
Package Information
| Description | LZ4 Extension for PHP This extension adds API for LZ4 compression / decompression for PHP. 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/lz4.git (browse) |
| Tracker | https://tracker.debian.org/pkg/php-lz4 |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Changed-By | Ondřej Surý <ondrej@debian.org> |
|---|---|
| Architecture | source all amd64 |
| Distribution | experimental |
| Date | Fri, 27 Nov 2026 15:58:05 +0100 |
| Source | php-lz4 |
| Version | 0.8.0-3 |
Changelog
php-lz4 (0.8.0-3) experimental; urgency=medium . * Depend on php-all-dev from experimental
.dsc
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-lz4 deb php optional arch=all php-lz4-all-dev deb php optional arch=all php8.6-lz4 deb php optional arch=any |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lz4 Upstream-Contact: Tatsuya KAMIJO <kjdev@php.net> Source: https://github.com/kjdev/php-ext-lz4 Files: * Copyright: 2013 Tatsuya KAMIJO License: Expat Files: debian/* Copyright: 2021 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 1 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 0 hours ago.
Proposes a replacement debian/copyright:
debian/copyright Format field
Report
DFSG NEW review for php-lz4 version 0.8.0-3
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 1 important, 2 minor
- debian/watch: version 5
- debian/copyright: machine-readable, without the current Format URL
- Scan before the review: nothing found
Licensing
The code that ships is free (Expat for the extension, BSD-2-Clause for the LZ4 library it links against), but debian/copyright is inaccurate: Files: * puts LICENSE-lz4 under the Expat stanza with Copyright: 2013 Tatsuya KAMIJO, while that file is Yann Collet's BSD-2-Clause licence text. The prescan's kjdev holder is the same person as 2013 Tatsuya KAMIJO and is correctly named; the only holder genuinely absent is Yann Collet, for that one licence text file.
Packaging
Packaging follows the Debian PHP PECL pattern: dh-php's pkg-pecl.mk, generated d/control with dummy and all-dev packages, liblz4-dev as Build-Depends and --with-lz4-includedir, experimental target matching the experimental-only php-all-dev 2:108~. Only small things remain: Standards-Version 4.5.1 and a stray, unreferenced debian/php-lz4.php. debhelper compat 10 is old but still supported.
Issues
blocker licensing 1. Files: * declares LICENSE-lz4 to be Expat under 2013 Tatsuya KAMIJO; it is Yann Collet's BSD-2-Clause licence text ◂
- Files:
debian/copyright:6-8,LICENSE-lz4:2-13 - Basis: checked, in the package or with a reference tool
- Evidence: debian/copyright:
Files: */Copyright: 2013 Tatsuya KAMIJO/License: Expat; LICENSE-lz4:Copyright (c) 2011-2014, Yann Collet/All rights reserved./Redistributions of source code must retain the above copyright notice - Problem: No later stanza matches LICENSE-lz4, so debian/copyright states both the wrong holder and the wrong licence for it: the file is the BSD-2-Clause licence of the LZ4 library, not the Expat text of the extension. Policy 2.3 requires the copyright and licence of each file to be stated correctly. The holder omission alone would be minor, because the file is plain text carrying its own notice and is compiled into no binary package (the lz4/ submodule is empty, and debian/rules builds against liblz4-dev with --with-lz4-includedir), but the wrong licence is not confined to a binary package: the source package is distributed too.
- Fix: Add a
Files: LICENSE-lz4stanza withCopyright: 2011-2014 Yann Colletand a short name such asBSD-2-Clause, plus a stand-aloneLicense: BSD-2-Clauseparagraph containing the text already in LICENSE-lz4 (it is not in /usr/share/common-licenses, whose BSD file is the 3-clause form).
important licensing 2. 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 3. Standards-Version 4.5.1 is older than the current 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 - Problem: The declared Policy version is two minor series behind (4.5 against 4.7), so the package has not been checked against the current Policy.
- Fix: Update both debian/control and debian/control.in to
Standards-Version: 4.7.4or later and check the A10 upgrading checklist for anything that applies.
minor
packaging
4. Stray debian/php-lz4.php containing only mod debian/lz4.ini
◂
- Files:
debian/php-lz4.php:1 - Basis: inferred from what was read, not seen directly
- Evidence:
mod debian/lz4.ini(single line, the whole file) - Problem: The file is not a PHP file and nothing in debian/rules or the other debian/ files refers to it; it looks like a leftover note that was accidentally committed. It is shipped in the source package and could end up in the binary package as junk depending on what pkg-pecl.mk installs. dh-php is not installed under /usr on the reviewing system, so its install behaviour could not be read.
- Fix: Delete debian/php-lz4.php; debian/lz4.ini is the file that is actually used.
Verified ◂
- Read every file of debian/ (changelog, compat, control, control.in, copyright, gbp.conf, lz4.ini, php-lz4.php, rules, source/format) and inventoried all 43 upstream files (excluding .pc/).
- LICENSE and the headers of lz4.c and php_lz4.h carry
Copyright (c) 2013 kjdevwith the Expat text;kjdevisTatsuya KAMIJO(Upstream-Contact, package.xml.in), so Files: * names that holder correctly. - lz4/ is an empty submodule directory (.gitmodules points to Cyan4973/lz4); no Yann Collet code is in the tree, and config.m4's
use bundled versionbranch is not taken because debian/rules sets --with-lz4-includedir and liblz4-dev is a Build-Depends. - docs/compress-default.png, docs/compress-extra.png, docs/uncompress-default.png and docs/uncompress-offset.png are the README example screenshots; not opened (binary), covered by Files: * as MIT/Expat work of the upstream author.
- tests/ (24 .phpt files plus data.inc, data32.txt, data64.txt) contains no copyright notices; it is uninstalled test data, covered by Files: *.
- .github/workflows build.ps1, install.ps1, linux.yaml, test.ps1, vcpkg.ps1, windows.yaml are upstream CI/Windows build scripts with no notices, covered by Files: *.
- package.xml.in lists lz4/lib/*.c files that the tarball does not contain; Debian does not build them, so this is an upstream metadata inconsistency with no effect here.
- Build-Depends checked with apt-cache: dh-php 5.25 (>= 5.24~), liblz4-dev 1.11.1, and php-all-dev 2:108~exp2 in experimental satisfying
>= 2:108~; the changelog's experimental distribution matches that. - debhelper 14.5 on the reviewing system still supports compat 10; at compat 10 dh_missing only warns, but no built file goes uninstalled by this packaging.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream0.8.2, packaged0.8.0), which is not a fault of the package.
Not confirmed ◂
- The four docs/*.png screenshots were not opened (binary); their provenance is judged from their use in README.md and their position in the upstream tree.
- Whether dh-php's pkg-pecl.mk installs debian/php-lz4.php into a binary package could not be checked: dh-php is not installed under /usr/share on the reviewing system.
- The orig tarball's internal file list could not be read (the archive reader returned only the top-level directory), so the absence of lz4/lib was judged from the unpacked tree.
- Why the model asked for what a review has no use for. During this review it asked once for something outside the package and the reviewing system (another file of the sandbox, or a URL), or was given part of the review tooling's own configuration, and that was refused or withheld. A model does this when something it has read tells it to, so look in the package for text addressed to a reviewing program, and treat this report with suspicion. Refused:
read: "help://read/sources" is not a file of the package or of the reviewing system.
Proposed: debian/copyright Format field ◂
Replace line 1 of debian/copyright with:
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/