Skip to content

Bump cups-filters to the latest version

Angelo Compagnucci buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest5 patches 0 repliesNew

Changes in v3 from the cover letter

- drop the qpdf bump, qpdf is not needed anymore (and master is

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5package/pdfio: new packageDEVELOPERS package/Config.in package/pdfio/Config.in +2 more+36 -00 replies
2/5package/libcupsfilters: new packageDEVELOPERS package/Config.in package/libcupsfilters/Config.in +2 more+114 -00 replies
3/5package/libppd: new packageDEVELOPERS package/Config.in package/libppd/Config.in +2 more+67 -00 replies
4/5package/cups-browsed: new packageDEVELOPERS package/Config.in package/cups-browsed/Config.in +3 more+112 -00 replies
5/5package/cups-filters: bump to version 2.0.1package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch package/cups-filters/0001-rastertopclx.c-Fix-infinite-loop-caused-by-crafted-f.patch package/cups-filters/0003-libcupsfilters-Fixed-building-with-QPDF-11.x.patch +6 more+48 -6460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 0/5] Bump cups-filters to the latest version

Since version 2.0, cups-filters has been split by OpenPrinting into several projects:
- libcupsfilters: the filter functions library
- libppd: the legacy PPD support library
- cups-browsed: the browsing daemon
- cups-filters: the remaining filters and backends

This series adds the new packages and bumps cups-filters to 2.0.1.

libcupsfilters 2.2.x replaced qpdf and Poppler with PDFio and is now written only in C, so the series also adds a pdfio package and the toolchain dependencies coming from qpdf (gcc >= 10, atomic) go away:
libppd, still partly C++, only needs gcc >= 7 for C++17.

Changes v2 -> v3:
- drop the qpdf bump, qpdf is not needed anymore (and master is

    already at 12.3.2)

- new pdfio package, needed by libcupsfilters 2.2.x
- new cups-browsed package, with the init script moved from cups-filters [Thomas]
- address all the review comments, see each patch for details

Answers to the questions on v2 [Thomas]:
- CPE vendors: libcupsfilters, libppd and cups-browsed all use the

    openprinting vendor in the NVD (CVE-2024-47076, CVE-2024-47175,
    CVE-2024-47176), pdfio uses msweet

- zlib is mandatory for libppd, as it's used by the rastertops filter function
- all the optional features that configure enables by default are now explicitly enabled or disabled
- LIBPPD_SELINUX_MODULES was a leftover and has been dropped

Build tested on ARM (Bootlin bleeding-edge glibc toolchain, gcc 16.2) with a minimal configuration and with a full one (dbus, avahi, poppler, cairo, png, tiff, jpeg, fontconfig, libexif), and pdfio also with a static-only musl toolchain.

Angelo Compagnucci (5):
package/pdfio: new package
package/libcupsfilters: new package
package/libppd: new package
package/cups-browsed: new package
package/cups-filters: bump to version 2.0.1

 DEVELOPERS                                    |   4 +
 package/Config.in                             |   4 +
 package/cups-browsed/Config.in                |  22 ++
 .../S82cups-browsed                           |   0
 package/cups-browsed/cups-browsed.hash        |   4 +
 package/cups-browsed/cups-browsed.mk          |  36 +++
 ...ecv-instead-of-system-CVE-2023-24805.patch | 209 ------------------
 ...x-infinite-loop-caused-by-crafted-f.patch} |  33 ++-
 ...ilters-Fixed-building-with-QPDF-11.x.patch |  57 -----
 ...ated-code-to-be-built-with-QPDF-12.x.patch | 165 --------------
 ...x-out-of-bounds-write-in-pdftoraster.patch |  41 ----
 package/cups-filters/Config.in                |  42 ++--
 package/cups-filters/cups-filters.hash        |   5 +-
 package/cups-filters/cups-filters.mk          |  94 ++------
 package/libcupsfilters/Config.in              |  19 ++
 package/libcupsfilters/libcupsfilters.hash    |   4 +
 package/libcupsfilters/libcupsfilters.mk      |  89 ++++++++
 package/libppd/Config.in                      |  19 ++
 package/libppd/libppd.hash                    |   4 +
 package/libppd/libppd.mk                      |  42 ++++
 package/pdfio/Config.in                       |   8 +
 package/pdfio/pdfio.hash                      |   4 +
 package/pdfio/pdfio.mk                        |  22 ++
 23 files changed, 329 insertions(+), 598 deletions(-)
 create mode 100644 package/cups-browsed/Config.in
 rename package/{cups-filters => cups-browsed}/S82cups-browsed (100%)
 create mode 100644 package/cups-browsed/cups-browsed.hash
 create mode 100644 package/cups-browsed/cups-browsed.mk
 delete mode 100644 package/cups-filters/0001-beh-backend-Use-execv-instead-of-system-CVE-2023-24805.patch
 rename package/cups-filters/{0002-rastertopclx.c-Fix-infinite-loop-caused-by-crafted-f.patch => 0001-rastertopclx.c-Fix-infinite-loop-caused-by-crafted-f.patch} (61%)
 delete mode 100644 package/cups-filters/0003-libcupsfilters-Fixed-building-with-QPDF-11.x.patch
 delete mode 100644 package/cups-filters/0004-Updated-code-to-be-built-with-QPDF-12.x.patch
 delete mode 100644 package/cups-filters/0005-fix-out-of-bounds-write-in-pdftoraster.patch
 create mode 100644 package/libcupsfilters/Config.in
 create mode 100644 package/libcupsfilters/libcupsfilters.hash
 create mode 100644 package/libcupsfilters/libcupsfilters.mk
 create mode 100644 package/libppd/Config.in
 create mode 100644 package/libppd/libppd.hash
 create mode 100644 package/libppd/libppd.mk
 create mode 100644 package/pdfio/Config.in
 create mode 100644 package/pdfio/pdfio.hash
 create mode 100644 package/pdfio/pdfio.mk
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot