DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-oauth 2.0.10-3

Package Information

DescriptionOAuth 1.0 consumer and provider extension

OAuth is an authorization protocol built on top of HTTP which allows applications to securely access data without having to store usernames and passwords.

This package provides an API for fetching and serving OAuth protected resources.

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

New Package Report

.changes◂
Architecturesource all amd64
Distributionexperimental
DateSat, 21 Nov 2026 10:04:28 +0100
Sourcephp-oauth
Version2.0.10-3
Changed-ByOndřej Surý <ondrej@debian.org>
Changelog◂
php-oauth (2.0.10-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
   * Bump Build-Depends to dh-php >= 5.23~
.dsc◂
Package-Listphp-oauth deb php optional arch=all
php-oauth-all-dev deb php optional arch=all
php8.6-oauth deb php optional arch=any
Sectionphp
Priorityoptional
Componentmain
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: OAuth 1.0 consumer and provider extension
Upstream-Contact: John Jawed <jawed@php.net>
		  Felipe Pena <felipe@php.net>
		  Rasmus Lerdorf <rasmus@php.net>
		  Tjerk Meesters <datibbaw@php.net>
Source: http://pecl.php.net/package/oauth

Files: *
Copyright: 2008, Yahoo! Inc.
License: BSD-3-Clause

Files: debian/*
Copyright: 2013 Ondřej Surý <ondrej@debian.org>
License: BSD-3-Clause

License: BSD-3-Clause
 All rights reserved.
 .
 Redistribution and use of this software 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.
 .
 * Neither the name of Yahoo! Inc. nor the names of its contributors
   may be used to endorse or promote products derived from this
   software without specific prior written permission of Yahoo! Inc.
 .
 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.

DFSG Assistant LLM REVIEW 0 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-oauth version 2.0.10-3

Summary

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

debian/copyright is DEP-5, and the tree is uniform: the four compiled sources, the headers, tests, examples and package.xml are the PECL tarball, whose oauth-2.0.10/LICENSE is the Yahoo! Inc. 2008 BSD-3-Clause licence. Files: * names the holder and the short name correctly, the full licence text (not a common-licences one) is reproduced verbatim in the stand-alone License: BSD-3-Clause paragraph, and debian/* has its own stanza. A whole-tree grep found no other holder, no other licence and no non-free wording; the only deficit is the Format: URL in its http:// form, which the report tool replaces itself.

Packaging

The packaging is the Debian PHP team's standard dh-php layout, not hand-rolled: rules is the pkg-pecl.mk include, the build dependencies (dh-php >= 5.23~, php-all-dev >= 2:102~, debhelper >= 10~, php-common >= 2:69~) exist in unstable/experimental, the one patch carries DEP-3 From/Date/Subject and adds no files, Vcs-* and the binary split (dummy php-oauth, php-oauth-all-dev, php8.6-oauth) are right, and the experimental changelog entry matches the PHP 8.6 build. Only the declared Standards-Version (4.5.1 against 4.7.4.1) and the debhelper compat level (10, from the old debian/compat file) are behind; both are minor.

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:10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1; the policy tool reports Debian Policy version 4.7.4.1, released 2026-03-31.
  • Problem: The declared Policy version is two minor series behind current Policy, which the review rules treat as a minor issue. I read the upgrading-checklist entries for 4.6.0, 4.6.1, 4.6.2 and 4.7.0-4.7.4 (A10.2-A10.9) and none of them requires a change to a dh-php extension package, so the bump is mechanical.
  • Fix: Set Standards-Version: 4.7.4.1 in debian/control (and regenerate debian/control from debian/control.in if that is where the field is kept).
minor packaging 3. debhelper compat 10 (old debian/compat file) is far below the recommended level and leaves dh_missing inert ◂
  • Files: debian/compat:1, debian/control:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/compat contains 10, with Build-Depends: debhelper (>= 10~). The debhelper tool: "v14 (This is the recommended mode of operation)". dh_missing(1): "in compat 11 and earlier without either of these options, dh_missing will silently do nothing. In compat 12, --list-missing is the default In compat 13 and later, --fail-missing is the default."
  • Problem: The package still uses the debian/compat file at level 10, four levels below the recommended 14. At this level dh_missing does nothing unless asked, so a future change that stops installing a file would produce no build warning at all; that became the default only at compat 13. Nothing else at this level is broken for this package.
  • Fix: Replace debian/compat with Build-Depends: debhelper-compat (= 13) (or = 14 after checking the dh-php sequence at that level) and drop the unversioned debhelper (>= 10~).
minor packaging 4. 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 every file in debian/: changelog, compat, control, control.in, copyright, gbp.conf, oauth.ini, php-oauth.php, rules, source/format, patches/series and the single patch. There are no install/links/docs/dirs files, no maintainer scripts or maintscripts, and no debian/tests.
  • Grepped the whole tree (gitignore off, hidden files included, about 85 files) for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General Public, GNU Lesser, Apache License, Mozilla Public, public domain, All rights reserved and Redistribution and use: the only hits are oauth-2.0.10/LICENSE (Copyright (c) 2008, Yahoo! Inc.) and debian/copyright. The four compiled sources (oauth.c, provider.c, php_oauth.h, provider.h) say only See LICENSE file for further copyright information and list authors, no additional holder.
  • oauth-2.0.10/LICENSE is BSD-3-Clause ("Redistribution and use ... Neither the name of Yahoo! Inc. ..."); debian/copyright reproduces that text verbatim in its stand-alone License: BSD-3-Clause paragraph, so the retention condition of Policy 2.3 is met for every compiled file.
  • Files: * covers the C sources, the headers, tests/, examples/, INSTALL, TODO, README.md, config.m4, config.w32 and package.xml; Files: debian/* takes over for the packaging. No Files-Excluded is needed and the orig tarball matches the unpacked tree.
  • oauth-2.0.10/tests/test.pem:1 is an RSA test private key used by tests/rsa.phpt: test data, not a licence-bearing work, and not installed.
  • oauth-2.0.10/examples/twitter/php.jpg is the sample background image used by examples/twitter/updateBackgroundImage.php: example data, covered by Files: *, a binary that I did not open.
  • No built, minified, generated or PDF files: package.xml is upstream's PEAR release metadata that ships in the orig tarball, not a build product; the patch creates no file (no --- /dev/null), and .pc/ was ignored as instructed.
  • The patch only replaces XtOffsetOf with offsetof in four files and carries From:/Date:/Subject: headers; its purpose and the PHP 8.6 rationale are clear from the changelog.
  • apt-cache confirms dh-php 5.23 (unstable), php-all-dev 2:102~ (experimental), debhelper 14.5 and the php-common 2:69~ dependency exist, so the build- and binary-dependency versions are satisfiable for this experimental upload.
  • Policy 4.5.1->4.7.4.1 checklist entries A10.2-A10.9 name nothing this package violates; the only nearby advice, 4.7.3 §5.6.6 on not stating a default Priority, is advice and not a requirement.
  • config.m4 enables cURL only when curl/easy.h is present; php8.6-dev (via php-all-dev) does not pull a curl development package, and the archive's php8.4-oauth 2.0.9-1 has no libcurl dependency, so building without cURL is this package's existing behaviour rather than an undeclared dependency.
  • debian/rules exports REPORT_EXIT_STATUS:=0, so php test failures do not fail the build; debian/changelog 2.0.7+1.2.3-16 records that as deliberate, so it is not reported as a bug.
  • debian/copyright's Files: debian/* names only Ondřej Surý; Prach Pongpanich's early packaging work is credited in debian/changelog (1.2.3-1), but apart from debian/copyright itself no debian/ file carries a copyright notice of its own, so Policy 2.3 requires no further holder there.
  • uscan found the packaged version as the newest upstream release (upstream 2.0.10, packaged 2.0.10).
Not confirmed ◂
  • dh-php is not installed on the reviewing system (/usr/share/dh-php is absent), so I could not read pkg-pecl.mk: how it consumes debian/oauth.ini, what debian/php-oauth.php (mod debian/oauth.ini) configures, or whether anything under tests//examples/ is installed. Neither the ini nor that file carries a notice, so this does not affect the licensing answer.
  • The provenance and licence of examples/twitter/php.jpg cannot be established without opening the JPEG; I did not read binary files.
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/oauth
Matching-Pattern: /get/oauth-([\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