sudo: fix patching step

This commit is contained in:
Đoàn Trần Công Danh 2023-03-03 14:12:56 +07:00 committed by Đoàn Trần Công Danh
parent 0bf175f0f0
commit bc79eb3166
2 changed files with 1 additions and 7 deletions

View file

@ -1,12 +1,11 @@
--- a/scripts/install-sh --- a/scripts/install-sh
+++ b/scripts/install-sh +++ b/scripts/install-sh
@@ -163,6 +163,9 @@ while ${MORETODO} ; do @@ -163,6 +163,8 @@ while ${MORETODO} ; do
esac esac
${MORETODO} && shift ${MORETODO} && shift
done done
+CHOWN=: +CHOWN=:
+CHGRP=: +CHGRP=:
+CHMOD=:
## Making a directory? ## Making a directory?
if ${DIRMODE} ; then if ${DIRMODE} ; then

View file

@ -27,12 +27,7 @@ post_configure() {
esac esac
} }
pre_install() {
find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \;
}
post_install() { post_install() {
chmod +s ${DESTDIR}/usr/bin/sudo
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
vlicense LICENSE.md vlicense LICENSE.md
# remove unused stuff. # remove unused stuff.