aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-21 08:10:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-21 08:18:40 +0000
commit82b178fe966dde9034c717154d865f09970566a6 (patch)
treecd98ac6c5b58831e15d1fbdb04e6da33d7ebff2f /main/sudo
parentfac7c755fc29f17863f69bf32b6a6eb096459b7e (diff)
downloadaports-82b178fe966dde9034c717154d865f09970566a6.tar.bz2
aports-82b178fe966dde9034c717154d865f09970566a6.tar.xz
main/sudo: upgrade to 1.8.4
- update password prompt - add zlib support
Diffstat (limited to 'main/sudo')
-rw-r--r--main/sudo/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index ea42e5d9d2..b3635e2a25 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -1,19 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
-pkgver=1.8.3_p2
+pkgver=1.8.4
if [ "${pkgver%_*}" != "$pkgver" ]; then
_realver=${pkgver%_*}${pkgver#*_}
else
_realver=$pkgver
fi
-pkgrel=1
+pkgrel=0
pkgdesc="Give certain users the ability to run some commands as root"
url="http://www.sudo.ws/sudo/"
arch="all"
license='custom ISC'
-makedepends=
+makedepends="zlib-dev"
depends=
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dev"
source="ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_realver.tar.gz
libcrypt.patch"
@@ -33,17 +33,18 @@ build() {
--with-env-editor \
--without-pam \
--without-skey \
+ --with-passprompt="[sudo] password for %p: " \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install || return 1
# the sudo's mkinstalldir script miscreates the leading
# path components with bad permissions. fix this.
- chmod 0755 "$pkgdir"/var "$pkgdir"/var/lib || return 1
+ install -d -m0755 "$pkgdir"/var "$pkgdir"/var/db || return 1
+ make -j1 DESTDIR="$pkgdir" install || return 1
}
-md5sums="6d4282a1530c541f7900fa8dfcf2a882 sudo-1.8.3p2.tar.gz
+md5sums="5a54dde137618bbc1dd46bb0ef725d7d sudo-1.8.4.tar.gz
429d9613091f1f3f19ce8def5b3032b3 libcrypt.patch"