Skip to contentSkip to conversation

libcap-ng: upgrade 0.8.3 -> 0.8.4

PATCH New Yi Zhao 1 participant 2 messages Jan 2, 2024

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/2 libcap-ng: upgrade 0.8.3 -> 0.8.4

ChangeLog:
- In capng_change_id, clear PR_SET_KEEPCAPS if returning an error
- pscap: add -p option for reporting a specified process
- Annotate function prototypes to warn if results are unused
- Drop python2 support

* Remove "--with-python" option as python2 support was dropped.

---
 meta/recipes-support/libcap-ng/libcap-ng.inc                    | 2 +-
 .../libcap-ng/{libcap-ng_0.8.3.bb => libcap-ng_0.8.4.bb}        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libcap-ng/{libcap-ng_0.8.3.bb => libcap-ng_0.8.4.bb} (88%)
meta/recipes-support/libcap-ng/libcap-ng.inc +1 -1
index 55e3287396..a6b5dcf452 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
 SRC_URI = "https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz"
 
-SRC_URI[sha256sum] = "bed6f6848e22bb2f83b5f764b2aef0ed393054e803a8e3a8711cb2a39e6b492d"
+SRC_URI[sha256sum] = "68581d3b38e7553cb6f6ddf7813b1fc99e52856f21421f7b477ce5abd2605a8a"
 
 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"
meta/recipes-support/libcap-ng/libcap-ng_0.8.4.bb renamed from meta/recipes-support/libcap-ng/libcap-ng_0.8.3.bb +1 -1
similarity index 88%
rename from meta/recipes-support/libcap-ng/libcap-ng_0.8.3.bb
rename to meta/recipes-support/libcap-ng/libcap-ng_0.8.4.bb
index 6e16e886b9..3dbe3e2ffd 100644
@@ -2,7 +2,7 @@ require libcap-ng.inc
 
 inherit lib_package autotools
 
-EXTRA_OECONF += "--without-python --without-python3"
+EXTRA_OECONF += "--without-python3"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 libcap-ng-python: upgrade 0.8.3 -> 0.8.4

ChangeLog:
- In capng_change_id, clear PR_SET_KEEPCAPS if returning an error
- pscap: add -p option for reporting a specified process
- Annotate function prototypes to warn if results are unused
- Drop python2 support

* Remove "--with-python" option as python2 support was dropped.

---
 .../{libcap-ng-python_0.8.3.bb => libcap-ng-python_0.8.4.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libcap-ng/{libcap-ng-python_0.8.3.bb => libcap-ng-python_0.8.4.bb} (93%)
meta/recipes-support/libcap-ng/libcap-ng-python_0.8.4.bb renamed from meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb +1 -1
similarity index 93%
rename from meta/recipes-support/libcap-ng/libcap-ng-python_0.8.3.bb
rename to meta/recipes-support/libcap-ng/libcap-ng-python_0.8.4.bb
index 9e0ccd55e3..4790134ae9 100644
@@ -11,7 +11,7 @@ DEPENDS += "libcap-ng python3 swig-native python3-setuptools-native"
 
 S = "${WORKDIR}/libcap-ng-${PV}"
 
-EXTRA_OECONF += "--with-python --with-python3"
+EXTRA_OECONF += "--with-python3"
 
 do_install:append() {
     rm -rf ${D}${bindir}
Signature · 1 line
2.25.1