php-mcrypt 3:1.0.9-3
Package Information
| Description | PHP bindings for the libmcrypt library These functions provides bindings for the unmaintained libmcrypt library. The extension is unbundled from php-src as of PHP 7.2.0, because the underlying libmcrypt has obviously been abandoned. It is recommended to reevaluate using this extension. 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-mcrypt.git (browse) |
| Popcon Installs | 3319 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-mcrypt |
| Uploaded | 1 hour ago |
New Package Report
.changes
| Architecture | source all amd64 |
|---|---|
| Distribution | experimental |
| Date | Sat, 21 Nov 2026 10:04:26 +0100 |
| Source | php-mcrypt |
| Version | 3:1.0.9-3 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
Changelog
php-mcrypt (3:1.0.9-3) experimental; urgency=medium . * Add upstream patches to fix FTBFS with PHP 8.6 * Allow building 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
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | php-mcrypt deb php optional arch=all php-mcrypt-all-dev deb php optional arch=all php8.6-mcrypt deb php optional arch=any |
debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xmlrpc
Upstream-Contact: Derick Rethans <derick@php.net>, Sascha Schumann <sascha@schumann.cx>, Leigh <leigh@php.net>
Source: http://pecl.php.net/package/xmlrpc
Files: *
Copyright: The PHP Group
License: PHP-3.01
Files: debian/*
Copyright: 2021 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, 2 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 0 hours 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-mcrypt version 3:1.0.9-3
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 0 blocker, 2 important, 4 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable, without the current Format URL
- Scan before the review: 1 found
Licensing
The licensing itself is DFSG-free: every upstream file is under the PHP License 3.01 with The PHP Group as holder, the full licence text is included (PHP-3.01 is not in /usr/share/common-licenses), and Files: * plus the debian/* stanza cover the whole tree. But debian/copyright does not accurately identify the software it covers: its DEP-5 header names upstream xmlrpc and the xmlrpc PECL URL, copied from the php-xmlrpc packaging.
Packaging
The package follows the Debian PHP team's dh-php pattern competently: Build-Depends are the right ones and exist (dh-php 5.23 in unstable, php-all-dev 2:102~ in experimental, libmcrypt-dev in main), there are no maintainer scripts, the three patches carry From/Date/Subject headers, and the changelog is consistent with the 3:1.0.9-3 experimental upload. Only minor cleanups remain: Standards-Version is 4.5.1 against Policy 4.7.4.1, an unused debian/xmlrpc.ini leftover is shipped, and debian/control.in is out of date.
Issues
important
licensing
1. debian/copyright names upstream xmlrpc and the xmlrpc PECL URL instead of mcrypt
◂
- Files:
debian/copyright:2,debian/copyright:4 - Basis: checked, in the package or with a reference tool
- Evidence:
Upstream-Name: xmlrpcandSource: http://pecl.php.net/package/xmlrpc, while upstreampackage.xmlhas<name>mcrypt</name>anddebian/controlgivesHomepage: https://pecl.php.net/package/mcrypt - Problem: copyright-format 6.2 defines Upstream-Name as the name upstream uses for the software and 6.4 defines Source as where the upstream source came from; both fields here describe php-xmlrpc, not this package. The stanza header was evidently copied from the xmlrpc packaging, so the file misdescribes the source it is supposed to document.
- Fix: Set
Upstream-Name: mcryptandSource: https://pecl.php.net/package/mcrypt.
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. debian/xmlrpc.ini is an unused leftover, byte-identical to debian/mcrypt.ini ◂
- Files:
debian/xmlrpc.ini,debian/php-mcrypt.php:1 - Basis: checked, in the package or with a reference tool
- Evidence:
debian/xmlrpc.inicontainsextension=mcrypt.so, the same asdebian/mcrypt.ini;debian/php-mcrypt.phpnames onlymod debian/mcrypt.ini, and nothing else indebian/refers to xmlrpc.ini - Problem: The source package ships a dead file left over from the xmlrpc packaging. It plays no part in the build and is another trace of the copy-paste that also affects
debian/copyright. - Fix: Delete
debian/xmlrpc.ini.
minor packaging 4. Standards-Version 4.5.1 is behind the current Policy 4.7.4.1 ◂
- Files:
debian/control:10 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1; the reviewing system's Policy is 4.7.4.1 - Problem: Policy 5.6.11 asks for the most recent version of the standards with which the package complies. The first two components differ (4.5 against 4.7), so the field is out of date.
- Fix: Bump to
Standards-Version: 4.7.4(or 4.7.4.1) after checking the 4.6/4.7 upgrading checklist.
minor packaging 5. debian/control.in is stale and disagrees with the shipped debian/control ◂
- Files:
debian/control.in:16,debian/control:16 - Basis: inferred from what was read, not seen directly
- Evidence:
control.in:Package: php-mcrypt/Architecture: any, one binary only;control:Architecture: allfor php-mcrypt, plus php-mcrypt-all-dev and php8.6-mcrypt;debian/rulesonly includes/usr/share/dh-php/pkg-pecl.mk - Problem:
debian/controlis the file dpkg and the .dsc use (its Package-List matches the upload), and it describes a different set of binaries fromdebian/control.in. Nothing indebian/rulesreads control.in, so the template is at best unmaintained dead weight and at worst a trap for the next packaging change. - Fix: Regenerate
debian/control.infrom the currentdebian/control(or delete it if the php-team workflow no longer uses it).
minor packaging 6. debian/watch is in the old version 4 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=4 - 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/copyrightin full: DEP-5, three paragraphs —Files: *Copyright The PHP Group / License PHP-3.01,Files: debian/*Copyright 2021 Ondřej Surý / PHP-3.01, and the complete PHP-3.01 licence text. PHP-3.01 is not in/usr/share/common-licenses, so including the text is required and done. - Inventoried the tree: 60 upstream files (4 C sources/headers,
LICENSE,config.m4,config.w32,package.xml, 48tests/*.phptandtests/vectors.txt); every C file andmcrypt-1.0.9/LICENSEcarries the PHP-3.01 notice,Copyright (c) 1997-2019 The PHP Group; a grep for Copyright/(C)/©/SPDX/licence wording found no other holder or licence. - The scan's author finding is the PHP Group, which
Files: *names; theAuthors:lines (Sascha Schumann, Derick Rethans, Sara Golemon) are authorship credits inside files whose notice is The PHP Group's, not separate copyright holders. mcrypt-1.0.9/tests/bug37595.phptis a plain-text PHPT file; the scan's 'binary data' is the PHP string literal"\x001234567", which contains a NUL byte. It is test data, not a built file, and carries no separate licence.mcrypt-1.0.9/tests/vectors.txtis a table of DES known-answer test vectors: plain test data.- The top-level
package.xmlis upstream's PECL package file (<name>mcrypt</name>, licensePHP License); the three patches (0001/0002 onmcrypt_filter.c, 0003 onpackage.xml) create no files — no--- /dev/nullappears — and carry From/Date/Subject headers with no separate licence; they are small fixes to PHP-licence files. - PHP-3.01 is DFSG-free for this PHP extension; the
license-problem-php-licenselintian override is the known false positive for PECL extensions whose code is genuinely PHP's. - apt-cache: dh-php 5.23 in unstable and php-all-dev 2:102~ in experimental satisfy the Build-Depends; libmcrypt-dev 2.5.8-8 is in main.
debian/control's binaries (php-mcrypt, php-mcrypt-all-dev, php8.6-mcrypt) match the .dsc Package-List; the changelog version/distribution (3:1.0.9-3, experimental) matches the upload; no maintainer scripts, no autopkgtests expected for this packaging pattern.- uscan found the packaged version as the newest upstream release (upstream
1.0.9, packaged1.0.9).
Not confirmed ◂
- dh-php is not installed on the reviewing system, so
/usr/share/dh-php/pkg-pecl.mkcould not be read; how${php:Depends}, the${pecl:*}substvars, the php8.6-mcrypt package and thedebian/mcrypt.iniinstallation are produced is inferred from the packaging, not checked. - php8.6-cli is not in the reviewing system's package lists (the archive already has php-all-dev 2:102~ in experimental); the php8.6 build-dependency chain could not be confirmed directly.
- Whether
debian/control.inis consumed by any dh-php tooling could not be checked (dh-php not installed); that it is not read bydebian/ruleswas checked.
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/mcrypt
Matching-Pattern: /get/mcrypt-([\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.