# Maintainer: Allan McRae # Contributor: Tom Newsom # Contributor: pierce.jason [VL7] pkgname=sudo pkgver=1.8.2 pkgrel=5 pkgdesc="Gives limited root privileges to certain users. 'sudo' is a command that allows users to execute some commands as root. The /etc/sudoers file (edited with 'visudo') specifies which users have access to sudo and which commands they can run. 'sudo' logs all its activities to /var/log/ so the system administrator can keep an eye on things." arch=('i686' 'x86_64') url="http://www.sudo.ws/sudo/" license=('custom') depends=('glibc') backup=('etc/sudoers') source=("ftp://ftp.sudo.ws/pub/sudo/$pkgname-$pkgver.tar.gz" 'sudoers') options=('!libtool' '!makeflags') md5sums=('000f458e7391be9fdf459a9ad6a4912a' '81e521e63147e5bb53be73fcbf6916b3') changelog="slack-changes" EXRB="vim" build() { cd $srcdir/$pkgname-$pkgver ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --libexecdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/sudo-$VERSION \ --with-env-editor \ --disable-pam-session \ --with-pam=no \ --with-timedir=/var/db/sudo \ --with-all-insults \ --with-logfac=auth \ --build=$ARCH-slackware-linux make } package() { cd $srcdir/$pkgname-$pkgver install -dm755 $pkgdir/var/lib make DESTDIR=$pkgdir install cd $srcdir install -Dm440 sudoers $pkgdir/etc/sudoers } .