https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/Make.Rules?h=v1.2.62&id=cc91f55960ce81e7cc24ef0bf729bdf02e2f60e1#n100

Maybe I misunderstood the rationale behind it.
Anyway, that comment led to the change for the new version.

Regards,
Christian

On 1/5/22 1:21 PM, Michael Olbrich wrote:
On Wed, Dec 22, 2021 at 02:02:52PM +0100, Christian Melki wrote:
Update posix capability library.

Signed-off-by: Christian Melki <[email protected]>
---
  rules/libcap.make | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/rules/libcap.make b/rules/libcap.make
index 5ed11b1f3..3159f7b01 100644
--- a/rules/libcap.make
+++ b/rules/libcap.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBCAP) += libcap
  #
  # Paths and names
  #
-LIBCAP_VERSION := 2.51
-LIBCAP_MD5     := 4c9febc1bf0afca6a4d9f86fcdb6d900
+LIBCAP_VERSION := 2.62
+LIBCAP_MD5     := 342c7560ed2103899f6914d1de75a89f
  LIBCAP                := libcap-$(LIBCAP_VERSION)
  LIBCAP_SUFFIX := tar.xz
  LIBCAP_URL    := \
@@ -35,6 +35,7 @@ LIBCAP_MAKE_OPT       := \
        BUILD_CC=$(HOSTCC) \
        DYNAMIC=yes \
        GOLANG=no \
+       USE_GPERF=no \

Ah, maybe the USE_GPERF is from the new version? (See my question about
host-libcap).

For the target package, we select HOST_GPERF, so it should be used here.
If I remember this correctly then libcap performs better at runtime if
gperf is available at build-time. So we want it for the target package, but
we don't care about the host package.

Michael

        LIBATTR=$(call ptx/yesno, PTXCONF_LIBCAP_SETCAP) \
        PAM_CAP=$(call ptx/yesno, PTXCONF_GLOBAL_PAM)
--
2.30.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]



_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to