summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 13:05:08 +0100
committertnut <tnut at nutyx dot com>2012-01-08 13:05:08 +0100
commita7f0df0f1339b2d4a5612ef99ce3595188321c5d (patch)
treecf5ecbbc1d713676dd82d52509cbfed776158942 /sudo/Pkgfile
parent364eb3f4561747275c1649fda3fd60c1c16632f9 (diff)
downloadnutyx-pakxe-a7f0df0f1339b2d4a5612ef99ce3595188321c5d.tar.gz
nutyx-pakxe-a7f0df0f1339b2d4a5612ef99ce3595188321c5d.tar.bz2
nutyx-pakxe-a7f0df0f1339b2d4a5612ef99ce3595188321c5d.tar.xz
nutyx-pakxe-a7f0df0f1339b2d4a5612ef99ce3595188321c5d.zip
ajout et maj de sudo 1.8.3p1-1, fait désormais parti d'une NuTyX de base
Diffstat (limited to 'sudo/Pkgfile')
-rwxr-xr-xsudo/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sudo/Pkgfile b/sudo/Pkgfile
new file mode 100755
index 000000000..51323c19a
--- /dev/null
+++ b/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: tnut at nutyx dot com
+
+name=sudo
+version=1.8.3p1
+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
+ echo "%admin ALL (=ALL) ALL" >> $PKG/etc/sudoers
+}
+