diff --git a/add-wheel-to-system-groups.patch b/add-wheel-to-system-groups.patch new file mode 100644 index 0000000000000000000000000000000000000000..061d053b169e8ec05435aea14f5d90411ec27ee3 --- /dev/null +++ b/add-wheel-to-system-groups.patch @@ -0,0 +1,37 @@ +From 89fabc72df74a5af2bec57f0577aea474ca0ec78 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella +Date: Fri, 23 Aug 2019 14:43:19 +0200 +Subject: [PATCH] Add wheel to system groups + +--- + config-scripts/cups-defaults.m4 | 2 +- + configure | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/config-scripts/cups-defaults.m4 b/config-scripts/cups-defaults.m4 +index b3d96ef0a..517539e1f 100644 +--- a/config-scripts/cups-defaults.m4 ++++ b/config-scripts/cups-defaults.m4 +@@ -245,7 +245,7 @@ AC_ARG_WITH(system_groups, [ --with-system-groups set default system groups + AC_MSG_CHECKING(for default system groups) + if test -f /etc/group; then + CUPS_SYSTEM_GROUPS="" +- GROUP_LIST="lpadmin sys system root" ++ GROUP_LIST="lpadmin sys system root wheel" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + if test "x$CUPS_SYSTEM_GROUPS" = x; then +diff --git a/configure b/configure +index 18be3db75..d3df145bc 100755 +--- a/configure ++++ b/configure +@@ -9601,7 +9601,7 @@ else + $as_echo_n "checking for default system groups... " >&6; } + if test -f /etc/group; then + CUPS_SYSTEM_GROUPS="" +- GROUP_LIST="lpadmin sys system root" ++ GROUP_LIST="lpadmin sys system root wheel" + for group in $GROUP_LIST; do + if test "`grep \^${group}: /etc/group`" != ""; then + if test "x$CUPS_SYSTEM_GROUPS" = x; then + diff --git a/cups.spec b/cups.spec index 6712924c6dcb96b30692751e90cc9a1a1957367c..36425b9593b437b143af67e3d427b0947886acd1 100644 --- a/cups.spec +++ b/cups.spec @@ -2,7 +2,7 @@ Name: cups Epoch: 1 Version: 2.3.3 -Release: 6 +Release: 7 Summary: CUPS is the standards-based, open source printing system for linux operating systems. License: GPLv2+ and LGPLv2+ with exceptions and AML Url: http://www.cups.org/ @@ -42,6 +42,7 @@ Patch27: cups-etimedout.patch Patch28: cups-webui-uri.patch Patch29: cups-ipptool-mdns-uri.patch Patch30: cups-manual-copies.patch +Patch31: add-wheel-to-system-groups.patch Provides: cupsddk cupsddk-drivers cups-filesystem cups-client cups-ipptool cups-lpd Provides: lpd lpr /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat @@ -332,6 +333,12 @@ rm -f %{_exec_prefix}/lib/cups/backend/smb %doc %{_datadir}/%{name}/www/apple-touch-icon.png %changelog +* Thu Jul 29 2021 guoqinglan 2.3.3-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add group wheel to SystemGroup + * Tue Jun 08 2021 wangkerong - 2.3.3-6 - Type:CVE - ID:CVE-2021-25317