aboutsummaryrefslogtreecommitdiff
path: root/extra/sudo/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/sudo/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/sudo/build')
-rwxr-xr-xextra/sudo/build20
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