DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: libvirt-php 0.5.8-14

Package Information

Descriptionlibvirt bindings for PHP

libvirt-php is a php module that provides PHP bindings for libvirt virtualization toolkit and therefore you can access libvirt directly from your PHP scripts with no need to have virt-manager or libvirt-based CLI/GUI tools installed.

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

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:57:57 +0100
Sourcelibvirt-php
Version0.5.8-14
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
libvirt-php (0.5.8-14) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Componentmain
Package-Listphp-libvirt-php deb php optional arch=all
php-libvirt-php-all-dev deb php optional arch=all
php8.6-libvirt-php deb php optional arch=any
Sectionphp
Priorityoptional
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libvirt-php
Upstream-Contact: Michal Novotny <minovotn@redhat.com>
Source: http://libvirt.org/php/downloads.html

Files: *
Copyright: 2014 Michal Novotny <minovotn@redhat.com>
                Radek Hladik <r.hladik@cybersales.cz>
License: LGPL-2.1+

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

License: LGPL-2.1+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 This library 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
 Lesser 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 <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 2.1 can be found in ‘/usr/share/common-licenses/LGPL-2.1’.

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 2 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 libvirt-php version 0.5.8-14

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 2 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

debian/copyright is DEP-5 but its catch-all Files: * stanza declares LGPL-2.1+ for the whole tree. Several shipped files are not under that licence: the autotools/libtool support files (Makefile.in, configure, aclocal.m4, compile, depcomp, missing, test-driver, config.guess, config.sub, install-sh, ltmain.sh, m4/libtool*.m4, INSTALL) carry GPL-2+, GPL-3+, MIT/X11 or FSF permissive notices, and tests/check_parameters.php is PHP-3.01 with The PHP Group as holder, whose licence text is not shipped. All the licences involved are DFSG-free, so there is no non-free file, but debian/copyright is materially inaccurate and incomplete.

Packaging

The packaging is in good shape: debhelper compat 10 with the dh-php sequence, correctly generated multi-PHP control, hardening enabled, four well-described patches and a consistent experimental changelog. Only minor issues: a stale Standards-Version and an ineffective documentation stanza whose pattern cannot match, so the HTML documentation is dropped from the binary packages.

Issues

blocker licensing 1. Files: * declares LGPL-2.1+ for autotools files actually under GPL-2+/GPL-3+/MIT/X11/permissive terms ◂
  • Files: debian/copyright:6-9, Makefile.in:6-10, src/Makefile.in:6-10, docs/Makefile.in:6-10, tests/Makefile.in:6-10, tools/Makefile.in:6-10, configure:14-15, aclocal.m4:26-34, compile:6-9, depcomp:6-9, missing:6-9, test-driver:6-9, config.guess:7-10, config.sub:7-10, install-sh:10-20, ltmain.sh:75,1539-1544, m4/libtool.m4:3-9, INSTALL:4-7
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Files: * / Copyright: 2014 Michal Novotny ... Radek Hladik / License: LGPL-2.1+, against depcomp:6-9 "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ... either version 2 ..., or (at your option) any later version", config.guess:7-10 "either version 3 of the License", ltmain.sh:1539-1544 "dual licensed under the terms of the MIT license ... and GPL version 2 or later", install-sh:10 "Copyright (C) 1994 X Consortium" with the MIT text, and Makefile.in:6-10 "the Free Software Foundation gives unlimited permission to copy and/or distribute it".
  • Problem: The last matching stanza (Files: *) states one licence for every file, but the files above carry their own notices under other licences and holders. debian/copyright therefore misstates the licence of source files that are part of every source package distributed (the binary packages are irrelevant to this: the source is distributed too). The LGPL-2.1+ label is wrong for them and the required notice/terms are not reproduced.
  • Fix: Add separate Files stanzas with the correct short names and notices: GPL-2+ with Autoconf exception for compile, depcomp, missing, test-driver (and the pkg.m4 part of aclocal.m4), GPL-3+ with Autoconf exception for config.guess/config.sub, MIT for install-sh and ltmain.sh, FSF unlimited-permission terms for Makefile.in/configure/INSTALL/m4/libtool*.m4, and reproduce those texts (none is in /usr/share/common-licenses except GPL).
blocker licensing 2. tests/check_parameters.php is PHP-3.01 by The PHP Group, omitted from debian/copyright and its licence text is not shipped ◂
  • Files: tests/check_parameters.php:1-15, debian/copyright:6-9
  • Basis: checked, in the package or with a reference tool
  • Evidence: | Copyright (c) The PHP Group / | This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE (tests/check_parameters.php:3-6); there is no LICENSE file in the source tree, and debian/copyright has no PHP-3.01 stanza or text.
  • Problem: Files: * labels this file LGPL-2.1+ and names Michal Novotny/Radek Hladik, but the file is PHP-3.01 held by The PHP Group. PHP-3.01 is DFSG-free but is not in /usr/share/common-licenses, so its text must be reproduced in debian/copyright; neither the holder nor the licence appears there. The source package is distributed with this file, so the copyright file is inaccurate regardless of whether the file is installed.
  • Fix: Add a Files: tests/check_parameters.php stanza with Copyright: The PHP Group and License: PHP-3.01, and a stand-alone License: PHP-3.01 paragraph containing the full PHP License 3.01 text.
important licensing 3. 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 4. debian/copyright omits the holders of the build-system files (FSF, Bootstrap Authors, X Consortium, Red Hat, Dan Nicholson, Scott James Remnant) ◂
  • Files: ltmain.sh:75,1539, aclocal.m4:26-27, install-sh:10, m4/virt-php-confdir.m4:3, m4/virt-php-extensiondir.m4:3, Makefile.in:4, src/Makefile.in:4, docs/Makefile.in:4, tests/Makefile.in:4, tools/Makefile.in:4, aclocal.m4:1005, configure:8, compile:6, depcomp:6, missing:6, test-driver:6, config.guess:3, config.sub:3, m4/libtool.m4:3, m4/ltoptions.m4:3, m4/ltsugar.m4:3, m4/ltversion.m4:3, m4/lt~obsolete.m4:3, INSTALL:4
  • Basis: checked, in the package or with a reference tool
  • Evidence: Copyright (C) 2004-2019, 2021 Bootstrap Authors (ltmain.sh:75); Copyright © 2004 Scott James Remnant and Copyright © 2012-2015 Dan Nicholson (aclocal.m4:26-27); Copyright (C) 1994 X Consortium (install-sh:10); Copyright (C) 2016 Red Hat, Inc. (m4/virt-php-confdir.m4:3, m4/virt-php-extensiondir.m4:3); FSF notices in the generated Makefile.in files, configure, aclocal.m4 and m4/libtool*.m4.
  • Problem: None of these holders is named in debian/copyright. Policy 2.3 does not require their notices: these are autotools build-system files, none of them is installed into a binary package (debian/rules builds only the PHP module, its ini and the HTML docs), so condition 2 of Policy 2.3 does not hold; the DFSG/Licensing team nevertheless expects a complete copyright file. (The prescan's 'Free' entry is the wrapped Free\nSoftware Foundation, Inc. line of INSTALL, i.e. the FSF, not a separate holder.)
  • Fix: Include these holders in the Files stanzas that will be added for the same files (see the licence issue above), grouping them by licence.
minor packaging 5. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:16, debian/control.in:16
  • 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 with an older Policy. Policy section 5.6.11 treats an old value as a signal to check the intervening changes; nothing else in the packaging is affected.
  • Fix: Update Standards-Version to 4.7.4 after checking the 4.6/4.7 upgrading checklist; no other change appears necessary.
minor packaging 6. debian/php-libvirt-php.docs pattern /usr/share/doc/*/html matches nothing, so the generated HTML docs are deleted and never installed ◂
  • Files: debian/php-libvirt-php.docs:1, debian/rules:54, docs/Makefile.am:60-63
  • Basis: inferred from what was read, not seen directly
  • Evidence: /usr/share/doc/*/html (debian/php-libvirt-php.docs) with rm -rf $(CURDIR)/debian/php$$v-$(PECL_NAME)/usr/share/doc/libvirt-php-* (debian/rules:54). At compat 10 dh_installdocs searches only . (dh_installdocs source: @search_dirs = ('.')), so the pattern expands to ./usr/share/doc/*/html, which does not exist in the source tree; upstream's install-data-local puts the HTML at $(DESTDIR)$(HTML_DIR)/html = debian/php$v-libvirt-php/usr/share/doc/libvirt-php-0.5.8/html, which debian/rules then deletes.
  • Problem: The documentation file cannot match anything under the package's compat level, and the HTML that upstream installs is removed right after installation; the binary packages therefore ship no upstream HTML documentation, and the .docs entry is dead weight. It would also apply only to the arch:all dummy package php-libvirt-php, not to the versioned phpX.Y packages.
  • Fix: Either stop removing upstream's installed documentation and give the per-version packages their documentation (e.g. by configuring --with-html-dir so it lands directly under /usr/share/doc/), or install the generated HTML with dh_install from the real build/install path, and drop the ineffective .docs line.
minor packaging 7. 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 ◂
  • Read all files under debian/ in full (control, control.in, rules, changelog, copyright, compat, gbp.conf, libvirt-php.ini, php-libvirt-php.docs, php-libvirt-php.php, source/format, source.lintian-overrides, all four patches and series), except debian/watch which is out of scope.
  • Grepped the whole upstream tree (gitignore false, .pc and debian excluded) for Copyright/©/GPL/LGPL/permission wording and read every file that carried a notice.
  • src/.c and src/.h carry only 'See COPYING for the license'; COPYING is LGPL-2.1 and README states the application code is LGPL-2.1, which matches the Files: * LGPL-2.1+ stanza for the program itself.
  • The prescan's 'Free' holder is the wrapped 'Free\nSoftware Foundation, Inc.' line in INSTALL:4-5, i.e. the FSF, not a distinct holder.
  • docs/*.html are generated with xsltproc from the *.html.in files present in docs/ (docs/Makefile.am), so the lack of separate HTML sources is not a source-is-missing problem; api-reference is generated by tools/generate-api-docs.c from src/.
  • tests/check_parameters.php is the PHP project's parameter checker; the tests/.phpt, tests/data/ and the .spec files are not installed by debian/rules.
  • The Build-Depends named in debian/control exist: debhelper 14.5, dh-php 5.25, libvirt-dev 12.9.0, php-all-dev 2:108~exp* (experimental), php-imagick-all-dev 3.8.1-* and php8.6-imagick 3.8.1-* (experimental), matching the experimental changelog entry.
  • debhelper's documented changes make compat 10 acceptable (neither deprecated nor discouraged) and confirm that dh_installdocs at compat 10 searches only the source tree.
  • uscan found the packaged version as the newest upstream release (upstream 0.5.8, packaged 0.5.8).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (LGPL-2.1).
Not confirmed ◂
  • No build or test run was performed (read-only review); the HTML-documentation finding is reasoned from debhelper's dh_installdocs code at compat 10 and from debian/rules, not observed in a package.
  • Binary files were not opened: docs/graphics/*.png (project artwork, no licence notice found) and tests/data/test-libvirt-php.img (test data, not installed).
  • The provenance of the docs/graphics PNGs and of the generated HTML pages could not be checked beyond the absence of copyright notices; they are covered by the upstream LGPL-2.1 statement in README/COPYING only by inference.
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: http://libvirt.org/sources/php/
Matching-Pattern: libvirt-php-([\d\.]*).tar.[gx]z
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