]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libcap-ng: update SRC_URI
authorChangqing Li <changqing.li@windriver.com>
Fri, 9 Aug 2024 05:45:09 +0000 (13:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Aug 2024 21:33:07 +0000 (22:33 +0100)
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

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
meta/recipes-support/libcap-ng/libcap-ng.inc

index f8a6b2c317754265774a82dc679dad5a1b904583..f702056f026c7dd3b189681e2647ac4c2248e1b6 100644 (file)
@@ -8,8 +8,6 @@ inherit python3targetconfig
 
 DEPENDS += "libcap-ng python3 swig-native"
 
-S = "${WORKDIR}/libcap-ng-${PV}"
-
 EXTRA_OECONF += "--with-python3"
 
 do_install() {
index 85b51c4dc67f4c03aa5f8b614493ef550ec444cc..4c8ffd41c2c9996055b53dee9d071c1d77866143 100644 (file)
@@ -7,14 +7,18 @@ 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 \
            "
-
-SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff"
+SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
+S = "${WORKDIR}/git"
 
 inherit lib_package autotools
 
+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"