* [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.112
2021-11-25 12:55 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies Heiko Thiery
@ 2021-11-25 12:55 ` Heiko Thiery
2021-12-04 21:57 ` Thomas Petazzoni
2021-11-25 12:55 ` [Buildroot] [PATCH 2/4] package/libnetconf2: bump version to 2.0.24 Heiko Thiery
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Heiko Thiery @ 2021-11-25 12:55 UTC (permalink / raw)
To: buildroot; +Cc: Heiko Thiery, Vadim Kochan, Jan Kundrát
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
package/libyang/Config.in | 3 +--
package/libyang/libyang.hash | 4 ++--
package/libyang/libyang.mk | 6 +++---
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/package/libyang/Config.in b/package/libyang/Config.in
index fec1160a6f..54df061b58 100644
--- a/package/libyang/Config.in
+++ b/package/libyang/Config.in
@@ -2,8 +2,7 @@ config BR2_PACKAGE_LIBYANG
bool "libyang"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
- select BR2_PACKAGE_PCRE
- select BR2_PACKAGE_PCRE_UCP
+ select BR2_PACKAGE_PCRE2
help
Libyang is YANG data modeling language parser and toolkit
written (and providing API) in C.
diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash
index 755ecf390a..c129896a63 100644
--- a/package/libyang/libyang.hash
+++ b/package/libyang/libyang.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 8576cad398b451b1c622b0652a2030fcf83ee1d9a39e6cd93d17b0a5a43118d6 libyang-1.0.240.tar.gz
-sha256 f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112 LICENSE
+sha256 184dd67c66c1ad968a2ee4d0950fb6b103834917b04b17af9c7bca80967636ee libyang-2.0.112.tar.gz
+sha256 0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb LICENSE
diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
index f784367ea3..7de9531bff 100644
--- a/package/libyang/libyang.mk
+++ b/package/libyang/libyang.mk
@@ -4,15 +4,15 @@
#
################################################################################
-LIBYANG_VERSION = 1.0.240
+LIBYANG_VERSION = 2.0.112
LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION))
LIBYANG_LICENSE = BSD-3-Clause
LIBYANG_LICENSE_FILES = LICENSE
LIBYANG_INSTALL_STAGING = YES
LIBYANG_CPE_ID_VENDOR = cesnet
LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO
-LIBYANG_DEPENDENCIES = pcre
-HOST_LIBYANG_DEPENDENCIES = host-pcre
+LIBYANG_DEPENDENCIES = pcre2
+HOST_LIBYANG_DEPENDENCIES = host-pcre2
LIBYANG_CONF_OPTS = \
-DENABLE_VALGRIND_TESTS=OFF \
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 2/4] package/libnetconf2: bump version to 2.0.24
2021-11-25 12:55 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies Heiko Thiery
2021-11-25 12:55 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.112 Heiko Thiery
@ 2021-11-25 12:55 ` Heiko Thiery
2021-11-25 12:56 ` [Buildroot] [PATCH 3/4] package/sysrepo: bump version to 2.0.53 Heiko Thiery
2021-11-25 12:56 ` [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.0.35 Heiko Thiery
3 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2021-11-25 12:55 UTC (permalink / raw)
To: buildroot; +Cc: Heiko Thiery, Vadim Kochan, Jan Kundrát
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
...IX-netopeer2-build-fails-when-buildi.patch | 34 +++++++++++++++++++
package/libnetconf2/libnetconf2.hash | 2 +-
package/libnetconf2/libnetconf2.mk | 2 +-
3 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch
diff --git a/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch b/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch
new file mode 100644
index 0000000000..c03fdc9999
--- /dev/null
+++ b/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch
@@ -0,0 +1,34 @@
+From e06f291cc36c9e9a3c9c224e23109ac6dad4eb1c Mon Sep 17 00:00:00 2001
+From: Heiko Thiery <heiko.thiery@gmail.com>
+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 <heiko.thiery@gmail.com>
+---
+ 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
+
diff --git a/package/libnetconf2/libnetconf2.hash b/package/libnetconf2/libnetconf2.hash
index 24cc3a5557..2dee93cc4c 100644
--- a/package/libnetconf2/libnetconf2.hash
+++ b/package/libnetconf2/libnetconf2.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 66139fc9e68aa89c82235f4135dba9e44f5db663541279c14c74131e22b7f571 libnetconf2-1.1.43.tar.gz
+sha256 78ffa0bd85823abd321a1dbb09c1ead36612f2a12049638a14bb081567f86ade libnetconf2-2.0.24.tar.gz
sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE
diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk
index 40fa935bb1..33e1fadf76 100644
--- a/package/libnetconf2/libnetconf2.mk
+++ b/package/libnetconf2/libnetconf2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNETCONF2_VERSION = 1.1.43
+LIBNETCONF2_VERSION = 2.0.24
LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
LIBNETCONF2_INSTALL_STAGING = YES
LIBNETCONF2_LICENSE = BSD-3-Clause
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Buildroot] [PATCH 3/4] package/sysrepo: bump version to 2.0.53
2021-11-25 12:55 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies Heiko Thiery
2021-11-25 12:55 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.112 Heiko Thiery
2021-11-25 12:55 ` [Buildroot] [PATCH 2/4] package/libnetconf2: bump version to 2.0.24 Heiko Thiery
@ 2021-11-25 12:56 ` Heiko Thiery
2021-11-25 12:56 ` [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.0.35 Heiko Thiery
3 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2021-11-25 12:56 UTC (permalink / raw)
To: buildroot; +Cc: Heiko Thiery, Vadim Kochan, Jan Kundrát
The license changed from Apache-2.0 to BSD-3-Clause
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
...uild-with-musl-libc-fails-due-to-unk.patch | 42 +++++++++++++++++++
package/sysrepo/Config.in | 3 +-
package/sysrepo/sysrepo.hash | 4 +-
package/sysrepo/sysrepo.mk | 8 ++--
4 files changed, 49 insertions(+), 8 deletions(-)
create mode 100644 package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
diff --git a/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch b/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
new file mode 100644
index 0000000000..784cfb1445
--- /dev/null
+++ b/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
@@ -0,0 +1,42 @@
+From 896dc6aee38898fe1c6822ee6a4a4989d21c650b Mon Sep 17 00:00:00 2001
+From: Heiko Thiery <heiko.thiery@gmail.com>
+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 <heiko.thiery@gmail.com>
+---
+ 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
+
diff --git a/package/sysrepo/Config.in b/package/sysrepo/Config.in
index 8de141efc2..52df1bc4c3 100644
--- a/package/sysrepo/Config.in
+++ b/package/sysrepo/Config.in
@@ -6,8 +6,7 @@ config BR2_PACKAGE_SYSREPO
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
select BR2_PACKAGE_LIBYANG
- select BR2_PACKAGE_PCRE
- select BR2_PACKAGE_PCRE_UCP
+ select BR2_PACKAGE_PCRE2
help
Sysrepo is an YANG-based configuration and operational state
data store for Unix/Linux applications.
diff --git a/package/sysrepo/sysrepo.hash b/package/sysrepo/sysrepo.hash
index 693a2bbf7d..b382c16036 100644
--- a/package/sysrepo/sysrepo.hash
+++ b/package/sysrepo/sysrepo.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 2cc7537a03f48dc3c955436e1e0ed077bc3b31a755d6979d24ca42e1187fce01 sysrepo-1.4.122.tar.gz
-sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE
+sha256 fe09da5f40fb53e3fb97268a134cc0ed3003f0018d0d117c73e81e1553a11f30 sysrepo-2.0.53.tar.gz
+sha256 88f1b7e5c64d2c113e07105aa9c0fb80639b40287565be1c2afd0949df83d826 LICENSE
diff --git a/package/sysrepo/sysrepo.mk b/package/sysrepo/sysrepo.mk
index c0db05e52c..acb3052023 100644
--- a/package/sysrepo/sysrepo.mk
+++ b/package/sysrepo/sysrepo.mk
@@ -4,13 +4,13 @@
#
################################################################################
-SYSREPO_VERSION = 1.4.122
+SYSREPO_VERSION = 2.0.53
SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
SYSREPO_INSTALL_STAGING = YES
-SYSREPO_LICENSE = Apache-2.0
+SYSREPO_LICENSE = BSD-3-Clause
SYSREPO_LICENSE_FILES = LICENSE
-SYSREPO_DEPENDENCIES = libyang pcre host-sysrepo
-HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre
+SYSREPO_DEPENDENCIES = libyang pcre2 host-sysrepo
+HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre2
SYSREPO_CONF_OPTS = \
-DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_SYSREPO_EXAMPLES),ON,OFF) \
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.0.35
2021-11-25 12:55 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies Heiko Thiery
` (2 preceding siblings ...)
2021-11-25 12:56 ` [Buildroot] [PATCH 3/4] package/sysrepo: bump version to 2.0.53 Heiko Thiery
@ 2021-11-25 12:56 ` Heiko Thiery
3 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2021-11-25 12:56 UTC (permalink / raw)
To: buildroot; +Cc: Heiko Thiery, Vadim Kochan, Jan Kundrát
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
package/netopeer2/netopeer2.hash | 2 +-
package/netopeer2/netopeer2.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/netopeer2/netopeer2.hash b/package/netopeer2/netopeer2.hash
index 4386e5661c..2895bc51d0 100644
--- a/package/netopeer2/netopeer2.hash
+++ b/package/netopeer2/netopeer2.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 7fc1a3520ee4bb488112f502e34cea465464dc933d2a5742a72eb32a6dfe3b3f netopeer2-1.1.70.tar.gz
+sha256 dedae40419cfddd09c1be7bb536b3a762ec8dcd568c2bfe803c0f6789a5ca834 netopeer2-2.0.35.tar.gz
sha256 b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b LICENSE
diff --git a/package/netopeer2/netopeer2.mk b/package/netopeer2/netopeer2.mk
index c9fa097606..c8b6763313 100644
--- a/package/netopeer2/netopeer2.mk
+++ b/package/netopeer2/netopeer2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-NETOPEER2_VERSION = 1.1.70
+NETOPEER2_VERSION = 2.0.35
NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION))
NETOPEER2_DL_SUBDIR = netopeer2
NETOPEER2_LICENSE = BSD-3-Clause
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread