components/print/cups/Makefile | ●●●●● patch | view | raw | blame | history | |
components/print/cups/patches/02-smf.patch | ●●●●● patch | view | raw | blame | history |
components/print/cups/Makefile
@@ -28,6 +28,7 @@ COMPONENT_NAME= cups COMPONENT_VERSION= 2.4.5 COMPONENT_REVSION= 1 COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION) COMPONENT_PROJECT_URL= https://openprinting.github.io/cups/ COMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.gz @@ -72,10 +73,8 @@ CONFIGURE_OPTIONS += --with-cups-group=lp CONFIGURE_OPTIONS += --with-tls=gnutls CONFIGURE_OPTIONS += --without-rcdir CONFIGURE_OPTIONS += --disable-systemd CONFIGURE_OPTIONS += --disable-static CONFIGURE_OPTIONS += --enable-dbus CONFIGURE_OPTIONS += --enable-threads CONFIGURE_OPTIONS += --with-archflags="$(CC_BITS)" # Dynamically create the license file from its sources: components/print/cups/patches/02-smf.patch
@@ -18,7 +18,7 @@ exec='@sbindir@/cupsd' timeout_seconds='60' > - <method_context> + <method_context security_flags="aslr"> + <method_context security_flags="current"> <method_credential user='root' group='@CUPS_GROUP@' /> </method_context> </exec_method> @@ -27,7 +27,7 @@ exec='@CUPS_SERVERBIN@/daemon/cups-lpd -o document-format=application/octet-stream' timeout_seconds='0'> - <method_context> + <method_context security_flags="aslr"> + <method_context security_flags="current"> <method_credential user='@CUPS_USER@' group='@CUPS_GROUP@' /> </method_context> </exec_method>