summaryrefslogtreecommitdiffstats
path: root/extra/sudo
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sudo')
-rwxr-xr-xextra/sudo/.footprint18
-rw-r--r--extra/sudo/.md5sum1
-rwxr-xr-xextra/sudo/Pkgfile27
3 files changed, 46 insertions, 0 deletions
diff --git a/extra/sudo/.footprint b/extra/sudo/.footprint
new file mode 100755
index 000000000..896b3609f
--- /dev/null
+++ b/extra/sudo/.footprint
@@ -0,0 +1,18 @@
+drwxr-xr-x root/root etc/
+-r--r----- root/root etc/sudoers
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+---s--x--x root/root usr/bin/sudo
+---s--x--x root/root usr/bin/sudoedit
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/sudo_noexec.so
+drwxr-xr-x root/root usr/sbin/
+---x--x--x root/root usr/sbin/visudo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-r--r--r-- root/root usr/share/man/man5/sudoers.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-r--r--r-- root/root usr/share/man/man8/sudo.8
+-r--r--r-- root/root usr/share/man/man8/sudoedit.8
+-r--r--r-- root/root usr/share/man/man8/visudo.8.gz
diff --git a/extra/sudo/.md5sum b/extra/sudo/.md5sum
new file mode 100644
index 000000000..bc8bb13a0
--- /dev/null
+++ b/extra/sudo/.md5sum
@@ -0,0 +1 @@
+9caba8719c3e0f163880a05f02a48249 sudo-1.7.2.tar.gz
diff --git a/extra/sudo/Pkgfile b/extra/sudo/Pkgfile
new file mode 100755
index 000000000..1667a134d
--- /dev/null
+++ b/extra/sudo/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Permet de donner des droits administrateurs
+# URL: http://www.gratisoft.us/sudo/
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on: coreutils, vim
+
+name=sudo
+version=1.7.2
+release=1
+source=(ftp://ftp.sudo.ws/pub/sudo/$name-$version.tar.gz)
+
+build() {
+cd $name-$version
+ ./configure --prefix=/usr \
+ --sbindir=/usr/sbin \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --libexecdir=/usr/lib \
+ --enable-noargs-shell \
+ --without-pam \
+ --with-ignore-dot \
+ --with-all-insults \
+ --enable-shell-sets-home
+ make
+ make DESTDIR=$PKG install
+}
+