From: Hauke Mehrtens Date: Sat, 29 Jan 2022 11:23:56 +0000 (+0100) Subject: libcap: Update to version 2.63 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=392609543d90bc3a9d050580fca39e34f52d6183;p=openwrt%2Fstaging%2Fsvanheule.git libcap: Update to version 2.63 The sizes of the ipk changed on MIPS 24Kc like this: 11248 libcap_2.51-1_mips_24kc.ipk 14461 libcap_2.63-1_mips_24kc.ipk 18864 libcap-bin_2.51-1_mips_24kc.ipk 20576 libcap-bin_2.63-1_mips_24kc.ipk Signed-off-by: Hauke Mehrtens --- diff --git a/package/libs/libcap/Makefile b/package/libs/libcap/Makefile index 53a577f1f9..dcd535becd 100644 --- a/package/libs/libcap/Makefile +++ b/package/libs/libcap/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libcap -PKG_VERSION:=2.51 +PKG_VERSION:=2.63 PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/libs/security/linux-privs/libcap2 -PKG_HASH:=6609f3ab7aebcc8f9277f53a577c657d9f3056d1352ea623da7fd7c0f00890f9 +PKG_HASH:=0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f PKG_MAINTAINER:=Paul Wassi PKG_LICENSE:=GPL-2.0-only @@ -74,6 +74,8 @@ MAKE_FLAGS += \ DYNAMIC="yes" \ lib="lib" +TARGET_CFLAGS += $(FPIC) + ifneq ($(CONFIG_PACKAGE_libcap-bin-capsh-shell),) TARGET_CFLAGS += -DSHELL='\"$(CONFIG_PACKAGE_libcap-bin-capsh-shell)\"' endif diff --git a/package/libs/libcap/patches/300-disable-tests.patch b/package/libs/libcap/patches/300-disable-tests.patch index c1779e28ec..1cf9cc4ea6 100644 --- a/package/libs/libcap/patches/300-disable-tests.patch +++ b/package/libs/libcap/patches/300-disable-tests.patch @@ -7,4 +7,4 @@ - $(MAKE) -C tests $@ $(MAKE) -C progs $@ $(MAKE) -C doc $@ - $(MAKE) -C kdebug $@ +