6 Commits

Author SHA1 Message Date
Adolf Belka
09b48ccee8 libyang: Update to version 2.1.148
- Update from version 2.1.4 to 2.1.148
- Update of rootfile
- Minimum version of 2.1.128 will be required in a future frr release and currently needs
   to be a minimum of 2.1.80 but not 2.1.111
- Changelog
    2.1.148
	Main changes of this release are:
	    lots of bugfixes and improvements in various parts of the library
    2.1.128
	Main changes of this release are:
	    revert of identityref canonical value change
	        the identity always printed with the module name as the prefix
	    data tree and hash table optimizations
	    opaque node handling fixes and improvements
	    lots of other bug fixes
    2.1.111
	Main changes of this release are:
	    opaque node parsing improved
	    native RESTCONF operation parsing support
	    union value error reporting improved
	    new yanglint and yangre tests
	    optional support for leafref with XPath functions
	    lots of other fixes and improvements
    2.1.80
	Main changes of this release are:
	    RESTCONF message parsing
	    JSON parser refactor
	    timezone DST handling
	    public hash table API
	    stored union value bugfix
	    many other clarifications, improvements, and bugfixes
    2.1.55
	Main changes of this release are:
	    type compilation fixes
	    multi-error validation support
	    JSON parser fixes
	    portability improvements
	    schema-mount support improvements
	    minor optimizations
	    other minor fixes
    2.1.30
	Main changes of this release are:
	    many JSON printer/parser fixes and improvements
	    unintentionally large library size reduced
	    thread safety improvements
	    big-endian compatibility fix
	    uncrustify updated
	    lots of other fixes and improvements

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Adolf Belka
e10a8583ae libyang: Update to version 2.1.4
- 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>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-26 08:40:51 +00:00
Adolf Belka
a173ac37ef libyang: Update to version 2.0.194
- Update from version 2.0.7 to 2.0.194
- Update of rootfile
- Changelog
   Version 2.0.194 Latest
	    major yanglint improvements
	    minor XPath fixes
	    nested extension handling fixes
	    other minor bugfixes
	    RPM scripts updated
   Version 2.0.164
	    Windows support (thanks to @jktjkt)
	    Schema Mount support
	    schema compilation fixes
	    minor schema printer fixes
	    user-ordered list diff bugfix
	    JSON anyxml/anydata format fixed
	    XML parser CDATA support
	    module caching improvements
	    doc improvements
	    many other various bugfixes
   Version 2.0.112
	    support for XPath variables
	    minor doxygen improvements
	    LYB format bugfixes
	    many other bugfixes
   Version 2.0.97
	    LYB format data length limit of 64kB lifted
	    YANG error-app-tag and error-message improved support
	    XPath * evaluation fix
	    other minor XPath fixes
   Version 2.0.88
	    changed compilation to pedantic and use C11 standard
	    major JSON parser fixes
	    LYB format updated and performance improved
	    LYB big-endian fixes
	    opaque node fixes
	    major identity handling fixes
	    schema compilation refactorization and fixes
	    data validation fixes
	    NETCONF RPC filter attribute support
	    many other minor fixes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-05-30 19:34:08 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Adolf Belka
8c855a5892 libyang: New dependency for frr build
- Impementation of libyang-2.0.7 as a dependency for the build of frr
- Creation of rootfile with all entries commented out so that it is only used for the build
   libyang is a YANG data modelling language parser and toolkit written (and providing API)
   in C.In the future if there is demand to use these functions in frr then this package
   may need to be moved from a build only option to a dependency for frr providing the
   yang libraries.
- Added into make.sh just before frr

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-17 09:01:16 +00:00