summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
blob: da90fed6d9f19e9a94be8bf869aabf505814f5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description: Permet de donner des droits administrateurs aux utilisateurs normaux
# URL: http://www.gratisoft.us/sudo/
# Maintainer: Todd dot Miller at courtesan dot com
# Packager: tnut at nutyx dot com

name=sudo
version=1.8.3p2
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
}