git: 71a513901b51 - main - print/cups-filters: cups-browsed: disable cups protocol

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Fri, 27 Sep 2024 10:33:22 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71a513901b516975329baf6709570ad3c1502ac7

commit 71a513901b516975329baf6709570ad3c1502ac7
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-09-27 10:01:26 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-09-27 10:32:21 +0000

    print/cups-filters: cups-browsed: disable cups protocol
    
    Disable the cups-browsed cups protocol.  This reduces the attack
    surface but does NOT fix the recently discovered remote code execution
    vulnerability in cups-browsed.
    
    Derived from https://github.com/OpenPrinting/cups-browsed/commit/1debe6b140c3
---
 print/cups-filters/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile
index 8d9686526d52..1b38bc4479d5 100644
--- a/print/cups-filters/Makefile
+++ b/print/cups-filters/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cups-filters
 PORTVERSION=	1.28.17
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/OpenPrinting/cups-filters/releases/download/${DISTVERSION}/
 
@@ -100,8 +100,8 @@ POPPLER_LIB_DEPENDS=		libpoppler-cpp.so:graphics/poppler
 CUPS_BROWSED_DESC=		cups-browsed(8) options
 
 AVAHI_CONFIGURE_ENABLE=		avahi
-AVAHI_CONFIGURE_OFF=		--with-browseremoteprotocols=cups
-AVAHI_CONFIGURE_ON=		--with-browseremoteprotocols="dnssd cups"
+AVAHI_CONFIGURE_OFF=		--with-browseremoteprotocols=none
+AVAHI_CONFIGURE_ON=		--with-browseremoteprotocols=dnssd
 AVAHI_DESC=			Discover Zeroconf/Bonjour network printers
 AVAHI_LIB_DEPENDS=		libavahi-client.so:net/avahi-app
 AVAHI_SUB_LIST=			AVAHI_DAEMON=avahi_daemon