diff options
author | root <root@rshg054.dnsready.net> | 2012-09-07 00:03:53 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-07 00:03:53 +0000 |
commit | ed51a8c1611ffa602f5f9628c858f6edbc218fc8 (patch) | |
tree | 9da1c83153c6a7313cc5fbdc6a361083051e9f1d /core/sudo | |
parent | 3a491cfc574c49ee5f006f74323b6d432d372ab8 (diff) |
Fri Sep 7 00:03:53 UTC 2012
Diffstat (limited to 'core/sudo')
-rw-r--r-- | core/sudo/PKGBUILD | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD index ce8a8773e..943b05786 100644 --- a/core/sudo/PKGBUILD +++ b/core/sudo/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 165376 2012-08-17 00:20:05Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id: PKGBUILD 166192 2012-09-05 13:26:53Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=sudo -_ver=1.8.5p3 -pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} +_sudover=1.8.6 +pkgver=${_sudover/p/.p} pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" arch=('i686' 'x86_64') @@ -12,31 +13,38 @@ url="http://www.sudo.ws/sudo/" license=('custom') depends=('glibc' 'pam') backup=('etc/sudoers' 'etc/pam.d/sudo') -options=('!libtool' '!makeflags') -source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz{,.sig} +options=('!libtool') +source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz sudo.pam) -md5sums=('aa50e0a9ca02ac35d1020881bd3a221f' - 'aceea97d5f4fe063d6803bead339364d' - '4e7ad4ec8f2fe6a40e12bcb2c0b256e3') +sha256sums=('93c4481ae5261ca0e988d069179fef40032729b94a110ceb2a3e92ca7842d2d3' + 'e7de79d2c73f2b32b20a8e797e54777a2bf19788ec03e48decd6c15cd93718ae') build() { - cd "$srcdir/$pkgname-$_ver" + cd "$srcdir/$pkgname-$_sudover" - ./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \ - --with-env-editor --with-all-insults --with-logfac=auth + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-logfac=auth \ + --with-pam \ + --with-env-editor \ + --with-passprompt="[sudo] password for %p: " \ + --with-all-insults make } check() { - cd "$srcdir/$pkgname-$_ver" + cd "$srcdir/$pkgname-$_sudover" make check } package() { - cd "$srcdir/$pkgname-$_ver" + cd "$srcdir/$pkgname-$_sudover" make DESTDIR="$pkgdir" install install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo" install -Dm644 doc/LICENSE "$pkgdir/usr/share/licenses/sudo/LICENSE" } + +# vim:set ts=2 sw=2 et: |