DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-mcrypt 3:1.0.9-3

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 Installs3319
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-mcrypt
Uploaded1 hour ago

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:26 +0100
Sourcephp-mcrypt
Version3:1.0.9-3
Changed-ByOndř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◂
Sectionphp
Priorityoptional
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
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/copyright is 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: xmlrpc and Source: http://pecl.php.net/package/xmlrpc, while upstream package.xml has <name>mcrypt</name> and debian/control gives Homepage: 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: mcrypt and Source: 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 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 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.ini contains extension=mcrypt.so, the same as debian/mcrypt.ini; debian/php-mcrypt.php names only mod debian/mcrypt.ini, and nothing else in debian/ 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: all for php-mcrypt, plus php-mcrypt-all-dev and php8.6-mcrypt; debian/rules only includes /usr/share/dh-php/pkg-pecl.mk
  • Problem: debian/control is the file dpkg and the .dsc use (its Package-List matches the upload), and it describes a different set of binaries from debian/control.in. Nothing in debian/rules reads 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.in from the current debian/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/copyright in 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, 48 tests/*.phpt and tests/vectors.txt); every C file and mcrypt-1.0.9/LICENSE carries 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; the Authors: 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.phpt is 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.txt is a table of DES known-answer test vectors: plain test data.
  • The top-level package.xml is upstream's PECL package file (<name>mcrypt</name>, license PHP License); the three patches (0001/0002 on mcrypt_filter.c, 0003 on package.xml) create no files — no --- /dev/null appears — 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-license lintian 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, 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; how ${php:Depends}, the ${pecl:*} substvars, the php8.6-mcrypt package and the debian/mcrypt.ini installation 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.in is consumed by any dh-php tooling could not be checked (dh-php not installed); that it is not read by debian/rules was 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.

Back to Dashboard | View all reviews for this package