diff options
Diffstat (limited to 'extra/sudo/build')
-rwxr-xr-x | extra/sudo/build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/sudo/build b/extra/sudo/build new file mode 100755 index 00000000..64dd511c --- /dev/null +++ b/extra/sudo/build @@ -0,0 +1,20 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --disable-pam-session \ + --disable-root-mailer \ + --enable-pie \ + --without-pam \ + --without-sendmail \ + --with-ignore-dot \ + --with-insults=disabled \ + --with-logfac=auth \ + --with-passprompt="[sudo] password for %p: " + +make +make \ + DESTDIR="$1" \ + install_uid="$(id -u)" \ + install_gid="$(id -g)" \ + install |