summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-10-25 22:14:30 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-10-25 22:14:30 +0000
commit4dc84d584314c7d44b49f7c0442378e7c2f4b8b5 (patch)
tree685211fd296f7d5e87a712498a1f4522ad8a570d
parent60c5b0f127e002057c3e057b59da6178808d59d4 (diff)
parent15696f45b8969a3070c0b3de50c08771a646f98f (diff)
downloadpackages-4dc84d584314c7d44b49f7c0442378e7c2f4b8b5.tar.gz
packages-4dc84d584314c7d44b49f7c0442378e7c2f4b8b5.tar.bz2
packages-4dc84d584314c7d44b49f7c0442378e7c2f4b8b5.tar.xz
packages-4dc84d584314c7d44b49f7c0442378e7c2f4b8b5.zip
Merge branch 'fix/sudo/paths' into 'master'
system/sudo: set a default secure_path See merge request adelie/packages!504
-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