* [Buildroot] [PATCH 0/3] bump sysrepo and dependencies
@ 2020-04-14 8:17 Heiko Thiery
2020-04-14 8:17 ` [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 Heiko Thiery
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Heiko Thiery @ 2020-04-14 8:17 UTC (permalink / raw)
To: buildroot
This patchset updates the following packages:
- sysrepo to 1.4.2
- libyang to 1.0.130
- libnetconf2 to 1.4.2
These packages has to be updated together due to the dependencies.
Heiko Thiery (3):
package/libnetconf2: bump to version 1.1.7
package/libyang: bump to version 1.0.130
package/sysrepo: bump to version 1.4.2
package/libnetconf2/libnetconf2.hash | 5 +-
package/libnetconf2/libnetconf2.mk | 2 +-
package/libyang/libyang.hash | 5 +-
package/libyang/libyang.mk | 2 +-
...CHANGE-create-plugins-dir-if-it-does.patch | 41 ------------
...BUGFIX-create-plugins-dir-recursivel.patch | 65 -------------------
package/sysrepo/sysrepo.hash | 5 +-
package/sysrepo/sysrepo.mk | 2 +-
8 files changed, 12 insertions(+), 115 deletions(-)
delete mode 100644 package/sysrepo/0001-sysrepo-plugind-CHANGE-create-plugins-dir-if-it-does.patch
delete mode 100644 package/sysrepo/0002-sysrpeo-plugind-BUGFIX-create-plugins-dir-recursivel.patch
--
2.20.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 2020-04-14 8:17 [Buildroot] [PATCH 0/3] bump sysrepo and dependencies Heiko Thiery @ 2020-04-14 8:17 ` Heiko Thiery 2020-04-15 21:09 ` Thomas Petazzoni 2020-04-14 8:17 ` [Buildroot] [PATCH 2/3] package/libyang: bump to version 1.0.130 Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 3/3] package/sysrepo: bump to version 1.4.2 Heiko Thiery 2 siblings, 1 reply; 5+ messages in thread From: Heiko Thiery @ 2020-04-14 8:17 UTC (permalink / raw) To: buildroot - Align hashes to the new spacing convention Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> --- package/libnetconf2/libnetconf2.hash | 5 +++-- package/libnetconf2/libnetconf2.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/libnetconf2/libnetconf2.hash b/package/libnetconf2/libnetconf2.hash index 5cd9b99062..a73cb0ce91 100644 --- a/package/libnetconf2/libnetconf2.hash +++ b/package/libnetconf2/libnetconf2.hash @@ -1,2 +1,3 @@ -sha256 38e780cdd0135e9c7fe44b5190a1acc8c33cb28aa395c329893b019a57b1f783 libnetconf2-1.1.3.tar.gz -sha256 085122ea91161812dda9cd2f42d8c50ecc3a48cc1a4f15044d86cfc5aa887577 LICENSE +# Locally calculated +sha256 35a1048754d6440674a193e4807b7cab5d03613b384436b67ef976ab3b1a2d01 libnetconf2-1.1.7.tar.gz +sha256 085122ea91161812dda9cd2f42d8c50ecc3a48cc1a4f15044d86cfc5aa887577 LICENSE diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk index bd25c69e0e..724e4993bb 100644 --- a/package/libnetconf2/libnetconf2.mk +++ b/package/libnetconf2/libnetconf2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNETCONF2_VERSION = 1.1.3 +LIBNETCONF2_VERSION = 1.1.7 LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION)) LIBNETCONF2_INSTALL_STAGING = YES LIBNETCONF2_LICENSE = BSD-3-Clause -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 2020-04-14 8:17 ` [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 Heiko Thiery @ 2020-04-15 21:09 ` Thomas Petazzoni 0 siblings, 0 replies; 5+ messages in thread From: Thomas Petazzoni @ 2020-04-15 21:09 UTC (permalink / raw) To: buildroot On Tue, 14 Apr 2020 10:17:15 +0200 Heiko Thiery <heiko.thiery@gmail.com> wrote: > - Align hashes to the new spacing convention > > Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> > --- > package/libnetconf2/libnetconf2.hash | 5 +++-- > package/libnetconf2/libnetconf2.mk | 2 +- > 2 files changed, 4 insertions(+), 3 deletions(-) Series applied, thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/3] package/libyang: bump to version 1.0.130 2020-04-14 8:17 [Buildroot] [PATCH 0/3] bump sysrepo and dependencies Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 Heiko Thiery @ 2020-04-14 8:17 ` Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 3/3] package/sysrepo: bump to version 1.4.2 Heiko Thiery 2 siblings, 0 replies; 5+ messages in thread From: Heiko Thiery @ 2020-04-14 8:17 UTC (permalink / raw) To: buildroot - Align hashes to the new spacing convention Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> --- package/libyang/libyang.hash | 5 +++-- package/libyang/libyang.mk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash index c5426042bb..9e1f60492e 100644 --- a/package/libyang/libyang.hash +++ b/package/libyang/libyang.hash @@ -1,2 +1,3 @@ -sha256 1686a381a8cce775102e60c8eb93f7ba64c6d4ae10591fc05d9f969a07815f60 libyang-1.0.109.tar.gz -sha256 f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112 LICENSE +# Locally calculated +sha256 c9703079f10fbf7154882562322b4b01764bc7735345da555ca51201b02e536c libyang-1.0.130.tar.gz +sha256 f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112 LICENSE diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk index 648ffeb6a3..4e47c9f5fc 100644 --- a/package/libyang/libyang.mk +++ b/package/libyang/libyang.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBYANG_VERSION = 1.0.109 +LIBYANG_VERSION = 1.0.130 LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION)) LIBYANG_LICENSE = BSD-3-Clause LIBYANG_LICENSE_FILES = LICENSE -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 3/3] package/sysrepo: bump to version 1.4.2 2020-04-14 8:17 [Buildroot] [PATCH 0/3] bump sysrepo and dependencies Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 2/3] package/libyang: bump to version 1.0.130 Heiko Thiery @ 2020-04-14 8:17 ` Heiko Thiery 2 siblings, 0 replies; 5+ messages in thread From: Heiko Thiery @ 2020-04-14 8:17 UTC (permalink / raw) To: buildroot - Align hashes to the new spacing convention - Drop patches upstreamed applied Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> --- ...CHANGE-create-plugins-dir-if-it-does.patch | 41 ------------ ...BUGFIX-create-plugins-dir-recursivel.patch | 65 ------------------- package/sysrepo/sysrepo.hash | 5 +- package/sysrepo/sysrepo.mk | 2 +- 4 files changed, 4 insertions(+), 109 deletions(-) delete mode 100644 package/sysrepo/0001-sysrepo-plugind-CHANGE-create-plugins-dir-if-it-does.patch delete mode 100644 package/sysrepo/0002-sysrpeo-plugind-BUGFIX-create-plugins-dir-recursivel.patch diff --git a/package/sysrepo/0001-sysrepo-plugind-CHANGE-create-plugins-dir-if-it-does.patch b/package/sysrepo/0001-sysrepo-plugind-CHANGE-create-plugins-dir-if-it-does.patch deleted file mode 100644 index 31d27f508d..0000000000 --- a/package/sysrepo/0001-sysrepo-plugind-CHANGE-create-plugins-dir-if-it-does.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 28c27e2001b709a9cae1db0aba2185ec86ba0454 Mon Sep 17 00:00:00 2001 -From: Michal Vasko <mvasko@cesnet.cz> -Date: Thu, 19 Dec 2019 14:01:00 +0100 -Subject: [PATCH 1/9] sysrepo-plugind CHANGE create plugins dir if it does not - exist - -Fixes #1719 - -[Patch from https://github.com/sysrepo/sysrepo/commit/28c27e2001b709a9cae1db0aba2185ec86ba0454] - -Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com> ---- - src/executables/sysrepo-plugind.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/executables/sysrepo-plugind.c b/src/executables/sysrepo-plugind.c -index 6b11bad6..ddb41c26 100644 ---- a/src/executables/sysrepo-plugind.c -+++ b/src/executables/sysrepo-plugind.c -@@ -225,6 +225,18 @@ load_plugins(struct srpd_plugin_s **plugins, int *plugin_count) - plugins_dir = SRPD_PLUGINS_PATH; - } - -+ /* create the directory if it does not exist */ -+ if (access(plugins_dir, F_OK) == -1) { -+ if (errno != ENOENT) { -+ error_print(0, "Checking plugins dir existence failed (%s).", strerror(errno)); -+ return -1; -+ } -+ if (mkdir(plugins_dir, 00777) == -1) { -+ error_print(0, "Creating plugins dir \"%s\" failed (%s).", plugins_dir, strerror(errno)); -+ return -1; -+ } -+ } -+ - dir = opendir(plugins_dir); - if (!dir) { - error_print(0, "Opening \"%s\" directory failed (%s).", plugins_dir, strerror(errno)); --- -2.20.1 - diff --git a/package/sysrepo/0002-sysrpeo-plugind-BUGFIX-create-plugins-dir-recursivel.patch b/package/sysrepo/0002-sysrpeo-plugind-BUGFIX-create-plugins-dir-recursivel.patch deleted file mode 100644 index 9b9734f22c..0000000000 --- a/package/sysrepo/0002-sysrpeo-plugind-BUGFIX-create-plugins-dir-recursivel.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 353faffe13852c4204f158b5d4301405bd222c44 Mon Sep 17 00:00:00 2001 -From: Michal Vasko <mvasko@cesnet.cz> -Date: Fri, 20 Dec 2019 13:40:35 +0100 -Subject: [PATCH 9/9] sysrpeo-plugind BUGFIX create plugins dir recursively - -Refs #1719 - -[Patch from https://github.com/sysrepo/sysrepo/commit/353faffe13852c4204f158b5d4301405bd222c44] - -Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com> ---- - src/executables/sysrepo-plugind.c | 30 +++++++++++++++++++++++++++++- - 1 file changed, 29 insertions(+), 1 deletion(-) - -diff --git a/src/executables/sysrepo-plugind.c b/src/executables/sysrepo-plugind.c -index ddb41c26..ca22140e 100644 ---- a/src/executables/sysrepo-plugind.c -+++ b/src/executables/sysrepo-plugind.c -@@ -206,6 +206,34 @@ daemon_init(int debug, sr_log_level_t log_level) - sr_log_syslog("sysrepo-plugind", log_level); - } - -+/* from src/common.c */ -+int -+sr_mkpath(const char *path, mode_t mode) -+{ -+ char *p, *dup; -+ -+ dup = strdup(path); -+ for (p = strchr(dup + 1, '/'); p; p = strchr(p + 1, '/')) { -+ *p = '\0'; -+ if (mkdir(dup, mode) == -1) { -+ if (errno != EEXIST) { -+ *p = '/'; -+ return -1; -+ } -+ } -+ *p = '/'; -+ } -+ free(dup); -+ -+ if (mkdir(path, mode) == -1) { -+ if (errno != EEXIST) { -+ return -1; -+ } -+ } -+ -+ return 0; -+} -+ - static int - load_plugins(struct srpd_plugin_s **plugins, int *plugin_count) - { -@@ -231,7 +259,7 @@ load_plugins(struct srpd_plugin_s **plugins, int *plugin_count) - error_print(0, "Checking plugins dir existence failed (%s).", strerror(errno)); - return -1; - } -- if (mkdir(plugins_dir, 00777) == -1) { -+ if (sr_mkpath(plugins_dir, 00777) == -1) { - error_print(0, "Creating plugins dir \"%s\" failed (%s).", plugins_dir, strerror(errno)); - return -1; - } --- -2.20.1 - diff --git a/package/sysrepo/sysrepo.hash b/package/sysrepo/sysrepo.hash index ff2e1166b2..a759821614 100644 --- a/package/sysrepo/sysrepo.hash +++ b/package/sysrepo/sysrepo.hash @@ -1,2 +1,3 @@ -sha256 be405a33b1713d1114f3c092a6349b25a2de2a0f43a15dc6984c029f70230b3b sysrepo-1.3.21.tar.gz -sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE +# Locally calculated +sha256 d84d4f092feab83b0a39fef5d0d62bc6ed1f0f8aa274329f2cbf0a95a6528d8a sysrepo-1.4.2.tar.gz +sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/package/sysrepo/sysrepo.mk b/package/sysrepo/sysrepo.mk index 5f87ac38a3..0ca4d2591e 100644 --- a/package/sysrepo/sysrepo.mk +++ b/package/sysrepo/sysrepo.mk @@ -4,7 +4,7 @@ # ################################################################################ -SYSREPO_VERSION = 1.3.21 +SYSREPO_VERSION = 1.4.2 SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION)) SYSREPO_INSTALL_STAGING = YES SYSREPO_LICENSE = Apache-2.0 -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-04-15 21:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-04-14 8:17 [Buildroot] [PATCH 0/3] bump sysrepo and dependencies Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 1/3] package/libnetconf2: bump to version 1.1.7 Heiko Thiery 2020-04-15 21:09 ` Thomas Petazzoni 2020-04-14 8:17 ` [Buildroot] [PATCH 2/3] package/libyang: bump to version 1.0.130 Heiko Thiery 2020-04-14 8:17 ` [Buildroot] [PATCH 3/3] package/sysrepo: bump to version 1.4.2 Heiko Thiery
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox