diff --git a/hardware/printer/cups/actions.py b/hardware/printer/cups/actions.py
index bc04dcf1b1..f72c5d2039 100755
--- a/hardware/printer/cups/actions.py
+++ b/hardware/printer/cups/actions.py
@@ -34,12 +34,10 @@ def setup():
--enable-dbus \
--enable-pam=yes \
--enable-relro \
- --enable-dnssd \
--enable-browsing \
--enable-threads \
--enable-raw-printing \
- --enable-avahi \
- --disable-gnutls \
+ --with-tls=no \
--disable-launchd \
--disable-libusb \
--with-rcdir=no \
@@ -55,14 +53,16 @@ def setup():
options += ' \
--prefix=/usr \
--enable-libusb=no \
- --disable-avahi \
- --disable-dnssd \
+ --with-dnssd=no \
--disable-gssapi \
--disable-dbus \
--bindir=/usr/bin32 \
--sbindir=/usr/sbin32 \
--libdir=/usr/lib32'
+ else:
+ options += " --with-dnssd=yes"
+
autotools.configure(options)
def build():
diff --git a/hardware/printer/cups/pspec.xml b/hardware/printer/cups/pspec.xml
index 42d168c270..dd5296a962 100755
--- a/hardware/printer/cups/pspec.xml
+++ b/hardware/printer/cups/pspec.xml
@@ -12,7 +12,7 @@
service
Common Unix Printing System
cups provides a portable printing layer for *nix-based operating systems.
- https://github.com/OpenPrinting/cups/releases/download/v2.3.3op2/cups-2.3.3op2-source.tar.gz
+ https://github.com/OpenPrinting/cups/releases/download/v2.4.0/cups-2.4.0-source.tar.gz
acl-devel
@@ -33,17 +33,17 @@
- archlinux/cups-no-export-ssllibs.patch
+
- archlinux/guid.patch
+
fedora/cups-final-content-type.patch
fedora/cups-res_init.patch
fedora/cups-logrotate.patch
- fedora/cups-avahi-no-threaded.patch
+
fedora/cups-web-devices-timeout.patch
@@ -51,10 +51,10 @@
- pisilinux/nostrip.patch
+
pisilinux/cups-run.patch
- pisilinux/lib64.patch
- pisilinux/statedir.patch
+
+
@@ -147,6 +147,13 @@
+
+ 2021-11-30
+ 2.4.0
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-07-16
2.3.3