diff options
Diffstat (limited to 'abs/core/sudo/PKGBUILD')
-rw-r--r-- | abs/core/sudo/PKGBUILD | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/abs/core/sudo/PKGBUILD b/abs/core/sudo/PKGBUILD index eaf765f..8adcf75 100644 --- a/abs/core/sudo/PKGBUILD +++ b/abs/core/sudo/PKGBUILD @@ -1,42 +1,52 @@ -# $Id: PKGBUILD 160450 2012-06-02 03:17:41Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id: PKGBUILD 197841 2013-10-30 11:07:01Z allan $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=sudo -_ver=1.8.5p2 -pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} +_sudover=1.8.8 +pkgver=${_sudover/p/.p} pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" arch=('i686' 'x86_64') url="http://www.sudo.ws/sudo/" license=('custom') +groups=('base-devel') 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} +source=(http://www.sudo.ws/sudo/dist/$pkgname-$_sudover.tar.gz{,.sig} sudo.pam) -md5sums=('dc42ed9f0946d92273762d0ae7314d59' - '756d80fc1c996d4f5458deec5a69b5c4' - '4e7ad4ec8f2fe6a40e12bcb2c0b256e3') +sha256sums=('9f911c1e9297fb8006deb52fa81197a8d06b9d54e70672f723c467ecae992fc9' + 'SKIP' + '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 \ + --sbindir=/usr/bin \ + --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: |