aboutsummaryrefslogtreecommitdiff
path: root/extra/sudo/build
blob: 921781a969f0d5f86bc51ef9e3ac451998a9a553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --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