[arch-commits] CVS update of arch/build/system/sudo (PKGBUILD)

Dan McGee dan at archlinux.org
Tue Jun 26 18:45:59 UTC 2007


    Date: Tuesday, June 26, 2007 @ 14:45:59
  Author: dan
    Path: /home/cvs-arch/arch/build/system/sudo

Modified: PKGBUILD (1.19 -> 1.20)

upgpkg: sudo 1.6.8-11
add license to sudo, rebuild against newest libc


----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)


Index: arch/build/system/sudo/PKGBUILD
diff -u arch/build/system/sudo/PKGBUILD:1.19 arch/build/system/sudo/PKGBUILD:1.20
--- arch/build/system/sudo/PKGBUILD:1.19	Mon May 15 19:34:28 2006
+++ arch/build/system/sudo/PKGBUILD	Tue Jun 26 14:45:59 2007
@@ -1,25 +1,27 @@
-# $Id: PKGBUILD,v 1.19 2006/05/15 23:34:28 uid1015 Exp $
+# $Id: PKGBUILD,v 1.20 2007/06/26 18:45:59 dan Exp $
 # Maintainer: Judd Vinet <jvinet at zeroflux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 pkgname=sudo
 pkgver=1.6.8
-pkgrel=10
-pkgdesc="Allows a system administrator to give certain users the ability to run some commands as root"
+pkgrel=11
+pkgdesc="Give certain users the ability to run some commands as root"
 arch=(i686 x86_64)
 url="http://www.sudo.ws/sudo/"
+license=('custom:ISC')
 depends=('glibc' 'pam')
 backup=('etc/sudoers')
 source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-1.6.8p12.tar.gz sudo.pam)
 md5sums=('b29893c06192df6230dd5f340f3badf5' '4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
+options=('!libtool')
 
 build() {
   cd $startdir/src/$pkgname-1.6.8p12
-  #patch -Np1 -i $startdir/src/CAN-2005-2959.patch || return 1
   ./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
     --with-editor=/usr/bin/vi
   make || return 1
   make DESTDIR=$startdir/pkg install
   install -D -m644 $startdir/src/sudo.pam $startdir/pkg/etc/pam.d/sudo
 
-  find $startdir/pkg -name "*.la" -exec rm {} \;
+  #install the license
+  install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/sudo/LICENSE
 }




More information about the arch-commits mailing list