DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-apcu 5.1.28-3

Package Information

DescriptionAPC User Cache for PHP

The APCu is userland caching: APC (Alternative PHP Cache) stripped of opcode caching after the deployment of Zend OpCache in PHP 5.5 as the primary solution to opcode caching in future versions of PHP.

The APCu is a fast solution for userland caching (and dumping) of PHP variables locally, it is not distributed like MemcacheD, but they can be used together for optimal caching.

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-apcu.git (browse)
Popcon Installs6074
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-apcu
Uploaded2 hours ago

New Package Report

.changes◂
Sourcephp-apcu
Version5.1.28-3
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:19 +0100
Changelog◂
php-apcu (5.1.28-3) experimental; urgency=medium
 .
   * Add upstream patches 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◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-apcu deb php optional arch=all
php-apcu-all-dev deb php optional arch=all
php8.6-apcu deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: APCu
Upstream-Contact: Joe Watkins <pthreads@pthreads.org>
Source: http://pecl.php.net/package/APCu

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

Files: debian/*
Copyright: 2008 Pietro Ferrari <pietro@riseup.net>
	   2011-2013 Lior Kaplan <kaplan@debian.org>
	   2013 Ondřej Surý <ondrej@debian.org>
License: PHP-3.01

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>.

DFSG Assistant LLM REVIEW 0 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 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-apcu version 5.1.28-3

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 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 tree is entirely PHP-3.01: every C/PHP source carries a Copyright (c) 2006-2018 The PHP Group / subject to version 3.01 of the PHP license header, and debian/copyright is DEP-5 with Files: * (The PHP Group, PHP-3.01) and Files: debian/* for the packaging, plus the full PHP-3.01 text (not in /usr/share/common-licenses). The NOTICE acknowledgement of Community Connect Inc. and Yahoo! Inc. is present and intact in the source, and no non-free terms or unlicensed files were found. PHP-3.01 is the licence Debian ships PHP and PECL extensions under; the license-problem-php-license override in debian/source.lintian-overrides is the standard PECL one, and clause 4 restricts only the name "PHP", not use, modification or distribution.

Packaging

Established dh-php packaging: deps (dh-php 5.23, php-all-dev 2:102~ in experimental for this experimental upload, libpcre2-dev) exist, Vcs-* are set, patches are DEP-3 with reasons and are applied in order, and the source format is 3.0 (quilt). Two minor defects: debian/php-apcu.docs matches no file, so apc.php and the upstream docs are dropped, and Standards-Version lags current Policy.

Issues

important licensing 1. 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 packaging 2. debian/php-apcu.docs matches nothing, so apc.php, README.md, NOTICE and TECHNOTES.txt are not installed ◂
  • Files: debian/php-apcu.docs:1-5, debian/README.Debian:10

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    */apcu-*/NOTICE
    */apcu-*/README.md
    */apcu-*/TECHNOTES.txt
    */apcu-*/TODO
    */apcu-*/apc.php
    
  • Problem: The orig tarball puts apcu-5.1.28/ and package.xml at the source root (php-apcu_5.1.28.orig.tar.gz lists apcu-5.1.28/; apcu-5.1.28/NOTICE exists), so each pattern needs a path component above apcu-5.1.28, since * does not match /; TODO is not in the tarball at all. At compat 10 dh_installdocs selects glob_expand_error_handler_reject_nomagic_warn_discard (dh_installdocs; Dh_Lib.pm), which only warns when a wildcard pattern matches nothing, so the build succeeds and the files are silently dropped. The installed debian/README.Debian then tells users to copy or link apc.php from /usr/share/doc/php-apcu, where it does not exist.

  • Fix: List them as apcu-*/NOTICE, apcu-*/README.md, apcu-*/TECHNOTES.txt and apcu-*/apc.php, drop TODO (upstream does not ship it), and raise the debhelper compat level to 13 or later (or move to a debian/php-apcu.install) so a pattern that matches nothing fails the build.

minor packaging 3. Standards-Version is 4.5.1, older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:11
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The policy tool reports Debian Policy 4.7.4.1, so the declared version lags by two series and the package has not been checked against the Policy changes since 4.5.1 (Appendix A10).
  • Fix: Bump Standards-Version to 4.7.4.1 after checking Appendix A10 for changes that affect this package.
minor packaging 4. 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 debian/copyright in full: DEP-5 with Files: * (Copyright: The PHP Group; License: PHP-3.01) and Files: debian/* (2008 Pietro Ferrari, 2011-2013 Lior Kaplan, 2013 Ondřej Surý; PHP-3.01), and the complete PHP-3.01 text as a stand-alone License paragraph (the licence is not in /usr/share/common-licenses).
  • The 34 files the pre-scan listed all carry Copyright (c) 2006-2018 The PHP Group and subject to version 3.01 of the PHP license: apc.c, apc.h, apc.php, apc_api.h, apc_cache.c, apc_cache.h, apc_globals.h, apc_iterator.c, apc_iterator.h, apc_lock.c, apc_lock.h, apc_mmap.c, apc_mmap.h, apc_mutex.c, apc_mutex.h, apc_persist.c, apc_php.h, apc_serializer.h, apc_shm.c, apc_shm.h, apc_signal.c, apc_signal.h, apc_sma.c, apc_sma.h, apc_stack.c, apc_stack.h, apc_strings.h, apc_time.c, apc_time.h, apc_windows_srwlock_kernel.c, apc_windows_srwlock_kernel.h, php_apc.c, php_apc.h. The scan's possible holder is therefore exactly the holder Files: * names; no holder is missing.
  • apcu-5.1.28/LICENSE is PHP-3.01 (1999-2014 The PHP Group). apcu-5.1.28/NOTICE acknowledges Community Connect Inc. and Yahoo! Inc. and requires the note to be left intact: it is intact in the source and in every file header, adds no restriction on use, modification or distribution, and contains no Copyright line for either company.
  • tests/server_test.inc is derived from php-src's sapi/cli/tests/php_cli_server.inc (its line 2 says so), i.e. PHP-licensed The PHP Group code covered by Files: *; tests/*.phpt and tests/{data,bad}/abc.data are upstream test data and are not installed.
  • The generated arginfo headers (apc_iterator_arginfo.h, apc_iterator_legacy_arginfo.h, php_apc_arginfo.h, php_apc_legacy_arginfo.h) have their generator inputs in the package (apc_iterator.stub.php, php_apc.stub.php); apc_arginfo.h is a four-line dispatcher. No files are built without their preferred form.
  • package.xml is upstream PECL metadata, covered by Files: *. No GNU/Apache/MPL/CC/NC/ND or other non-free licence wording was found; a grep hit for BSD in apc_mmap.c is a comment about FreeBSD's MAP_NOSYNC, not a licence.
  • Packaging files read: debian/control, control.in, rules, changelog (top entries and history), compat, source/format, gbp.conf, php-apcu.docs, php-apcu.php, apcu.ini, README.Debian, source.lintian-overrides, and all four patches with series. Patches carry From/Date/Subject and a description and apply in series order; the unpacked tree shows them applied.
  • Dependencies checked with apt-cache: dh-php 5.23 (unstable; the lists are older), php-all-dev 2:102~ (experimental, matching the experimental upload), libpcre2-dev 10.49-1, php-gd 2:8.4+101 (2:8.6+102~ in experimental). php-yac, named in Conflicts, exists.
  • No debian/tests/control, no maintainer scripts besides those dh-php generates, and no debian/*.install or *.links. Vcs-Git and Vcs-Browser are present and consistent.
  • uscan found the packaged version as the newest upstream release (upstream 5.1.28, packaged 5.1.28).
Not confirmed ◂
  • dh-php 5.23 is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; the docs-glob finding assumes the include runs the normal dh sequence and lets dh_installdocs process debian/php-apcu.docs.
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/APCu
Matching-Pattern: /get/apcu-([\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