aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-10 18:03:04 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-10 18:03:04 +0200
commit01c18d4be8fda8c56f4753cb720994d5afd2877f (patch)
treef1a1d670dabc4507f05482d4f609c8302adbd675 /main/sudo/APKBUILD
parente88f12e337f6b998a00ff69bb4e219f9a1903ee2 (diff)
downloadaports-01c18d4be8fda8c56f4753cb720994d5afd2877f.tar.bz2
aports-01c18d4be8fda8c56f4753cb720994d5afd2877f.tar.xz
main/sudo: fix var and var/lib path permissions
Diffstat (limited to 'main/sudo/APKBUILD')
-rw-r--r--main/sudo/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index 15992d9330..ea42e5d9d2 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -6,7 +6,7 @@ if [ "${pkgver%_*}" != "$pkgver" ]; then
else
_realver=$pkgver
fi
-pkgrel=0
+pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
url="http://www.sudo.ws/sudo/"
arch="all"
@@ -40,6 +40,9 @@ build() {
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
}
md5sums="6d4282a1530c541f7900fa8dfcf2a882 sudo-1.8.3p2.tar.gz