DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-opentelemetry 1.5.0-1

Package Information

DescriptionOpenTelemetry auto-instrumentation support extension for PHP

This is a PHP extension for OpenTelemetry, to enable auto-instrumentation.

The extension allows: - creating pre and post hook functions to arbitrary PHP functions and methods, which allows those methods to be wrapped with telemetry - adding attributes to functions and methods to enable observers at runtime

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

New Package Report

.changes◂
DateSat, 21 Nov 2026 10:04:29 +0100
Sourcephp-opentelemetry
Version1.5.0-1
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
Changelog◂
php-opentelemetry (1.5.0-1) experimental; urgency=medium
 .
   * New upstream version 1.5.0
   * 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-opentelemetry deb php optional arch=all
php-opentelemetry-all-dev deb php optional arch=all
php8.6-opentelemetry deb php optional arch=any
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: opentelemetry
Upstream-Contact: Xinchen Hui <laruence@php.net>
Source: http://pecl.php.net/package/opentelemetry

Files: *
Copyright: 2013-2016 The PHP Group
License: PHP-3.01

Files: compressor/fastlz/*
Copyright: 2005-2007 Ariya Hidayat (ariya@kde.org)
License: Expat

Files: debian/*
Copyright: 2016 Ondřej Surý <ondrej@debian.org>
License: Expat

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

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

DFSG Assistant LLM REVIEW 1 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 1 hour 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-opentelemetry version 1.5.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 1 important, 4 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 itself is DFSG-free, but debian/copyright materially misdescribes it: it declares the whole tree PHP-3.01 by The PHP Group, while the shipped LICENSE and package.xml both say Apache-2.0, and no file carries any PHP Group notice. The file therefore also lacks the actual distribution licence (no Apache-2.0 text or pointer to /usr/share/common-licenses), contrary to Policy 12.5, and a lintian override hides the mismatch. A stale fastlz stanza and a wrong Upstream-Contact compound the inaccuracy.

Packaging

The packaging follows the standard dh-php/PECL pattern and is technically sound: correct binary split, dependencies satisfiable in unstable/experimental, no patches or maintainer scripts to get wrong. The only defect is an outdated Standards-Version (4.5.1 against 4.7.4.1), which is minor.

Issues

blocker licensing 1. Files: * claims PHP-3.01 by The PHP Group, but upstream is Apache-2.0 ◂
  • Files: debian/copyright:5-8, opentelemetry-1.5.0/LICENSE:1-3, package.xml:25, debian/source.lintian-overrides:1-2
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: * / Copyright: 2013-2016 The PHP Group / License: PHP-3.01; opentelemetry-1.5.0/LICENSE begins Apache License / Version 2.0, January 2004; package.xml: <license filesource="LICENSE" uri="https://opensource.org/license/apache-2-0/">Apache 2.0</license>; a grep of the whole upstream tree finds PHP Group only in debian/copyright.
  • Problem: The declared licence and holder do not match the source: the extension is Apache-2.0, not PHP-3.01, and The PHP Group holds no copyright in it (the project dates from 2023, not 2013-2016). debian/copyright contains neither the Apache-2.0 text nor a pointer to /usr/share/common-licenses, so the verbatim copy of the actual distribution licence that Policy 12.5 requires is missing. debian/source.lintian-overrides then suppresses the resulting license-problem-php-license warning instead of fixing the mismatch.
  • Fix: Rewrite the Files: * stanza with the real holders (the OpenTelemetry instrumentation authors; package.xml lists Brett McBride and Przemek Delewski as leads) and License: Apache-2.0, replace the PHP-3.01 stand-alone paragraph with a License: Apache-2.0 paragraph referring to /usr/share/common-licenses/Apache-2.0, and delete debian/source.lintian-overrides now that it is unnecessary.
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 licensing 3. Files: compressor/fastlz/* stanza matches no file in 1.5.0 ◂
  • Files: debian/copyright:10-12
  • Basis: checked, in the package or with a reference tool
  • Evidence: Files: compressor/fastlz/* / Copyright: 2005-2007 Ariya Hidayat (ariya@kde.org) / License: Expat; no compressor/ directory or fastlz source exists anywhere in the tree or in package.xml's contents list.
  • Problem: A stale Files stanza attributes Expat terms to a path that is not in the source, so debian/copyright describes a file set that does not exist; this is leftover template text.
  • Fix: Remove the compressor/fastlz stanza (or repoint it if that code is reintroduced upstream).
minor licensing 4. Upstream-Contact names Xinchen Hui, not the opentelemetry project leads ◂
  • Files: debian/copyright:3, package.xml:10-21
  • Basis: checked, in the package or with a reference tool
  • Evidence: Upstream-Contact: Xinchen Hui <laruence@php.net>; package.xml declares <lead><name>Brett McBride</name> and <name>Przemek Delewski</name> and the project is open-telemetry/opentelemetry-php-instrumentation.
  • Problem: Policy 12.5 asks the copyright file to give a contact for the upstream authors; the person named is not connected with this project, so the field is misleading.
  • Fix: Name the actual upstream contact (Brett McBride) or the upstream issue tracker, matching package.xml.
minor packaging 5. 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 package claims conformance to a Policy two minor releases old; Policy 4.7.x added requirements the package is not declared against. Per the review scale this is a minor issue.
  • Fix: Bump Standards-Version to 4.7.4.1 (or the current version at upload) after checking the A10 upgrading checklist.
minor packaging 6. 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 ◂
  • Enumerated all 120 upstream files under opentelemetry-1.5.0/ and package.xml (glob, excluding .pc/ and debian/), read the C sources, headers, stub, config.m4/config.w32 and package.xml, and grepped the whole upstream tree for Copyright/(C)/©/SPDX/licence phrases: no per-file notice and no copyright holder appears anywhere; LICENSE is the only licence text, and no NOTICE/AUTHORS/COPYING exists.
  • opentelemetry-1.5.0/LICENSE is the full Apache License 2.0 and package.xml declares Apache 2.0; the code is therefore DFSG-free, and no non-free wording (non-commercial, no-modification, field-of-use) was found.
  • debian/ read in full: control, control.in, rules, changelog, compat (10), copyright, gbp.conf, opentelemetry.ini, php-opentelemetry.php, source.lintian-overrides and source/format; there is no debian/patches, no maintainer script and no debian/tests/control.
  • No vendored third-party code is present: there is no compressor/fastlz tree; the only occurrence of that string is the stale copyright stanza.
  • Build dependencies are satisfiable from the archive as checked with apt-cache: dh-php 5.23 in unstable and php-all-dev 2:102~ in experimental satisfy dh-php (>= 5.23~) and php-all-dev (>= 2:102~).
  • The prescan found no missing copyright holder, consistent with the absence of any copyright notice in the upstream files.
  • uscan found the packaged version as the newest upstream release (upstream 1.5.0, packaged 1.5.0).
Not confirmed ◂
  • The exact upstream copyright holder cannot be established from the tree: no source file carries a copyright line and the LICENSE appendix still has the [yyyy] [name of copyright owner] placeholder. It is certain only that The PHP Group is not that holder; the replacement should name the OpenTelemetry project's authors as recorded upstream.
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/opentelemetry
Matching-Pattern: .*/opentelemetry-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
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