From 9f44c082fbf06a3a57cbaff79484d059e0415647 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 2 Mar 2023 12:57:59 +0100 Subject: [PATCH] sudo: add the setuid bit back --- srcpkgs/sudo/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index 6abe1cad82a..e10c5f3c955 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -1,7 +1,7 @@ # Template file for 'sudo' pkgname=sudo version=1.9.13p2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor --enable-shell-sets-home --enable-noargs-shell --without-sendmail @@ -32,6 +32,7 @@ pre_install() { } post_install() { + chmod +s ${DESTDIR}/usr/bin/sudo vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo vlicense LICENSE.md # remove unused stuff.