php-memcached 3.4.0-4
Package Information
| Description | memcached extension module for PHP, uses libmemcached Memcached is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory. This extension uses libmemcached library to provide API for communicating with memcached servers. 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/php-memcached.git (browse) |
| Popcon Installs | 1510 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-memcached |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Mon, 30 Nov 2026 07:17:04 +0100 |
|---|---|
| Source | php-memcached |
| Version | 3.4.0-4 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
| Distribution | experimental |
Changelog
php-memcached (3.4.0-4) experimental; urgency=medium
.
* Describe the bundled FastLZ, g_fmt and the PHP-3.0 files in
d/copyright
* Convert d/watch to version 5
* Bump Standards-Version to 4.7.4, no changes needed
* Build-Depend on php-all-dev (>= 2:108~exp4) to fix the build.dsc
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-memcached deb php optional arch=all php-memcached-all-dev deb php optional arch=all php8.6-memcached deb php optional arch=any |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: memcached
Upstream-Contact: Andrei Zmievski <andrei@php.net>
Source: https://pecl.php.net/package/memcached
Files: *
Copyright: 1997-2009, The PHP Group
License: PHP-3.01
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: */php_libmemcached_compat.c
*/php_libmemcached_compat.h
*/php_memcached.h
*/php_memcached_private.h
Copyright: 2009, The PHP Group
License: PHP-3.0
Comment:
These files say "This source file is subject to version 3.0 of the PHP
license"; the other source files say version 3.01.
Files: */fastlz/*
Copyright: 2005-2007, Ariya Hidayat <ariya@kde.org>
License: Expat
Comment:
FastLZ, built into the extension, as d/rules does not ask for the system's
library (--with-system-fastlz).
Files: */g_fmt.c
*/g_fmt.h
Copyright: 1991, 1996, Lucent Technologies
License: dtoa
Permission to use, copy, modify, and distribute this software for any
purpose without fee is hereby granted, provided that this entire notice
is included in all copies of any software which is or includes a copy
or modification of this software and in all copies of the supporting
documentation for such software.
.
THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
Comment:
"The author of this software is David M. Gay." According to g_fmt.c,
Teddy Grenman modified it for the memcached extension in 2010.
Files: debian/*
Copyright: 2009-2010, Ivan Borzenkov <ivan1986@list.ru>
2011-2012, Sergey B Kirpichev <skirpichev@gmail.com>
2015-2026, Ondřej Surý <ondrej@debian.org>
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.
License: PHP-3.0
--------------------------------------------------------------------
The PHP License, version 3.0
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, freely available from
<http://www.php.net/>".
.
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>.
.
This product includes the Zend Engine, freely available at
<http://www.zend.com>.
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, 0 important, 0 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.
Report
DFSG NEW review for php-memcached version 3.4.0-4
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 0 important, 0 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: nothing found
Licensing
The licensing is DFSG-free and debian/copyright describes the tree accurately. The extension's own sources are PHP-3.01, with the four files whose headers say version 3.0 (php_libmemcached_compat.c/.h, php_memcached.h, php_memcached_private.h) given their own stanza; bundled FastLZ is Expat (Ariya Hidayat, 2005-2007) and g_fmt.c/.h carry the free dtoa notice of Lucent/David M. Gay, both described with their full texts, and debian/* is GPL-2+. The only unusual terms are the PHP licence's name clauses, which the archive accepts for PHP/PECL code (php itself is in main) and which are overridden for that tag only. No non-free wording, no unlicensed file and no missing licence text was found.
Packaging
Established php-team/dh-php packaging: debian/rules only appends the serializer configure flags and includes pkg-pecl.mk, compat is 10 with debhelper (>= 10~) and the substvars that level still needs (${misc:Depends}, ${shlibs:Depends}) are named explicitly; every Build-Depends resolves in the archive (the PHP 8.6 pieces from experimental), and libmemcached-dev pulls in libsasl2-dev, so config.m4's hard SASL check can succeed. The single patch is in 3.0 (quilt) with DEP-3 headers and upstream references, the postinst is an idempotent removal of the pre-ucf conf.d symlink, and Standards-Version 4.7.4 matches the current Policy. No packaging fault worth reporting was found.
Issues
None.
Verified ◂
- debian/copyright read in full: DEP-5 1.0 with Files: * (PHP-3.01), a stanza for the four PHP-3.0 files, /fastlz/ (Expat), */g_fmt.c + /g_fmt.h (dtoa) and debian/ (GPL-2+); every upstream file in the 131-file tree matches one of these, and the four PHP-3.0 files are exactly those whose headers say 'subject to version 3.0 of the PHP license'.
- The prescan's one entry, 'The PHP Group' in memcached-3.4.0/php_libmemcached_compat.c, php_libmemcached_compat.h, php_memcached.c, php_memcached.h, php_memcached_private.h, php_memcached_server.c, php_memcached_server.h, php_memcached_session.c and php_memcached_session.h, is in fact named: those headers read 'Copyright (c) 2009[-2013] The PHP Group' and are covered by Files: * and by the PHP-3.0 stanza; no holder in the tree is missing from debian/copyright.
- memcached-3.4.0/fastlz/{fastlz.c,fastlz.h,LICENSE} are the Expat-licensed FastLZ (Ariya Hidayat, 2005-2007). config.m4 compiles fastlz/fastlz.c into the extension unless --with-system-fastlz is given, debian/rules does not give it, and apt-cache finds no fastlz/libfastlz-dev binary in the reviewing system's lists or in NEW, so the stanza and the Comment are correct.
- memcached-3.4.0/g_fmt.c and g_fmt.h carry the 'Copyright (c) 1991, 1996 by Lucent Technologies' dtoa notice, are always in PHP_MEMCACHED_FILES, and their full permission text (with David M. Gay named as the author and Teddy Grenman's 2010 modification) is reproduced in debian/copyright.
- memcached-3.4.0/php_memcached_arginfo.h and php_memcached_legacy_arginfo.h are marked 'This is a generated file, edit the .stub.php file instead' and their generator input, memcached-3.4.0/php_memcached.stub.php, is in the package; they are not orphaned generated code.
- tests/.phpt, tests/.inc, README.markdown, ChangeLog, CREDITS, package.xml, memcached.ini and the stub headers carry no separate copyright or licence notice; they fall under Files: * (PHP-3.01, The PHP Group), and the only other names in the tree (the package.xml leads, Oleg Grenrus in CREDITS) are contributor credits, not copyright notices.
- grep of the whole upstream tree for GPL/GNU/BSD/Apache/Mozilla/public domain/All rights reserved/SPDX/'Licensed under' found nothing beyond the PHP and Expat texts already described; no non-commercial, no-modification or field-of-use terms anywhere.
- debian/memcached.ini is upstream's memcached-3.4.0/memcached.ini with '; priority=25' and 'extension=memcached.so' prepended; the copied body is enumerative comments with no notice, and the upstream original is itself covered by Files: *.
- debian/patches/0001-fix-build-on-PHP-8.6-580.patch has From/Date/Subject, names upstream PR #580 and the php-src commits it ports, and touches only the two .c files; series lists it and debian/source/format is 3.0 (quilt).
- Packaging files read: control, control.in, rules, compat, changelog (top
60 entries), gbp.conf, postinst, memcached.ini, php-memcached.php, php-memcached.docs, NEWS, source/format, source.lintian-overrides. compat is 10, debhelper (>= 10) matches it, and ${misc:Depends}/${shlibs:Depends} are explicitly present, which compat 10 still requires. - Build-Depends all resolve: debhelper, dh-php 5.25, libmemcached-dev 1.1.4 (Depends: libhashkit-dev, libmemcached11t64, libmemcachedutil2t64, libsasl2-dev, so sasl/sasl.h is available for config.m4's hard SASL check), php-all-dev 2:108
exp4 (satisfies >= 2:108exp4~), php-igbinary-all-dev, php-msgpack-all-dev 1:3.0.1-4 (> 1:2.2.0-7~), php8.6-igbinary 3.2.16-10 and php8.6-msgpack 1:3.0.1-4 (both present in experimental), pkg-config, zlib1g-dev. - The postinst removes /etc/php/$ver/$sapi/conf.d/20-memcached.ini only when it is a symlink, on configure with a previous version, before #DEBHELPER#; it is idempotent and safe on fresh installs, and phpquery comes from php-common, which is a Pre-Depends.
- Standards-Version 4.7.4 has its first two components equal to the reviewing system's Policy 4.7.4.1; distribution experimental in the -4 entry matches the experimental-only Build-Depends; Vcs-Git/Vcs-Browser and Homepage are present and consistent with the source name.
- uscan found the packaged version as the newest upstream release (upstream
3.4.0, packaged3.4.0). - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
- dh-php 5.25 is not installed on the reviewing system (/usr/share/dh-php is absent), so pkg-pecl.mk could not be read: how it derives debian/control from control.in (the committed control adds php8.6-igbinary/php8.6-msgpack and the three binary packages to the one-stanza control.in), and how it installs the ini and any tests, were not verified; the build and install conclusions rest on the committed control, config.m4 and debian/rules.
- The package ships no autopkgtest and cannot be built here, so the runtime behaviour of the PHP 8.6 patch and of the installed memcached.ini (including whether the '; priority=25' line is the priority dh_php gives the conf.d symlink) was not exercised.
Proposed changes ◂
None.
Uploader's response to the LLM review
The review found no issues, so no response is needed.