From 72d1eb161b86e663242d192171078d6babc1afdf Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 18 May 2021 13:01:14 -0700 Subject: security/sudo: update to 1.9.7 Among other changes this release fixes -fcommon errors. A complete list of changes can be found at https://www.sudo.ws/stable.html/ PR: 255812 Submitted by: Yasuhiro Kimura (mostly) Reported by: Yasuhiro Kimura Tested by: cy Approved by: garga (maintainer) MFH: 2021Q2 --- security/sudo/files/patch-scripts_install-sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 security/sudo/files/patch-scripts_install-sh (limited to 'security/sudo/files/patch-scripts_install-sh') diff --git a/security/sudo/files/patch-scripts_install-sh b/security/sudo/files/patch-scripts_install-sh new file mode 100644 index 000000000000..3bbf0a411340 --- /dev/null +++ b/security/sudo/files/patch-scripts_install-sh @@ -0,0 +1,28 @@ +--- scripts/install-sh.orig 2017-01-14 04:30:15 UTC ++++ scripts/install-sh +@@ -171,12 +171,6 @@ if ${DIRMODE} ; then + if [ ! -d "${DEST}" ] ; then + ${MKDIR} "${DEST}" || exit 1 + fi +- if ${CHOWNIT} ; then +- ${CHOWN} "${OWNER}" "${DEST}" || exit 1 +- fi +- if ${CHGROUPIT} ; then +- ${CHGRP} "${GROUP}" "${DEST}" || exit 1 +- fi + if ${CHMODIT} ; then + ${CHMOD} "${MODE}" "${DEST}" || exit 1 + fi +@@ -226,12 +220,6 @@ fi + ## Strip and set the owner/mode. + if ${STRIPIT} ; then + ${STRIP} "${DEST}" || exit 1 +-fi +-if ${CHOWNIT} ; then +- ${CHOWN} "${OWNER}" "${DEST}" || exit 1 +-fi +-if ${CHGROUPIT} ; then +- ${CHGRP} "${GROUP}" "${DEST}" || exit 1 + fi + if ${CHMODIT} ; then + ${CHMOD} "${MODE}" "${DEST}" || exit 1 -- cgit v1.2.3