libcap-ng: update to 0.6.4, added path to make it build with newer kernels.
This commit is contained in:
parent
28d42da0c3
commit
e9ac19b599
3 changed files with 16 additions and 6 deletions
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=1
|
|
||||||
|
|
||||||
Add_dependency run glibc-devel
|
Add_dependency run glibc-devel
|
||||||
Add_dependency run libcap-ng
|
Add_dependency run libcap-ng
|
||||||
|
|
||||||
|
|
13
srcpkgs/libcap-ng/patches/missing_XATTR_NAME_CAPS_def.diff
Normal file
13
srcpkgs/libcap-ng/patches/missing_XATTR_NAME_CAPS_def.diff
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- src/cap-ng.h.orig 2010-10-29 16:26:53.000000000 +0200
|
||||||
|
+++ src/cap-ng.h 2010-10-29 16:27:25.000000000 +0200
|
||||||
|
@@ -35,6 +35,10 @@ extern "C" {
|
||||||
|
#define CAP_LAST_CAP CAP_AUDIT_CONTROL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifndef XATTR_NAME_CAPS
|
||||||
|
+#define XATTR_NAME_CAPS "security.capability"
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
typedef enum { CAPNG_DROP, CAPNG_ADD } capng_act_t;
|
||||||
|
typedef enum { CAPNG_EFFECTIVE=1, CAPNG_PERMITTED=2,
|
||||||
|
CAPNG_INHERITABLE=4, CAPNG_BOUNDING_SET=8 } capng_type_t;
|
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'libcap-ng'
|
# Template file for 'libcap-ng'
|
||||||
pkgname=libcap-ng
|
pkgname=libcap-ng
|
||||||
version=0.6.2
|
version=0.6.4
|
||||||
revision=1
|
|
||||||
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="An alternate posix capabilities library"
|
short_desc="An alternate POSIX capabilities library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=1d230a03c7e6adf1c761730bf27cee694d6658e97581c9507e993c80a1fab0ff
|
checksum=9d508706f72ba613e6afdcd02208e2491b3e0d4dff60867a7738ae8d352f0de8
|
||||||
long_desc="
|
long_desc="
|
||||||
This library implements the user-space interfaces to the POSIX 1003.1e
|
This library implements the user-space interfaces to the POSIX 1003.1e
|
||||||
capabilities available in Linux kernels. These capabilities are a
|
capabilities available in Linux kernels. These capabilities are a
|
||||||
|
|
Loading…
Reference in a new issue