aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-24 13:40:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-24 13:40:08 +0000
commit942d1793c6caeb7793f115d1185d0f80b929266e (patch)
tree6459466e391065d9abe81a203e68f28ba5137872 /main/libcap
parent4aa2e9228e24b8fa9a8862e9996fe324a0706a30 (diff)
downloadaports-942d1793c6caeb7793f115d1185d0f80b929266e.tar.bz2
aports-942d1793c6caeb7793f115d1185d0f80b929266e.tar.xz
main/libcap: enable libattr
It is needed for setcap/getcap
Diffstat (limited to 'main/libcap')
-rw-r--r--main/libcap/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 560bb2f50e..01fdf3dd1a 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.22
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
-makedepends="perl"
+makedepends="perl attr-dev"
source="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$pkgname-$pkgver.tar.gz
"
subpackages="$pkgname-doc $pkgname-dev"
@@ -15,11 +15,11 @@ subpackages="$pkgname-doc $pkgname-dev"
build ()
{
cd "$srcdir/$pkgname-$pkgver"
- make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir"
+ make lib=/lib prefix=/usr DESTDIR="$pkgdir"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir" install
+ make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
md5sums="b4896816b626bea445f0b3849bdd4077 libcap-2.22.tar.gz"