DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-yac 3.0.2-2

Package Information

DescriptionYAC (Yet Another Cache) for PHP

The Yet Another Cache (YAC) is a shared memory user data cache for PHP, which provides framework for caching user variables locally. This framework completes the missing parts of the Zend OpCache.

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-yac.git (browse)
Popcon Installs6
Trackerhttps://tracker.debian.org/pkg/php-yac
Uploaded8 hours ago
Supersedes3.0.2-1

New Package Report

.changes◂
Sourcephp-yac
Version3.0.2-2
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 14:37:05 +0100
Changelog◂
php-yac (3.0.2-2) experimental; urgency=medium
 .
   * Describe bundled LZ4 (BSD-2-clause) in d/copyright and fix Format URL
.dsc◂
Priorityoptional
Componentmain
Package-Listphp-yac deb php optional arch=all
php-yac-all-dev deb php optional arch=all
php8.4-yac deb php optional arch=any
Sectionphp
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: yac
Upstream-Contact: Xinchen Hui <laruence@php.net>
Source: https://pecl.php.net/package/yac

Files: *
Copyright: 2013-2016 The PHP Group
License: PHP-3.01

Files: */compressor/lz4/*
Copyright: 2011-2023 Yann Collet
License: BSD-2-clause

Files: debian/*
Copyright: 2013-2026 Ondřej Surý <ondrej@debian.org>
License: Expat

License: PHP-3.01
 --------------------------------------------------------------------
                   The PHP License, version 3.01
 Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
 --------------------------------------------------------------------
 .
 Redistribution and use in source and binary forms, with or without
 modification, is 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. The name "PHP" must not be used to endorse or promote products
      derived from this software without prior written permission. For
      written permission, please contact group@php.net.
 .
   4. Products derived from this software may not be called "PHP", nor
      may "PHP" appear in their name, without prior written permission
      from group@php.net.  You may indicate that your software works in
      conjunction with PHP by saying "Foo for PHP" instead of calling
      it "PHP Foo" or "phpfoo"
 .
   5. The PHP Group may publish revised and/or new versions of the
      license from time to time. Each version will be given a
      distinguishing version number.
      Once covered code has been published under a particular version
      of the license, you may always continue to use it under the terms
      of that version. You may also choose to use such covered code
      under the terms of any subsequent version of the license
      published by the PHP Group. No one other than the PHP Group has
      the right to modify the terms applicable to covered code created
      under this License.
 .
   6. Redistributions of any form whatsoever must retain the following
      acknowledgment:
      "This product includes PHP software, freely available from
      <http://www.php.net/software/>".
 .
 THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
 ANY EXPRESSED 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 PHP
 DEVELOPMENT TEAM OR ITS 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.
 .
 --------------------------------------------------------------------
 .
 This software consists of voluntary contributions made by many
 individuals on behalf of the PHP Group.
 .
 The PHP Group can be contacted via Email at group@php.net.
 .
 For more information on the PHP Group and the PHP project,
 please see <http://www.php.net>.
 .
 PHP includes the Zend Engine, freely available at
 <http://www.zend.com>.

License: BSD-2-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.
 .
 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.

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 0 blocker, 1 important, 4 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-yac version 3.0.2-2

Summary

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

Licensing

All shipped code is DFSG-free and debian/copyright (DEP-5) describes it accurately: the extension's C sources are PHP-3.01 (the PHP licence text is fully reproduced, as it is not in /usr/share/common-licenses) and the vendored LZ4 1.10.0 is Yann Collet's BSD-2-Clause, whose text is also reproduced. The two holders, The PHP Group and Yann Collet, plus Ondřej Surý for debian/*, are all named, and every upstream file falls under Files: * or */compressor/lz4/*. The one defect is not about licence terms: the two generated arginfo headers name yac.stub.php as their editable source, and that stub is missing from the source package and from upstream's PECL file list.

Packaging

The packaging follows the dh-php/PECL pattern competently: Build-Depends are sufficient and all present in the archive (debhelper 14.5, dh-php 5.25, php-all-dev 2:107 = php8.4), debian/control is consistent with control.in and lists php8.4-yac, there are no patches, the changelog and gbp.conf are sane, and no maintainer scripts are hand-rolled. Three minor improvements: bump the very old debhelper compat level (10, where dh_missing silently ignores uninstalled files), bump Standards-Version (4.5.1), and stop compiling upstream's bundled LZ4 1.10.0 when Debian ships lz4 1.11.1 and upstream offers --with-system-lz4.

Issues

important licensing 1. yac_arginfo.h and yac_legacy_arginfo.h are generated from yac.stub.php, which the source package does not contain ◂
  • Files: yac-3.0.2/yac_arginfo.h:1, yac-3.0.2/yac_legacy_arginfo.h:1, yac-3.0.2/yac.c:33-37, package.xml:122-123
  • Basis: checked, in the package or with a reference tool
  • Evidence: yac_arginfo.h:1 /* This is a generated file, edit yac.stub.php instead. (same in yac_legacy_arginfo.h); yac.c:33 #if PHP_MAJOR_VERSION > 7 / #include "yac_arginfo.h" / #else / #include "yac_legacy_arginfo.h"; package.xml's lists yac_arginfo.h and yac_legacy_arginfo.h but no yac.stub.php.
  • Problem: Both headers are compiled into the extension, and the file itself says the editable form is yac.stub.php (it even records the stub hash). That stub is absent from the whole source package and from upstream's PECL release (package.xml lists every shipped file). The preferred form for modification of this part of the source is therefore not in the source package: a change to a method signature or argument default must be made by hand in generated C, and PHP's gen_stub.php cannot be re-run. This is a DFSG section 2 source-completeness defect, not a licence-term problem, so it does not change the licence analysis above.
  • Fix: Ship upstream's yac.stub.php (from the yac git repository) in the source package, e.g. in a debian/patches addition or by asking upstream to add it to package.xml. If upstream has no stub at all and the header comment is stale, say so in the changelog and have upstream correct the header; otherwise add the stub.
minor packaging 2. Compiles bundled LZ4 1.10.0 although Debian ships liblz4 1.11.1 and upstream supports --with-system-lz4 ◂
  • Files: yac-3.0.2/config.m4:10-11, yac-3.0.2/config.m4:227-234, yac-3.0.2/compressor/lz4/lz4.h:131-133, debian/rules:1-3
  • Basis: checked, in the package or with a reference tool
  • Evidence: config.m4:227 if test "$PHP_SYSTEM_LZ4" != "no"; then ... :234 YAC_FILES="$YAC_FILES compressor/lz4/lz4.c" (the default branch); lz4.h:131-133 LZ4_VERSION_MAJOR 1, LZ4_VERSION_MINOR 10, LZ4_VERSION_RELEASE 0; apt-cache show liblz4-dev gives lz4 1.11.1-2. debian/rules just includes pkg-pecl.mk and passes no configure flag.
  • Problem: Policy 4.13: an included copy of code that is already in Debian as a library should not be used; the binary package embeds LZ4 1.10.0 while Debian ships 1.11.1, so the copy misses fixes and duplicates a library for no need, although upstream's configure explicitly supports the system library.
  • Fix: Build-Depend on liblz4-dev and configure with --with-system-lz4 (an override_dh_auto_configure in debian/rules, or the pkg-pecl.mk variable for extra configure flags), so the extension links Debian's liblz4.
minor packaging 3. debhelper compat level 10 is four levels behind (14 is recommended) ◂
  • Files: debian/compat:1, debian/control:6
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat 10, Build-Depends debhelper (>= 10~); debhelper 14.5's own notes call level 14 the recommended mode, and dh_missing(1) says in compat 11 and earlier without either of these options, dh_missing will silently do nothing.
  • Problem: At compat 10 dh_missing neither lists nor fails on files the package forgot to install, so an install mistake in a binary package passes the build silently; the level also predates other current default checks.
  • Fix: Raise debhelper-compat to 13 or 14 (replace debian/compat with debhelper-compat (= 14) and update Build-Depends), then fix anything dh_missing reports.
minor packaging 4. Standards-Version 4.5.1 predates the current Policy 4.7.x ◂
  • 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 first two components are older than the Policy version installed on the reviewing system (4.7.x), so the package declares only 4.5-era compliance; Policy changes since then have not been reviewed. No violation in the packaging itself follows from this.
  • Fix: Bump Standards-Version to the current 4.7.x after checking the upgrading checklist for the intervening releases.
minor packaging 5. 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 ◂
  • debian/copyright is machine-readable (Format 1.0 https URL), with Files: * (The PHP Group, PHP-3.01), Files: /compressor/lz4/ (Yann Collet 2011-2023, BSD-2-clause) and Files: debian/* (Ondřej Surý, Expat); per copyright-format 6.9 the lz4 pattern covers yac-3.0.2/compressor/lz4/ at any depth and later stanzas override Files: *.
  • Full PHP-3.01 and BSD-2-Clause licence texts are present in debian/copyright; Python-style licence texts are complete enough and PHP-3.01 is not in /usr/share/common-licenses, so quoting it is required and done.
  • Prescan holder check: the only holder it flagged, The PHP Group, is named in Files: ; all its files (php_yac.h, yac.c, serializer/, storage/* including allocators and crc, yac_arginfo headers) carry Copyright (c) 2013-2013 The PHP Group and the PHP-3.01 header. No other holder is missing.
  • compressor/lz4: only lz4.c, lz4.h and the lz4 repository's LICENSE are shipped there; lz4.c/lz4.h each carry Yann Collet's 2011-2023 BSD-2-Clause header, matching the stanza. The LICENSE text describes the lz4 repo's split model (BSD-2 for lib/, GPL-2.0-or-later for other files), but no GPL file is shipped, so no GPL code enters the source package or binary.
  • storage/yac_storage.c:106 credits MurmurHash64A to Austin Appleby as public domain; public domain needs no notice, so its absence from debian/copyright is not a defect.
  • No non-free wording anywhere in the tree: grep for non-commercial, no-modification, field-of-use and similar terms found nothing; tests/*.phpt carry no separate copyright or licence statements and fall under Files: *.
  • The tree contains no binary, minified or PDF files, and no build products; only plain text sources, tests and package.xml. The only LICENSE/COPYING files are the two listed above.
  • No debian/patches and no Files-Excluded; source format 3.0 (quilt), so all upstream files are covered by the copyright stanzas as shipped.
  • Build-Depends resolve in the archive: debhelper 14.5, dh-php 5.25 (>= 5.23), php-all-dev 2:107 which depends on php8.4-dev, matching the php8.4-yac stanza generated from control.in.
  • Packaging files read in full: debian/control, control.in, rules, changelog, copyright, gbp.conf, compat, source/format, source.lintian-overrides, yac.ini, php-yac.php; no maintainer scripts, no autopkgtest, no debian/install or docs files to check.
  • The source.lintian-overrides of license-problem-php-license is the PHP team's standard treatment of PHP-3.01 PHP extensions; PHP-3.01 itself contains no non-free terms beyond the name clauses 3 and 4.
  • uscan found the packaged version as the newest upstream release (upstream 3.0.2, packaged 3.0.2).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php does not exist), so pkg-pecl.mk, dh_php's handling of debian/php-yac.php and debian/yac.ini, how the test suite is invoked, and whether ${pecl:*} and ${shlibs:Depends} are filled for the two Architecture: all dummy packages could not be read or verified.
  • Upstream's git repository is not reachable, so whether yac.stub.php exists there (rather than the generated headers' comment being stale) is unconfirmed; it is certainly absent from the PECL tarball, whose package.xml lists every shipped file.
  • No build or test run was performed.
  • 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/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/yac
Matching-Pattern: .*/yac-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/

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