summaryrefslogtreecommitdiff
path: root/libcap
diff options
context:
space:
mode:
authorAntti Nykanen <aon@iki.fi>2009-09-07 20:33:18 +0300
committerAntti Nykanen <aon@iki.fi>2009-09-07 20:33:18 +0300
commitf34ef1606af7b7e89d7671fb7b54b6dd9c1f7f2f (patch)
treea7611c2fca1a57824b4748b2e6725fe21f9bcad3 /libcap
parent3662eaf45123e4d92b91bfeb6ccba1100699c46e (diff)
downloadopt-f34ef1606af7b7e89d7671fb7b54b6dd9c1f7f2f.tar.gz
opt-f34ef1606af7b7e89d7671fb7b54b6dd9c1f7f2f.tar.xz
libcap: updated to 2.17
Diffstat (limited to 'libcap')
-rw-r--r--libcap/.footprint4
-rw-r--r--libcap/.md5sum5
-rw-r--r--libcap/Pkgfile6
-rw-r--r--libcap/libcap-2.16-drop-linux-workarounds.patch43
-rw-r--r--libcap/libcap-2.17-makefile.patch (renamed from libcap/libcap-2.16-makefile.patch)0
5 files changed, 6 insertions, 52 deletions
diff --git a/libcap/.footprint b/libcap/.footprint
index 5791fb900..657fe0c86 100644
--- a/libcap/.footprint
+++ b/libcap/.footprint
@@ -5,8 +5,8 @@ drwxr-xr-x root/root usr/include/sys/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libcap.a
lrwxrwxrwx root/root usr/lib/libcap.so -> libcap.so.2
-lrwxrwxrwx root/root usr/lib/libcap.so.2 -> libcap.so.2.16
--rw-r--r-- root/root usr/lib/libcap.so.2.16
+lrwxrwxrwx root/root usr/lib/libcap.so.2 -> libcap.so.2.17
+-rw-r--r-- root/root usr/lib/libcap.so.2.17
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man3/
-rw-r--r-- root/root usr/man/man3/cap_clear.3.gz
diff --git a/libcap/.md5sum b/libcap/.md5sum
index 563ad2765..7ae8394d7 100644
--- a/libcap/.md5sum
+++ b/libcap/.md5sum
@@ -1,3 +1,2 @@
-7327a51597db092d7549310b670b5366 libcap-2.16-drop-linux-workarounds.patch
-0d1cee9631768d29b43f450832668687 libcap-2.16-makefile.patch
-9e075fda242c4070ba76407064c13302 libcap-2.16.tar.gz
+0d1cee9631768d29b43f450832668687 libcap-2.17-makefile.patch
+fa8c3841ce491b379de316a195e65da2 libcap-2.17.tar.gz
diff --git a/libcap/Pkgfile b/libcap/Pkgfile
index cfc171dab..e1d8893a1 100644
--- a/libcap/Pkgfile
+++ b/libcap/Pkgfile
@@ -4,17 +4,15 @@
# Depends on: libattr
name=libcap
-version=2.16
+version=2.17
release=2
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/libcap-$version.tar.gz
- $name-$version-makefile.patch
- $name-$version-drop-linux-workarounds.patch)
+ $name-$version-makefile.patch)
build () {
cd libcap-$version
patch -p0 -i $SRC/$name-$version-makefile.patch
- patch -p0 -i $SRC/$name-$version-drop-linux-workarounds.patch
make
make \
diff --git a/libcap/libcap-2.16-drop-linux-workarounds.patch b/libcap/libcap-2.16-drop-linux-workarounds.patch
deleted file mode 100644
index bbd6db835..000000000
--- a/libcap/libcap-2.16-drop-linux-workarounds.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-dont need these compat hacks anymore
-
-http://bugs.gentoo.org/265304
-
---- libcap/include/sys/capability.h
-+++ libcap/include/sys/capability.h
-@@ -22,18 +22,6 @@
- #include <sys/types.h>
- #include <stdint.h>
-
--/*
-- * Make sure we can be included from userland by preventing
-- * capability.h from including other kernel headers
-- */
--#define _LINUX_TYPES_H
--#define _LINUX_FS_H
--#define __LINUX_COMPILER_H
--#define __user
--
--typedef unsigned int __u32;
--typedef __u32 __le32;
--
- #include <linux/capability.h>
-
- /*
---- libcap/include/linux/capability.h
-+++ libcap/include/linux/capability.h
-@@ -40,13 +40,13 @@
- typedef struct __user_cap_header_struct {
- __u32 version;
- int pid;
--} __user *cap_user_header_t;
-+} *cap_user_header_t;
-
- typedef struct __user_cap_data_struct {
- __u32 effective;
- __u32 permitted;
- __u32 inheritable;
--} __user *cap_user_data_t;
-+} *cap_user_data_t;
-
-
- #define XATTR_CAPS_SUFFIX "capability"
diff --git a/libcap/libcap-2.16-makefile.patch b/libcap/libcap-2.17-makefile.patch
index 529c437a5..529c437a5 100644
--- a/libcap/libcap-2.16-makefile.patch
+++ b/libcap/libcap-2.17-makefile.patch

Generated by cgit