DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-gnupg 1.5.4-3

Package Information

DescriptionPHP wrapper around the gpgme library

This PHP extension provides methods to interact with gnupg.

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

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:22 +0100
Sourcephp-gnupg
Version1.5.4-3
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-gnupg (1.5.4-3) experimental; urgency=medium
 .
   * Add patch to fix FTBFS with PHP 8.6
   * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6
   * Add patch to run the tests sequentially with PHP 8.6
   * Bump Build-Depends to dh-php >= 5.23~
.dsc◂
Priorityoptional
Componentmain
Package-Listphp-gnupg deb php optional arch=all
php-gnupg-all-dev deb php optional arch=all
php8.6-gnupg deb php optional arch=any
Sectionphp
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gnupg
Source: http://pecl.php.net/package/gnupg

Files: *
Copyright: 2005 Thilo Raufeisen
	   2013 Jim Jagielski
	   2016 Jakub Zelenka
License: BSD-2-clause

Files: */phpc/*
Copyright: 2014-2016 Jakub Zelenka
License: Expat

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

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: 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 0 blocker, 1 important, 2 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-gnupg version 1.5.4-3

Summary

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

Licensing

All upstream code is free: the four PHP sources and the tests are BSD-2-clause, and the vendored phpc/phpc.h is MIT (Expat). debian/copyright is DEP-5, its stanzas match the tree (the later /phpc/ and debian/* stanzas correctly override Files: *), it names every holder that appears in a file notice, and it reproduces both licence texts in full, as neither is in /usr/share/common-licenses. No non-free terms, no unlicensed file, nothing built without source, and the only binary file is a GnuPG test fixture.

Packaging

The packaging follows the Debian PHP PECL team template and is sound: 3.0 (quilt) with two documented patches, dh-php based rules, a correct split into the version-less metapackage, the -all-dev metapackage and the versioned php8.6-gnupg package, and dependencies that the archive can satisfy (php-all-dev 2:102~ in experimental, dh-php 5.23 in unstable, libgpgme-dev providing libgpgme11-dev). The changelog target (experimental) and version ordering are right, and the two patches are the purpose of the upload. The only issue worth reporting is the outdated Standards-Version.

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 packaging 2. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:11, debian/control.in:11
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1
  • Problem: The policy tool reports Debian Policy 4.7.4.1 on the reviewing system; the field's first two components are 4.5, older than 4.7, so it is below the current Policy version. Nothing else in the packaging contradicts a newer Policy, so this is bookkeeping rather than a functional fault.
  • Fix: Bump the field to Standards-Version: 4.7.4 in both debian/control and debian/control.in (they are kept in sync), after checking appendix A10 for anything that applies.
minor packaging 3. 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 ◂
  • Covered the whole non-debian, non-.pc tree: LICENSE, README.md, UPGRADING.md, EXPERIMENTAL, config.m4, the four C sources/headers, phpc/phpc.h, package.xml and all 38 tests/*.phpt plus vars.inc and gnupgt.inc.
  • LICENSE is BSD-2-clause and names Thilo Raufeisen (2005), Jim Jagielski (2013) and Jakub Zelenka (2016); gnupg.c:9-11, gnupg_keylistiterator.c:9-11, php_gnupg.h:9-11 and php_gnupg_keylistiterator.h:9-11 carry the same three notices. All three holders are in the Files: * stanza of debian/copyright (year 2005 for Thilo against 2006 in the sources is only year drift).
  • phpc/phpc.h:1-20 is MIT/Expat, Copyright (c) 2014-2016 Jakub Zelenka, and falls under Files: */phpc/* (the path is gnupg-1.5.4/phpc/phpc.h, so the * before /phpc/ matches); the stanza's Copyright and License: Expat are correct.
  • The tests (.phpt, vars.inc, gnupgt.inc) carry no separate copyright notice and are covered by Files: *; package.xml declares <license>BSD, revised</license>, consistent with the rest.
  • The only holder-like name absent from debian/copyright is Sean DuBois, listed in package.xml as an inactive lead (<active>no</active>) and named in no copyright notice in the tree, so Policy 2.3 does not require him.
  • The prescan's binary file gnupg-1.5.4/tests/no_uid_hint_msg.gpg is an OpenPGP message read as test input at tests/gnupg_oo_decrypt_no_uid_hint.phpt:91; it is test data, not built, and carries no licence of its own.
  • Grep of the tree for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/permission and copyleft wording found no licence text other than LICENSE, the four sources' headers and phpc/phpc.h; no non-commercial, no-modification or field-of-use terms anywhere.
  • debian/copyright is DEP-5 with three Files stanzas in the right order and stand-alone paragraphs for both short names used (BSD-2-clause, Expat), each with full text; there is no Files-Excluded and none is needed.
  • Read every file under debian/: changelog, compat (10), control and control.in, copyright, gbp.conf, gnupg.ini, php-gnupg.php, rules, source/format (3.0 (quilt)), patches/series and both patches, including their DEP-3 From/Subject headers; patch 0002 creates tests/CONFLICTS, whose stanza is debian/*.
  • Changelog is coherent: 1.5.4-3 to experimental, above 1.5.4-2 in unstable, and its bullets match the two patches and the php-all-dev/dh-php bumps; the prior NMU (1.5.3-1.1) closed #1117231.
  • apt-cache checks: php-all-dev 2:102~ exists in experimental (matching the experimental target), dh-php 5.23 is in unstable (satisfies >= 5.23~), and libgpgme11-dev is a virtual package provided by libgpgme-dev 2.3.1-1; no dependency names a package that does not exist.
  • The .dsc and both tarballs were consulted: the orig tarball has package.xml at the root and the sources under gnupg-1.5.4/, which is the tree under review; the debian tarball holds only debian/.
  • uscan found the packaged version as the newest upstream release (upstream 1.5.4, packaged 1.5.4).
Not confirmed ◂
  • /usr/share/dh-php/pkg-pecl.mk is not present on the reviewing system (dh-php is only a build dependency), so the exact dh targets and any dh_missing options that include supplies could not be read.
  • PHP's run-tests.php is not installed here, so the effect of the all line in the tests/CONFLICTS file created by patch 0002 is taken on the patch's word.
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/gnupg
Matching-Pattern: /get/gnupg-([\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