DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-mcrypt 3:1.0.9-4

Package Information

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

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

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:58:06 +0100
Sourcephp-mcrypt
Version3:1.0.9-4
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-mcrypt (3:1.0.9-4) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Componentmain
Package-Listphp-mcrypt deb php optional arch=all
php-mcrypt-all-dev deb php optional arch=all
php8.6-mcrypt deb php optional arch=any
Sectionphp
Priorityoptional
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, 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 9 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-4

Summary

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

Licensing

Every upstream file is under the PHP License 3.01, whose full text (it is not in /usr/share/common-licenses here) is reproduced in debian/copyright; no non-free terms, no unlicensed files, no vendored third-party code. All source headers name The PHP Group, which Files: * names exactly, and debian/* has its own stanza. The one inaccuracy is the file's header metadata: Upstream-Name and Source still describe PECL xmlrpc, left over from php-xmlrpc; the per-file copyright and licence statements are correct, so DFSG compliance is not affected, but the header must be corrected before upload.

Packaging

The package uses the team's standard dh-php/pkg-pecl.mk packaging: generated control, correct B-D versions (dh-php 5.25, php-all-dev 2:108~exp2 in experimental, matching the experimental target), 3.0 (quilt) with three clearly attributed patches, no maintainer scripts, sane meta-package split. Only nits: a stray debian/xmlrpc.ini left from php-xmlrpc and Standards-Version 4.5.1 (current Policy 4.7.4.1).

Issues

important licensing 1. debian/copyright names the upstream project xmlrpc instead of mcrypt ◂
  • Files: debian/copyright:2, debian/copyright:4
  • Basis: checked, in the package or with a reference tool
  • Evidence: Upstream-Name: xmlrpc and Source: http://pecl.php.net/package/xmlrpc
  • Problem: The source package is php-mcrypt, PECL mcrypt 1.0.9 (debian/control's Homepage and the .dsc's Homepage both say https://pecl.php.net/package/mcrypt), but debian/copyright's header names a different PECL package, pecl xmlrpc, whose copyright file this was evidently copied from. A reader of the copyright file is pointed at the wrong upstream project. The per-file copyright holder (The PHP Group) and licence (PHP-3.01) are correct and complete, so DFSG compliance is unaffected, but the file as shipped is factually wrong and should be corrected before upload.
  • Fix: Set Upstream-Name: mcrypt and Source: https://pecl.php.net/package/mcrypt (or the tarball URL used for the orig tarball). Upstream-Contact already matches mcrypt's PECL leads (Derick Rethans, Sascha Schumann, Leigh) and can stay.
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 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 3. debian/xmlrpc.ini is a leftover from php-xmlrpc and is not referenced ◂
  • Files: debian/xmlrpc.ini:1, debian/php-mcrypt.php:1
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/xmlrpc.ini contains extension=mcrypt.so; the only module ini the packaging declares is debian/mcrypt.ini, listed in debian/php-mcrypt.php as mod debian/mcrypt.ini
  • Problem: The file duplicates debian/mcrypt.ini's content under the name of a different extension, and nothing in debian/ (rules, gbp.conf, php-mcrypt.php) refers to it: it is at best dead weight copied in from the php-xmlrpc packaging, and if a dh_php version installs every debian/*.ini it would ship a bogus xmlrpc.ini that loads mcrypt.so.
  • Fix: Delete debian/xmlrpc.ini.
minor packaging 4. Standards-Version 4.5.1 is older than the current Policy 4.7 ◂
  • Files: debian/control:12
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The reviewing system's Policy is 4.7.4.1 (Policy 5.6.11); an existing package should be updated to the current minor version at its next upload.
  • Fix: Bump to Standards-Version: 4.7.4 after checking the changes in Policy 4.6.0 through 4.7.4 (Appendix A10).
minor packaging 5. 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/copyright in full: DEP-5 with Files: *, Files: debian/* and a stand-alone PHP-3.01 paragraph; the licence text is reproduced in full (PHP-3.01 is not in /usr/share/common-licenses on this system, so inclusion is required and present).
  • All four C sources (mcrypt-1.0.9/mcrypt.c, mcrypt-1.0.9/mcrypt_filter.c, mcrypt-1.0.9/php_mcrypt.h, mcrypt-1.0.9/php_mcrypt_filter.h) carry Copyright (c) 1997-2016/2019 The PHP Group and 'version 3.01 of the PHP license'; mcrypt-1.0.9/LICENSE confirms PHP-3.01. The PHP Group is named exactly in Files: *, so the prescan's 'possibly named under a similar name' hit is accounted for and is not a missing holder.
  • mcrypt-1.0.9/tests/bug37595.phpt is an upstream PHPT test: PHP test script plus --EXPECTF-- output, read with :raw; it contains only test input/output text (the scan's non-UTF-8 bytes are within that text), is not installed into any binary package, and carries no separate holder or licence. It is not a built file.
  • mcrypt-1.0.9/tests/vectors.txt is a table of Blowfish ECB test vectors (key/plaintext/ciphertext hex), test data covered by Files: *.
  • config.m4, config.w32, package.xml and the other tests/*.phpt files carry no other copyright holder or licence notice; they are covered by Files: * and the upstream LICENSE. Grep for Copyright/(C)/©/SPDX/Licensed under across mcrypt-1.0.9 found no other holder.
  • Grep for non-free wording (non-commercial, no-modification, field-of-use, 'not Evil') across mcrypt-1.0.9: no matches.
  • No embedded third-party code: mcrypt.c/mcrypt_filter.c link against the system libmcrypt (Build-Depends libmcrypt-dev) and vendor nothing.
  • Read debian/control, control.in, rules, compat, changelog, gbp.conf, mcrypt.ini, php-mcrypt.php, source.lintian-overrides, source/format, patches/series and all three patches (DEP-3 From/Date/Subject, patching mcrypt_filter.c and package.xml); no maintainer scripts, install files or tests/control exist.
  • Build-Depends checked with apt-cache: dh-php 5.25 and libmcrypt-dev 2.5.8-8 exist; php-all-dev 2:108~exp2 is in experimental, matching the changelog's experimental target (2:107 is the unstable version).
  • The three patches' paths (mcrypt-1.0.9/mcrypt_filter.c, package.xml) match the tree, including the top-level package.xml from the orig tarball.
  • uscan found the packaged version as the newest upstream release (upstream 1.0.9, packaged 1.0.9).
Not confirmed ◂
  • dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; whether dh_php would install debian/xmlrpc.ini (beyond the file named in debian/php-mcrypt.php) is therefore unverified.
  • No build or test run was performed; the build is assumed to succeed in a clean experimental chroot.
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.

Back to Dashboard | View all reviews for this package