aboutsummaryrefslogtreecommitdiff
path: root/extra/sudo
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
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/sudo')
-rwxr-xr-xextra/sudo/build20
-rw-r--r--extra/sudo/checksums1
-rw-r--r--extra/sudo/depends1
-rw-r--r--extra/sudo/sources1
-rw-r--r--extra/sudo/version1
5 files changed, 24 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
diff --git a/extra/sudo/checksums b/extra/sudo/checksums
new file mode 100644
index 00000000..5613e8ec
--- /dev/null
+++ b/extra/sudo/checksums
@@ -0,0 +1 @@
+ce53ffac9604e23321334d8ba8ac59ded2bcf624fdb9dbde097ab2049bf29c7c sudo-1.8.29.tar.gz
diff --git a/extra/sudo/depends b/extra/sudo/depends
new file mode 100644
index 00000000..f22003e8
--- /dev/null
+++ b/extra/sudo/depends
@@ -0,0 +1 @@
+zlib
diff --git a/extra/sudo/sources b/extra/sudo/sources
new file mode 100644
index 00000000..3fa1c188
--- /dev/null
+++ b/extra/sudo/sources
@@ -0,0 +1 @@
+https://www.sudo.ws/dist/sudo-1.8.29.tar.gz
diff --git a/extra/sudo/version b/extra/sudo/version
new file mode 100644
index 00000000..fda497b7
--- /dev/null
+++ b/extra/sudo/version
@@ -0,0 +1 @@
+1.8.29 1