libcap-ng: update SRC_URI

Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning

[1] https://github.com/stevegrubb/libcap-ng/issues/56

(From OE-Core rev: ba5d05337c97ec14d00939f02ecdd6aeab126822)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Changqing Li
2024-08-27 14:15:02 +08:00
committed by Steve Sakoman
parent 8bfdb53247
commit d40d52e8de
2 changed files with 6 additions and 4 deletions

View File

@@ -9,8 +9,6 @@ inherit lib_package autotools python3targetconfig
# drop setuptools when version > 0.8.3 is released; it's needed only for distutils
DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
S = "${WORKDIR}/libcap-ng-${PV}"
EXTRA_OECONF += "--with-python3"
do_install:append() {

View File

@@ -7,11 +7,15 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
"
SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
S = "${WORKDIR}/git"
SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
do_configure:prepend() {
touch ${S}/NEWS
}
EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"