summaryrefslogtreecommitdiff
path: root/core/sudo
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-02 22:47:10 +0000
committerroot <root@rshg047.dnsready.net>2011-06-02 22:47:10 +0000
commit2d8c4c44185a682290ccde4d23132ae3acf01678 (patch)
treec23dfddada868c72eb548f8159b7fd0b1179e02c /core/sudo
parente7b9c9697e6a50c3b9e78941fa95ba11c716d238 (diff)
Thu Jun 2 22:47:10 UTC 2011
Diffstat (limited to 'core/sudo')
-rw-r--r--core/sudo/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD
index add4a025c..fee69d2c1 100644
--- a/core/sudo/PKGBUILD
+++ b/core/sudo/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 120368 2011-04-22 22:01:28Z allan $
+# $Id: PKGBUILD 124889 2011-05-24 21:47:33Z eric $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sudo
-_ver=1.8.1p1
+_ver=1.8.1p2
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
@@ -12,14 +12,14 @@ url="http://www.sudo.ws/sudo/"
license=('custom')
depends=('glibc' 'pam')
backup=('etc/sudoers' 'etc/pam.d/sudo')
+options=('!libtool' '!makeflags')
source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz
sudo.pam)
-options=('!libtool' '!makeflags')
-md5sums=('318337804d976c9419cf3004b707945c'
+md5sums=('e8330f0e63b0ecb2e12b5c76922818cc'
'4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
build() {
- cd $srcdir/$pkgname-$_ver
+ cd "$srcdir/$pkgname-$_ver"
./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
--with-env-editor --with-all-insults --with-logfac=auth
@@ -27,11 +27,11 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$_ver
- install -dm755 $pkgdir/var/lib
+ cd "$srcdir/$pkgname-$_ver"
+ install -dm755 "$pkgdir/var/lib"
- make DESTDIR=$pkgdir install
- install -Dm644 $srcdir/sudo.pam $pkgdir/etc/pam.d/sudo
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"
- install -Dm644 doc/LICENSE $pkgdir/usr/share/licenses/sudo/LICENSE
+ install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE"
}