diff options
author | piernov <piernov@piernov.org> | 2012-01-22 11:53:58 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-22 11:53:58 +0100 |
commit | 656378eb13dd8c1af44a368e7dfee3333eb055a2 (patch) | |
tree | 9707d7a6d1af19d5c1d8431821232ae81ce42d85 /sudo | |
parent | 9626427c1a1d9c292fc519810c13b9a8073e777f (diff) | |
parent | 8d576551b5c270c65fe06443b7295d73cc662064 (diff) | |
download | nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.gz nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.bz2 nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.xz nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.zip |
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-pakxe
Diffstat (limited to 'sudo')
-rwxr-xr-x | sudo/.footprint.i686 | 43 | ||||
-rwxr-xr-x | sudo/.footprint.x86_64 | 43 | ||||
-rw-r--r-- | sudo/.md5sum.i686 | 1 | ||||
-rw-r--r-- | sudo/.md5sum.x86_64 | 1 | ||||
-rw-r--r-- | sudo/Pkgfile | 28 | ||||
-rw-r--r-- | sudo/sudo.pam | 3 |
6 files changed, 119 insertions, 0 deletions
diff --git a/sudo/.footprint.i686 b/sudo/.footprint.i686 new file mode 100755 index 000000000..e3bafc13e --- /dev/null +++ b/sudo/.footprint.i686 @@ -0,0 +1,43 @@ +drwxr-xr-x root/root etc/ +-r--r----- root/root etc/sudoers +drwxr-x--- root/root etc/sudoers.d/ +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 +---x--x--x root/root usr/bin/sudoreplay +drwxr-xr-x root/root usr/include/ +-r--r--r-- root/root usr/include/sudo_plugin.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/sudo_noexec.so +-rwxr-xr-x root/root usr/lib/sudoers.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/doc/ +drwxr-xr-x root/root usr/share/doc/sudo/ +-r--r--r-- root/root usr/share/doc/sudo/CONTRIBUTORS +-r--r--r-- root/root usr/share/doc/sudo/ChangeLog +-r--r--r-- root/root usr/share/doc/sudo/HISTORY +-r--r--r-- root/root usr/share/doc/sudo/LICENSE +-r--r--r-- root/root usr/share/doc/sudo/NEWS +-r--r--r-- root/root usr/share/doc/sudo/README +-r--r--r-- root/root usr/share/doc/sudo/TROUBLESHOOTING +-r--r--r-- root/root usr/share/doc/sudo/UPGRADE +-r--r--r-- root/root usr/share/doc/sudo/sample.pam +-r--r--r-- root/root usr/share/doc/sudo/sample.sudo.conf +-r--r--r-- root/root usr/share/doc/sudo/sample.sudoers +-r--r--r-- root/root usr/share/doc/sudo/sample.syslog.conf +drwxr-xr-x root/root usr/share/locale/ +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/sudo_plugin.8.gz +-r--r--r-- root/root usr/share/man/man8/sudoedit.8 +-r--r--r-- root/root usr/share/man/man8/sudoreplay.8.gz +-r--r--r-- root/root usr/share/man/man8/visudo.8.gz +drwx------ root/root var/ +drwx------ root/root var/lib/ +drwx------ root/root var/lib/sudo/ diff --git a/sudo/.footprint.x86_64 b/sudo/.footprint.x86_64 new file mode 100755 index 000000000..e3bafc13e --- /dev/null +++ b/sudo/.footprint.x86_64 @@ -0,0 +1,43 @@ +drwxr-xr-x root/root etc/ +-r--r----- root/root etc/sudoers +drwxr-x--- root/root etc/sudoers.d/ +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 +---x--x--x root/root usr/bin/sudoreplay +drwxr-xr-x root/root usr/include/ +-r--r--r-- root/root usr/include/sudo_plugin.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/sudo_noexec.so +-rwxr-xr-x root/root usr/lib/sudoers.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/doc/ +drwxr-xr-x root/root usr/share/doc/sudo/ +-r--r--r-- root/root usr/share/doc/sudo/CONTRIBUTORS +-r--r--r-- root/root usr/share/doc/sudo/ChangeLog +-r--r--r-- root/root usr/share/doc/sudo/HISTORY +-r--r--r-- root/root usr/share/doc/sudo/LICENSE +-r--r--r-- root/root usr/share/doc/sudo/NEWS +-r--r--r-- root/root usr/share/doc/sudo/README +-r--r--r-- root/root usr/share/doc/sudo/TROUBLESHOOTING +-r--r--r-- root/root usr/share/doc/sudo/UPGRADE +-r--r--r-- root/root usr/share/doc/sudo/sample.pam +-r--r--r-- root/root usr/share/doc/sudo/sample.sudo.conf +-r--r--r-- root/root usr/share/doc/sudo/sample.sudoers +-r--r--r-- root/root usr/share/doc/sudo/sample.syslog.conf +drwxr-xr-x root/root usr/share/locale/ +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/sudo_plugin.8.gz +-r--r--r-- root/root usr/share/man/man8/sudoedit.8 +-r--r--r-- root/root usr/share/man/man8/sudoreplay.8.gz +-r--r--r-- root/root usr/share/man/man8/visudo.8.gz +drwx------ root/root var/ +drwx------ root/root var/lib/ +drwx------ root/root var/lib/sudo/ diff --git a/sudo/.md5sum.i686 b/sudo/.md5sum.i686 new file mode 100644 index 000000000..6ed9eb003 --- /dev/null +++ b/sudo/.md5sum.i686 @@ -0,0 +1 @@ +7becc572fa97f94cf721a2ee8299c45b sudo-1.8.3p1.tar.gz diff --git a/sudo/.md5sum.x86_64 b/sudo/.md5sum.x86_64 new file mode 100644 index 000000000..6ed9eb003 --- /dev/null +++ b/sudo/.md5sum.x86_64 @@ -0,0 +1 @@ +7becc572fa97f94cf721a2ee8299c45b sudo-1.8.3p1.tar.gz diff --git a/sudo/Pkgfile b/sudo/Pkgfile new file mode 100644 index 000000000..12e1f4f23 --- /dev/null +++ b/sudo/Pkgfile @@ -0,0 +1,28 @@ +# 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 +# Depends on: linux-pam +# Run on: linux-pam + +name=sudo +version=1.8.3p1 +release=3 +source=(ftp://ftp.sudo.ws/pub/sudo/$name-$version.tar.gz + sudo.pam) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --enable-noargs-shell \ + --with-env-editor \ + --with-pam \ + --with-ignore-dot \ + --with-all-insults \ + --enable-shell-sets-home + make + make DESTDIR=$PKG install + install -Dm644 ../sudo.pam $PKG/etc/pam.d/sudo + echo "%admin ALL =(ALL) ALL" >> $PKG/etc/sudoers +} diff --git a/sudo/sudo.pam b/sudo/sudo.pam new file mode 100644 index 000000000..4e586cd22 --- /dev/null +++ b/sudo/sudo.pam @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix.so +auth required pam_nologin.so |