DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-zmq 1.1.3-34

Package Information

DescriptionZeroMQ messaging bindings for PHP

ZeroMQ is a software library that lets you quickly design and implement a fast message-based applications.

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

New Package Report

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

Files: *
Copyright: 2010-2013, Mikko Koppanen <mkoppanen@php.net>
License: BSD-3-clause

Files: debian/*
Copyright: 2014, Prach Pongpanich <prachpub@gmail.com>
	   2016 Ondřej Surý <ondrej@debian.org>
License: BSD-3-clause

Files: */tests/rose.jpg
Copyright: 1987-1999, E. I. du Pont de Nemours and Company
	   1999-2013, ImageMagick Studio LLC
	   1987-2013, John Cristy
License: ImageMagick

License: BSD-3-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.
 .
 * Neither the name of the  copyright holder nor the names of its contributors
 may be used to endorse or promote products derived from this software without
 specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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: ImageMagick
 Before we get to the text of the license, lets just review what the license
 says in simple terms:
 .
 It allows you to:
 .
  * freely download and use ImageMagick software, in whole or in part, for
    personal, company internal, or commercial purposes;
  * use ImageMagick software in packages or distributions that you create;
  * link against a library under a different license;
  * link code under a different license against a library under this license;
  * merge code into a work under a different license;
  * extend patent grants to any code using code under this license;
  * and extend patent protection.
 .
 It forbids you to:
 .
  * redistribute any piece of ImageMagick-originated software without
    proper attribution;
  * use any marks owned by ImageMagick Studio LLC in any way that
    might state or imply that ImageMagick Studio LLC endorses your
    distribution;
  * use any marks owned by ImageMagick Studio LLC in any way that
    might state or imply that you created the ImageMagick software
    in question.
 .
 It requires you to:
 .
  * include a copy of the license in any redistribution you may make that
    includes ImageMagick software;
  * provide clear attribution to ImageMagick Studio LLC for any
    distributions that include ImageMagick software.
 .
 It does not require you to:
 .
  * include the source of the ImageMagick software itself, or of any
    modifications you may have made to it, in any redistribution you may
    assemble that includes it;
  * submit changes that you make to the software back to the ImageMagick
    Studio LLC (though such feedback is encouraged).
 .
 A few other clarifications include:
 .
  * ImageMagick is freely available without charge;
  * you may include ImageMagick on a DVD as long as you comply with the terms
    of the license;
  * you can give modified code away for free or sell it under the terms of
    the ImageMagick license or distribute the result under a different
    license, but you need to acknowledge the use of the ImageMagick software;
  * the license is compatible with the GPL V3.
  * when exporting the ImageMagick software, review its export classification.
 .
 Terms and Conditions for Use, Reproduction, and Distribution
 .
 The legally binding and authoritative terms and conditions for use,
 reproduction, and distribution of ImageMagick follow:
 .
 Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
 dedicated to making software imaging solutions freely available.
 .
 1. Definitions.
 .
 License shall mean the terms and conditions for use, reproduction, and
 distribution as defined by Sections 1 through 9 of this document.
 .
 Licensor shall mean the copyright owner or entity authorized by the
 copyright owner that is granting the License.
 .
 Legal Entity shall mean the union of the acting entity and all other
 entities that control, are controlled by, or are under common control
 with that entity. For the purposes of this definition, control means (i)
 the power, direct or indirect, to cause the direction or management of such
 entity, whether by contract or otherwise, or (ii) ownership of fifty percent
 (50%) or more of the outstanding shares, or (iii) beneficial ownership of
 such entity.
 .
 You (or Your) shall mean an individual or Legal Entity exercising permissions
 granted by this License.
 .
 Source form shall mean the preferred form for making modifications, including
 but not limited to software source code, documentation source, and
 configuration files.
 .
 Object form shall mean any form resulting from mechanical transformation or
 translation of a Source form, including but not limited to compiled object code,
 generated documentation, and conversions to other media types.
 .
 Work shall mean the work of authorship, whether in Source or Object form,
 made available under the License, as indicated by a copyright notice that is
 included in or attached to the work (an example is provided in the Appendix
 below).
 .
 Derivative Works shall mean any work, whether in Source or Object
 form, that is based on (or derived from) the Work and for which the
 editorial revisions, annotations, elaborations, or other
 modifications represent, as a whole, an original work of
 authorship. For the purposes of this License, Derivative Works shall
 not include works that remain separable from, or merely link (or bind
 by name) to the interfaces of, the Work and Derivative Works thereof.
 .
 Contribution shall mean any work of authorship, including the original
 version of the Work and any modifications or additions to that Work or
 Derivative Works thereof, that is intentionally submitted to Licensor
 for inclusion in the Work by the copyright owner or by an individual
 or Legal Entity authorized to submit on behalf of the copyright
 owner. For the purposes of this definition, "submitted" means any form
 of electronic, verbal, or written communication sent to the Licensor
 or its representatives, including but not limited to communication on
 electronic mailing lists, source code control systems, and issue
 tracking systems that are managed by, or on behalf of, the Licensor
 for the purpose of discussing and improving the Work, but excluding
 communication that is conspicuously marked or otherwise designated in
 writing by the copyright owner as Not a Contribution.
 .
 Contributor shall mean Licensor and any individual or Legal Entity on
 behalf of whom a Contribution has been received by Licensor and
 subsequently incorporated within the Work.
 .
 2. Grant of Copyright License. Subject to the terms and conditions of
 this License, each Contributor hereby grants to You a perpetual,
 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
 copyright license to reproduce, prepare Derivative Works of, publicly
 display, publicly perform, sublicense, and distribute the Work and
 such Derivative Works in Source or Object form.
 .
 3. Grant of Patent License. Subject to the terms and conditions of
 this License, each Contributor hereby grants to You a perpetual,
 worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent
 license to make, have made, use, offer to sell, sell, import, and
 otherwise transfer the Work, where such license applies only to those
 patent claims licensable by such Contributor that are necessarily
 infringed by their Contribution(s) alone or by combination of their
 Contribution(s) with the Work to which such Contribution(s) was
 submitted. If You institute patent litigation against any entity
 (including a cross-claim or counterclaim in a lawsuit) alleging that
 the Work or a Contribution incorporated within the Work constitutes
 direct or contributory patent infringement, then any patent licenses
 granted to You under this License for that Work shall terminate as of
 the date such litigation is filed.
 .
 4. Redistribution. You may reproduce and distribute copies of the Work
 or Derivative Works thereof in any medium, with or without
 modifications, and in Source or Object form, provided that You meet
 the following conditions:
 .
  * You must give any other recipients of the Work or Derivative Works
    a copy of this License; and You must cause any modified files to
    carry prominent notices stating that You changed the files; and
  * You must retain, in the Source form of any Derivative Works that
    You distribute, all copyright, patent, trademark, and attribution
    notices from the Source form of the Work, excluding those notices
    that do not pertain to any part of the Derivative Works; and
  * If the Work includes a "NOTICE" text file as part of its
    distribution, then any Derivative Works that You distribute must
    include a readable copy of the attribution notices contained
    within such NOTICE file, excluding those notices that do not
    pertain to any part of the Derivative Works, in at least one of
    the following places: within a NOTICE text file distributed as
    part of the Derivative Works; within the Source form or
    documentation, if provided along with the Derivative Works; or,
    within a display generated by the Derivative Works, if and
    wherever such third-party notices normally appear. The contents of
    the NOTICE file are for informational purposes only and do not
    modify the License. You may add Your own attribution notices
    within Derivative Works that You distribute, alongside or as an
    addendum to the NOTICE text from the Work, provided that such
    additional attribution notices cannot be construed as modifying
    the License.
 .
 You may add Your own copyright statement to Your
 modifications and may provide additional or different license
 terms and conditions for use, reproduction, or distribution of
 Your modifications, or for any such Derivative Works as a whole,
 provided Your use, reproduction, and distribution of the Work
 otherwise complies with the conditions stated in this License.
 .
 5. Submission of Contributions. Unless You explicitly state otherwise,
 any Contribution intentionally submitted for inclusion in the Work by
 You to the Licensor shall be under the terms and conditions of this
 License, without any additional terms or conditions. Notwithstanding
 the above, nothing herein shall supersede or modify the terms of any
 separate license agreement you may have executed with Licensor
 regarding such Contributions.
 .
 6. Trademarks. This License does not grant permission to use the trade
 names, trademarks, service marks, or product names of the Licensor,
 except as required for reasonable and customary use in describing the
 origin of the Work and reproducing the content of the NOTICE file.
 .
 7. Disclaimer of Warranty. Unless required by applicable law or agreed
 to in writing, Licensor provides the Work (and each Contributor
 provides its Contributions) on an AS IS BASIS, WITHOUT WARRANTIES OR
 CONDITIONS OF ANY KIND, either express or implied, including, without
 limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
 MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
 responsible for determining the appropriateness of using or
 redistributing the Work and assume any risks associated with Your
 exercise of permissions under this License.
 .
 8. Limitation of Liability. In no event and under no legal theory,
 whether in tort (including negligence), contract, or otherwise, unless
 required by applicable law (such as deliberate and grossly negligent
 acts) or agreed to in writing, shall any Contributor be liable to You
 for damages, including any direct, indirect, special, incidental, or
 consequential damages of any character arising as a result of this
 License or out of the use or inability to use the Work (including but
 not limited to damages for loss of goodwill, work stoppage, computer
 failure or malfunction, or any and all other commercial damages or
 losses), even if such Contributor has been advised of the possibility
 of such damages.
 .
 9. Accepting Warranty or Additional Liability. While redistributing
 the Work or Derivative Works thereof, You may choose to offer, and
 charge a fee for, acceptance of support, warranty, indemnity, or other
 liability obligations and/or rights consistent with this
 License. However, in accepting such obligations, You may act only on
 Your own behalf and on Your sole responsibility, not on behalf of any
 other Contributor, and only if You agree to indemnify, defend, and
 hold each Contributor harmless for any liability incurred by, or
 claims asserted against, such Contributor by reason of your accepting
 any such warranty or additional liability.
 .
 How to Apply the License to your Work
 .
 To apply the ImageMagick License to your work, attach the following
 boilerplate notice, with the fields enclosed by brackets "[]" replaced
 with your own identifying information (don't include the
 brackets). The text should be enclosed in the appropriate comment
 syntax for the file format. We also recommend that a file or class
 name and description of purpose be included on the same "printed page"
 as the copyright notice for easier identification within third-party
 archives.
 .
   Copyright [yyyy] [name of copyright owner]
 .
   Licensed under the ImageMagick License (the "License"); you may not
   use this file except in compliance with the License.  You may
   obtain a copy of the License at
 .
     http://www.imagemagick.org/script/license.php
 .
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
   implied.  See the License for the specific language governing
   permissions and limitations under the License.

DFSG Assistant LLM REVIEW 1 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-zmq version 1.1.3-34

Summary

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

The code is BSD-3-clause and DFSG-free, and the test image is the ImageMagick-licensed rose.jpg, whose full licence text is included. debian/copyright is DEP-5 and accurate for the PHP code, but the compiled device code is derived from ZeroMQ 2.1.x and its iMatix Corporation copyright notice is not named by any stanza; the same notice in the unbuilt php5 copy is also unrecorded.

Packaging

The packaging is the standard dh-php PECL layout and is in good shape: correct build-dependencies for the PHP 8.6 build, a coherent arch:all dummy plus versioned extension packages, 21 patch-stack packages with DEP-3 headers, and sane changelog. The only fault is that Standards-Version is two minor Policy versions behind.

Issues

blocker licensing 1. Files: * omits iMatix Corporation, holder of the ZeroMQ-derived code compiled from zmq_device.c ◂
  • Files: zmq-1.1.3/zmq_device.c:32-34, debian/copyright:5-7

  • Basis: checked, in the package or with a reference tool

  • Evidence:

    Based on zeromq 2.1.x devices, which is:
    Copyright (c) 2007-2011 iMatix Corporation
    Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
    while the only stanza covering the file is Files: * with Copyright: 2010-2013, Mikko Koppanen <mkoppanen@php.net>.

  • Problem: zmq_device.c is compiled into php8.6-zmq (config.m4:164 lists zmq_device.c), and the BSD-3 notice requires the copyright notices of the code to be reproduced in binary distributions. Policy 2.3 requires the notices of files compiled into the binary package to be in debian/copyright, and the iMatix notice is not there. The file also credits unnamed 'Other contributors as noted in the AUTHORS file', but no AUTHORS file is shipped.

  • Fix: Add a stanza for the device files naming the holder, e.g. Files: zmq-1.1.3/zmq_device.c zmq-1.1.3/php5/zmq_device.c with Copyright: 2010-2013, Mikko Koppanen <mkoppanen@php.net> and 2007-2011, iMatix Corporation (plus the ZeroMQ contributors' notice), keeping the existing BSD-3-clause text or stating the ZeroMQ base licence if that applies.

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. php5/zmq_device.c also credits iMatix Corporation, which debian/copyright does not name ◂
  • Files: zmq-1.1.3/php5/zmq_device.c:32-34, debian/copyright:5-7
  • Basis: checked, in the package or with a reference tool
  • Evidence: Copyright (c) 2007-2011 iMatix Corporation in the same '[b]ased on zeromq 2.1.x devices' comment, in the legacy PHP 5 source.
  • Problem: Policy 2.3 does not require this notice in debian/copyright: config.m4:158-162 builds the php5/ directory only when PHP is older than 7.0, so this file takes no part in any binary package built for Debian's PHP 8.6. It is still a plain-text source file whose notice debian/copyright should record for completeness.
  • Fix: Cover php5/zmq_device.c with the same corrected stanza as zmq_device.c.
minor packaging 4. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
  • Files: debian/control:10, debian/control.in:10
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.1 against the reviewing system's Debian Policy version 4.7.4.1 (policy tool).
  • Problem: The package declares conformance with Policy 4.5, two minor versions behind 4.7. No newer requirement appears to affect it, but the field should be current.
  • Fix: Check the 4.6/4.7 upgrading checklist (Policy A10) and set Standards-Version: 4.7.4 (or 4.7.4.1) in both debian/control and debian/control.in.
minor packaging 5. 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 debian/copyright in full: DEP-5 with Files: *, debian/* and */tests/rose.jpg stanzas and standalone BSD-3-clause and ImageMagick licence texts. The Format: URL is the old http:// form, which the report tool handles.
  • Inventoried the whole upstream tree (15 files in zmq-1.1.3/, 10 in php5/, 70 in tests/) and grepped every file with gitignore disabled for copyright/licence markers; only the LICENSE file, the BSD-3 headers in every .c/.h file, and the iMatix comment in the two device files were found.
  • zmq-1.1.3/LICENSE contains the BSD-3-clause text matching the per-file headers and the License: BSD-3-clause paragraph.
  • Mikko Koppanen, the prescan's 'possibly named under a similar name' entry, is named in Files: *; the remaining prescan files are the two device files reported above.
  • tests/rose.jpg is binary JPEG test data read by tests/002-test-binary.phpt and tests/053-z85.phpt, not a built artifact; it is covered by the */tests/rose.jpg stanza, whose ImageMagick licence text is reproduced in full and is DFSG-free (the same licence Debian's imagemagick uses).
  • No compiled objects, shared libraries, minified code or generated documentation were found in the source tree.
  • All 21 patches in debian/patches/series have DEP-3 From/Date/Subject headers and clear subjects; the three files the patch set creates (DEVELOPERS.md, tests/055-socks-proxy.phpt, zmq_sockopts_makros.h) are patch products and fall under the debian/* stanza, so they need no separate upstream stanza.
  • config.m4:158-164 selects the php5/ sources only for PHP < 7.0; the package builds PHP 8.6 (debian/changelog 1.1.3-34), so php5/ is not compiled into php8.6-zmq.
  • Read debian/control, control.in, rules, changelog, compat (10), gbp.conf, source/format (3.0 quilt), php-zmq.php and zmq.ini; no maintainer scripts or debian/tests directory exist.
  • apt-cache and the archive note confirm dh-php 5.23 (unstable) and php-all-dev 2:102~ (experimental) satisfy the exact build-dependency versions; libzmq3-dev and pkg-config exist. The experimental target of the changelog matches the experimental php-all-dev dependency.
  • The arch:all php-zmq/php-zmq-all-dev dummy packages carrying ${shlibs:Depends} are the normal dh-php shape; the extension itself is Architecture: any.
  • The reviewing system's Debian Policy version is 4.7.4.1.
  • uscan found the packaged version as the newest upstream release (upstream 1.1.3, packaged 1.1.3).
Not confirmed ◂
  • Whether the ZeroMQ 2.1.x device loop that zmq_device.c says it is based on is LGPL-3.0-or-later; if so, the BSD-3-only statement for that file also understates the licence. The package states no licence for the iMatix-derived part and no libzmq source is available here to compare.
  • dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk, included by debian/rules, could not be read; the difference between debian/control.in (php-zmq Architecture: any, no php8.6 package) and the committed debian/control was therefore not assessed.
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/zmq
Matching-Pattern: .*/zmq-(\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