Skip to contentSkip to conversation

package/libcap-ng: bump version to 0.9.3

PATCH Superseded Bernd Kuhls 2 participants 2 messages Apr 17 – Apr 19

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/libcap-ng: bump version to 0.9.3

https://github.com/stevegrubb/libcap-ng/blob/v0.9.3/ChangeLog

The source tarball is not distributed on the project site anymore so we switch to the github helper and need to enable autoreconf.

Added _POST_EXTRACT_HOOKS and dependency to host-pkgconf to fix autoreconf errors.

---
v2: fixed autoreconf (Julien)

 package/libcap-ng/libcap-ng.hash |  2 +-
 package/libcap-ng/libcap-ng.mk   | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)
package/libcap-ng/libcap-ng.hash +1 -1
index 022dd1f895..d79ef54d07 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  3ba5294d1cbdfa98afaacfbc00b6af9ed2b83e8a21817185dfd844cc8c7ac6ff  libcap-ng-0.8.5.tar.gz
+sha256  fe11ebbb55904763b3532f19069f13ec319042634620180a03bd4653d301563e  libcap-ng-0.9.3.tar.gz
 sha256  32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670  COPYING
 sha256  f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa  COPYING.LIB
package/libcap-ng/libcap-ng.mk +14 -2
index e544e27696..31e0ff8d64 100644
@@ -4,13 +4,25 @@
 #
 ################################################################################
 
-LIBCAP_NG_VERSION = 0.8.5
-LIBCAP_NG_SITE = https://people.redhat.com/sgrubb/libcap-ng
+LIBCAP_NG_VERSION = 0.9.3
+LIBCAP_NG_SITE = $(call github,stevegrubb,libcap-ng,v$(LIBCAP_NG_VERSION))
 LIBCAP_NG_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library)
 LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB
 LIBCAP_NG_CPE_ID_VALID = YES
 LIBCAP_NG_INSTALL_STAGING = YES
 
+# github tarball does not include configure
+LIBCAP_NG_AUTORECONF = YES
+# needed for autoreconf
+LIBCAP_NG_DEPENDENCIES = host-pkgconf
+HOST_LIBCAP_NG_DEPENDENCIES = host-pkgconf
+
+define LIBCAP_NG_CREATE_MISSING_FILES
+	touch $(@D)/NEWS
+endef
+LIBCAP_NG_POST_EXTRACT_HOOKS += LIBCAP_NG_CREATE_MISSING_FILES
+HOST_LIBCAP_NG_POST_EXTRACT_HOOKS += LIBCAP_NG_CREATE_MISSING_FILES
+
 LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no
 LIBCAP_NG_CONF_OPTS = --without-python3
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Bernd,

Thanks for the v2.

Quoted 16 lines · Bernd Kuhls

https://github.com/stevegrubb/libcap-ng/blob/v0.9.3/ChangeLog

The source tarball is not distributed on the project site anymore so we switch to the github helper and need to enable autoreconf.

Added _POST_EXTRACT_HOOKS and dependency to host-pkgconf to fix autoreconf errors.

---
v2: fixed autoreconf (Julien)

 package/libcap-ng/libcap-ng.hash |  2 +-
 package/libcap-ng/libcap-ng.mk   | 16 ++++++++++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

[...]

package/libcap-ng/libcap-ng.mk line 8

Quoted 12 lines
package/libcap-ng/libcap-ng.mk +1 -2
index e544e27696..31e0ff8d64 100644
@@ -4,13 +4,25 @@
 #
 
 ################################################################################
 
-LIBCAP_NG_VERSION = 0.8.5
-LIBCAP_NG_SITE = https://people.redhat.com/sgrubb/libcap-ng
+LIBCAP_NG_VERSION = 0.9.3

I still have one build failure with test-pkg:
https://gitlab.com/jolivain/buildroot/-/jobs/13989916951

It seems this new version needs a toolchain with sync4.

Could you have a look, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot