repo/extra/sudo/build
2021-06-30 11:54:59 +00:00

26 lines
518 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--disable-pam-session \
--disable-root-mailer \
--disable-nls \
--disable-openssl \
--disable-python \
--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