Bump netopeer2 and dependencies to actual upstream version
cover Bump netopeer2 and dependencies to actual upstream version
netopeer2 has the depedency to the other packages and expects to also have these updated.
Heiko Thiery (4):
package/libyang: bump verstion to 2.0.164
package/sysrepo: bump version to 2.1.42
package/libnetconf2: bump version to 2.1.7
package/netopeer2: bump version to 2.1.16
...IX-netopeer2-build-fails-when-buildi.patch | 34 --------------- package/libnetconf2/libnetconf2.hash | 2 +- package/libnetconf2/libnetconf2.mk | 2 +- package/libyang/libyang.hash | 2 +- package/libyang/libyang.mk | 2 +- package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 6 ++- ...uild-with-musl-libc-fails-due-to-unk.patch | 42 ------------------- package/sysrepo/sysrepo.hash | 2 +- package/sysrepo/sysrepo.mk | 6 ++- 10 files changed, 16 insertions(+), 84 deletions(-) delete mode 100644 package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch delete mode 100644 package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/4 package/libyang: bump verstion to 2.0.164
--- package/libyang/libyang.hash | 2 +- package/libyang/libyang.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libyang/libyang.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 184dd67c66c1ad968a2ee4d0950fb6b103834917b04b17af9c7bca80967636ee libyang-2.0.112.tar.gz +sha256 7ed65c3e180eb14183d72676468b2b81682baef0957d88d0114341d886c19093 libyang-2.0.164.tar.gz sha256 0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb LICENSE
package/libyang/libyang.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBYANG_VERSION = 2.0.112 +LIBYANG_VERSION = 2.0.164 LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION)) LIBYANG_LICENSE = BSD-3-Clause LIBYANG_LICENSE_FILES = LICENSE
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/4 package/sysrepo: bump version to 2.1.42
In reply to Heiko ThieryDrop patch that is now fixed upstream. Add a dependency to sytemd if enabled so cmake can find libsystemd and install the systemd service file.
--- ...uild-with-musl-libc-fails-due-to-unk.patch | 42 ------------------- package/sysrepo/sysrepo.hash | 2 +- package/sysrepo/sysrepo.mk | 6 ++- 3 files changed, 6 insertions(+), 44 deletions(-) delete mode 100644 package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch deleted +0 -42
@@ -1,42 +0,0 @@ -From 896dc6aee38898fe1c6822ee6a4a4989d21c650b Mon Sep 17 00:00:00 2001 -From: Heiko Thiery <[email protected]> -Date: Thu, 25 Nov 2021 12:18:06 +0100 -Subject: [PATCH] sysrepo BUGFIX build with musl libc fails due to unknown type - name 'mode_t' - -When building against the musl libc the build will fail due to the -missing sys/type.h include. - -Signed-off-by: Heiko Thiery <[email protected]> ---- - src/plugins_datastore.h | 1 + - src/plugins_notification.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/src/plugins_datastore.h b/src/plugins_datastore.h -index a64e4131..d577e929 100644 ---- a/src/plugins_datastore.h -+++ b/src/plugins_datastore.h -@@ -18,6 +18,7 @@ - #define _SYSREPO_PLUGINS_DATASTORE_H - - #include <stdint.h> -+#include <sys/types.h> - - #include <libyang/libyang.h> - -diff --git a/src/plugins_notification.h b/src/plugins_notification.h -index 2099db62..f410e8d9 100644 ---- a/src/plugins_notification.h -+++ b/src/plugins_notification.h -@@ -18,6 +18,7 @@ - #define _SYSREPO_PLUGINS_NOTIFICATION_H - - #include <stdint.h> -+#include <sys/types.h> - - #include <libyang/libyang.h> - --- -2.30.2 -
package/sysrepo/sysrepo.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 fe09da5f40fb53e3fb97268a134cc0ed3003f0018d0d117c73e81e1553a11f30 sysrepo-2.0.53.tar.gz +sha256 1182b9d5e1178ad74b3bde6d282b86d17b60e206cd8a014895f74252492d96ab sysrepo-2.1.42.tar.gz sha256 88f1b7e5c64d2c113e07105aa9c0fb80639b40287565be1c2afd0949df83d826 LICENSE
package/sysrepo/sysrepo.mk +5 -1
@@ -4,7 +4,7 @@ # ################################################################################ -SYSREPO_VERSION = 2.0.53 +SYSREPO_VERSION = 2.1.42 SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION)) SYSREPO_INSTALL_STAGING = YES SYSREPO_LICENSE = BSD-3-Clause
@@ -12,6 +12,10 @@ SYSREPO_LICENSE_FILES = LICENSE SYSREPO_DEPENDENCIES = libyang pcre2 host-sysrepo HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre2 +ifeq ($(BR2_INIT_SYSTEMD),y) +SYSREPO_DEPENDENCIES += systemd +endif + SYSREPO_CONF_OPTS = \ -DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_SYSREPO_EXAMPLES),ON,OFF) \ -DENABLE_TESTS=OFF \
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/4 package/libnetconf2: bump version to 2.1.7
In reply to Heiko ThieryDrop patch that is now fixed upstream.
--- ...IX-netopeer2-build-fails-when-buildi.patch | 34 ------------------- package/libnetconf2/libnetconf2.hash | 2 +- package/libnetconf2/libnetconf2.mk | 2 +- 3 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch
package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From e06f291cc36c9e9a3c9c224e23109ac6dad4eb1c Mon Sep 17 00:00:00 2001 -From: Heiko Thiery <[email protected]> -Date: Thu, 25 Nov 2021 12:29:47 +0100 -Subject: [PATCH] libnetconf2 BUGFIX netopeer2 build fails when building with - musl libc -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -/home/hthiery/sources/mainline/buildroot/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/libnetconf2/session_server.h:439:55: error: unknown type name ‘mode_t’ - 439 | int nc_server_endpt_set_perms(const char *endpt_name, mode_t mode, uid_t uid, gid_t gid); - -For musl libc the include "sys/types.h" is required. - -Signed-off-by: Heiko Thiery <[email protected]> ---- - src/session_server.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/session_server.h b/src/session_server.h -index 4507eea..4779119 100644 ---- a/src/session_server.h -+++ b/src/session_server.h -@@ -19,6 +19,7 @@ - extern "C" { - #endif - -+#include <sys/types.h> - #include <libyang/libyang.h> - #include <stdint.h> - --- -2.30.2 -
package/libnetconf2/libnetconf2.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 78ffa0bd85823abd321a1dbb09c1ead36612f2a12049638a14bb081567f86ade libnetconf2-2.0.24.tar.gz +sha256 3044f36c117a5eaad01482d0caffc30cb2a87c66090d3cd9c946fef85b8a2394 libnetconf2-2.1.7.tar.gz sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE
package/libnetconf2/libnetconf2.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBNETCONF2_VERSION = 2.0.24 +LIBNETCONF2_VERSION = 2.1.7 LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION)) LIBNETCONF2_INSTALL_STAGING = YES LIBNETCONF2_LICENSE = BSD-3-Clause
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/4 package/netopeer2: bump version to 2.1.16
In reply to Heiko ThieryAdd a dependency to sytemd if enabled so cmake can find libsystemd and install the systemd service file.
--- package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-)
package/netopeer2/netopeer2.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 dedae40419cfddd09c1be7bb536b3a762ec8dcd568c2bfe803c0f6789a5ca834 netopeer2-2.0.35.tar.gz +sha256 1e4b46f2e4889f5a8203f36f9faed6dff82093dd783bb6e3c4f14b73b7e16871 netopeer2-2.1.16.tar.gz sha256 b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b LICENSE
package/netopeer2/netopeer2.mk +5 -1
@@ -4,13 +4,17 @@ # ################################################################################ -NETOPEER2_VERSION = 2.0.35 +NETOPEER2_VERSION = 2.1.16 NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION)) NETOPEER2_DL_SUBDIR = netopeer2 NETOPEER2_LICENSE = BSD-3-Clause NETOPEER2_LICENSE_FILES = LICENSE NETOPEER2_DEPENDENCIES = libnetconf2 libyang sysrepo host-sysrepo +ifeq ($(BR2_INIT_SYSTEMD),y) +NETOPEER2_DEPENDENCIES += systemd +endif + NETOPEER2_CONF_OPTS = \ -DBUILD_CLI=$(if $(BR2_PACKAGE_NETOPEER2_CLI),ON,OFF) \ -DENABLE_TESTS=OFF
Signature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Heiko, All,
On 2022-05-13 09:10 +0200, Heiko Thiery spake thusly:
Quoted 2 lines
netopeer2 has the depedency to the other packages and expects to also have these updated.
Whole series applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 27 lines
Heiko Thiery (4):
package/libyang: bump verstion to 2.0.164
package/sysrepo: bump version to 2.1.42
package/libnetconf2: bump version to 2.1.7
package/netopeer2: bump version to 2.1.16...IX-netopeer2-build-fails-when-buildi.patch | 34 --------------- package/libnetconf2/libnetconf2.hash | 2 +- package/libnetconf2/libnetconf2.mk | 2 +- package/libyang/libyang.hash | 2 +- package/libyang/libyang.mk | 2 +- package/netopeer2/netopeer2.hash | 2 +- package/netopeer2/netopeer2.mk | 6 ++- ...uild-with-musl-libc-fails-due-to-unk.patch | 42 ------------------- package/sysrepo/sysrepo.hash | 2 +- package/sysrepo/sysrepo.mk | 6 ++- 10 files changed, 16 insertions(+), 84 deletions(-) delete mode 100644 package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch delete mode 100644 package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patchSignature · 6 lines
2.20.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot