DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-solr 2.10.0-2

Package Information

DescriptionPHP extension for communicating with Apache Solr server

The Apache Solr PHP extension is an extremely fast, light-weight, feature-rich library that allows PHP applications to communicate easily and efficiently with Apache Solr server instances using an object-oriented API.

It effectively simplifies the process of interacting with Apache Solr using PHP and it already comes with built-in readiness for the latest features.

The extension has features such as built-in, serializable query string builder objects which effectively simplifies the manipulation of name-value pair request parameters across repeated requests. The response from the Solr server is also automatically parsed into native php objects whose properties can be accessed as array keys or object properties without any additional configuration on the client-side.

Its advanced HTTP client reuses the same connection across multiple requests and provides built-in support for connecting to Solr servers secured behind HTTP Authentication or HTTP proxy servers. It is also able to connect to SSL-enabled containers.

PECL Solr 2+ is only compatible with Apache Solr Server 4.0+.

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

New Package Report

.changes◂
Sourcephp-solr
Version2.10.0-2
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all amd64
Distributionexperimental
DateFri, 27 Nov 2026 15:58:19 +0100
Changelog◂
php-solr (2.10.0-2) experimental; urgency=medium
 .
   * Depend on php-all-dev from experimental
.dsc◂
Componentmain
Package-Listphp-solr deb php optional arch=all
php-solr-all-dev deb php optional arch=all
php8.6-solr deb php optional arch=any
Sectionphp
Priorityoptional
debian/copyright◂
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: solr
Upstream-Contact: Israel Ekpo <iekpo@php.net>
Source: http://pecl.php.net/package/solr

Files: *
Copyright: 1997-2010, The PHP Group
License: PHP-3.01

Files: debian/*
Copyright: 2014 Facundo Guerrero <guerremdq@gmail.com>
License: Expat

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.

License: PHP-3.01
 --------------------------------------------------------------------
                   The PHP License, version 3.01
 Copyright (c) 1999 - 2010 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>.

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 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-solr version 2.10.0-2

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: 3 found

Licensing

Upstream ships its own LICENSE, the PHP License 3.01 (1999-2024, The PHP Group), and every C/H file in src/, pecl-compat/ and docs/ carries the matching "subject to version 3.01 of the PHP license" header with Copyright (c) The PHP Group; examples and tests carry no separate notice. debian/copyright has a Files: * stanza naming The PHP Group with the full PHP-3.01 text (the licence is not in /usr/share/common-licenses, so the full text is required and present) and a debian/* stanza under Expat with full text. No other holder or licence was found anywhere in the tree, and PHP-3.01 is DFSG-free (php itself and the PECL packages are in main). The year range in the stanza (1997-2010) is stale drift only, which is not material.

Packaging

This is the standard Debian PHP PECL packaging (dh-php pkg-pecl.mk, compat 10, 3.0 (quilt), generated multi-PHP control from control.in), with correct Build-Depends, Vcs-* fields, a DEP-3 patch that applies to package.xml, and autopkgtests via the Testsuite field plus autodep8. Two minor defects remain: an outdated Standards-Version and docs/examples lists that name files no longer present in the upstream tree, which at compat 10 are silently skipped.

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 predates the current Policy 4.7.4.1 ◂
  • Files: debian/control:19, debian/control.in:19
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1; the policy tool reports Debian Policy 4.7.4.1.
  • Problem: The declared Standards-Version is older than the current Policy version (the first two components differ, 4.5 vs 4.7), so the package is not declared against current Policy (Policy 5.6.11).
  • Fix: Bump Standards-Version to 4.7.4.1 (or the current version) in both debian/control and debian/control.in, after checking the intervening Policy changes.
minor packaging 3. debian/php-solr.docs and php-solr.examples name files that do not exist in the source ◂
  • Files: debian/php-solr.docs:2, debian/php-solr.examples:1-2, solr-2.10.0/
  • Basis: checked, in the package or with a reference tool
  • Evidence: solr-*/README in debian/php-solr.docs; solr-*/example.php and solr-*/solr.php in debian/php-solr.examples. The source directory contains README.ABOUT_SOLR_EXTENSION, README.CONTRIBUTORS, README.INSTALLATION, README.MEMORY_ALLOCATION and README.SUBMITTING_CONTRIBUTIONS, but no README, and no example.php or solr.php anywhere; examples/ contains 46 scripts (bootstrap.php, solrclient_*.php, ...).
  • Problem: At debhelper compat 10, dh_installdocs and dh_installexamples silently ignore patterns that match nothing (they only error from compat 11 on), so these entries are no-ops: the packaging installs no example scripts at all despite upstream's examples/ directory, and the README entry never installs anything. The stale entries hide that no examples are shipped.
  • Fix: Replace the dead entries with real paths: drop solr-/README or list the actual README. files, and point debian/php-solr.examples at solr-/examples/.php.
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 all of debian/ (control, control.in, rules, changelog, copyright, compat, gbp.conf, php-solr.docs, php-solr.examples, php-solr.php, solr.ini, source.lintian-overrides, source/format, patches/series and the patch).
  • All 287 source files were searched for Copyright/(C)/©/SPDX/GPL/LGPL/Apache/MPL/public domain/All rights reserved wording; only the PHP Group notices in src/, pecl-compat/, docs/documentation.php and the PHP-3.01 text in LICENSE/debian/copyright were found.
  • The four files flagged by the author check (pecl-compat/compat.h and pecl-compat/src/{misc,zend_hash,zend_string}.h) are covered by Files: *, which does name The PHP Group; they carry the same PHP-3.01 header.
  • The PHP License 3.01 text is not in /usr/share/common-licenses (checked the directory), so debian/copyright's inclusion of the full text is required and correct; the text matches solr-2.10.0/LICENSE apart from the (immaterial) year range.
  • sample_1.xlsx is an xlsx (zip) test fixture under solr-2.10.0/tests/files/, like the other response files; it is not installed by any binary package.
  • extract_file.1.pdf is a PDF test fixture; solr-2.10.0/tests/test.config.inc defines EXTRACT_FILE_1 as this file for the SolrExtractRequest tests. It is not installed by any binary package.
  • solr-word.pdf is a PDF test fixture under solr-2.10.0/tests/files/; no reference to it was found in the tests, and it is not installed by any binary package.
  • Patch 0001-Add-curl-extension-to-package-.xml-dependencies.patch has DEP-3 From/Date/Subject headers and only adds the curl extension to package.xml; series lists it alone.
  • Build-Depends names packages that exist in the reviewing system's lists/archive: dh-php 5.26, php-all-dev 2:108exp4 (experimental, satisfies >= 2:108), php-curl and php-xml.
  • The Testsuite: autopkgtest-pkg-pecl field is handled: autopkgtest's needs_autodep8 triggers on any autopkgtest-pkg- value and autodep8 has a php template; no debian/tests/control is needed for that.
  • uscan found the packaged version as the newest upstream release (upstream 2.10.0, packaged 2.10.0).
Not confirmed ◂
  • The contents and provenance of the binary test fixtures (sample_1.xlsx, extract_file.1.pdf, solr-word.pdf) could not be inspected without opening binary files; no separate copyright or licence notice exists for them in the tree, and their internal metadata was not read.
  • tests/docker/collections/collection1.json and metal_store.json carry no copyright or licence notice; the data resembles Apache Solr sample/demo documents, but its provenance could not be confirmed from the package.
  • dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk (included by debian/rules) and the exact substitutions dh-php generates for ${pecl:Depends}/${php:Depends} could not be read; the packaging was judged from the shipped control and the archive's dh-php package.
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/solr
Matching-Pattern: /get/solr-([\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

Waiting for the uploader's response until , because the review found serious issues.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package