[arch-commits] Commit in sudo/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Nov 14 23:56:22 UTC 2008
Date: Friday, November 14, 2008 @ 18:56:21
Author: allan
Revision: 19125
upgpkg: sudo 1.6.9p18-1
Modified:
sudo/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-14 23:17:31 UTC (rev 19124)
+++ PKGBUILD 2008-11-14 23:56:21 UTC (rev 19125)
@@ -1,33 +1,29 @@
# $Id$
-# Maintainer: Paul Mattal <paul at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
pkgname=sudo
-pkgver=1.6.9p17
+pkgver=1.6.9p18
pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.sudo.ws/sudo/"
-# 2 separate licenses apply, custom and ISC, each covering part of the software
-license=('custom' 'ISC')
+license=('custom')
depends=('glibc' 'pam')
backup=('etc/sudoers' 'etc/pam.d/sudo')
source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$pkgver.tar.gz sudo.pam)
-md5sums=('b0d01b0c3d55076a47f06f70811be083' '4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
options=('!libtool' '!makeflags')
-md5sums=('60daf18f28e2c1eb7641c4408e244110'
+md5sums=('31d712c361b9386e2374fb0cf76fc47a'
'4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
build() {
- cd $startdir/src/$pkgname-$pkgver || return 1
+ cd $srcdir/$pkgname-$pkgver || return 1
./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
--with-env-editor --with-all-insults --with-logfac=auth || return 1
make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -D -m644 $startdir/src/sudo.pam $startdir/pkg/etc/pam.d/sudo \
- || return 1
+ make DESTDIR=$pkgdir install || return 1
+ install -Dm644 $srcdir/sudo.pam $pkgdir/etc/pam.d/sudo || return 1
- #install the license
- install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/sudo/LICENSE \
- || return 1
+ install -Dm644 LICENSE $pkgdir/usr/share/licenses/sudo/LICENSE || return 1
}
More information about the arch-commits
mailing list