libyang: Update to version 2.1.4

Message ID 20221209214825.3317182-1-adolf.belka@ipfire.org
State Accepted
Commit e10a8583ae069c075429634188fdc619a3cf1758
Headers
Series libyang: Update to version 2.1.4 |

Commit Message

Adolf Belka Dec. 9, 2022, 9:48 p.m. UTC
  - Update from version 2.0.194 to 2.1.4
- Update of rootfile
- Changelog
    Version 2.1.4 Latest
	Main changes of this release are:
	    large extensions refactoring
	        increased ext plugin API version
	        new callbacks and capabilities of plugins
	        changes in the parsed and compiled ext instance structures
	    native support for structure extension
	    error path logging improvements
	    fixed unions with leafrefs
	    yanglint schema mount support
	    huge number of other fixes and improvements
    Version 2.0.231
	Main changes of this release are:
	    XPath axes support
	    schema-mount fixes
	    many other fixes in various parts of the library

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libyang | 16 +++++++++++++---
 lfs/libyang                     |  6 +++---
 2 files changed, 16 insertions(+), 6 deletions(-)
  

Comments

Peter Müller Dec. 26, 2022, 8:39 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 2.0.194 to 2.1.4
> - Update of rootfile
> - Changelog
>     Version 2.1.4 Latest
> 	Main changes of this release are:
> 	    large extensions refactoring
> 	        increased ext plugin API version
> 	        new callbacks and capabilities of plugins
> 	        changes in the parsed and compiled ext instance structures
> 	    native support for structure extension
> 	    error path logging improvements
> 	    fixed unions with leafrefs
> 	    yanglint schema mount support
> 	    huge number of other fixes and improvements
>     Version 2.0.231
> 	Main changes of this release are:
> 	    XPath axes support
> 	    schema-mount fixes
> 	    many other fixes in various parts of the library
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/common/libyang | 16 +++++++++++++---
>  lfs/libyang                     |  6 +++---
>  2 files changed, 16 insertions(+), 6 deletions(-)
> 
> diff --git a/config/rootfiles/common/libyang b/config/rootfiles/common/libyang
> index 898160158..b0dd54cda 100644
> --- a/config/rootfiles/common/libyang
> +++ b/config/rootfiles/common/libyang
> @@ -7,13 +7,12 @@
>  #usr/include/libyang/in.h
>  #usr/include/libyang/libyang.h
>  #usr/include/libyang/log.h
> +#usr/include/libyang/metadata.h
>  #usr/include/libyang/out.h
>  #usr/include/libyang/parser_data.h
>  #usr/include/libyang/parser_schema.h
>  #usr/include/libyang/plugins.h
>  #usr/include/libyang/plugins_exts.h
> -#usr/include/libyang/plugins_exts_compile.h
> -#usr/include/libyang/plugins_exts_print.h
>  #usr/include/libyang/plugins_types.h
>  #usr/include/libyang/printer_data.h
>  #usr/include/libyang/printer_schema.h
> @@ -25,7 +24,18 @@
>  #usr/include/libyang/version.h
>  #usr/lib/libyang.so
>  usr/lib/libyang.so.2
> -usr/lib/libyang.so.2.20.15
> +usr/lib/libyang.so.2.25.4
>  #usr/lib/pkgconfig/libyang.pc
>  #usr/share/man/man1/yanglint.1
>  #usr/share/man/man1/yangre.1
> +#usr/share/yang
> +#usr/share/yang/modules
> +#usr/share/yang/modules/libyang
> +#usr/share/yang/modules/libyang/ietf-datastores@2018-02-14.yang
> +#usr/share/yang/modules/libyang/ietf-inet-types@2013-07-15.yang
> +#usr/share/yang/modules/libyang/ietf-yang-library@2019-01-04.yang
> +#usr/share/yang/modules/libyang/ietf-yang-metadata@2016-08-05.yang
> +#usr/share/yang/modules/libyang/ietf-yang-schema-mount@2019-01-14.yang
> +#usr/share/yang/modules/libyang/ietf-yang-structure-ext@2020-06-17.yang
> +#usr/share/yang/modules/libyang/ietf-yang-types@2013-07-15.yang
> +#usr/share/yang/modules/libyang/yang@2022-06-16.yang
> diff --git a/lfs/libyang b/lfs/libyang
> index f97cd0742..ae807fa8a 100644
> --- a/lfs/libyang
> +++ b/lfs/libyang
> @@ -1,7 +1,7 @@
>  ###############################################################################
>  #                                                                             #
>  # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
> +# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
>  #                                                                             #
>  # This program is free software: you can redistribute it and/or modify        #
>  # it under the terms of the GNU General Public License as published by        #
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.0.194
> +VER        = 2.1.4
>  
>  THISAPP    = libyang-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = aa323b39752ac426f35e1ef17ca4a61d726c48916b740511ed03b06b8132747207dd4620842f9730ff1d05f216086310bc1634f393163067c119f5eec0aa91b1
> +$(DL_FILE)_BLAKE2 = 0322d5c9003b4ae49a91da981c3c7063ebc783c1ddc964b9ec89a1f75f512fadda1664a8e2add63a81ed694bd10dda1fcdc70f7a31cc947b2835d210e8e454f5
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/common/libyang b/config/rootfiles/common/libyang
index 898160158..b0dd54cda 100644
--- a/config/rootfiles/common/libyang
+++ b/config/rootfiles/common/libyang
@@ -7,13 +7,12 @@ 
 #usr/include/libyang/in.h
 #usr/include/libyang/libyang.h
 #usr/include/libyang/log.h
+#usr/include/libyang/metadata.h
 #usr/include/libyang/out.h
 #usr/include/libyang/parser_data.h
 #usr/include/libyang/parser_schema.h
 #usr/include/libyang/plugins.h
 #usr/include/libyang/plugins_exts.h
-#usr/include/libyang/plugins_exts_compile.h
-#usr/include/libyang/plugins_exts_print.h
 #usr/include/libyang/plugins_types.h
 #usr/include/libyang/printer_data.h
 #usr/include/libyang/printer_schema.h
@@ -25,7 +24,18 @@ 
 #usr/include/libyang/version.h
 #usr/lib/libyang.so
 usr/lib/libyang.so.2
-usr/lib/libyang.so.2.20.15
+usr/lib/libyang.so.2.25.4
 #usr/lib/pkgconfig/libyang.pc
 #usr/share/man/man1/yanglint.1
 #usr/share/man/man1/yangre.1
+#usr/share/yang
+#usr/share/yang/modules
+#usr/share/yang/modules/libyang
+#usr/share/yang/modules/libyang/ietf-datastores@2018-02-14.yang
+#usr/share/yang/modules/libyang/ietf-inet-types@2013-07-15.yang
+#usr/share/yang/modules/libyang/ietf-yang-library@2019-01-04.yang
+#usr/share/yang/modules/libyang/ietf-yang-metadata@2016-08-05.yang
+#usr/share/yang/modules/libyang/ietf-yang-schema-mount@2019-01-14.yang
+#usr/share/yang/modules/libyang/ietf-yang-structure-ext@2020-06-17.yang
+#usr/share/yang/modules/libyang/ietf-yang-types@2013-07-15.yang
+#usr/share/yang/modules/libyang/yang@2022-06-16.yang
diff --git a/lfs/libyang b/lfs/libyang
index f97cd0742..ae807fa8a 100644
--- a/lfs/libyang
+++ b/lfs/libyang
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.0.194
+VER        = 2.1.4
 
 THISAPP    = libyang-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = aa323b39752ac426f35e1ef17ca4a61d726c48916b740511ed03b06b8132747207dd4620842f9730ff1d05f216086310bc1634f393163067c119f5eec0aa91b1
+$(DL_FILE)_BLAKE2 = 0322d5c9003b4ae49a91da981c3c7063ebc783c1ddc964b9ec89a1f75f512fadda1664a8e2add63a81ed694bd10dda1fcdc70f7a31cc947b2835d210e8e454f5
 
 install : $(TARGET)