All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version
@ 2022-05-13  7:10 Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.164 Heiko Thiery
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-05-13  7:10 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát

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

-- 
2.20.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.164
  2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
@ 2022-05-13  7:10 ` Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 2/4] package/sysrepo: bump version to 2.1.42 Heiko Thiery
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-05-13  7:10 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 package/libyang/libyang.hash | 2 +-
 package/libyang/libyang.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash
index c129896a63..df794cc9f1 100644
--- a/package/libyang/libyang.hash
+++ b/package/libyang/libyang.hash
@@ -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
diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
index a097b3ee95..e2dc810fe0 100644
--- a/package/libyang/libyang.mk
+++ b/package/libyang/libyang.mk
@@ -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
-- 
2.20.1

_______________________________________________
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/sysrepo: bump version to 2.1.42
  2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.164 Heiko Thiery
@ 2022-05-13  7:10 ` Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 3/4] package/libnetconf2: bump version to 2.1.7 Heiko Thiery
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-05-13  7:10 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát

Drop patch that is now fixed upstream. Add a dependency to sytemd if
enabled so cmake can find libsystemd and install the systemd service file.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 ...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

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
deleted file mode 100644
index 784cfb1445..0000000000
--- a/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-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/sysrepo.hash b/package/sysrepo/sysrepo.hash
index b382c16036..7232711b46 100644
--- a/package/sysrepo/sysrepo.hash
+++ b/package/sysrepo/sysrepo.hash
@@ -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
diff --git a/package/sysrepo/sysrepo.mk b/package/sysrepo/sysrepo.mk
index acb3052023..c999bd0ea7 100644
--- a/package/sysrepo/sysrepo.mk
+++ b/package/sysrepo/sysrepo.mk
@@ -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 \
-- 
2.20.1

_______________________________________________
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/libnetconf2: bump version to 2.1.7
  2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.164 Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 2/4] package/sysrepo: bump version to 2.1.42 Heiko Thiery
@ 2022-05-13  7:10 ` Heiko Thiery
  2022-05-13  7:10 ` [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.1.16 Heiko Thiery
  2022-05-13 16:54 ` [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Yann E. MORIN
  4 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-05-13  7:10 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát

Drop patch that is now fixed upstream.

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, 2 insertions(+), 36 deletions(-)
 delete 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
deleted file mode 100644
index c03fdc9999..0000000000
--- a/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-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 2dee93cc4c..1d4707f44b 100644
--- a/package/libnetconf2/libnetconf2.hash
+++ b/package/libnetconf2/libnetconf2.hash
@@ -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
diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk
index ddbb99b7ed..11a1995ea1 100644
--- a/package/libnetconf2/libnetconf2.mk
+++ b/package/libnetconf2/libnetconf2.mk
@@ -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
-- 
2.20.1

_______________________________________________
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.1.16
  2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
                   ` (2 preceding siblings ...)
  2022-05-13  7:10 ` [Buildroot] [PATCH 3/4] package/libnetconf2: bump version to 2.1.7 Heiko Thiery
@ 2022-05-13  7:10 ` Heiko Thiery
  2022-05-13 16:54 ` [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Yann E. MORIN
  4 siblings, 0 replies; 6+ messages in thread
From: Heiko Thiery @ 2022-05-13  7:10 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát

Add a dependency to sytemd if enabled so cmake can find libsystemd
and install the systemd service file.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 package/netopeer2/netopeer2.hash | 2 +-
 package/netopeer2/netopeer2.mk   | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/package/netopeer2/netopeer2.hash b/package/netopeer2/netopeer2.hash
index 2895bc51d0..0145a9cc78 100644
--- a/package/netopeer2/netopeer2.hash
+++ b/package/netopeer2/netopeer2.hash
@@ -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
diff --git a/package/netopeer2/netopeer2.mk b/package/netopeer2/netopeer2.mk
index 43f22b7e4c..fe6e0caf55 100644
--- a/package/netopeer2/netopeer2.mk
+++ b/package/netopeer2/netopeer2.mk
@@ -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
-- 
2.20.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version
  2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
                   ` (3 preceding siblings ...)
  2022-05-13  7:10 ` [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.1.16 Heiko Thiery
@ 2022-05-13 16:54 ` Yann E. MORIN
  4 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2022-05-13 16:54 UTC (permalink / raw)
  To: Heiko Thiery; +Cc: Jan Kundrát, buildroot

Heiko, All,

On 2022-05-13 09:10 +0200, Heiko Thiery spake thusly:
> 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.

> 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
> 
> -- 
> 2.20.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-13 16:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13  7:10 [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Heiko Thiery
2022-05-13  7:10 ` [Buildroot] [PATCH 1/4] package/libyang: bump verstion to 2.0.164 Heiko Thiery
2022-05-13  7:10 ` [Buildroot] [PATCH 2/4] package/sysrepo: bump version to 2.1.42 Heiko Thiery
2022-05-13  7:10 ` [Buildroot] [PATCH 3/4] package/libnetconf2: bump version to 2.1.7 Heiko Thiery
2022-05-13  7:10 ` [Buildroot] [PATCH 4/4] package/netopeer2: bump version to 2.1.16 Heiko Thiery
2022-05-13 16:54 ` [Buildroot] [PATCH 0/4] Bump netopeer2 and dependencies to actual upstream version Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.