DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-dio 0.3.0-3

Package Information

DescriptionDirect I/O functions for PHP

PHP supports the direct io functions as described in the Posix Standard (Section 6) for performing I/O functions at a lower level than the C-Language stream I/O functions (fopen(), fread(),..).

DIO provides functions and stream wrappers which provide raw and serial low level IO support. The use of the DIO functions should be considered only when direct control of a device is needed. In all other cases, the standard filesystem functions are more than adequate.

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-dio.git (browse)
Trackerhttps://tracker.debian.org/pkg/php-dio
Uploaded3 hours ago

New Package Report

.changes◂
Sourcephp-dio
Version0.3.0-3
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:20 +0100
Changelog◂
php-dio (0.3.0-3) experimental; urgency=medium
 .
   * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6
   * Add upstream patch to fix the stream close with PHP 8.6
   * Bump Build-Depends to dh-php >= 5.23~
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listphp-dio deb php optional arch=all
php-dio-all-dev deb php optional arch=all
php8.6-dio deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pspell
Upstream-Contact: https://github.com/php/pecl-system-dio
Source: http://pecl.php.net/package/pspell

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 1 blocker, 1 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 2 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-dio version 0.3.0-3

Summary

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

Licensing

The code is DFSG-free: every upstream file is under the PHP License 3.01 (same licence as PHP itself in main), the full licence text is in debian/copyright, and the only holder, The PHP Group, is named in the Files: * stanza. But the copyright file's header is a copy-paste from php-pspell: it declares Upstream-Name: pspell and Source: http://pecl.php.net/package/pspell, so it does not accurately describe this package. No licence text is missing and there is no non-free term.

Packaging

The package follows the standard dh-php/pecl layout: debian/rules is the usual pkg-pecl.mk include, debian/control is the generated file for php-dio, php-dio-all-dev and php8.6-dio consistent with control.in, Vcs-* fields are present, and the Build-Depends resolve (php-all-dev 2:102~, dh-php 5.23 in the archive). The remaining faults are minor: an outdated Standards-Version and a patch without the full DEP-3 header.

Issues

blocker licensing 1. debian/copyright names pspell as the upstream package instead of dio ◂
  • Files: debian/copyright:2-4
  • Basis: checked, in the package or with a reference tool
  • Evidence: Upstream-Name: pspell / Source: http://pecl.php.net/package/pspell
  • Problem: The header was copied from php-pspell. This package is dio: debian/control says Source: php-dio and Homepage: https://pecl.php.net/package/dio, and package.xml names the channel package dio. As written, debian/copyright misstates the origin of the source it ships, so it does not accurately describe the package (Policy 12.5, and the Source field of copyright-format 1.0).
  • Fix: Set Upstream-Name: dio and Source: https://pecl.php.net/package/dio (the Upstream-Contact URL github.com/php/pecl-system-dio is already right).
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. Standards-Version 4.5.1 is older than current Policy 4.7.4.1 ◂
  • Files: debian/control:9
  • 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: The declared Policy version is two minor series behind; the package has not been checked against Policy 4.6 and 4.7.
  • Fix: Bump to Standards-Version: 4.7.4 after reading appendix A10 of Policy; no change listed there affects this package.
minor packaging 4. Patch lacks the DEP-3 Description and Forwarded fields ◂
  • Files: debian/patches/0001-fix-dio_stream_close-contract-0-success-1-failure.patch:1-5
  • Basis: checked, in the package or with a reference tool
  • Evidence: Patch header has From:, Date:, Subject: and then ---, with no Description: or Forwarded:
  • Problem: Description: is a mandatory field of DEP-3 and says in one or two lines what the patch does and why; Forwarded: records whether upstream has the fix, which matters for dropping the patch at the next release. The Subject alone hints at the purpose but does not state the reason.
  • Fix: Add a Description: explaining the PHP 8.6 php_stream close-contract change and a Forwarded: line (upstream URL or not-needed).
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 ◂
  • All upstream files are covered: 32 files scanned by the prescan, and a grep for Copyright, (C), ©, SPDX-License-Identifier, GNU General Public, Apache License, public domain, All rights reserved over the whole tree found only Copyright (c) The PHP Group in LICENSE, in the twelve src/ C/header files, and the PHP-3.01 License: statements in package.xml.
  • The prescan's author check found no holder missing from debian/copyright; accordingly There is no holder issue, and Policy 2.3 needs no analysis here.
  • debian/copyright carries the full PHP License 3.01 text (not in /usr/share/common-licenses), matching LICENSE; the short name PHP-3.01 is correct for the version shipped.
  • PHP-3.01 is the licence Debian's own PHP packages ship under in main; the package combines nothing under an incompatible licence, so the licence is DFSG-free. The override php-dio source: license-problem-php-license * in debian/source.lintian-overrides is the standard PECL override and is not reported as a fault.
  • debian/copyright is DEP-5; only its Format: line uses the http:// URL, which the report tool handles itself.
  • dio-0.3.0/src/dio_arginfo.h is generated from dio-0.3.0/src/dio.stub.php (header says so), and the stub is shipped; the generator gen_stub.php belongs to PHP, pulled in by php-all-dev. All C sources, config.m4 and config.w32 are present.
  • dio-0.3.0/tests/*.phpt are upstream PHPT test scripts with no separate notices; they are the Files: * stanza's PHP-3.01 and are not installed.
  • No README, NOTICE, COPYING or AUTHORS file beyond LICENSE, package.xml and debian/ exists; no other licence text is needed.
  • debian/control is the dh-php-generated expansion of debian/control.in; php8.6-dio matches Build-Depends: php-all-dev (>= 2:102~), and the archive reports php-all-dev 2:102~ (experimental) and dh-php 5.23 (unstable), so the build dependencies exist.
  • The sole patch applies with -p1 from the package root (its paths carry the dio-0.3.0/ prefix), consistent with the .pc/ record; it is not obsolete, since it addresses PHP 8.6 after the 2024-02-22 release.
  • uscan found the packaged version as the newest upstream release (upstream 0.3.0, packaged 0.3.0).
Not confirmed ◂
  • debian/rules:2 exports REPORT_EXIT_STATUS:=0; if PHP's run-tests.php reads it, failing tests would not fail the build. Could not confirm: dh-php (which provides /usr/share/dh-php/pkg-pecl.mk and owns the test step) is not installed on the reviewing system, so I could not see whether it runs make test or overrides the variable.
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/dio
Matching-Pattern: /get/dio-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Update-Script: uupdate
Uversionmangle: s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/
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