DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: php-pecl-http 4.3.1-4

Package Information

DescriptionPECL HTTP module for PHP Extended HTTP Support

This HTTP extension aims to provide a convenient and powerful set of functionality for one of PHPs major applications.

It eases handling of HTTP urls, headers and messages, provides means for negotiation of a client's preferred content type, language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities.

It provides powerful request functionality with support for parallel requests.

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

New Package Report

.changes◂
Distributionexperimental
DateFri, 27 Nov 2026 15:58:12 +0100
Sourcephp-pecl-http
Version4.3.1-4
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Changelog◂
php-pecl-http (4.3.1-4) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Componentmain
Package-Listphp-http deb web optional arch=all
php-http-all-dev deb web optional arch=all
php8.6-http deb web optional arch=any
Sectionweb
Priorityoptional
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pecl_http
Upstream-Contact: Michael Wallner <mike@iworks.at>
Source: http://pecl.php.net/package/pecl_http

Files: *
Copyright: 2004-2014, Michael Wallner
License: BSD-2-clause

Files: debian/*
Copyright: 2014-2014, Facundo Guerrero <guerremdq@gmail.com>
License: GPL-3+

License: BSD-2-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 * Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
 * 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.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS 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 COPYRIGHT OWNER OR 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.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General Public
 License version 3 can be found in `/usr/share/common-licenses/GPL-3'.

DFSG Assistant LLM REVIEW 0 blocker, 1 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-pecl-http version 4.3.1-4

Summary

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

Licensing

Upstream is BSD-2-Clause throughout: LICENSE, every .c/.h header and package.xml say so, and the Files: * stanza reproduces the right holder and the full licence text. No non-free wording, no third-party or vendored code, no built or minified files; the two binary test fixtures are plain HTTP test data. The only inaccuracy is the stale debian/* stanza, which credits 2014 by Facundo Guerrero for packaging and patches largely written later by Ondřej Surý and Remi Collet; Policy 2.3 does not require those notices, so it is minor.

Packaging

Ordinary dh-php based PECL packaging: correct three-package split, substvars present, debhelper compat declared in debian/compat with a matching Build-Depends (allowed), build deps all resolvable in experimental, clean changelog and Vcs-* fields. Two minor things: Standards-Version 4.5.1 against Policy 4.7.4.1, and debian/control.in (the template dh-php expands into debian/control) lacking the php8.6-raphf build dependency that was added to the generated debian/control.

Issues

important licensing 1. 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 licensing 2. Files: debian/* names only Facundo Guerrero, omitting Ondřej Surý and Remi Collet (author of patches 0005-0007) ◂
  • Files: debian/copyright:10-12, debian/patches/0005-Fix-for-PHP-8.6.0beta3.patch, debian/patches/0006-no-default-value.patch, debian/patches/0007-copy-the-3-arginfo.patch, debian/changelog
  • Basis: checked, in the package or with a reference tool
  • Evidence: Files: debian/* / Copyright: 2014-2014, Facundo Guerrero <guerremdq@gmail.com> / License: GPL-3+, while the patch headers say From: Remi Collet <remi@remirepo.net> and the changelog attributes the 2024-2026 packaging to Ondřej Surý.
  • Problem: Everything in debian/ is attributed to one 2014 holder. Nearly all of the current packaging and patches 0001-0004 are Ondřej Surý's work, and patches 0005-0007 are Remi Collet's, so both the holders and the GPL-3+ statement for his patch text are unsupported. Debian Policy 2.3 does not require these notices, because debian/ and debian/patches are not shipped in any binary package and their From: lines are shipped as plain text, but a complete debian/copyright should record them.
  • Fix: Extend the debian/* stanza to the current packaging authors and years, and add a stanza for debian/patches/0005-0007 naming Remi Collet with the licence under which the patches are included (upstream's BSD-2-Clause if that is what he contributed under).
minor packaging 3. Standards-Version is 4.5.1, older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:18
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: Debian Policy 5.6.11 expects the field to name the Policy version the package was checked against; 4.5 is two minor releases behind, and the A10 checklist entries for 4.6.0, 4.7.0 and 4.7.4 change nothing that affects this package.
  • Fix: Update to Standards-Version: 4.7.4.1 (no other change needed).
minor packaging 4. debian/control.in lacks the php8.6-raphf Build-Depends that debian/control has, so regenerating control would drop it ◂
  • Files: debian/control:16, debian/control.in:16
  • Basis: inferred from what was read, not seen directly
  • Evidence: debian/control: php8.6-raphf, php-raphf-all-dev (>= 2.0.1++-4~),; debian/control.in: php-raphf-all-dev (>= 2.0.1++-4~),
  • Problem: debian/control is the dh-php expansion of debian/control.in (see the changelog entry "Regenerate d/control for PHP 8.2"), and control.in, unlike control, carries no php8.6-raphf. The two files disagree, so the next regeneration silently loses the hand-added build dependency, which is what selects the PHP 8.6 raphf headers this build needs.
  • Fix: Add php8.6-raphf to debian/control.in's Build-Depends (or drop it from debian/control and rely on php-raphf-all-dev if that already depends on it) so the template and the generated file agree.
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 ◂
  • Inventoried the tree directory by directory (pecl_http-4.3.1/ top level, src/, tests/ incl. tests/data and tests/helper, scripts/, autoconf/pecl/) and read every file under debian/ including all seven patches' headers and summaries (the 0005 body was sampled, lines 1-300 of 2402).
  • Upstream licence: pecl_http-4.3.1/LICENSE is BSD-2-Clause naming Michael Wallner; all 71 src/*.c and *.h files carry the same header, php_http.h too; debian/copyright's Files: * holder and full BSD-2-Clause text match. package.xml declares BSD-2-Clause and lists every shipped file.
  • No other licensing evidence in the tree: case-sensitive grep for Copyright/©/SPDX-License-Identifier/Licensed under/GNU General/GNU Lesser/Apache License/Mozilla Public/public domain/All rights reserved found only Michael Wallner notices (plus the LICENSE copy embedded in tests/data/message_r_multipart_put.txt and tests/message003.phpt, same holder), so the prescan's possible-holder match is satisfied and there is no missing holder.
  • pecl_http-4.3.1/tests/data/bug71719.bin: 256-byte malformed HTTP message fixture read by tests/bug71719.phpt; not a built file.
  • pecl_http-4.3.1/tests/data/message_rr_empty_gzip.txt: gzip-encoded HTTP response fixture read by tests/message001.phpt (also opened read-write there); not a built file.
  • Other non-source files: tests/helper/http2.crt and http2.key are a self-signed test certificate/key for the test helper; src/php_http_utf8.h is pre-generated by scripts/gen_utf8.php from glibc's locales/i18n data (generator shipped) and carries the project's BSD header; autoconf/pecl/*.m4 have no notice and are upstream's own build macros (md5-listed in package.xml), covered by Files: *.
  • Build dependencies checked against the archive: dh-php 5.25, php-all-dev 2:108~exp3, php8.6-raphf 2.0.2-5 and php-raphf-all-dev 2.0.2-5 in experimental, plus bc, chrpath, libcurl4-openssl-dev, libevent-dev, libicu-dev, zlib1g-dev; pkg-config comes in through php8.x-dev. The .dsc Build-Depends matches debian/control.
  • debhelper compat 10 declared in debian/compat with Build-Depends debhelper (>= 10~) is a permitted declaration; ${misc:Depends}, ${shlibs:Depends} and the dh-php substvars are all named explicitly, so nothing is missing for this level.
  • debian/source/format is 3.0 (quilt); patches apply with -p1 to the pecl_http-4.3.1/ subtree and package.xml at the top; none of the patches creates a file (no /dev/null hunks) and none brings in third-party code beyond patches 0005-0007 authored by Remi Collet.
  • uscan found the packaged version as the newest upstream release (upstream 4.3.1, packaged 4.3.1).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (GPL-3).
Not confirmed ◂
  • What dh-php 5.25 does with debian/php-http.pecl could not be checked because dh-php is not installed on the reviewing system. The file names modules/pecl-http.so, while PHP_NEW_EXTENSION(http, ...) builds modules/http.so and debian/http.ini loads extension=http.so; if dh_php installs from that path, the binary package would carry a wrong module name - a build or an inspection of the installed php8.6-http would settle it.
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/pecl_http
Matching-Pattern: /get/pecl_http-([\d\.]*).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

The uploader rejected this upload in response to the review.

Review Information

rejected — allocated to dfsg-uploader 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

The uploader rejected this upload in response to the automated (LLM) review of it, so that they can fix the problems it found and upload again.

Back to Dashboard | View all reviews for this package