aboutsummaryrefslogtreecommitdiff
path: root/extra/sudo/build
blob: 64dd511c5fea365edc62d3120b01c67c1f7dd6e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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