repo/core/sudo/build
2019-10-05 17:44:54 +03:00

24 lines
440 B
Bash
Executable File

#!/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
# Remove docs.
rm -rf "$1/usr/share/doc"