summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap-ng
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-08-09 13:45:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-09 22:33:38 +0100
commit4f27055ced7140ec19e9e7ada2b1824376131b92 (patch)
treeef25a3a007c4c7857a122d78eb816c7c3de1ec7c /meta/recipes-support/libcap-ng
parent791a279af0659d8bffe711283f67b5274c46bd75 (diff)
downloadpoky-4f27055ced7140ec19e9e7ada2b1824376131b92.tar.gz
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: 798aa15cb955f9801effbed44eba0f3f46ba8c54) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap-ng')
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb2
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng.inc10
2 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
index f8a6b2c317..f702056f02 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb
@@ -8,8 +8,6 @@ inherit python3targetconfig
8 8
9DEPENDS += "libcap-ng python3 swig-native" 9DEPENDS += "libcap-ng python3 swig-native"
10 10
11S = "${WORKDIR}/libcap-ng-${PV}"
12
13EXTRA_OECONF += "--with-python3" 11EXTRA_OECONF += "--with-python3"
14 12
15do_install() { 13do_install() {
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 85b51c4dc6..4c8ffd41c2 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -7,14 +7,18 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" 8 file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
9 9
10SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ 10SRC_URI = "git://github.com/stevegrubb/libcap-ng.git;protocol=https;branch=master \
11 file://0001-Fix-python-path-when-invoking-py-compile-54.patch \ 11 file://0001-Fix-python-path-when-invoking-py-compile-54.patch \
12 " 12 "
13 13SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3"
14SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff" 14S = "${WORKDIR}/git"
15 15
16inherit lib_package autotools 16inherit lib_package autotools
17 17
18do_configure:prepend() {
19 touch ${S}/NEWS
20}
21
18EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" 22EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
19EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" 23EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h"
20 24