summaryrefslogtreecommitdiff
path: root/core/sudo
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-19 20:37:04 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-19 20:37:04 -0300
commita379247a5f187c1608664530e9ff85663eff3201 (patch)
tree3a49e87e7419c4aca35d1f4f2e591d12c3821c78 /core/sudo
parent1bf114d00280c9cfb2075d30830fdf86adb30951 (diff)
parent81ee1980feda43043eaebae2c596ae116a21f6e5 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/cuetools/PKGBUILD community/ekg2/PKGBUILD community/libcss/PKGBUILD community/libwapcaplet/PKGBUILD community/lxrandr/PKGBUILD community/menu-cache/PKGBUILD community/mumble/PKGBUILD community/ngircd/PKGBUILD community/oidentd/PKGBUILD community/openbox/PKGBUILD community/preload/PKGBUILD community/xdg-user-dirs/PKGBUILD extra/gdome2/PKGBUILD extra/libdiscid/PKGBUILD extra/pymad/PKGBUILD extra/qhull/PKGBUILD extra/speech-dispatcher/PKGBUILD multilib/lib32-gmp/PKGBUILD testing/xorg-server/PKGBUILD
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 b8b02c7e0..ac5019b5f 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' 'mips64el')
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"