summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/libcap/Makefile4
-rw-r--r--package/libcap/patches/patch-Make_Rules6
-rw-r--r--package/libcap/patches/patch-libcap_Makefile11
-rw-r--r--package/libcap/patches/patch-libcap_libcap_pc_in6
4 files changed, 19 insertions, 8 deletions
diff --git a/package/libcap/Makefile b/package/libcap/Makefile
index 98002b9f4..d509e1960 100644
--- a/package/libcap/Makefile
+++ b/package/libcap/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libcap
-PKG_VERSION:= 2.44
+PKG_VERSION:= 2.59
PKG_RELEASE:= 1
-PKG_HASH:= 92188359cd5be86e8e5bd3f6483ac6ce582264f912398937ef763def2205c8e1
+PKG_HASH:= 49f64ae40b113e53cbc161e22af7094e3bb4a0611fa33ef5a4257b011779f034
PKG_DESCR:= capabilities library
PKG_SECTION:= libs/misc
PKG_URL:= http://www.friedhoff.org/posixfilecaps.html
diff --git a/package/libcap/patches/patch-Make_Rules b/package/libcap/patches/patch-Make_Rules
index a62f11ea8..b40545b48 100644
--- a/package/libcap/patches/patch-Make_Rules
+++ b/package/libcap/patches/patch-Make_Rules
@@ -1,5 +1,5 @@
---- libcap-2.44.orig/Make.Rules 2020-10-05 03:42:13.000000000 +0200
-+++ libcap-2.44/Make.Rules 2020-10-18 13:17:04.354503478 +0200
+--- libcap-2.59.orig/Make.Rules 2021-09-27 03:18:19.000000000 +0200
++++ libcap-2.59/Make.Rules 2021-10-12 14:15:43.966424789 +0200
@@ -18,7 +18,7 @@ FAKEROOT=$(DESTDIR)
# administrative operations that could be needed to recover a system.
@@ -8,4 +8,4 @@
+lib=/usr/lib
endif
- ifdef prefix
+ ifndef sbin
diff --git a/package/libcap/patches/patch-libcap_Makefile b/package/libcap/patches/patch-libcap_Makefile
new file mode 100644
index 000000000..6dcb3e073
--- /dev/null
+++ b/package/libcap/patches/patch-libcap_Makefile
@@ -0,0 +1,11 @@
+--- libcap-2.59.orig/libcap/Makefile 2021-09-18 05:56:21.000000000 +0200
++++ libcap-2.59/libcap/Makefile 2021-10-12 14:20:14.254434411 +0200
+@@ -76,7 +76,7 @@ $(PSXTITLE).pc: $(PSXTITLE).pc.in
+ $< >$@
+
+ _makenames: _makenames.c cap_names.list.h
+- $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
++ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $< -o $@
+
+ cap_names.h: _makenames
+ ./_makenames > cap_names.h
diff --git a/package/libcap/patches/patch-libcap_libcap_pc_in b/package/libcap/patches/patch-libcap_libcap_pc_in
index 742f136c0..0d61c60a8 100644
--- a/package/libcap/patches/patch-libcap_libcap_pc_in
+++ b/package/libcap/patches/patch-libcap_libcap_pc_in
@@ -1,5 +1,5 @@
---- libcap-2.25.orig/libcap/libcap.pc.in 2013-12-24 18:08:53.000000000 +0100
-+++ libcap-2.25/libcap/libcap.pc.in 2018-01-01 20:11:08.911444653 +0100
+--- libcap-2.59.orig/libcap/libcap.pc.in 2020-07-01 04:43:01.000000000 +0200
++++ libcap-2.59/libcap/libcap.pc.in 2021-10-12 14:15:43.958424789 +0200
@@ -1,7 +1,7 @@
prefix=@prefix@
-exec_prefix=@exec_prefix@
@@ -10,4 +10,4 @@
+includedir=${prefix}/include
Name: libcap
- Description: libcap
+ Description: libcap - linux capabilities library