From 011bfa6ef9a961ffd1db9fc59b1d6a093a4be19e Mon Sep 17 00:00:00 2001 From: Tim Sandquist Date: Fri, 11 Nov 2022 07:06:25 -0600 Subject: [PATCH] cups: add support for gnutls to enable https Without gnutls CUPS defaults to the MacOS path for certificates. https://github.com/OpenPrinting/cups/blob/19047059/scheduler/conf.c#L607-L612 --- srcpkgs/cups/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/cups/template b/srcpkgs/cups/template index 0776928f2609..d53d2e354dd2 100644 --- a/srcpkgs/cups/template +++ b/srcpkgs/cups/template @@ -1,14 +1,14 @@ # Template file for 'cups' pkgname=cups version=2.4.2 -revision=1 +revision=2 build_style=gnu-configure make_install_args="BUILDROOT=${DESTDIR}" hostmakedepends="gnutls-devel pkg-config $(vopt_if avahi avahi-libs-devel)" makedepends="acl-devel gnutls-devel libpaper-devel libusb-devel pam-devel zlib-devel $(vopt_if avahi avahi-libs-devel) $(vopt_if gssapi mit-krb5-devel)" -depends="xdg-utils" +depends="xdg-utils gnutls" short_desc="Common Unix Printing System" maintainer="Orphaned " license="Apache-2.0" @@ -41,7 +41,7 @@ do_configure() { --with-system-groups="lpadmin sys root" --enable-relro \ --enable-libpaper --with-menudir=/usr/share/applications \ --with-xinetd=/etc/xinetd.d --with-optim="${CFLAGS}" \ - --with-rcdir=no \ + --with-rcdir=no --with-tls=gnutls \ $(vopt_if avahi '--with-dnssd=avahi') $(vopt_enable gssapi) }