From nobody Wed Dec 3 11:37:01 2025 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dLwbK2LDvz6JCrq for ; Wed, 03 Dec 2025 11:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dLwbK1kGvz42B9 for ; Wed, 03 Dec 2025 11:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764761821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sSWUIILAswdzFwPCo9IGkVaM+UGcl9Joa85WOSv+et4=; b=x9Q4oRWBwwfM4RyMMrUELQz9R+RKXLbjHACbujiHSq80jpmgrRgoePo2WlPAxRVWD5SpYx 1WyxOidHzxITqqheUlOYrJSNdnjiKQmqai5nb20hnyA3wlkcilnszZbgvn8yIyIXFXHD3K 2epsuT00v66pPS2G3PDZTf/fIXpNc4SEE3MKz4WoKCWQMFLQ95vsFa45NnIs2w3wtKK7zt ZQzS4DoVid5//ArkckL8wbvPSEY6LQya6FyIWIZJvUoFDqXMrgOevJLd7VdlwcO2FRFimF UwHvdoddq6tNB3vBjD6kcIHu4gt/BdibW41nyAwPQLmEfSI+tkzcoulKGYU4pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764761821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sSWUIILAswdzFwPCo9IGkVaM+UGcl9Joa85WOSv+et4=; b=St2IFLAP+mxZNcTMeh7rlKuBzBF7YINDhCVeGPSN0W32j5vOJxYu0hacOP2spFHQBQtQDR EuTINS2rcIVrwh0YJVEbQdGmdvKM3GQEoO6K61COStW+6atR27/0S6Q7l5Ka+75zArIus3 1ENnNWPYvX7cOAi88XtIWRHbf74OXZtWJARxvwkHU6hJrgf946OjXxlOAplfRLZwdncKOR jJGyi3c+EM0zSDTZPx80iTxpRrKeTQg9PFgNOTb/r28Wn0iLoN2P1vGNY2M5tvgcRrwYS2 x7yUXVZ0D7qSiDmgVV1KOR854+4PY7wNdQCHhTlDJfir+m6KkV17qPy9h8eDyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764761821; a=rsa-sha256; cv=none; b=Dp8GGZGoikH0mDhwP6+3vHPo1v3bYBYwkH8kEIfwLDVE+e5S9eMJyPCf/Tnnv30IOnkYe5 hxpUnhf/fz0AJnAF6rYCsL6FDWGaET00v4rDF2fjMINWk9IIM3L9Iy/ukzkBAcDYW7J8+U uJzx25EkarO6hWHCtO5+9aWfc49le9XNtsJATjfEDnMjnh/gr4Va+Caih0+SEZKf8MNqrt b4JbA6wT146EbGddY/8NhVeWZGy/UxI0NwtmZt003TVPy0tFFin7mdXeNz1cs8S5QvorGl IL0nJBa1L5f4qv7HSA7S8YMWaxgiQv7EG+z9881Btp1VW4wLfpYYqE8DMzMfcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dLwbK1HpYzcQs for ; Wed, 03 Dec 2025 11:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3dc3d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 03 Dec 2025 11:37:01 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Tijl Coosemans Subject: git: 1939d7959279 - 2025Q4 - print/cups: Fix regressions List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-branches@freebsd.org Sender: owner-dev-commits-ports-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tijl X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q4 X-Git-Reftype: branch X-Git-Commit: 1939d7959279e17e854ab07146b645c3f1899f83 Auto-Submitted: auto-generated Date: Wed, 03 Dec 2025 11:37:01 +0000 Message-Id: <693020dd.3dc3d.59594317@gitrepo.freebsd.org> The branch 2025Q4 has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=1939d7959279e17e854ab07146b645c3f1899f83 commit 1939d7959279e17e854ab07146b645c3f1899f83 Author: Tijl Coosemans AuthorDate: 2025-12-03 10:41:47 +0000 Commit: Tijl Coosemans CommitDate: 2025-12-03 11:19:18 +0000 print/cups: Fix regressions - Apply upstream patch to unblock GTK+ print dialogs. - Apply upstream patch for out-of-bounds read in cupsUTF8ToCharset(). - Make cupsd ignore IdleExitTimeout in cupsd.conf. Reported by: christos (cherry picked from commit 773bd2e7b1a41da404618d926804350768223e7f) --- print/cups/Makefile | 5 +++++ print/cups/distinfo | 6 +++++- print/cups/files/patch-conf_cupsd.conf.in | 12 ------------ print/cups/files/patch-conf_mime.convs.in | 2 +- print/cups/files/patch-scheduler_conf.c | 22 ++++++++++++++++++++++ print/cups/files/patch-scheduler_conf.h | 13 +++++++++++++ 6 files changed, 46 insertions(+), 14 deletions(-) diff --git a/print/cups/Makefile b/print/cups/Makefile index 8c81a816af22..69fb7f7582b6 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,9 +1,14 @@ PORTNAME= cups DISTVERSION= 2.4.15 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://github.com/OpenPrinting/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-source +PATCH_SITES= https://github.com/OpenPrinting/cups/commit/ +PATCHFILES= 93c39a4beae637bc1648409e23c03cb53b92a2b9.patch:-p1 \ + 6efa179b8446a7999b9149c5101fb11580ea8998.patch:-p1 + MAINTAINER= tijl@FreeBSD.org COMMENT= Common UNIX Printing System WWW= https://github.com/OpenPrinting/cups diff --git a/print/cups/distinfo b/print/cups/distinfo index c0227fd8028e..324a8eba46cc 100644 --- a/print/cups/distinfo +++ b/print/cups/distinfo @@ -1,3 +1,7 @@ -TIMESTAMP = 1764416209 +TIMESTAMP = 1764759903 SHA256 (cups-2.4.15-source.tar.gz) = eff0bbd48ff1abcbb8e46e28e85aefaffa391a1d9c4d8dc92ab3822a13008d7f SIZE (cups-2.4.15-source.tar.gz) = 8158215 +SHA256 (93c39a4beae637bc1648409e23c03cb53b92a2b9.patch) = 9e5e5033105dd9f2b504fa9965f2eec084c38c10513f769d008e8f6b7c2fff40 +SIZE (93c39a4beae637bc1648409e23c03cb53b92a2b9.patch) = 1735 +SHA256 (6efa179b8446a7999b9149c5101fb11580ea8998.patch) = 9e68c747a42ff981e390726e486606e01a327f073578227158c7cf1cf3afe39d +SIZE (6efa179b8446a7999b9149c5101fb11580ea8998.patch) = 1711 diff --git a/print/cups/files/patch-conf_cupsd.conf.in b/print/cups/files/patch-conf_cupsd.conf.in deleted file mode 100644 index 3085809210f4..000000000000 --- a/print/cups/files/patch-conf_cupsd.conf.in +++ /dev/null @@ -1,12 +0,0 @@ ---- conf/cupsd.conf.in.orig 2025-11-27 15:21:54 UTC -+++ conf/cupsd.conf.in -@@ -28,9 +28,6 @@ WebInterface @CUPS_WEBIF@ - # Web interface setting... - WebInterface @CUPS_WEBIF@ - --# Timeout after cupsd exits if idle (applied only if cupsd runs on-demand - with -l) --IdleExitTimeout @EXIT_TIMEOUT@ -- - # Restrict access to the server... - - Order allow,deny diff --git a/print/cups/files/patch-conf_mime.convs.in b/print/cups/files/patch-conf_mime.convs.in index b460d92b0424..735459f22de1 100644 --- a/print/cups/files/patch-conf_mime.convs.in +++ b/print/cups/files/patch-conf_mime.convs.in @@ -1,6 +1,6 @@ Lower PostScript-to-PostScript cost such that PostScript files are sent to PostScript printers directly without intermediate conversion to PDF, see -http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_standard_print_job_format +https://wiki.linuxfoundation.org/openprinting/pdf_as_standard_print_job_format --- conf/mime.convs.in.orig 2013-06-07 01:00:33 UTC +++ conf/mime.convs.in diff --git a/print/cups/files/patch-scheduler_conf.c b/print/cups/files/patch-scheduler_conf.c new file mode 100644 index 000000000000..56f728b40a7c --- /dev/null +++ b/print/cups/files/patch-scheduler_conf.c @@ -0,0 +1,22 @@ +--- scheduler/conf.c.orig 2025-11-27 15:21:54 UTC ++++ scheduler/conf.c +@@ -91,9 +91,7 @@ static const cupsd_var_t cupsd_vars[] = + #ifdef HAVE_GSSAPI + { "GSSServiceName", &GSSServiceName, CUPSD_VARTYPE_STRING }, + #endif /* HAVE_GSSAPI */ +-#ifdef HAVE_ONDEMAND + { "IdleExitTimeout", &IdleExitTimeout, CUPSD_VARTYPE_TIME }, +-#endif /* HAVE_ONDEMAND */ + { "JobKillDelay", &JobKillDelay, CUPSD_VARTYPE_TIME }, + { "JobRetryLimit", &JobRetryLimit, CUPSD_VARTYPE_INTEGER }, + { "JobRetryInterval", &JobRetryInterval, CUPSD_VARTYPE_TIME }, +@@ -788,9 +786,7 @@ cupsdReadConfiguration(void) + DefaultLeaseDuration = 86400; + MaxLeaseDuration = 0; + +-#ifdef HAVE_ONDEMAND + IdleExitTimeout = 60; +-#endif /* HAVE_ONDEMAND */ + + if (!strcmp(CUPS_DEFAULT_PEER_CRED, "off")) + PeerCred = CUPSD_PEERCRED_OFF; diff --git a/print/cups/files/patch-scheduler_conf.h b/print/cups/files/patch-scheduler_conf.h new file mode 100644 index 000000000000..4e4311c2670e --- /dev/null +++ b/print/cups/files/patch-scheduler_conf.h @@ -0,0 +1,13 @@ +--- scheduler/conf.h.orig 2025-11-27 15:21:54 UTC ++++ scheduler/conf.h +@@ -244,10 +244,8 @@ VAR char *ServerKeychain VALUE(NULL); + /* Keychain holding cert + key */ + #endif /* HAVE_TLS */ + +-#ifdef HAVE_ONDEMAND + VAR int IdleExitTimeout VALUE(60); + /* Time after which an idle cupsd will exit */ +-#endif /* HAVE_ONDEMAND */ + + #ifdef HAVE_AUTHORIZATION_H + VAR char *SystemGroupAuthKey VALUE(NULL);