Initial commit
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--with-secure-path",
|
||||
"--with-env-editor",
|
||||
"--with-passprompt=[sudo] password for %p: ",
|
||||
"--with-pam",
|
||||
"--with-sssd",
|
||||
"--with-all-insults",
|
||||
"--with-secure-path-value=/usr/local/sbin:/usr/local/bin:/usr/bin",
|
||||
"--with-rundir=/run/sudo",
|
||||
"--with-vardir=/var/db/sudo",
|
||||
"--with-logfac=auth",
|
||||
]
|
||||
post_install = [
|
||||
"rm $DESTDIR/etc/sudoers.dist",
|
||||
"rmdir $DESTDIR/run/sudo",
|
||||
"rmdir $DESTDIR/run",
|
||||
"install -Dm644 $DEPOT_SPECDIR/sudo.pam $DESTDIR/etc/pam.d/sudo",
|
||||
"chown root:root $DESTDIR/usr/bin/sudo",
|
||||
"chmod 4755 $DESTDIR/usr/bin/sudo",
|
||||
]
|
||||
keep = [ "etc/**" ]
|
||||
skip_tests = true
|
||||
|
||||
[dependencies]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"pam",
|
||||
"openssl",
|
||||
"zlib-ng",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Utility to execute a command as another user"
|
||||
homepage = "https://www.sudo.ws/"
|
||||
license = "custom"
|
||||
name = "sudo"
|
||||
version = "1.9.17p2"
|
||||
revision = 4
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "4a38a1ab3adb1199257edc2a7c4a2bd714665eb605b04368843b06dada2cfcfb"
|
||||
url = "https://www.sudo.ws/dist/sudo-$version.tar.gz"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "sudo.pam"
|
||||
sha256 = "sha512:a8c8ae1d8c500bcbefd48109af1b28932d17cec83ffcca9b04e2cd827c011c68106fddd7a1066b6f89927f9195286d60ab771d4006dd08e446d99c709741b8a9"
|
||||
Reference in New Issue
Block a user