Skip to content

Commit

Permalink
Update cups to v2.3.3op1
Browse files Browse the repository at this point in the history
Change to the OpenPrinting fork of apple/cups, e.g., that fork already contains

- dnssd patch patch-config-scripts_cups-dnssd.m4
- freebsd patch patch-cups_getifaddrs-internal.h
- libtool patch patch-af

apple/cups#4947 was fixed in both.

Changes in CUPS v2.3.3op1
-------------------------

- The automated test suite can now be activated using `make test` for
  consistency with other projects and CI environments - the old `make check`
  continues to work as well, and the previous test server behavior can be
  accessed by running `make testserver`.
- ippeveprinter now supports multiple icons and strings files.
- ippeveprinter now uses the system's FQDN with Avahi.
- ippeveprinter now supports Get-Printer-Attributes on "/".
- ippeveprinter now uses a deterministic "printer-uuid" value.
- ippeveprinter now uses system sounds on macOS for Identify-Printer.
- Updated ippfind to look for files in "~/Desktop" on Windows.
- Updated ippfind to honor `SKIP-XXX` directives with `PAUSE`.
- Updated IPP Everywhere support to work around printers that only advertise
  color raster support but really also support grayscale (Issue #1)
- ipptool now supports DNS-SD URIs like `ipps://My%20Printer._ipps._tcp.local`
  (Issue #5)
- The scheduler now allows root backends to have world read permissions but not
  world execute permissions (Issue #21)
- Failures to bind IPv6 listener sockets no longer cause errors if IPv6 is
  disabled on the host (Issue #25)
- The SNMP backend now supports the HP and Ricoh vendor MIBs (Issue #28)
- The scheduler no longer includes a timestamp in files it writes (Issue #29)
- The systemd service names are now "cups.service" and "cups-lpd.service"
  (Issue #30, Issue #31)
- The scheduler no longer adds the local hostname to the ServerAlias list
  (Issue #32)
- Added `LogFileGroup` directive in "cups-files.conf" to control the group
  owner of log files (Issue #34)
- Added `--with-max-log-size` configure option (Issue #35)
- Added `--enable-sync-on-close` configure option (Issue #37)
- Added `--with-error-policy` configure option (Issue #38)
- IPP Everywhere PPDs could have an "unknown" default InputSlot (Issue #44)
- The `httpAddrListen` function now uses a listen backlog of 128.
- Added USB quirks (Apple issue #5789, #5823, #5831)
- Fixed IPP Everywhere v1.1 conformance issues in ippeveprinter.
- Fixed DNS-SD name collision support in ippeveprinter.
- Fixed compiler and code analyzer warnings.
- Fixed TLS support on Windows.
- Fixed ippfind sub-type searches with Avahi.
- Fixed the default hostname used by ippeveprinter on macOS.
- Fixed resolution of local IPP-USB printers with Avahi.
- Fixed coverity issues (Issue #2)
- Fixed `httpAddrConnect` issues (Issue #3)
- Fixed web interface device URI issue (Issue #4)
- Fixed lp/lpr "printer/class not found" error reporting (Issue #6)
- Fixed xinetd support for LPD clients (Issue #7)
- Fixed libtool build issue (Issue #11)
- Fixed a memory leak in the scheduler (Issue #12)
- Fixed a potential integer overflow in the PPD hashing code (Issue #13)
- Fixed output-bin and print-quality handling issues (Issue #18)
- Fixed PPD options getting mapped to odd IPP values like "tray---4" (Issue #23)
- Fixed remote access to the cupsd.conf and log files (Issue #24)
- Fixed the automated test suite when running in certain build/CI environments
  (Issue #25)
- Fixed a logging regression caused by a previous change for Apple issue #5604
  (Issue #25)
- Fixed fax phone number handling with GNOME (Issue #40)
- Fixed potential rounding error in rastertopwg filter (Issue #41)
- Fixed the "uri-security-supported" value from the scheduler (Issue #42)
- Fixed IPP backend crash bug with "printer-alert" values (Issue #43)
- Removed old Solaris inetconv(1m) reference in cups-lpd man page (Issue #46)
- Fixed default options that incorrectly use the "custom" prefix (Issue #48)
- Fixed a memory leak when resolving DNS-SD URIs (Issue #49)
- Fixed systemd status reporting by adopting the notify interface (Issue #51)
- Fixed crash in rastertopwg (Apple issue #5773)
- Fixed cupsManualCopies values in IPP Everywhere PPDs (Apple issue #5807)
  • Loading branch information
prlw1 committed Jan 4, 2021
1 parent 7fc9899 commit d5a1362
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 94 deletions.
5 changes: 2 additions & 3 deletions print/cups-base/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.40 2020/12/04 04:56:09 riastradh Exp $
# $NetBSD: Makefile,v 1.41 2021/01/04 14:32:17 prlw1 Exp $

.include "../../print/cups/Makefile.common"

PKGNAME= cups-base-${CUPS_VERS}
PKGREVISION= 8
MASTER_SITES= ${MASTER_SITE_GITHUB:=apple/}
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenPrinting/}

MAINTAINER= sbd@NetBSD.org
COMMENT= Common UNIX Printing System
Expand Down
13 changes: 5 additions & 8 deletions print/cups-base/distinfo
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
$NetBSD: distinfo,v 1.24 2020/10/27 09:29:11 jperkin Exp $
$NetBSD: distinfo,v 1.25 2021/01/04 14:32:17 prlw1 Exp $

SHA1 (cups-2.3.3-source.tar.gz) = 7a01c9fba5d784eb61eda03fd40e513fd2a1b5b8
RMD160 (cups-2.3.3-source.tar.gz) = e08afd09666e79d0416f46e14fb8c6b0a6beebd7
SHA512 (cups-2.3.3-source.tar.gz) = 7d6f4a01794c5599cc71525778ea785fd17271c31ac146a56e8fc374a88f99e4035d018dae48e37e541455e9cc93b302e892b2e93ec558c1b4bfc46dad68c92d
Size (cups-2.3.3-source.tar.gz) = 8140741 bytes
SHA1 (cups-2.3.3op1-source.tar.gz) = a4cdab174881d4e6899fbbef637508bed10c5dc9
RMD160 (cups-2.3.3op1-source.tar.gz) = 6dab18506dfac295c16e4341eb6257f3c01d951e
SHA512 (cups-2.3.3op1-source.tar.gz) = 89949b4190288d5464f425cbff6b854e9da96ba3071e4e0d595ad581797b2db4724f49d884f3ea43e372ed4d0faec72839b0b7182cdde13b96f2824d619a4843
Size (cups-2.3.3op1-source.tar.gz) = 7989156 bytes
SHA1 (patch-ae) = b81d7a2ce457f0d6994d6a084c63aa0a870bb881
SHA1 (patch-af) = 7f32b1ddaa18d1e58670e5214b954e3b8476a22b
SHA1 (patch-ai) = d4aa1b59c77fa2cbf614eb661d9a791311b399c2
SHA1 (patch-airprint-conf_mime.convs.in) = e0813b7e1da2337191bc6bfc2a6888f4173b8717
SHA1 (patch-airprint-scheduler_conf.c) = 504e752c1699049cdbe11d8b04814670ddda81d4
Expand All @@ -16,11 +15,9 @@ SHA1 (patch-conf-cups-files.conf.in) = b2eccf54e108d8c9e70094acfd9618a66779a84a
SHA1 (patch-conf_Makefile) = ba1c6f9e5c1bb8074038f65f4d17bf55e556738e
SHA1 (patch-config-scripts_cups-compiler.m4) = 71c706121fdf7db699a9b9365ac63779e3c23f67
SHA1 (patch-config-scripts_cups-directories.m4) = 68ff0c9ed333d5b00d11694fca7875c83bf9197d
SHA1 (patch-config-scripts_cups-dnssd.m4) = 7dd3b0d754e92f3b3f53732163a8001e5fb430c5
SHA1 (patch-config-scripts_cups-gssapi.m4) = 965e54194de9f34f0f252f4993dcf8a8db935003
SHA1 (patch-config-scripts_cups-libtool.m4) = d255bda2b740a04167e20be1662e3b9c242ed8f2
SHA1 (patch-cups-tls.c) = b02bc528b6d551283373f271529d6f1956e1c7df
SHA1 (patch-cups_getifaddrs-internal.h) = 2e251db9e4d1b01403f3ff8c61a2238a506c12d8
SHA1 (patch-cups_http-addrlist.c) = aa2524ee1c11450cfa3a46b1aa34c12417322241
SHA1 (patch-cups_thread.c) = 7ffb9a5835f345b29ad0cc9e253bb1d7ead9a399
SHA1 (patch-doc-help-man-cups-files.conf.html) = c26754104788eb619e69e49d6d51bf84ab047876
Expand Down
8 changes: 1 addition & 7 deletions print/cups-base/options.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.4 2020/10/16 15:29:25 prlw1 Exp $
# $NetBSD: options.mk,v 1.5 2021/01/04 14:32:17 prlw1 Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.cups-base
PKG_SUPPORTED_OPTIONS= acl dnssd kerberos pam tcpwrappers
Expand Down Expand Up @@ -68,12 +68,6 @@ CONFIGURE_ARGS+= --disable-dnssd
CONFIGURE_ARGS+= --enable-gssapi
.else
CONFIGURE_ARGS+= --disable-gssapi
# https://github.com/apple/cups/issues/4947
SUBST_CLASSES+= nokerb
SUBST_STAGE.nokerb= post-build
SUBST_SED.nokerb+= -e '\%<Policy kerberos>%,\%</Policy>%s/^/\#/'
SUBST_FILES.nokerb+= conf/cupsd.conf
SUBST_MESSAGE.nokerb= Commenting out kerberos section in config.
.endif

.if !empty(PKG_OPTIONS:Mlibusb)
Expand Down
25 changes: 0 additions & 25 deletions print/cups-base/patches/patch-af

This file was deleted.

19 changes: 0 additions & 19 deletions print/cups-base/patches/patch-config-scripts_cups-dnssd.m4

This file was deleted.

17 changes: 0 additions & 17 deletions print/cups-base/patches/patch-cups_getifaddrs-internal.h

This file was deleted.

3 changes: 1 addition & 2 deletions print/cups/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# $NetBSD: Makefile,v 1.272 2020/12/04 04:56:09 riastradh Exp $
# $NetBSD: Makefile,v 1.273 2021/01/04 14:32:17 prlw1 Exp $

PKGREVISION= 3
.include "../../print/cups/Makefile.common"

PKGNAME= cups-${CUPS_VERS}
Expand Down
6 changes: 3 additions & 3 deletions print/cups/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: Makefile.common,v 1.12 2020/05/26 08:37:49 triaxx Exp $
# $NetBSD: Makefile.common,v 1.13 2021/01/04 14:32:17 prlw1 Exp $
#
# used by print/cups/Makefile
# used by print/cups-base/Makefile
# used by print/libcups/Makefile

CUPS_VERS= 2.3.3
CUPS_VERS= 2.3.3op1
DISTNAME= cups-${CUPS_VERS}-source
CATEGORIES= print

HOMEPAGE= https://www.cups.org/
HOMEPAGE= https://openprinting.github.io/projects/00-cups/
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
5 changes: 2 additions & 3 deletions print/libcups/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.7 2021/01/04 13:08:30 wiz Exp $
# $NetBSD: Makefile,v 1.8 2021/01/04 14:32:17 prlw1 Exp $

.include "../../print/cups/Makefile.common"

PKGNAME= libcups-${CUPS_VERS}
PKGREVISION= 5
MASTER_SITES= ${MASTER_SITE_GITHUB:=apple/}
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenPrinting/}

MAINTAINER= sbd@NetBSD.org
COMMENT= Common UNIX Printing System library
Expand Down
8 changes: 1 addition & 7 deletions print/libcups/options.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.1 2020/05/16 18:07:56 maya Exp $
# $NetBSD: options.mk,v 1.2 2021/01/04 14:32:17 prlw1 Exp $

PKG_OPTIONS_VAR= PKG_OPTIONS.libcups
PKG_SUPPORTED_OPTIONS= acl dnssd kerberos tcpwrappers
Expand Down Expand Up @@ -50,12 +50,6 @@ CONFIGURE_ARGS+= --disable-dnssd
CONFIGURE_ARGS+= --enable-gssapi
.else
CONFIGURE_ARGS+= --disable-gssapi
# https://github.com/apple/cups/issues/4947
SUBST_CLASSES+= nokerb
SUBST_STAGE.nokerb= post-build
SUBST_SED.nokerb+= -e '\%<Policy kerberos>%,\%</Policy>%s/^/\#/'
SUBST_FILES.nokerb+= conf/cupsd.conf
SUBST_MESSAGE.nokerb= Commenting out kerberos section in config.
.endif

.if !empty(PKG_OPTIONS:Mtcpwrappers)
Expand Down

0 comments on commit d5a1362

Please sign in to comment.