summaryrefslogtreecommitdiff
path: root/system/sudo
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2020-10-16 19:37:11 +0000
committerKiyoshi Aman <kiyoshi.aman@gmail.com>2020-10-16 19:37:11 +0000
commit15696f45b8969a3070c0b3de50c08771a646f98f (patch)
tree68ecc6dc35294f0d04e9db662ad28832cae837c5 /system/sudo
parent2b0e79727fefc4f22e1ea43f3c8c6981b17c8926 (diff)
downloadpackages-15696f45b8969a3070c0b3de50c08771a646f98f.tar.gz
packages-15696f45b8969a3070c0b3de50c08771a646f98f.tar.bz2
packages-15696f45b8969a3070c0b3de50c08771a646f98f.tar.xz
packages-15696f45b8969a3070c0b3de50c08771a646f98f.zip
system/sudo: set a default secure_path
Diffstat (limited to 'system/sudo')
-rw-r--r--system/sudo/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/sudo/APKBUILD b/system/sudo/APKBUILD
index d6e2986b4..5ad968957 100644
--- a/system/sudo/APKBUILD
+++ b/system/sudo/APKBUILD
@@ -9,7 +9,7 @@ if [ "${pkgver%_*}" != "$pkgver" ]; then
else
_realver=$pkgver
fi
-pkgrel=0
+pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
url="https://www.sudo.ws/sudo/"
arch="all"
@@ -59,7 +59,8 @@ build() {
--with-all-insults \
--enable-python=no \
--disable-log-server \
- --disable-log-client
+ --disable-log-client \
+ --with-secure-path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Workaround until SIGUNUSED.patch is not needed anymore
rm lib/util/mksiglist.h lib/util/mksigname.h