summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rwxr-xr-xbase/sudo/.footprint18
-rw-r--r--base/sudo/.md5sum1
-rwxr-xr-xbase/sudo/Pkgfile27
3 files changed, 46 insertions, 0 deletions
diff --git a/base/sudo/.footprint b/base/sudo/.footprint
new file mode 100755
index 000000000..896b3609f
--- /dev/null
+++ b/base/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/base/sudo/.md5sum b/base/sudo/.md5sum
new file mode 100644
index 000000000..a6d039d26
--- /dev/null
+++ b/base/sudo/.md5sum
@@ -0,0 +1 @@
+2a19cf1ab4afc94fe19d0d0899d4cd45 sudo-1.7.2p2.tar.gz
diff --git a/base/sudo/Pkgfile b/base/sudo/Pkgfile
new file mode 100755
index 000000000..9eaa1fb9b
--- /dev/null
+++ b/base/sudo/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Permet de donner des droits administrateurs aux utilisateurs normaux
+# URL: http://www.gratisoft.us/sudo/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=sudo
+version=1.7.2p2
+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
+}
+