aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-05-09 16:45:25 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-05-09 16:45:30 +0000
commit65fa355f220139a023eb41b29034719681440cd0 (patch)
tree1ce8445dc3568b255160167b37207b876ee29e43
parent9799d6cea80c198145a8ae41a6308eefb73cce02 (diff)
downloadaports-65fa355f220139a023eb41b29034719681440cd0.tar.gz
aports-65fa355f220139a023eb41b29034719681440cd0.tar.bz2
aports-65fa355f220139a023eb41b29034719681440cd0.tar.xz
main/sudo: remove useless /etc/sudoers.dist
Closes #9967
-rw-r--r--main/sudo/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index 6f100cc0f1..75c804bad4 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -8,7 +8,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"
@@ -67,6 +67,9 @@ package() {
install -d -m0755 "$pkgdir"/var "$pkgdir"/var/db
make -j1 DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/var/run
+
+ # Exactly the same as /etc/sudoers
+ rm "$pkgdir"/etc/sudoers.dist
}
sha512sums="632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745 sudo-1.9.6p1.tar.gz