libcap: Update from 2.27 to 2.28
This commit is contained in:
parent
d397540a63
commit
a74a252db1
12
packages/libcap/Make.Rules.patch
Normal file
12
packages/libcap/Make.Rules.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ../libcap-2.28/Make.Rules ./Make.Rules
|
||||||
|
--- ../libcap-2.28/Make.Rules 2019-12-07 20:10:11.000000000 +0000
|
||||||
|
+++ ./Make.Rules 2019-12-11 23:41:49.847418000 +0000
|
||||||
|
@@ -62,7 +62,7 @@
|
||||||
|
LD=$(CC) -Wl,-x -shared
|
||||||
|
LDFLAGS := #-g
|
||||||
|
LIBCAPLIB := -L$(topdir)/libcap -lcap
|
||||||
|
-LIBPSXLIB := -L$(topdir)/libcap -lpsx -lpthread
|
||||||
|
+LIBPSXLIB := -L$(topdir)/libcap -lpsx
|
||||||
|
|
||||||
|
BUILD_GPERF := $(shell which gperf >/dev/null 2>/dev/null && echo yes)
|
||||||
|
|
11
packages/libcap/Makefile.patch
Normal file
11
packages/libcap/Makefile.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -u -r ../libcap-2.28/Makefile ./Makefile
|
||||||
|
--- ../libcap-2.28/Makefile 2019-12-07 19:45:11.000000000 +0000
|
||||||
|
+++ ./Makefile 2019-12-11 23:43:35.404511000 +0000
|
||||||
|
@@ -16,7 +16,6 @@
|
||||||
|
ifeq ($(GOLANG),yes)
|
||||||
|
$(MAKE) -C go $@
|
||||||
|
endif
|
||||||
|
- $(MAKE) -C tests $@
|
||||||
|
$(MAKE) -C progs $@
|
||||||
|
$(MAKE) -C doc $@
|
||||||
|
$(MAKE) -C kdebug $@
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://sites.google.com/site/fullycapable/
|
|||||||
TERMUX_PKG_DESCRIPTION="POSIX 1003.1e capabilities"
|
TERMUX_PKG_DESCRIPTION="POSIX 1003.1e capabilities"
|
||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||||
TERMUX_PKG_VERSION=2.27
|
TERMUX_PKG_VERSION=2.28
|
||||||
TERMUX_PKG_REVISION=1
|
|
||||||
TERMUX_PKG_SRCURL=https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${TERMUX_PKG_VERSION}.tar.xz
|
TERMUX_PKG_SRCURL=https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${TERMUX_PKG_VERSION}.tar.xz
|
||||||
TERMUX_PKG_SHA256=dac1792d0118bee6aae6ba7fb93ff1602c6a9bda812fd63916eee1435b9c486a
|
TERMUX_PKG_SHA256=c0e70c3bcce288ada2bfe8d748e816b601590495312222e92e307cf18d6a38aa
|
||||||
TERMUX_PKG_DEPENDS="attr"
|
TERMUX_PKG_DEPENDS="attr"
|
||||||
TERMUX_PKG_BREAKS="libcap-dev"
|
TERMUX_PKG_BREAKS="libcap-dev"
|
||||||
TERMUX_PKG_REPLACES="libcap-dev"
|
TERMUX_PKG_REPLACES="libcap-dev"
|
||||||
|
12
packages/libcap/psx-psx.go.patch
Normal file
12
packages/libcap/psx-psx.go.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ../libcap-2.28/psx/psx.go ./psx/psx.go
|
||||||
|
--- ../libcap-2.28/psx/psx.go 2019-12-07 19:45:11.000000000 +0000
|
||||||
|
+++ ./psx/psx.go 2019-12-11 23:40:00.637288000 +0000
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
"syscall"
|
||||||
|
)
|
||||||
|
|
||||||
|
-// #cgo LDFLAGS: -lpsx -lpthread -Wl,-wrap,pthread_create
|
||||||
|
+// #cgo LDFLAGS: -lpsx -Wl,-wrap,pthread_create
|
||||||
|
//
|
||||||
|
// #include <errno.h>
|
||||||
|
// #include <sys/psx_syscall.h>
|
Loading…
Reference in New Issue
Block a user