[arch-commits] Commit in sudo/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sat Feb 18 10:11:08 UTC 2012


    Date: Saturday, February 18, 2012 @ 05:11:07
  Author: allan
Revision: 150496

upgpkg: sudo 1.8.4-1

upstrem update, add check function

Modified:
  sudo/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-18 03:36:32 UTC (rev 150495)
+++ PKGBUILD	2012-02-18 10:11:07 UTC (rev 150496)
@@ -3,9 +3,9 @@
 # Contributor: Tom Newsom <Jeepster at 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 @@
 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 @@
   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"
 




More information about the arch-commits mailing list