php-ps 1.4.4++-6
Package Information
| Description | ps module for PHP ps is an extension similar to the pdf extension but for creating PostScript files. Its api is modelled after the pdf extension. It has some advanced features like taking kerning into account and support for hyphenation. PostScript files can converted to pdf files with ghostscript retaining hyperlinks and bookmarks. This is empty package that depends on default PHP version. |
|---|---|
| Maintainer | Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | any all |
| Popcon Installs | 65 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-ps |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Version | 1.4.4++-6 |
|---|---|
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all amd64 |
| Distribution | experimental |
| Date | Sat, 21 Nov 2026 10:04:32 +0100 |
| Source | php-ps |
Changelog
php-ps (1.4.4++-6) experimental; urgency=medium . * Add patch to fix FTBFS with PHP 8.6 (Courtesy of Remi Collet) * Build-Depend on php-all-dev (>= 2:102~) for PHP 8.6 * Bump Build-Depends to dh-php >= 5.23~
.dsc
| Priority | optional |
|---|---|
| Component | main |
| Package-List | php-ps deb php optional arch=all php-ps-all-dev deb php optional arch=all php8.6-ps deb php optional arch=any |
| Section | php |
debian/copyright
This package was debianized by Uwe Steinmann <steinm@debian.org> using dh-make-pecl on Thu, 09 Feb 2006 22:40:09 +0100. It was downloaded from http://pecl.php.net/package/ps Upstream Author: Uwe Steinmann <steinm@php.net> Copyright: License: BSD Style
DFSG Assistant LLM REVIEW 3 blocker, 0 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 2 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Proposes a replacement debian/copyright:
debian/copyright in machine-readable format
Report
DFSG NEW review for php-ps version 1.4.4++-6
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 3 blocker, 0 important, 4 minor
- debian/watch: old format (version 3)
- debian/copyright: not machine-readable
- Scan before the review: 2 found
Licensing
The code itself is under the PHP License 3.01, which is free, but debian/copyright does not describe it: it is a 258-byte free-form stub with no Format, no Copyright fields, and its only licence statement is 'License: BSD Style'. It reproduces no licence text (PHP-3.01 is not in /usr/share/common-licenses) and omits the notice on the compiled ps.c/php_ps.h. The Adobe AFM and the GPL-2+ Dustismo font in examples/ are also undocumented. A complete DEP-5 replacement is proposed.
Packaging
Standard dh-php packaging: rules delegates to dh-php's pkg-pecl.mk, control produces the two metapackages and php8.6-ps, and the two DEP-3 patches fix PHP 8.6 build problems. The build dependencies exist (pslib-dev 0.4.8-3, dh-php 5.23, php-all-dev 2:102~ in experimental), the changelog is ordered and coherent for the experimental upload, and source format is 3.0 (quilt). Only the Standards-Version lags; there is no autopkgtest suite, which is optional.
Issues
blocker licensing 1. debian/copyright calls the PHP-3.01 code 'BSD Style' and reproduces no licence text ◂
- Files:
debian/copyright:8-10,ps-1.4.4/ps.c:4-10,ps-1.4.4/php_ps.h:4-10,ps-1.4.4/LICENSE - Basis: checked, in the package or with a reference tool
- Evidence: debian/copyright has an empty
Copyright:line andLicense: BSD Style; ps.c and php_ps.h sayThis source file is subject to version 3.01 of the PHP license, and package.xml:26 saysPHP 3.0.1 License. - Problem: Policy 2.3 requires the package's distribution licence to be reproduced verbatim in debian/copyright when it is not in /usr/share/common-licenses. PHP-3.01 is not among those files, and 'BSD Style' is neither its name nor its text; the 258-byte file contains no licence at all. The PHP-3.01 licence is free, so the defect is the empty and inaccurate copyright file, not the code licence.
- Fix: Replace debian/copyright with the DEP-5 text in proposed_copyright, including the verbatim PHP-3.01 licence.
blocker licensing 2. debian/copyright has no Copyright field for Uwe Steinmann's notice on the compiled ps.c and php_ps.h ◂
- Files:
debian/copyright:8,ps-1.4.4/ps.c:5,ps-1.4.4/php_ps.h:5 - Basis: checked, in the package or with a reference tool
- Evidence: Both headers carry
| Copyright (c) 2003-2021 Uwe Steinmann |; debian/copyright'sCopyright:line is empty and only names him asUpstream Author. - Problem: Policy 2.3 requires the copyright notice of files compiled into a binary package to be copied into debian/copyright when the licence requires it, as the PHP licence does (clause 1). ps.c is built by
PHP_NEW_EXTENSION(ps, ps.c, $ext_shared)in config.m4 and shipped in php8.6-ps; calling him upstream author does not reproduce the notice. - Fix: Add
Copyright: 2003-2021 Uwe Steinmann <steinm@php.net>for ps.c and php_ps.h, as in the proposed replacement.
blocker licensing 3. examples/Helvetica.afm carries only an Adobe 'All rights reserved' notice, with no licence recorded anywhere ◂
- Files:
ps-1.4.4/examples/Helvetica.afm:2,ps-1.4.4/examples/Helvetica.afm:16,debian/copyright - Basis: checked, in the package or with a reference tool
- Evidence:
Comment Copyright (c) 1985, 1987, 1989, 1990 Adobe Systems Incorporated. All rights reserved.; the file contains no permission statement, and debian/copyright names neither Adobe nor any terms for it. - Problem: Policy 2.3 notes that a work carrying a copyright notice but no statement of what is permitted may not be distributed. The examples/ files are not installed in a binary package, so 2.3's binary-package condition does not require the holder to be copied; but the source package still distributes this file and its DFSG status cannot be established from the package.
- Fix: Record Adobe's copyright and the licence text under which the AFM file is redistributed (obtain it from upstream/Adobe) in debian/copyright, or remove the file in a repacked upstream tarball.
minor licensing 4. debian/copyright omits Dustin Norlander (GPL-2+ Dustismo font) and The PHP Group (LICENSE) ◂
- Files:
ps-1.4.4/examples/Dustismo.afm:14,ps-1.4.4/examples/Dustismo.pfb,ps-1.4.4/LICENSE:3 - Basis: checked, in the package or with a reference tool
- Evidence:
Notice Copyright (c) Dustin Norlander, 2002. This program is free software; ... GNU General Public License ... either version 2 of the License, or any laterandCopyright (c) 1999 - 2011 The PHP Group. All rights reserved. - Problem: debian/copyright names no holder for these files and gives no GPL-2+ stanza. Policy 2.3 does not require the notices: examples/ and LICENSE are not installed in any binary package (there is no debian/*.install or *.docs), so the binary-package condition fails; the DFSG team still expects a complete copyright, and the Dustismo files' GPL-2+ licence differs from the blanket 'BSD Style' claim.
- Fix: Add the stanzas in proposed_copyright: Dustismo.afm/Dustismo.pfb under GPL-2+ (Dustin Norlander) and LICENSE under PHP-3.01 (The PHP Group).
minor packaging 5. Standards-Version 4.5.1 is older than the current Policy 4.7.4.1 ◂
- Files:
debian/control:12 - Basis: checked, in the package or with a reference tool
- Evidence:
Standards-Version: 4.5.1 - Problem: The reviewing system's Policy is 4.7.4.1; a Standards-Version whose first two components are older (4.5 against 4.7) is a minor policy lag.
- Fix: Bump to 4.7.4.1 after checking the upgrading checklist for anything that applies; no code change is implied.
minor packaging 6. 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.
minor packaging 7. uscan finds only upstream versions older than the packaged one ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence: upstream
1.4.4, packaged1.4.4++ - Problem: The newest version uscan finds with
debian/watchis older than the version indebian/changelog, so the watch file does not find the packaged release: it may look in the wrong place, or the versions may need mangling to compare. - Fix: Check where
debian/watchlooks and how it mangles versions.
Verified ◂
- Read debian/copyright in full: 10 lines, free-form, no Format, no Copyright fields, only
License: BSD Style. - The only upstream licence file is ps-1.4.4/LICENSE (The PHP License, version 3.01); ps.c:4-10 and php_ps.h:4-10 say the files are subject to PHP licence 3.01, package.xml:26 says
PHP 3.0.1 License. - Checked /usr/share/common-licenses: PHP-3.01 is not there, so its verbatim text is required in debian/copyright (Policy 2.3).
- Listed the whole upstream tree (39 files: 7 top-level, 33 in examples/, 6 in tests/) and grepped it for Copyright/(C)/©, SPDX, GPL/LGPL/Apache/MPL/public-domain/permission wording; the only notices are those reported and CREDITS (authorship only). No restrictive or non-free wording found.
- ps.c is compiled into the extension by
PHP_NEW_EXTENSION(ps, ps.c, $ext_shared)(config.m4), and php8.6-ps is the Architecture: any package; ps.c and php_ps.h therefore reach a binary package. - There is no debian/*.install, *.docs or *.links; examples/ and tests/ are not installed by the packaging, whose only binary content is the extension.
- ps-1.4.4/examples/Dustismo.pfb is the Type 1 font binary accompanying Dustismo.afm; its AFM notice (line 14) licenses it GPL-2+ (Dustin Norlander) and the PFB was made with ttftot42. It is example data used by text.php, not built code.
- ps-1.4.4/examples/dice.pfb is a six-glyph Type 1 font binary; dice.afm:5 says
Created by Uwe Steinmann with PfaEdit 1.0, so it is the upstream author's example data, not built code. - Adobe Systems Incorporated is the holder named in examples/Helvetica.afm:2,16 (issue 3); The PHP Group is named in LICENSE:3 (issue 4); Uwe Steinmann is named in ps.c:5 and php_ps.h:5 (issue 2).
- Patches: two files, both with From/Date/Subject headers, both editing only ps.c; neither creates a file. debian/patches/series lists them in order.
- Build dependencies checked with apt-cache: pslib-dev 0.4.8-3 and dh-php 5.23 exist, php-all-dev 2:102~ is in experimental per the archive answer; debian/compat is 10 with debhelper (>= 10~).
- Changelog top entry 1.4.4++-6 is experimental, its bullets match the PHP 8.6 changes, and versions descend correctly to the 2004 initial release.
- source/format is 3.0 (quilt); gbp.conf uses debian/main and pristine-tar; watch was left to the separate check.
Not confirmed ◂
- The provenance and licence of the remaining example data could not be established from the package: examples/gnu-head.jpg, cne-cmyk.jpg, exiftest.jpg, debian.gif, debian-transparent.gif, debian.png, debian.bmp, debian.tiff, picture.eps, hyph_en.dic, and tests/hyph_de.dic carry no notices; the images were not opened and hyph_de.dic is ISO-8859-1 test data, not UTF-8.
- dh-php is not installed on the reviewing system, so /usr/share/dh-php/pkg-pecl.mk could not be read; that examples/ are not installed rests on the absence of any debian/.install/.docs/*.links and on the packages' description of themselves as the extension.
- Adobe's actual AFM redistribution terms could not be looked up (no network); the finding rests on the file's own text, which contains only the copyright/trademark notice.
- Changelog entries older than 1.4.4++-3 were only sampled; nothing in them affects this upload.
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/ps
Matching-Pattern: /get/ps-([\d\.]*).tgz
Update-Script: uupdate
Proposed: debian/copyright in machine-readable format ◂
debian/copyright is not in machine-readable (DEP-5) format. This replacement was written by the reviewing model: its form has been checked, its content has not.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ps
Source: https://pecl.php.net/package/ps
Files: *
Copyright: 2003-2021 Uwe Steinmann <steinm@php.net>
License: PHP-3.01
Files: debian/*
Copyright: 2004-2021 Uwe Steinmann <steinm@debian.org>
2020-2026 Ondřej Surý <ondrej@debian.org>
License: PHP-3.01
Files: ps-1.4.4/LICENSE
Copyright: 1999-2011 The PHP Group
License: PHP-3.01
Files: ps-1.4.4/examples/Dustismo.afm
ps-1.4.4/examples/Dustismo.pfb
Copyright: 2002 Dustin Norlander
License: GPL-2+
Files: ps-1.4.4/examples/Helvetica.afm
Copyright: 1985, 1987, 1989, 1990 Adobe Systems Incorporated
License: Adobe-AFM
License: PHP-3.01
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2011 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>.
License: GPL-2+
On Debian systems, the complete text of the GNU General Public
License version 2 can be found in "/usr/share/common-licenses/GPL-2".
License: Adobe-AFM
Copyright (c) 1985, 1987, 1989, 1990 Adobe Systems Incorporated.
All rights reserved. Helvetica is a trademark of Linotype AG and/or
its subsidiaries.
.
The file carries this notice only; it contains no statement of the
terms on which it may be copied or distributed.
Uploader's response to the LLM review
Waiting for the uploader's response until , because the review found serious issues.