mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
libcap-ng: update to 0.7.
This commit is contained in:
parent
39becd8b81
commit
49b3f18679
5 changed files with 9 additions and 29 deletions
|
@ -1,14 +1,12 @@
|
||||||
# Template file for 'libcap-ng-devel'.
|
# Template file for 'libcap-ng-devel'.
|
||||||
#
|
#
|
||||||
depends="glibc-devel libcap-ng"
|
depends="glibc-devel libcap-ng>=${version}"
|
||||||
short_desc="${sourcepkg} development files"
|
short_desc="${sourcepkg} development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
vmove "usr/lib/*.a" usr/lib
|
vmove "usr/lib/*.a" usr/lib
|
||||||
|
|
|
@ -5,9 +5,7 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains binary utilities provided by the ${sourcepkg} package."
|
This package contains binary utilities provided by the ${sourcepkg} package."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove usr/bin usr
|
vmove usr/bin usr
|
||||||
vmove usr/share usr
|
vmove usr/share usr
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
pycompile_module="capng"
|
pycompile_module="capng"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove "usr/lib/python*" usr/lib/python
|
vmove "usr/lib/python*" usr/lib/python
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- 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,15 +1,16 @@
|
||||||
# Template file for 'libcap-ng'
|
# Template file for 'libcap-ng'
|
||||||
pkgname=libcap-ng
|
pkgname=libcap-ng
|
||||||
version=0.6.6
|
version=0.7
|
||||||
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
revision=3
|
subpackages="$pkgname-devel $pkgname-progs $pkgname-python"
|
||||||
makedepends="python-devel swig"
|
makedepends="python-devel swig"
|
||||||
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>"
|
||||||
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
homepage="http://people.redhat.com/sgrubb/libcap-ng/"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
checksum=89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d
|
distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz"
|
||||||
|
checksum=369682b2e5a5716a6271a6c5db9a43e3809e91acfb08438c0d3de2fec1284a35
|
||||||
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
|
||||||
|
@ -18,5 +19,3 @@ long_desc="
|
||||||
|
|
||||||
The libcap-ng library is intended to make programming with posix capabilities
|
The libcap-ng library is intended to make programming with posix capabilities
|
||||||
much easier than the traditional libcap library."
|
much easier than the traditional libcap library."
|
||||||
|
|
||||||
subpackages="$pkgname-devel $pkgname-progs $pkgname-python"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue