* update sudo to 1.9.16-1

This commit is contained in:
Alexander Baldeck 2024-09-23 20:21:49 +02:00
parent 4d00c7b960
commit a3577d0a6b
3 changed files with 41 additions and 5 deletions

35
sudo/.SRCINFO Normal file
View File

@ -0,0 +1,35 @@
pkgbase = sudo
pkgdesc = Give certain users the ability to run some commands as root
pkgver = 1.9.16
pkgrel = 1
url = https://www.sudo.ws/sudo/
install = sudo.install
arch = x86_64
license = custom
depends = glibc
depends = openssl
depends = pam
depends = libldap
depends = zlib
backup = etc/pam.d/sudo
backup = etc/sudo.conf
backup = etc/sudo_logsrvd.conf
backup = etc/sudoers
source = https://www.sudo.ws/sudo/dist/sudo-1.9.16.tar.gz
source = https://www.sudo.ws/sudo/dist/sudo-1.9.16.tar.gz.sig
source = sudo_logsrvd.service
source = sudo.pam
validpgpkeys = 59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB
sha256sums = c0d84d797f06b732fc573d0b798ae83128c2bc33052057f05b560ec6bcbfa03d
sha256sums = SKIP
sha256sums = bd4bc2f5d85cbe14d7e7acc5008cb4fe62c38de7d42dc6876c87bfaa273c0a6e
sha256sums = d1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2
pkgname = sudo
depends = glibc
depends = openssl
depends = pam
depends = libldap
depends = zlib
depends = libcrypto.so
depends = libssl.so

View File

@ -1,10 +1,10 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Maintainer: Evangelos Foutras <foutrelis@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sudo
_sudover=1.9.15p5
_sudover=1.9.16
pkgrel=1
pkgver=${_sudover/p/.p}
pkgdesc="Give certain users the ability to run some commands as root"
@ -20,9 +20,9 @@ install=$pkgname.install
source=(https://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig}
sudo_logsrvd.service
sudo.pam)
sha256sums=('558d10b9a1991fb3b9fa7fa7b07ec4405b7aefb5b3cb0b0871dbc81e3a88e558'
sha256sums=('c0d84d797f06b732fc573d0b798ae83128c2bc33052057f05b560ec6bcbfa03d'
'SKIP'
'8b91733b73171827c360a3e01f4692772b78e62ceca0cf0fd4b770aba35081a1'
'bd4bc2f5d85cbe14d7e7acc5008cb4fe62c38de7d42dc6876c87bfaa273c0a6e'
'd1738818070684a5d2c9b26224906aad69a4fea77aabd960fc2675aee2df1fa2')
validpgpkeys=('59D1E9CCBA2B376704FDD35BA9F4C021CEA470FB')
@ -47,6 +47,7 @@ build() {
--with-ldap-conf-file=/etc/openldap/ldap.conf \
--with-env-editor \
--with-passprompt="[sudo] password for %p: " \
--with-secure-path-value=/usr/local/sbin:/usr/local/bin:/usr/bin \
--with-all-insults
make
}

View File

@ -2,7 +2,7 @@
Description=Sudo central log server
Documentation=man:sudo_logsrvd(8) man:sudo_logsrvd.conf(5)
Documentation=https://www.sudo.ws/man.html
After=syslog.target network.target auditd.service
After=network.target auditd.service
[Service]
ExecStart=/usr/bin/sudo_logsrvd -n