summaryrefslogtreecommitdiff
path: root/core/sudo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-19 23:15:25 +0000
committerroot <root@rshg054.dnsready.net>2012-02-19 23:15:25 +0000
commit81ee1980feda43043eaebae2c596ae116a21f6e5 (patch)
tree5a48e15abb2f2d299a6c08bf44e1b136ae6a7fb8 /core/sudo
parent1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (diff)
Sun Feb 19 23:15:25 UTC 2012
Diffstat (limited to 'core/sudo')
-rw-r--r--core/sudo/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD
index 024c5d1a4..ce9c7d00b 100644
--- a/core/sudo/PKGBUILD
+++ b/core/sudo/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 148401 2012-01-31 11:16:55Z allan $
+# $Id: PKGBUILD 150627 2012-02-19 00:54:21Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sudo
-_ver=1.8.3p2
+_ver=1.8.4
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
-pkgrel=2
+pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
arch=('i686' 'x86_64')
url="http://www.sudo.ws/sudo/"
@@ -15,8 +15,8 @@ backup=('etc/sudoers' 'etc/pam.d/sudo')
options=('!libtool' '!makeflags')
source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz{,.sig}
sudo.pam)
-md5sums=('6d4282a1530c541f7900fa8dfcf2a882'
- '07e3c5c79d78db50674d5ad17963d631'
+md5sums=('5a54dde137618bbc1dd46bb0ef725d7d'
+ '5edb139753431bf0ccb5bd79bfae870e'
'4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
build() {
@@ -27,12 +27,14 @@ build() {
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
package() {
cd "$srcdir/$pkgname-$_ver"
- install -dm755 "$pkgdir/var/lib"
-
make DESTDIR="$pkgdir" install
- chmod 755 $pkgdir/var/db
install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo"