diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-05-18 13:01:14 -0700 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-05-18 13:07:09 -0700 |
commit | 72d1eb161b86e663242d192171078d6babc1afdf (patch) | |
tree | 95c3177b86babcad697b09a2d42a3851ffc5c218 /security/sudo/files/patch-scripts_install-sh | |
parent | devel/py-pybind11: Update WWW (diff) |
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 <yasu@utahime.org> (mostly)
Reported by: Yasuhiro Kimura <yasu@utahime.org>
Tested by: cy
Approved by: garga (maintainer)
MFH: 2021Q2
Diffstat (limited to 'security/sudo/files/patch-scripts_install-sh')
-rw-r--r-- | security/sudo/files/patch-scripts_install-sh | 28 |
1 files changed, 28 insertions, 0 deletions
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 |