aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-13 15:05:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-13 15:05:59 +0000
commit760734ede0e7ac79b5d436cff07f6127cf6bde84 (patch)
tree56012692edcfcde20bcdf9e7ca42a705ccf2c66c /main
parentf556ecbedb565d2fa65e18cdb8d4d193ef307f0a (diff)
downloadaports-760734ede0e7ac79b5d436cff07f6127cf6bde84.tar.bz2
aports-760734ede0e7ac79b5d436cff07f6127cf6bde84.tar.xz
main/libcap: upgrade to 2.17
Diffstat (limited to 'main')
-rw-r--r--main/libcap/APKBUILD10
-rw-r--r--main/libcap/include-order.patch16
2 files changed, 3 insertions, 23 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 731729c03a..666de86ce7 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,23 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
-pkgver=2.16
-pkgrel=1
+pkgver=2.17
+pkgrel=0
pkgdesc="POSIX 1003.1e capabilities"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
makedepends="perl"
source="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$pkgname-$pkgver.tar.gz
- include-order.patch
"
subpackages="$pkgname-doc $pkgname-dev"
build ()
{
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 < ../include-order.patch || return 1
-
make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir" install
}
-md5sums="9e075fda242c4070ba76407064c13302 libcap-2.16.tar.gz
-db5c78e0ab579bb6723fff5ebb2fd530 include-order.patch"
+md5sums="fa8c3841ce491b379de316a195e65da2 libcap-2.17.tar.gz"
diff --git a/main/libcap/include-order.patch b/main/libcap/include-order.patch
deleted file mode 100644
index 88c5fcc6c8..0000000000
--- a/main/libcap/include-order.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ur a/progs/capsh.c b/progs/capsh.c
---- a/progs/capsh.c 2009-07-24 07:14:03.000000000 +0000
-+++ b/progs/capsh.c 2009-07-24 07:14:19.000000000 +0000
-@@ -12,11 +12,11 @@
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-+#include <sys/wait.h>
- #include <sys/prctl.h>
- #include <sys/capability.h>
- #include <unistd.h>
- #include <errno.h>
--#include <sys/wait.h>
-
- /* prctl based API for altering character of current process */
- #define PR_GET_KEEPCAPS 7