* update libcap-ng to 0.8.5-2
This commit is contained in:
parent
27efd370c8
commit
67df12c89a
@ -9,8 +9,8 @@ pkgname=(
|
||||
libcap-ng
|
||||
python-capng
|
||||
)
|
||||
pkgver=0.8.4
|
||||
pkgrel=1
|
||||
pkgver=0.8.5
|
||||
pkgrel=2
|
||||
pkgdesc='A library for Linux that makes using posix capabilities easy'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://people.redhat.com/sgrubb/libcap-ng/'
|
||||
@ -23,9 +23,11 @@ makedepends=(
|
||||
python
|
||||
swig
|
||||
)
|
||||
source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha512sums=('3e640ba4bfa2d5b5d0eb463abca3b2c745b10e929571c0ec32eb068bdc41fd95e19f7131893a22ceebb4d1f1083d3d87d9a32f0808442d594ac5940791152acf')
|
||||
b2sums=('f4ea9780b87cdd4f9fa85d4ad3960afe654bc8aa6f5aa298ec87b7d90c87dd981f81577e5113ed76d83aa39c959160bf4deee57be9b458a98f8715e6f7b8dd33')
|
||||
source=(
|
||||
https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
)
|
||||
sha512sums=('3bd868c7f263b77edd2feda831470b407f1086b434618e54336fb78bbf8bf3bad53f4c006a2118fb594b16554f8f7ec2acb76e08be5586d0261684e9ba139231')
|
||||
b2sums=('70d70da50aff6423cf98cc87512d691308ec73e4143b4deb4bbc32e764db856af60d2aab2fed6ead2c5662adccb1ebf3a72bc1a8990261e104b28d2b9225cf92')
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
|
18
libcap-ng/libcap-ng-0.8.4-remove_exception_handler.patch
Normal file
18
libcap-ng/libcap-ng-0.8.4-remove_exception_handler.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff --git a/bindings/src/capng_swig.i b/bindings/src/capng_swig.i
|
||||
index fcdaf18..fa85e13 100644
|
||||
--- a/bindings/src/capng_swig.i
|
||||
+++ b/bindings/src/capng_swig.i
|
||||
@@ -30,13 +30,6 @@
|
||||
|
||||
%varargs(16, signed capability = 0) capng_updatev;
|
||||
|
||||
-%except(python) {
|
||||
- $action
|
||||
- if (result < 0) {
|
||||
- PyErr_SetFromErrno(PyExc_OSError);
|
||||
- return NULL;
|
||||
- }
|
||||
-}
|
||||
#endif
|
||||
|
||||
%define __signed__
|
Loading…
x
Reference in New Issue
Block a user