DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-memcache 8.2-8

Package Information

Descriptionmemcache extension module for PHP

Memcached is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory.

This extension allows you to work with memcached through handy OO and procedural interfaces in your php5 applications.

This is an updated version for PHP 7 with non-blocking I/O taken from https://github.com/websupport-sk/pecl-memcache

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

New Package Report

.changes◂
Distributionexperimental
DateSat, 21 Nov 2026 10:04:26 +0100
Sourcephp-memcache
Version8.2-8
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Changelog◂
php-memcache (8.2-8) 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◂
Componentmain
Package-Listphp-memcache deb php optional arch=all
php-memcache-all-dev deb php optional arch=all
php8.6-memcache deb php optional arch=any
Sectionphp
Priorityoptional
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: memcache
Upstream-Contact: Antony Dovgal <tony2001@phpclub.net>
Source: http://pecl.php.net/package/memcache/

Files: *
Copyright: 1997-2010, The PHP Group
License: PHP-3.0.1
 This software is subject to version 3.01 of the PHP
 license, as shown below.
 .
 --------------------------------------------------------------------
                   The PHP License, version 3.01
 Copyright (c) 1999 - 2010 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.
 .
 --------------------------------------------------------------------

Files: debian/*
Copyright: 2006-2007, Pierre Habouzit <madcoder@debian.org>
           2008, Jose Carlos Medeiros <debian@psabs.com.br>
           2009-2010, Ivan Borzenkov <ivan1986@list.ru>
           2011-2012, Sergey B Kirpichev <skirpichev@gmail.com>
License: GPL-2+
 On Debian GNU/Linux systems, the complete text of the GNU General
 Public License (GPL) version 2 can be found at
 /usr/share/common-licenses/GPL-2.

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 days 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-memcache version 8.2-8

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, without the current Format URL
  • Scan before the review: nothing found

Licensing

Everything in the tree is under the PHP License, a free licence whose full text debian/copyright quotes; no other licence, no non-free terms and no unlicensed file turned up. The only copyright holder in the file notices is The PHP Group, which Files: * names. The one inaccuracy is a naming one: the stanza says PHP-3.0.1 and quotes the 3.01 text, while the bundled LICENSE and every source header name version 3.0 (clause 5 of that text permits electing the later 3.01 terms).

Packaging

Competent dh-php packaging: 3.0 (quilt), generated per-PHP-version packaging with the arch:all dummy and -all-dev packages, relationship substvars spelled out as compat 10 requires, a clean six-patch series, canonical Vcs-* fields and an experimental upload consistent with the php8.6 build dependencies, all of which exist in the archive. Minor: Standards-Version 4.5.1 lags Policy 4.7.4.1 and debhelper compat 10 lags the recommended 14; there is no autopkgtest and the build-time tests are made non-fatal.

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 licensing 2. debian/copyright says PHP-3.0.1 (3.01 text), but LICENSE and every source header say PHP License 3.0 ◂
  • Files: debian/copyright:6-8, memcache-8.2/LICENSE:2, memcache-8.2/src/memcache.c:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: License: PHP-3.0.1 followed by This software is subject to version 3.01 of the PHP license and The PHP License, version 3.01; memcache-8.2/LICENSE:2 The PHP License, Version 3.0; src/memcache.c:7 This source file is subject to version 3.0 of the PHP license.
  • Problem: The short name is not the standard one: the SPDX/DEP-5 identifier for the 3.01 text is PHP-3.01, and 3.0.1 is not equivalent to 3.01 under copyright-format 7.1's dot-zero rule. It also names a version that appears nowhere in the tree, since the files and the bundled LICENSE are version 3.0. This is not a DFSG problem - both texts are free, and clause 5 of the 3.0 text allows using the code under any later version published by the PHP Group, so quoting 3.01 is permissible - but the file does not describe which notice the code actually carries.
  • Fix: Either declare License: PHP-3.01 with the 3.01 text and note that the code is used under the later version permitted by clause 5, or declare License: PHP-3.0 and quote the text of memcache-8.2/LICENSE. Keep the short name and the quoted text consistent.
minor packaging 3. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:10, debian/control.in:10
  • 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 version is two series behind current Policy (4.5 against 4.7), so the package has not been checked against the changes since 4.5.
  • Fix: Raise the field to 4.7.4 in debian/control.in (and the generated debian/control), after reviewing the upgrading checklist (appendix A10).
minor packaging 4. debhelper compat level 10 is far behind current practice ◂
  • Files: debian/compat:1, debian/control:6
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat contains 10 and Build-Depends has debhelper (>= 10~); the debhelper tool (14.5) lists v14 as recommended and v11 as discouraged.
  • Problem: At compat 10 dh_missing silently does nothing about files left out of the packages (it defaults to --list-missing only from compat 12 and to --fail-missing from 13), and the package misses the fixes and behaviour changes of compat 11-14. This is not a Policy violation and the package builds, so it is a maintainability point rather than a fault.
  • Fix: Put debhelper-compat (= 13) (or 14) in Build-Depends, drop debian/compat, and rebuild to check the resulting packages are identical apart from the intended changes.
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 ◂
  • Read debian/copyright in full: DEP-5, no Files-Excluded, every upstream file matches Files: * and every packaging file matches Files: debian/*; the GPL-2+ stanza points to /usr/share/common-licenses/GPL-2 as copyright-format allows.
  • The whole tree is text: 108 files, no built, compiled, minified or binary files, no images, fonts, PDFs or archives, so nothing lacks its preferred form for modification.
  • The scan's possible holder match is resolved: The PHP Group, named in Files: *, is the holder in memcache.php:6 and in src/memcache.c, memcache_ascii_protocol.c, memcache_binary_protocol.c, memcache_consistent_hash.c, memcache_pool.c, memcache_pool.h, memcache_queue.c, memcache_queue.h, memcache_session.c, memcache_standard_hash.c and php_memcache.h (Copyright (c) 1997-2004/2007 The PHP Group). Their Authors: lines (Antony Dovgal, Mikael Johansson; Harun Yayli in memcache.php) are authorship, not copyright notices.
  • memcache-8.2/LICENSE was read in full: PHP License 3.0, free, no non-commercial or no-modification terms; a grep for GPL/LGPL/BSD/MIT/Apache/MPL/public domain/non-commercial across memcache-8.2/ found no other licence.
  • config9.m4 links only the system zlib (Build-Depends zlib1g-dev); nothing is vendored, so there is no embedded third-party copy.
  • No patch creates a file (every +++ b/ path exists in the tree); patch 0004's added code is a PHP-licensed implementation derived from php-src's ext/session/mod_files.c, same licence family.
  • The scan listed no built files; debian/source/format is 3.0 (quilt) and series lists all six patches, whose purposes and authors are in their git-format-patch headers.
  • Build-Depends exist: the apt-cache answers show dh-php 5.23 in unstable and php-all-dev 2:102~ in experimental, matching the experimental upload; zlib1g-dev provides the zlib headers config9.m4 needs.
  • debian/control and debian/control.in agree on Maintainer, Uploaders, Build-Depends, Homepage and Vcs-*; debian/control adds the dh-php-generated php-memcache (arch:all), php-memcache-all-dev and php8.6-memcache stanzas.
  • debian/changelog is consistent: 8.2-8 in experimental above 8.2-7 in unstable, dates in order, and the -8 entry matches the six patches and the php-all-dev >= 2:102~ dependency.
  • There is no debian/tests, so autopkgtest runs nothing; at build time export REPORT_EXIT_STATUS:=0 in debian/rules makes test failures non-fatal, and the tests skip without a reachable memcached (tests/connect.inc).
  • uscan found the packaged version as the newest upstream release (upstream 8.2, packaged 8.2).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
  • dh-php is not installed on the reviewing system, so I could not read /usr/share/dh-php/pkg-pecl.mk or confirm how debian/control is generated from debian/control.in; I took the shipped control as the one the build uses.
  • Whether the Homepage and Vcs-* URLs are reachable could not be checked without network access.
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/memcache
Matching-Pattern: /get/memcache-(.+)\.tgz
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

The uploader hasn't responded yet, and is welcome to at any time. The 24-hour hold has ended, so the package is now open for review as usual.

Back to Dashboard | View all reviews for this package