diff options
| author | Changqing Li <changqing.li@windriver.com> | 2024-08-27 14:15:02 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-09-03 05:39:12 -0700 |
| commit | d40d52e8debb05bf049949dc79ad993bebfbbc25 (patch) | |
| tree | 6e73520c761d4f24d7aeb4a9f88d898481eb964f | |
| parent | 8bfdb53247c917559e7813c2e1bd2f6eb13c811d (diff) | |
| download | poky-d40d52e8debb05bf049949dc79ad993bebfbbc25.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: ba5d05337c97ec14d00939f02ecdd6aeab126822)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng-python_0.8.5.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-support/libcap-ng/libcap-ng.inc | 8 |
2 files changed, 6 insertions, 4 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 4790134ae9..ffde03963f 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 | |||
| @@ -9,8 +9,6 @@ inherit lib_package autotools python3targetconfig | |||
| 9 | # drop setuptools when version > 0.8.3 is released; it's needed only for distutils | 9 | # drop setuptools when version > 0.8.3 is released; it's needed only for distutils |
| 10 | DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native" | 10 | DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/libcap-ng-${PV}" | ||
| 13 | |||
| 14 | EXTRA_OECONF += "--with-python3" | 12 | EXTRA_OECONF += "--with-python3" |
| 15 | 13 | ||
| 16 | do_install:append() { | 14 | do_install:append() { |
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc index 12b4002d11..e4be030834 100644 --- a/meta/recipes-support/libcap-ng/libcap-ng.inc +++ b/meta/recipes-support/libcap-ng/libcap-ng.inc | |||
| @@ -7,11 +7,15 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | |||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 8 | file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" | 8 | file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" |
| 9 | 9 | ||
| 10 | SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 10 | SRC_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 | SRCREV = "f5d39702622208b3ada064d7b2eaeaf1454c9bd3" | ||
| 14 | S = "${WORKDIR}/git" | ||
| 13 | 15 | ||
| 14 | SRC_URI[sha256sum] = "3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff" | 16 | do_configure:prepend() { |
| 17 | touch ${S}/NEWS | ||
| 18 | } | ||
| 15 | 19 | ||
| 16 | EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" | 20 | EXTRA_OECONF:append:class-target = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" |
| 17 | EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" | 21 | EXTRA_OECONF:append:class-nativesdk = " --with-capability_header=${STAGING_INCDIR}/linux/capability.h" |
