libs/libcap: update to 2.25

Update libcap to upstream release 2.25
Since the libattr thing was dropped upstream in [1] it is also removed here.
Then, to overcome an issue in cross-compiling [2], set the Make parameter
according to [3].

Take maintainership of this package.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>

[1]:
http://git.kernel.org/cgit/linux/kernel/git/morgan/libcap.git/commit/?id=85f38a573fc47472ab792e813b6f6b6f0b1df112

[2]:
libcap: progs/Makefile:30 executes the cross-compiled binary on the host

[3]:
libcap: Make.Rules: comment from lines 74-81
This commit is contained in:
p-wassi 2016-12-08 00:36:08 +01:00 committed by Yousong Zhou
parent 12df5439b8
commit b85f3d20b7
1 changed files with 4 additions and 4 deletions

View File

@ -8,13 +8,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libcap
PKG_VERSION:=2.24
PKG_VERSION:=2.25
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/libs/security/linux-privs/libcap2
PKG_MD5SUM:=d43ab9f680435a7fff35b4ace8d45b80
PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
PKG_MD5SUM:=6666b839e5d46c2ad33fc8aa2ceb5f77
PKG_MAINTAINER:=Paul Wassi <p.wassi@gmx.at>
PKG_INSTALL:=1
@ -37,7 +37,7 @@ MAKE_FLAGS += \
LDFLAGS="$(TARGET_LDFLAGS) -shared" \
INDENT="| true" \
PAM_CAP="no" \
LIBATTR="no" \
RAISE_SETFCAP="no" \
DYNAMIC="yes" \
lib="lib"