Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2026 14:01:08 +0000
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8afcfe15f702 - main - print/cups: Enable IPPTOOL and add OPENSSL option
Message-ID:  <6a048424.25205.f5950be@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8afcfe15f702f0cfe643e07ea5e0a4b766fbb6e2

commit 8afcfe15f702f0cfe643e07ea5e0a4b766fbb6e2
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-05-13 13:39:13 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-05-13 13:47:05 +0000

    print/cups: Enable IPPTOOL and add OPENSSL option
    
    PR:             295249
---
 print/cups/Makefile | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/print/cups/Makefile b/print/cups/Makefile
index c661120e918f..489dcf39b5fc 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cups
 DISTVERSION=	2.4.19
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/OpenPrinting/${PORTNAME}/releases/download/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-source
@@ -10,9 +11,9 @@ WWW=		https://github.com/OpenPrinting/cups
 
 LICENSE=		APACHE20 CUPS
 LICENSE_COMB=		multi
+LICENSE_NAME_CUPS=	Apache License v2.0 with CUPS Exceptions
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE
 LICENSE_FILE_CUPS=	${WRKSRC}/NOTICE
-LICENSE_NAME_CUPS=	Apache License v2.0 with CUPS Exceptions
 LICENSE_PERMS_CUPS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 USES=		cpe gmake iconv localbase pkgconfig
@@ -41,8 +42,11 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 USERS=		cups
 GROUPS=		cups
 
-OPTIONS_DEFINE=		AVAHI DBUS DOCS GNUTLS IPPTOOL LIBPAPER NLS X11
-OPTIONS_DEFAULT=	AVAHI DBUS GNUTLS LIBPAPER
+OPTIONS_DEFINE=		AVAHI DBUS DOCS IPPTOOL LIBPAPER NLS TLS X11
+OPTIONS_DEFAULT=	AVAHI DBUS IPPTOOL LIBPAPER OPENSSL
+OPTIONS_RADIO=		TLS
+OPTIONS_RADIO_TLS=	GNUTLS OPENSSL
+OPTIONS_EXCLUDE=	TLS
 OPTIONS_SUB=		yes
 
 IPPTOOL_DESC=	Internet Printing Protocol testing tool
@@ -58,12 +62,17 @@ DBUS_CONFIGURE_ENABLE=	dbus
 DBUS_SUB_LIST=		DBUS_DAEMON=dbus
 DBUS_SUB_LIST_OFF=	DBUS_DAEMON=
 
+GNUTLS_IMPLIES=		TLS
 GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
-GNUTLS_CONFIGURE_WITH=	tls=gnutls
 
 LIBPAPER_LIB_DEPENDS=		libpaper.so:print/libpaper
 LIBPAPER_CONFIGURE_ENABLE=	libpaper
 
+OPENSSL_IMPLIES=	TLS
+OPENSSL_USES=		ssl
+
+TLS_CONFIGURE_WITH=	tls=${PORT_OPTIONS:MGNUTLS:tl}${PORT_OPTIONS:MOPENSSL:tl}
+
 X11_BUILD_DEPENDS=	xdg-open:devel/xdg-utils
 X11_RUN_DEPENDS=	xdg-open:devel/xdg-utils
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a048424.25205.f5950be>