Commit Graph

12011 Commits

Author SHA1 Message Date
Adolf Belka
da8ffd403d ncurses: Update to version 6.5
- Update from version 6.4 to 6.5
- Update of rootfile
- --with-pkg-config-libdir as the previous default has been changed to $(LIBDIR) and this
   does not work and resulted in procps not building as it could not find ncurses.
- Likely other packages after procps would have also failed.
- Explicitly specifying the pkgconfig directory location worked.
- Changelog
    6.5
	The changelog details are in the NEWS file in the source tarball. Version 6.5
	 is covered by lines 49 to 530

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
ff6a50b9e4 tshark: Update to version 4.2.6
- Update from version 4.2.5 to 4.2.6
- Update of rootfile
- Changelog
    4.2.6
	Bug Fixes
	   A regression in the TCP Stream Graph "Time Sequence (tcptrace)"
	    receive window line behavior introduced in 4.2.5 and 4.0.15 has been
	    fixed. Issue 19846[3]
	   The following vulnerability has been fixed:
	     • wnpa-sec-2024-10[4] SPRT dissector crash. Issue 19559[5].
	   The following bugs have been fixed:
	     • RADIUS dissector’s dictionary loading broken in many ways. Issue
	       6466[6].
	     • 3.4 → 3.6.5 ASCII display is broken on CentOS 7. Issue 18096[7].
	     • Funnel/Lua: Closing child window disconnects buttons of parent.
	       Issue 18386[8].
	     • Lua detection fails with Alpine Linux: missing: LUA_LIBRARIES.
	       Issue 19841[9].
	     • vnd.3gpp.5gnas payloads of type SMS not decoded inside HTTP2 5GC.
	       Issue 19845[10].
	     • TCP Stream Graphs green sliding window line not displayed
	       correctly. Issue 19846[11].
	     • Wireshark window doesn’t fully fit on screen on small resolutions
	       and can’t be resized properly on Russian language. Issue
	       19861[12].
	     • Wireshark started from command line doesn’t set
	       gui.fileopen_remembered_dir correctly on Windows. Issue
	       19891[13].
	     • Wireshark expects wrong length for DHCP Relay Agent Information
	       Source Port Suboption. Issue 19909[14].
	     • SIP P-Access-Network-Info header not correctly decoded. Issue
	       19917[15].
	Updated Protocol Support
	   DHCP, E.212, MySQL, NAS-5GS, PKT CCC, ProtoBuf, RADIUS, RLC-LTE, RTP,
	   SIP, SPRT, Thrift, and Wi-SUN
	New and Updated Capture File Support
	   log3gpp

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
7674c7533e c-ares: Update to version 1.32.1
- Update from version 1.17.1 to 1.32.1
- Update of rootfile
- There have been 22 version updates that are now being applied. 4 of these releases had
   security issues being addressed and there have been 5 CVE's and fixes
- Changelog
    1.32.1
	Bugfixes:
	    Channel lock needs to be recursive to ensure calls into c-ares functions can
	     be made from callbacks otherwise deadlocks will occur. This regression was
	     introduced in 1.32.0
    1.32.0
	Features:
	    Add support for DNS 0x20 to help prevent cache poisoning attacks, enabled by
	     specifying ARES_FLAG_DNS0x20. Disabled by default. PR #800
	    Rework query timeout logic to automatically adjust timeouts based on network
	     conditions. The timeout specified now is only used as a hint until there is
	     enough history to calculate a more valid timeout. PR #794
	Changes:
	    DNS RR TXT strings should not be automatically concatenated as there are use
	     cases outside of RFC 7208. In order to maintain ABI compliance, the ability
	     to retrieve TXT strings concatenated is retained as well as a new API to
	     retrieve the individual strings. This restores behavior from c-ares 1.20.0.
	     PR #801
	    Clean up header inclusion logic to make hacking on code easier. PR #797
	    GCC/Clang: Enable even more strict warnings to catch more coding flaws. 253bdee
	    MSVC: Enable /W4 warning level. PR #792
	Bugfixes:
	    Tests: Fix thread race condition in test cases for EventThread. PR #803
	    Windows: Fix building with UNICODE. PR #802
	    Thread Saftey: ares_timeout() was missing lock. 74a64e4
	    Fix building with DJGPP (32bit protected mode DOS). PR #789
    1.31.0
	Changes:
	    Enable Query Cache by default. PR #786
	Bugfixes:
	    Enhance Windows DNS configuration change detection to also detect manual DNS
	     configuration changes. PR #785
	    Various legacy MacOS Build fixes. Issue #782
	    Ndots value of zero in resolv.conf was not being honored. 852a60a
	    Watt-32 build support had been broken for some time. PR #781
	    Distribute ares_dns_rec_type_tostr manpage. PR #778
    1.30.0
	Features:
	    Basic support for SIG RR record (RFC 2931 / RFC 2535) PR #773
	Changes:
	    Validation that DNS strings can only consist of printable ascii characters
	     otherwise will trigger a parse failure. 75de16c and 40fb125
	    Windows: use GetTickCount64() for a monotonic timer that does not wrap. 1dff8f6
	Bugfixes:
	    QueryCache: Fix issue where purging on server changes wasn’t working. a6c8fe6
	    Windows: Fix Y2K38 issue by creating our own ares_timeval_t datatype. PR #772
	    Fix packaging issue affecting MacOS due to a missing header. 55afad6
	    MacOS: Fix UBSAN warnings that are likely meaningless due to alignment issues
	     in new MacOS config reader.
	    Android: arm 32bit build failure due to missing symbol. d1722e6
    1.29.0
	Features:
	    When using ARES_OPT_EVENT_THREAD, automatically reload system configuration
	     when network conditions change. PR #759
	    Apple: reimplement DNS configuration reading to more accurately pull DNS
	     settings. PR #750
	    Add observability into DNS server health via a server state callback, invoked
	     whenever a query finishes. PR #744
	    Add server failover retry behavior, where failed servers are retried with
	     small probability after a minimum delay. PR #731
	Changes:
	    Mark ares_channel_t * as const in more places in the public API. PR #758
	Bugfixes:
	    Due to a logic flaw dns name compression writing was not properly implemented
	     which would result in the name prefix not being written for a partial match.
	     This could cause issues in various record types such as MX records when
	     using the deprecated API. Regression introduced in 1.28.0. Issue #757
	    Revert OpenBSD SOCK_DNS flag, it doesn’t do what the docs say it does and
	     causes c-ares to become non-functional. PR #754
	    ares_getnameinfo(): loosen validation on salen parameter. Issue #752
	    cmake: Android requires C99. PR #748
	    ares_queue_wait_empty() does not honor timeout_ms >= 0. Issue #742
    1.28.1
	This release contains a fix for a single significant regression introduced in
	 c-ares 1.28.0.
	    ares_search() and ares_getaddrinfo() resolution fails if no search domains
	     are specified. Issue #737
    1.28.0
	Features:
	    Emit warnings when deprecated c-ares functions are used. This can be disabled
	     by passing a compiler definition of CARES_NO_DEPRECATED. PR #732
	    Add function ares_search_dnsrec() to search for records using the new DNS
	     record data structures. PR #719
	    Rework internals to pass around ares_dns_record_t instead of binary data,
	     this introduces new public functions of ares_query_dnsrec() and
	     ares_send_dnsrec(). PR #730
	Changes:
	    tests: when performing simulated queries, reduce timeouts to make tests run
	     faster
	    Replace configuration file parsers with memory-safe parser. PR #725
	    Remove acountry completely, the manpage might still get installed otherwise.
	     Issue #718
	Bugfixes:
	    CMake: don’t overwrite global required libraries/definitions/includes which
	     could cause build errors for projects chain building c-ares. Issue #729
	    On some platforms, netinet6/in6.h is not included by netinet/in.h and needs
	     to be included separately. PR #728
	    Fix a potential memory leak in ares_init(). Issue #724
	    Some platforms don’t have the isascii() function. Implement as a macro. PR #721
	    CMake: Fix Chain building if CMAKE runtime paths not set
	    NDots configuration should allow a value of zero. PR #735
    1.27.0
	Security:
	    Moderate. CVE-2024-25629. Reading malformatted /etc/resolv.conf,
	     /etc/nsswitch.conf or the HOSTALIASES file could result in a crash.
	     GHSA-mg26-v6qh-x48q
	Features:
	    New function ares_queue_active_queries() to retrieve number of in-flight
	     queries. PR #712
	    New function ares_queue_wait_empty() to wait for the number of in-flight
	     queries to reach zero. PR #710
	    New ARES_FLAG_NO_DEFLT_SVR for ares_init_options() to return a failure if no
	     DNS servers can be found rather than attempting to use 127.0.0.1. This also
	     introduces a new ares status code of ARES_ENOSERVER. PR #713
	Changes:
	    EDNS Packet size should be 1232 as per DNS Flag Day. PR #705
	Bugfixes:
	    Windows DNS suffix search list memory leak. PR #711
	    Fix warning due to ignoring return code of write(). PR #709
	    CMake: don’t override target output locations if not top-level. Issue #708
	    Fix building c-ares without thread support. PR #700
    1.26.0
	Features:
	    Event Thread support. Integrators are no longer required to monitor the file
	     descriptors registered by c-ares for events and call ares_process() when
	     enabling the event thread feature via ARES_OPT_EVENT_THREAD passed to
	     ares_init_options(). PR #696
	    Added flags to are_dns_parse() to force RAW packet parsing. PR #693
	Changes:
	    Mark ares_fds() as deprecated. PR #691
	Bugfixes:
	    adig: Differentiate between internal and server errors. e10b16a
	    Autotools allow make to override CFLAGS/CPPFLAGS/CXXFLAGS. PR #695
	    Autotools: fix building for 32bit windows due to stdcall symbol mangling.
	     PR #689
	    RR Name should not be sanity checked against the Question. PR #685
    1.25.0
	Changes:
	    AutoTools: rewrite build system to be lighter weight and fix issues in some
	     semi-modern systems. It is likely this has broken building on some less
	     common and legacy OSs, please report issues. PR #674
	    Rewrite ares_strsplit() as a wrapper for ares__buf_split() for memory safety
	     reasons. 88c444d
	    The ahost utility now uses ares_getaddrinfo() and returns both IPv4 and IPv6
	     addresses by default. PR #669
	    OpenBSD: Add SOCK_DNS flag when creating socket. PR #659
	Bugfixes:
	    Tests: Live reverse lookups for Google’s public DNS servers no longer return
	     results, replace with CloudFlare pubic DNS servers. 1231aa7
	    MacOS legacy SDKs require sys/socket.h before net/if.h PR #673
	    Connection failures should increment the server failure count first or a
	     retry might be enqueued to the same server. 05181a6
	    On systems that don’t implement the ability to enumerate network interfaces
	     the stubs used the wrong prototype. eebfe0c
	    Fix minor warnings and documentation typos. PR #666
	    Fix support for older GoogleTest versions. d186f11
	    getrandom() may require sys/random.h on some systems. Issue #665
	    Fix building tests with symbol hiding enabled. Issue #664
    1.24.0
	Features:
	    Add support for IPv6 link-local DNS servers. Nameserver formats can now
	     accept the %iface suffix, and a new ares_get_servers_csv() function was
	     added to return servers that can contain the link-local interface name.
	Changes:
	    Unbundle GoogleTest for test cases. Package maintainers will now need to
	     require GoogleTest (GMock) as a build dependency if building tests. New
	     GoogleTest versions require C++14 or later.
	    Replace nameserver parsing code to use new memory-safe functions.
	    Replace the sortlist parser with new memory-safe functions.
	    Various warning fixes and dead code removal.
	Bugfixes:
	    Old Linux versions require POSIX_C_SOURCE or _GNU_SOURCE to compile with
	     thread safety support.
	    A non-responsive DNS server that caused timeouts wouldn’t increment the
	     failure count, this would lead to other servers not being tried. Regression
	     introduced in 1.22.0.
	    Some projects that depend on c-ares expect invalid parameter option values
	     passed into ares_init_options() to simply be ignored. This behavior has been
	     restored.
	    On linux getrandom() can fail if the kernel doesn’t support the syscall, fall
	     back to another random source.
	    ares_cancel() when performing ares_gethostbyname() or ares_getaddrinfo() with
	     AF_UNSPEC, if called after one address class was returned but before the
	     other address class, it would return ARES_SUCCESS rather than ARES_ECANCELLED.
    1.23.0
	Features:
	    Introduce optional (but on by default) thread-safety for the c-ares library.
	     This has no API nor ABI implications.
	    resolv.conf in modern systems uses attempts and timeouts options instead of
	     the old retrans and retry options.
	    Query caching support based on TTL of responses. Can be enabled via
	     ares_init_options() with ARES_OPT_QUERY_CACHE.
	Bugfixes:
	    ares_init_options() for ARES_OPT_UDP_PORT and ARES_OPT_TCP_PORT accept the
	     port in host byte order, but it was reading it as network byte order.
	     Regression introduced in 1.20.0.
	    ares_init_options() for ARES_FLAG_NOSEARCH was not being honored for
	     ares_getaddrinfo() or ares_gethostbyname(). Regression introduced in 1.16.0.
	    Autotools MacOS and iOS version check was failing
	    Environment variables passed to c-ares are meant to be an override for system
	     configuration. Regression introduced in 1.22.0.
	    Spelling fixes as detected by codespell.
	    The timeout returned by ares_timeout() was truncated to milliseconds but
	     validated to microseconds which could cause a user to attempt to process
	     timeouts prior to the timeout actually expiring.
	    CMake was not honoring CXXFLAGS passed in via the environment which could
	     cause compile and link errors with distribution hardening flags during
	     packaging.
	    Fix Windows UWP and Cygwin compilation.
	    ares_set_servers_*() for legacy reasons needs to accept an empty server list
	     and zero out all servers. This results in an inoperable channel and thus is
	     only used in simulation testing, but we don’t want to break users.
	     Regression introduced in 1.21.0.
    1.22.1
	Bugfixes:
	    Fix /etc/hosts processing performance with all entries using same IPaddress.
	     Large hosts files using the same IP address for all entries could use
	     exponential time.
	    Fix typos in manpages
	    Fix OpenWatcom building
    1.22.0
	Features:
	    ares_reinit() is now implemented to re-read any system configuration and
	     immediately apply to an existing ares channel
	    The adig command line program has been rewritten and its format now more
	     closely matches that of BIND’s dig utility
	    The new DNS message parser and writer functions have now been made public
	    RFC9460 HTTPS and SVCB records are now supported
	    RFC6698 TLSA records are now supported
	    The server list is now internally dynamic and can be changed without
	     impacting existing queries
	    Hosts file processing is now cached until the file is detected to be changed
	     to speed up repetitive lookups of large hosts files
	Changes:
	    Internally all DNS messages are now written using the new DNS writing functions
	    EDNS is now enabled by default
	    Internal cleanups in function prototypes
	Bugfixes:
	    Randomize retry penalties to prevent thundering herd issues when dns servers
	     throttle requests
	    Fix Windows build error for missing if_indextoname()
    1.21.0
	Changes:
	    Provide better man page cross-links.
	    Introduce ares_status_t as an enum rather than using #define list and integer
	     data type for internal functions.
	    Introduce ares_bool_t datatype rather than using an integer with 0/1 so it is
	     clear based on the function prototype what it returns.
	    Increase compiler warning levels by default.
	    Use size_t and other more proper datatypes internally (rather than int).
	    Many developers have used different code styles over the years, standardize
	     on one and use clang-format to enforce the style.
	    CMake can now control symbol visibility
	    Replace multiple DNS hand-made parsers with new memory-safe DNS message parser.
	Bugfixes:
	    Tools: STAYOPEN flag could make tools not terminate.
	    Socket callbacks were passed SOCK_STREAM instead of SOCK_DGRAM on udp.
    1.20.1
	Bugfixes:
	    Resolve use-after-free issue when TCP connection is terminated before a
	     response is returned
	    Reduce number of queries for a load test case to prevent overloading some
	     build systems
	    Fix fuzz test build target
    1.20.0
	Changes:
	    Update from 1989 MIT license text to modern MIT license text
	    Remove acountry from built tools as nerd.dk is gone
	    Add new ARES_OPT_UDP_MAX_QUERIES configuration option to limit the number of
	     queries that can be made from a single ephemeral port
	    Default per-query timeout has been reduced to 2s with a 3x retry count
	    Modernization: start implementing some common data structures that are easy
	     to use and hard to misuse. This will make code refactoring easier and remove
	     some varied implementations in use. This change also makes ares_timeout()
	     more efficient
	    Use SPDX identifiers and a REUSE CI job to verify
	    rand: add support for getrandom()
	Bug fixes:
	    TCP back to back queries were broken
	    Ensure queries for ares_getaddrinfo() are not requeued during destruction
	    ares_getaddrinfo() should not retry other address classes if one address
	     class has already been returned
	    Avoid production ill-formed result when qualifying a name with the root domain
	    Fix missing prefix for CMake generated libcares.pc
	    DNS server ports will now be read from system configuration instead of
	     defaulting to port 53
	    Remove some unreachable code
	    Replace usages of sprintf with snprintf
	    Fix Watcom instructions and update Windows URLs
    1.19.1
	Security:
	    CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service
	    CVE-2023-31147 Moderate. Insufficient randomness in generation of DNS query IDs
	    CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton()
	    CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
	     compilation
	Bug fixes:
	    Fix uninitialized memory warning in test
	    Turn off IPV6_V6ONLY on Windows to allow IPv4-mapped IPv6 addresses
	    ares_getaddrinfo() should allow a port of 0
	    Fix memory leak in ares_send() on error
	    Fix comment style in ares_data.h
	    Remove unneeded ifdef for Windows
	    Fix typo in ares_init_options.3
	    Re-add support for Watcom compiler
	    Sync ax_pthread.m4 with upstream
	    Windows: Invalid stack variable used out of scope for HOSTS path
	    Sync ax_cxx_compile_stdcxx_11.m4 with upstream to fix uclibc support
    1.19.0
	Security:
	    Low. Stack overflow in ares_set_sortlist() which is used during c-ares
	     initialization and typically provided by an administrator and not an end user.
	Changes:
	    Windows: Drop support for XP and derivatives which greatly cleans up
	     initialization code.
	    Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a
	     custom hosts file location.
	    Add vcpkg installation instructions
	Bug fixes:
	    Fix cross-compilation from Windows to Linux due to CPACK logic.
	    Fix memory leak in reading /etc/hosts when using localhost fallback.
	    Fix chain building c-ares when libresolv is already included by another project
	    File lookup should not immediately abort as there may be other tries due to
	     search criteria.
	    Asterisks should be allowed in host validation as CNAMEs may reference
	     wildcard domains
	    AutoTools build system referenced bad STDC_HEADERS macro
	    Even if one address class returns a failure for ares_getaddrinfo() we should
	     still return the results we have
	    CMake Windows: DLLs did not include resource file to include versions
	    CMake: Guard target creation in exported config
	    Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC
	    Apple: fix libresolv configured query times.
	    Fix tools and help information
	    Various documentation fixes and cleanups
	    Add include guards to ares_data.h
	    c-ares could try to exceed maximum number of iovec entries supported by system
	    CMake package config generation allow for absolute install paths
	    Intel compiler fixes
	    ares_strsplit bugs
	    The RFC6761 6.3 states localhost subdomains must be offline too.
    1.18.1
	Bug fixes:
	    ares_getaddrinfo() would return ai_addrlen of 16 for ipv6 adddresses rather
	     than the sizeof(struct sockaddr_in6)
    1.18.0
	Changes:
	    Add support for URI(Uniform Resource Identifier) records via
	     ares_parse_uri_reply()
	    Provide ares_nameser.h as a public interface as needed by NodeJS
	    Update URLs from c-ares.haxx.se to c-ares.org
	    During a domain search, treat ARES_ENODATA as ARES_NXDOMAIN so that the
	     search process will continue to the next domain in the search.
	    Turn ares_gethostbyname() into a wrapper for ares_getaddrinfo() as they
	     followed very similar code paths and ares_gethostbyaddr() has some more
	     desirable features such as priority sorting and parallel queries for
	     AF_UNSPEC.
	    ares_getaddrinfo() now contains a name element in the address info structure
	     as the last element. This is not an API or ABI break due to the structure
	     always being internally allocated and it being the last element.
	    ares_parse_a_reply() and ares_parse_aaaa_reply() were nearly identical,
	     those now use the same helper functions for parsing rather than having
	     their own code.
	    RFC6761 Section 6.3 says “localhost” lookups need to be special cased to
	     return loopback addresses, and not forward queries to recursive dns servers.
	     On Windows this now returns all loopback addresses, on other systems it
	     returns 127.0.0.1 or ::1 always, and will never forward a request for
	     “localhost” to outside DNS servers.
	    Haiku: port
	Bug fixes:
	    add build to .gitignore
	    z/OS minor update, add missing semicolon in ares_init.c
	    Fix building when latest ax_code_coverage.m4 is imported
	    Work around autotools ‘error: too many loops’ and other newer autotools
	     import related bugs.
	    MinGW cross builds need advapi32 link as lower case
	    Cygwin build fix due to containing both socket.h and winsock2.h
	    ares_expand_name should allow underscores (_) as SRV records legitimately
	     use them
	    Allow ‘/’ as a valid character for a returned name for CNAME in-addr.arpa
	     delegation
	    ares_getaddrinfo() was not honoring HOSTALIASES
	    ares_getaddrinfo() had some test cases disabled due to a bug in the test
	     framework itself which has now been resolved
    1.17.2
	Security:
	    NodeJS passes NULL for addr and 0 for addrlen to ares_parse_ptr_reply() on
	     systems where malloc(0) returns NULL. This would cause a crash.
	    When building c-ares with CMake, the RANDOM_FILE would not be set and
	     therefore downgrade to the less secure random number generator
	    If ares_getaddrinfo() was terminated by an ares_destroy(), it would cause a
	     crash
	    Crash in sortaddrinfo() if the list size equals 0 due to an unexpected DNS
	     response
	    Expand number of escaped characters in DNS replies as per RFC1035 5.1 to
	     prevent spoofing follow-up
	    Perform validation on hostnames to prevent possible XSS due to applications
	     not performing valiation themselves
	Changes:
	    Use non-blocking /dev/urandom for random data to prevent early startup
	     performance issues
	    z/OS port
	    ares_malloc(0) is now defined behavior (returns NULL) rather than
	     system-specific to catch edge cases
	Bug fixes:
	    Fuzz testing files were not distributed with official archives
	    Building tests should not force building of static libraries except on Windows
	    Windows builds of the tools would fail if built as static due to a missing
	     CARES_STATICLIB definition
	    Relative headers must use double quotes to prevent pulling in a system library
	    Fix OpenBSD building by implementing portability updates for including
	     arpa/nameser.h
	    Fix building out-of-tree for autotools
	    Make install on MacOS/iOS with CMake was missing the bundle destination so
	     libraries weren’t actually installed
	    Fix retrieving DNS server configuration on MacOS and iOS if the configuration
	     did not include search domains
	    ares_parse_a_reply and ares_parse_aaa_reply were erroneously using strdup()
	     instead of ares_strdup()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
c160785691 core188: Ship util-linux
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
635cc8dd77 core188: Ship PCRE2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
7e1596d07c pcre2: Update to version 10.44
- Update from version 10.43 to 10.44
- Update of rootfile
- Changelog
    10.44
	This is mostly a bug-fix and tidying release. There is one new function, to set
	 a maximum size for a compiled pattern. The maximum name length for groups is
	 increased to 128. Some auxiliary files for building under VMS are added.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
9b3f98d47d core188: Ship man-pages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
2e8e20eea1 man-pages: Update to version 6.9.1
- Update from 6.8 to 6.9.1
- Update of rootfile
- Changelog details can be see in the file named Changes in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
5734c60ae8 core188: Ship less
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
45daf5b56c core188: Ship iana-etc
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
f4954171f6 core188: Ship findutils
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
a3eb44e087 core188: Ship btrfs-progs + e2fsprogs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
cbc034036f btrfs-progs: Update to version 6.9.2
- Update from 6.7.1 to 6.9.2
- Update of rootfile
- Update of e2fsprogs to 1.47.1 changed a variable from inode_includes to
   ext2fs_inode_includes. btrfs-progs version 6.7.1 failed to build as it was still looking
   for the old variable name. The fix for e2fsprogs 1.47.1 was implemented in btrfs-progs
   version 6.9
- Changelog
    6.9.2
	    subvol list: fix accidental trimming of subvolume name
	    check: revert checking file extent item 'ram_bytes'
	    libbtrfsutil:
	        patchlevel version update 1.3.2
	        fix accidentally closing fd passed to subvolume iterator
    6.9.1 (Not to be used)
	    fix detection of intermediate super block flags (e.g. csum change and other conversions)
	    raid-stripe-tree support (still experimental):
	        moved under experimental build flags (mkfs, convert)
	        format change, removed encoding type; backward incompatible
	    receive dump: escape special chars in xattr names and values, and clone source path
	    tune change csum: fix reservation size when starting a transaction
	    other:
	        new and updated tests
	        updated CI images, new reference build targets
	        cleanups and refactoring
    6.9
	    mkfs:
	        if --force used, don't continue if the mount status cannot be determined (e.g. due to permissions)
	        fix minimum size calculation on zoned devices, make it work with option -b
	    check:
	        option --clear-ino-cache removed (functionality still provided in 'rescue' command group)
	        detect and repair wrong file extent item ram_bytes value
	    qgroup clear-stale:
	        sync the filesystem before search to read the up to date state
	        handle cases where qgroup cannot be deleted due to uncleaned subvolume or when squota is enabled
	    qgroup show: display status of qgroup regarding the cleaning of the subvolume or if it's squota
	    receive: fix stream parsing on strict alignment hosts (e.g. ARM v5 or v6)
	    tune change-csum: fix check of dev-replace status item, continue if no dev-replace in progress
	    dump-tree: print contents of dev-replace status item
	    convert: fix extent iteration to handle prealloc/unwritten extents
	    libbtrfsutil:
	        patchlevel version update 1.3.1
	        fix potentially unaligned access to send stream
	        create library links to all version levels
	    libbtrfs:
	        patchlevel version update 0.1.3
	        fix potentially unaligned access to send stream
	        create library links to all version levels
	    build:
	        fix compatibility with e2fsprogs 1.47.1
	        fix header file dependency tracking
	        -O2 by default
	    other:
	        new and updated tests
	        ASAN and UBSAN test coverage in CI
	        documentation updates
    6.8.1
	    mkfs: fix writing on zoned device when block-group-tree is selected
	    tune: fix writing on zoned device with option --convert-to-block-group-tree
	    check:
	        more progress and error messages
	        unify handling of unknown command line options with other commands
	    subvolume delete: remove options --delete-qgroup and --no-delete-qgroup (added in 6.6.3), qgroup deletion does not always work due to delayed background processing of subvolume or set value in sysfs:ggroup/drop_subtree_threshold
	    other:
	        misc refactoring
	        error handling fixes reported by gcc -fanalyzer
	        documentation updates
	        new and updated tests
    6.8
	    fix --enqueue option timeout handling
	    subvolume: remove support for undocumented options -c and -x, functionality disabled in kernel
	    libbtrfsutil:
	        version 0.1.3, backward compabile
	        add aliases for all existing functions with unified naming scheme
	        updated header defintions for recently added kernel features
	    send: v3 supported in experimental mode
	    other:
	        docs: manual page references, graphs, enhancements, clarifications
	        error handling fixes
	        cleanups and refactoring

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
1465b342ac core188: Ship shadow
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Adolf Belka
7f2e089be4 shadow: Update to version 4.16.0
- Update from version 4.15.1 to 4.16.0
- Update rootfile
- sobump in rootfile. Ran find-dependencies but no other linked programs identified.
- nscd is disabled in glibc so it has been disabled in shadow. nscd is enabled by default.
- id and groups (deprecated in shadow) are used from coreutils in IPFire.
- Changelog
    4.16.0
	The shadow implementations of id(1) and groups(1) are deprecated in favor of the
	 GNU coreutils and binutils versions. They will be removed in 4.17.0.
	Support for rlogind in the login(1) implementation has been removed. That is, the
	 login(1) -r flag has been removed.
	The libsubid major version has been bumped, since it now requires specification of
	 the module's free() implementation.
    4.15.2
	Bugfix release.
	This release includes a large amount of fixes, including memory leaks,
	 leaks of other resources such as file descriptors, added missing error
	 handling, and more.
    4.15.3
	Bugfix release.
	This release includes changes to the build system, packaging, and tests;
	 most of which, were reported by Debian packagers. There's also a fix
	 for check_subid_range.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Michael Tremer
357211c24f Start Core Update 188
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00
Arne Fitzenreiter
6f83ae4c95 core187: exclude squid access.log from update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-07-18 09:12:15 +02:00
Arne Fitzenreiter
97067db786 Revert "squid: Comment out access.log in rootfile"
the file was created to be shipped with permissions
so it is needed in the rootfile.

This reverts commit 516d541c29.
2024-07-18 09:07:08 +02:00
Michael Tremer
bf8abf549e samba: Fix rootfiles
The CGI script, the misc-progs helper and the menu entry were removed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-10 14:28:48 +00:00
Adolf Belka
516d541c29 squid: Comment out access.log in rootfile
- Everytime an update has been done on squid the access.log file has been replaced with an
   empty file, losing whatever messages have been in the log.
- This has been the case since squid was implemented in IPFire.
- Update of rootfile to comment out var/log/squid/access.log

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-08 15:32:58 +00:00
Adolf Belka
b5befbc045 samba: Update to version 4.20.2
- Update from version 4.20.1 to 4.20.2
- Update of rootfile for both x86_64 and aarch64
- After doing a grep into the config directories I realised that the xxxMACHINExxx phrase
   is only added into rootfiles in the main common or package directories and not in the
   x86_64 and aarch64
- In the past I have submitted the samba rootfile with x86_64 replaced by xxxMACHINExxx.
   It seems to have worked, so the replacement probably occurs even in the architecture
   specific directories but it doesn't need to be used there as the directory is clearly
   only for that one architecture.
- Changelog
    4.20.2
	   * BUG 15662: vfs_widelinks with DFS shares breaks case insensitivity.
	   * BUG 13213: Samba build is not reproducible.
	   * BUG 15569: ldb qsort might r/w out of bounds with an intransitive compare
	     function.
	   * BUG 15625: Many qsort() comparison functions are non-transitive, which can
	     lead to out-of-bounds access in some circumstances.
	   * BUG 15638: Need to change gitlab-ci.yml tags in all branches to avoid CI
	     bill.
	   * BUG 15654: We have added new options --vendor-name and --vendor-patch-
	     revision arguments to ./configure to allow distributions and packagers to
	     put their name in the Samba version string so that when debugging Samba the
	     source of the binary is obvious.
	   * BUG 15665: CTDB RADOS mutex helper misses namespace support.
	   * BUG 13019: Dynamic DNS updates with the internal DNS are not working.
	   * BUG 14981: netr_LogonSamLogonEx returns NR_STATUS_ACCESS_DENIED with
	     SysvolReady=0.
	   * BUG 15412: Anonymous smb3 signing/encryption should be allowed (similar to
	     Windows Server 2022).
	   * BUG 15573: Panic in dreplsrv_op_pull_source_apply_changes_trigger.
	   * BUG 15620: s4:nbt_server: does not provide unexpected handling, so winbindd
	     can't use nmb requests instead cldap.
	   * BUG 15642: winbindd, net ads join and other things don't work on an ipv6
	     only host.
	   * BUG 15659: Segmentation fault when deleting files in vfs_recycle.
	   * BUG 15664: Panic in vfs_offload_token_db_fetch_fsp().
	   * BUG 15666: "client use kerberos" and --use-kerberos is ignored for the
	     machine account.
	   * BUG 15435: Regression DFS not working with widelinks = true.
	   * BUG 15633: samba-gpupdate - Invalid NtVer in netlogon_samlogon_response.
	   * BUG 15653: idmap_ad creates an incorrect local krb5.conf in case of trusted
	     domain lookups.
	   * BUG 15660: The images don't build after the git security release and CentOS
	     8 Stream is EOL.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-08 15:31:13 +00:00
Michael Tremer
1e2401a148 ruby: Add rootfile for all architectures
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-04 16:13:42 +00:00
Michael Tremer
86c80346f1 riscv64: Update util-linux rootfile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-04 16:11:56 +00:00
Michael Tremer
5b30e88dba core187: Ship the OpenVPN CRL updater
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-04 14:47:07 +00:00
Peter Müller
f1637cdee7 Core Update 187: Rewrite the SSH configuration on update
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-04 14:45:09 +00:00
Michael Tremer
16c1c5c6f8 core187: Ship and restart the firewall
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:32:37 +00:00
Michael Tremer
695c572993 sysctl: Conntrack: Disable picking up loose TCP connections
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:30:28 +00:00
Michael Tremer
175ba983f4 firewall: Implement generating SYNPROXY rules
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:30:28 +00:00
Michael Tremer
513cb428d7 core187: Ship and restart Apache
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:27:00 +00:00
Michael Tremer
e5d8276638 OpenSSH: Ship the entire suite of helper programs
The SSH daemon has been split into a listener and session daemon to have
a smaller attack vector since the listener does not need to implement
the SSH protocol.

In order to keep SSH working, we need to ship the session daemon, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:25:09 +00:00
Michael Tremer
dec2fb4710 core187: Ship and restart OpenSSH
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:24:43 +00:00
Adolf Belka
0a574ab660 openssh: Update to version 9.8p1
- Update from version 9.7p1 to 9.8p1
- Update of rootfile
- Changelog
    9.8p1
	-There is a fix for CVE-2024-6387
	-The number of changes is too large to show all here. As well as the CVE fix and
	 another security related fix there are a log of bug fixes as well. The details can
         seen at https://www.openssh.com/txt/release-9.8

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:19:48 +00:00
Michael Tremer
c47863aca3 core187: Restart Suricata during the update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:19:33 +00:00
Michael Tremer
28d7a144fd core187: Ship BIND
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:18:37 +00:00
Matthias Fischer
6c269a854b bind: Update to 9.16.50
For details see:
https://downloads.isc.org/isc/bind9/9.16.50/doc/arm/html/notes.html#notes-for-bind-9-16-50

"New Features

Added RESOLVER.ARPA to the built in empty zones."

Important:
"This is the last maintenance release of BIND 9.16. This version is now end of life. Please upgrade to
BIND 9.18, the current stable version."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:18:29 +00:00
Michael Tremer
ea8deba74c core187: Ship ipblocklist-sources
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:18:06 +00:00
Adolf Belka
e9e78d2aff ipblocklist-sources: Update to include the Abuse.ch Botnet C2 ip blocklist
- Blocklist addition was discussed and agreed at IPFire dev conf call in June 2024.
- Tested on vm system.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:36 +00:00
Adolf Belka
0346e4fd9d ipblocklist-sources: Update to include the 3CORESec ip blocklists
- The patch for this was created by Stefan Schantl
- Blocklist addition was discussed and agreed at IPFire dev conf call in June 2024.
- Tested on vm system.
- The combined list was removed because it is just the three others which can be selected
   in the WUI to give the equivalent result.

Created-by: Stefan Schantl <stefan.schantl@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:35 +00:00
Adolf Belka
5175a5f19e apcupsd: Update email scripts to work with dma
- The standard email scripts supllied with apcupsd are coded on the basis that sendmail
   is being used. The format of the email information in those scripts does not work with
   the dma mail system implemented in IPFire.
- The scripts provided in the config/apcupsd directory have been updated to work with
   dma. The scripts have been confirmed to work with my production system that is using
   a UPS.
- This patch will replace the standard apcupsd scripts with the ones tailored for IPFire.
- If any existing users have modified their scripts to already work with dma then their
   versions will be saved in their backup.
- The apcupsd-3.14.14-2.ipfire package created in the build with the above changes has
   been installed on a vm system and confirmed to provide the IPFire tailored scripts.
- The lfs change is the addition of the copying of the scripts to the /etc/apcupsd
   directory.
- No change to the rootfile as the scripts names are the same.
- The only thing a user will need to do is to ensure the IPFire email system is enabled,
   configure and confirmed working. Then valid FROM and TO email addresses need to be
   added to each script.
- Once this patch submission is accepted then I will do an update to the apcupsd IPFire
   documentation page to describe these scripts and how to update the email addresses.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:20 +00:00
Adolf Belka
5b24b5559a speexdsp: New package required for build of tshark-4.2.5
- tshark in the past had its own version of speexdsp used only for some "arbitrary
   resampling code" used for the build of tshark.
- speexdsp has been removed from tshark so it is now a build requirement.
- It is only used for the build of tshark so the rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
da19d30078 asciidoctor: New package required for build of tshark-4.2.5
- Only used for build of tshark so rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
d6cb864e1c ruby: New package required for build of asciidoctor required for tshark-4.2.5
- Only used for build of asciidoctor so rootfile has all entries commented out.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Adolf Belka
374ba6dafc tshark: Update to version 4.2.5
- Update from version 4.0.8 to 4.2.5
- Update of rootfile
- Version 4.2.5 requires asciidoctor to be built for tshark to build. Despite lots of
   investigation and testing out various commands, tshark will not build if asciidoctor is
   not present, even if the docs are not going to be used. It is only required for the
   build
- To build asciidoctor ruby has to be installed. It is only required for the build of
   asciidoctor
- tshark has previously had its own version of speexdsp built in. It is only used to
   provide some "arbitrary resampling code" during the build and does not end up in the
   running tshark system. Version 4.2.5 has removed the internal speexdsp code but it
   is still a required dependency for building, so speexdsp also need to be installed but
   only for the build stage.
- The associated patches with this one provide the build installation of ruby, asciidoctor
   and speexdsp. With these installed tshark was able to be built.
- version 4.0.8 and 4.2.5 of tshark were tested out on a vm system with the command
   "tshark -c 100 > tshark" and this wrote 100 packets from the vm red0 interface to a
   text file. Both the old and new versions provided the same sort of result. To a first
   level of testing this shows that the 4.2.5 version is functioning as the previous
   version was.
- This version had an sobump so find-dependencies was run. All files linked to the three
   libraries in tshark are all also in tshark. No other package is linked to.
- Changelog
   There are 13 releases between 4.0.8 and 4.2.5 so the changelist is too large to
    include here. Details can be found in the release notes for each version at
    https://www.wireshark.org/docs/relnotes/
   21 CVE vulnerabilities have been fixed that were identified in 7 of the 13 versions.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:17:00 +00:00
Michael Tremer
e90243981d core187: Ship zstd
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:16:40 +00:00
Adolf Belka
464ae625df zstd: Update to version 1.5.6
- Update from version 1.5.5 to 1.5.6
- Update of rootfile
- Changelog
    1.5.6 (Mar 2024)
	api: Promote `ZSTD_c_targetCBlockSize` to Stable API by @felixhandte
	api: new `ZSTD_d_maxBlockSize` experimental parameter, to reduce streaming decompression memory, by @terrelln
	perf: improve performance of param `ZSTD_c_targetCBlockSize`, by @Cyan4973
	perf: improved compression of arrays of integers at high compression, by @Cyan4973
	lib: reduce binary size with selective built-time exclusion, by @felixhandte
	lib: improved huffman speed on small data and linux kernel, by @terrelln
	lib: accept dictionaries with partial literal tables, by @terrelln
	lib: fix CCtx size estimation with external sequence producer, by @embg
	lib: fix corner case decoder behaviors, by @Cyan4973 and @aimuz
	lib: fix zdict prototype mismatch in static_only mode, by @ldv-alt
	lib: fix several bugs in magicless-format decoding, by @embg
	cli: add common compressed file types to `--exclude-compressed`` by @daniellerozenblit
	cli: fix mixing `-c` and `-o` commands with `--rm`, by @Cyan4973
	cli: fix erroneous exclusion of hidden files with `--output-dir-mirror` by @felixhandte
	cli: improved time accuracy on BSD, by @felixhandte
	cli: better errors on argument parsing, by @KapJI
	tests: better compatibility with older versions of `grep`, by @Cyan4973
	tests: lorem ipsum generator as default backup content, by @Cyan4973
	build: cmake improvements by @terrelln, @sighingnow, @gjasny, @JohanMabille, @Saverio976, @gruenich, @teo-tsirpanis
	build: bazel support, by @jondo2010
	build: fix cross-compiling for AArch64 with lld by @jcelerier
	build: fix Apple platform compatibility, by @nidhijaju
	build: fix Visual 2012 and lower compatibility, by @Cyan4973
	build: improve win32 support, by @DimitriPapadopoulos
	build: better C90 compliance for zlibWrapper, by @emaste
	port: make: fat binaries on macos, by @mredig
	port: ARM64EC compatibility for Windows, by @dunhor
	port: QNX support by @klausholstjacobsen
	port: MSYS2 and Cygwin makefile installation and test support, by @QBos07
	port: risc-v support validation in CI, by @Cyan4973
	port: sparc64 support validation in CI, by @Cyan4973
	port: AIX compatibility, by @likema
	port: HP-UX compatibility, by @likema
	doc: Improved specification accuracy, by @elasota
	bug: Fix and deprecate ZSTD_generateSequences (#3981)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:16:27 +00:00
Michael Tremer
1402b77aeb core187: Ship xfsprogs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:16:11 +00:00
Adolf Belka
5c232ac6b0 xfsprogs: Update to version 6.8.0
- Update from version 6.5.0 to 6.8.0
- Update of rootfile
- Changelog
   There is no changelog for this package. Change details can be found from the git commit
    log https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:15:58 +00:00
Michael Tremer
c68d342fc8 core187: Ship iw
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:14:29 +00:00
Adolf Belka
5e19137801 utfcpp: Required for build of latest version of taglib
- lfs copies the required headers to the /usr/include directory.
- rootfile has all entries commented out as utfcpp is only required for the build.
- Added utfcpp into make.sh prior to taglib.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:14:10 +00:00
Adolf Belka
3161e5e857 taglib: Update to version 2.0.1
- Update from version 1.12 to 2.0.1
- Update of rootfile
- sobump so ran find-dependencies. None found except taglib itself.
- build of taglib now requires utfcpp. Patch for build of this is part of this patch set.
- Changelog
    2.0.1 (Apr 9, 2024)
	 * Fix aborting when _GLIBCXX_ASSERTIONS are enabled.
	 * Fall back to utf8cpp header detection in the case that its CMake
	   configuration is removed.
	 * Improve compatibility with the SWIG interface compiler.
	 * Build system fixes for testing without bindings, Emscripten and Illumos.
	 * C bindings: Fix setting UTF-8 encoded property values.
	 * Windows: Fix opening long paths.
    2.0 (Jan 24, 2024)
	 * New major version, binary incompatible, but mostly source-compatible
	   with the latest 1.x release if no deprecated features are used.
	   Simple applications should build without changes, more complex
	   applications (e.g. extending classes of TagLib) will have to be adapted.
	 * Requires a C++17 compiler and uses features of C++17.
	 * Major code cleanup, fixed warnings issued by compilers and static analyzers.
	 * Made methods virtual which should have been virtual but could not be
	   changed to keep binary compatibility, remove related workarounds.
	 * Removed deprecated functions:
	   - APE::Item::Item(const String &, const String &)
	   - APE::Item::toStringList(): Use values()
	   - APE::Item::value(): Use binaryData()
	   - ASF::Properties::setLength()
	   - ByteVector::checksum()
	   - ByteVector::isNull(): Use isEmpty()
	   - ByteVector::null
	   - FLAC::File::setID3v2FrameFactory()
	   - FLAC::File::streamInfoData()
	   - FLAC::File::streamLength()
	   - FLAC::Properties::Properties(File *, ReadStyle)
	   - FLAC::Properties::sampleWidth(): Use bitsPerSample()
	   - File::isReadable(): Use system functions
	   - File::isWritable(): Use system functions
	   - FileName::str()
	   - FileRef::create(): Use constructor
	   - MP4::Tag::itemListMap(): Use itemMap()
	   - MPC::File::remove(): Use strip()
	   - MPC::Properties::Properties(const ByteVector &, long, ReadStyle)
	   - MPEG::File::save(int, ...): Use overload
	   - MPEG::File::setID3v2FrameFactory(): Use constructor
	   - MPEG::ID3v2::Frame::Header::Header(const ByteVector &, bool)
	   - MPEG::ID3v2::Frame::Header::frameAlterPreservation(): Use
	     fileAlterPreservation()
	   - MPEG::ID3v2::Frame::Header::setData(const ByteVector &, bool)
	   - MPEG::ID3v2::Frame::Header::size(unsigned int): Use size()
	   - MPEG::ID3v2::Frame::Header::unsycronisation(): use unsynchronisation()
	   - MPEG::ID3v2::Frame::checkEncoding(const StringList &, String::Type): Use
	     checkTextEncoding(const StringList &, String::Type)
	   - MPEG::ID3v2::Frame::headerSize(): Use Header::size()
	   - MPEG::ID3v2::Frame::headerSize(unsigned int): Use
	     Header::size(unsigned int)
	   - MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, bool)
	   - MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, unsigned int):
	     Use createFrame(const ByteVector &, const Header *)
	   - MPEG::ID3v2::RelativeVolumeFrame::channelType()
	   - MPEG::ID3v2::RelativeVolumeFrame::peakVolume(): Use peakVolume(ChannelType)
	   - MPEG::ID3v2::RelativeVolumeFrame::setChannelType()
	   - MPEG::ID3v2::RelativeVolumeFrame::setPeakVolume(const PeakVolume &): Use
	     setPeakVolume(const PeakVolume &, ChannelType)
	   - MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustment(float): Use
	     setVolumeAdjustment(float, ChannelType)
	   - MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustmentIndex(short): Use
	     setVolumeAdjustmentIndex(short, ChannelType)
	   - MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustment(): Use
	     volumeAdjustment(ChannelType)
	   - MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustmentIndex(): Use
	     volumeAdjustmentIndex(ChannelType)
	   - MPEG::ID3v2::Tag::footer()
	   - MPEG::ID3v2::Tag::render(int): Use render(Version)
	   - MPEG::XingHeader::xingHeaderOffset()
	   - Ogg::Page::getCopyWithNewPageSequenceNumber()
	   - Ogg::XiphComment::removeField(): Use removeFields()
	   - PropertyMap::unsupportedData(): Returns now const reference, use
	     addUnsupportedData() to add keys
	   - RIFF::AIFF::Properties::Properties(const ByteVector &, ReadStyle)
	   - RIFF::AIFF::Properties::Properties(const ByteVector &, int, ReadStyle)
	   - RIFF::AIFF::Properties::sampleWidth(): Use bitsPerSample()
	   - RIFF::WAV::File::save(TagTypes, bool, int): Use
	     save(TagTypes, StripTags, Version)
	   - RIFF::WAV::File::tag(): Returns now a TagUnion, use ID3v2Tag() to get an
	     ID3v2::Tag
	   - String::isNull(): Use isEmpty()
	   - String::null
	   - TrueAudio::File::setID3v2FrameFactory(): Use constructor
	   - WavPack::Properties::Properties(const ByteVector &, long, ReadStyle)
	* Made methods const: Frame::Header::size(), Frame::headerSize(),
	  MP4::Atom::findall(), MP4::Atoms::find(), MP4::Atoms::path().
	* Made classes non-virtual: APE::Footer, APE::Item, ASF::Attribute,
	  ASF::Picture, MP4::CoverArt, MP4::Item, ID3v2::ExtendedHeader, ID3v2::Footer,
	  ID3v2::Header, MPEG::Header, MPEG::XingHeader, Ogg::Page, Ogg::PageHeader.
	* Removed type definitions in TagLib namespace: wchar, uchar, ushort, uint,
	  ulong, ulonglong, wstring: Use the standard types.
	* Removed include file taglib_config.h and its defines TAGLIB_WITH_ASF,
	  TAGLIB_WITH_MP4: They were always 1 since version 1.8.
	* Behavioral changes:
	   - The basic tag methods (e.g. genre()) separate multiple values with " / "
	     instead of " ".
	   - The stream operator for String uses UTF-8 instead of ISO-8859-1 encoding.
	   - MP4 property ORIGINALDATE is mapped to "----:com.apple.iTunes:ORIGINALDATE"
	     instead of "----:com.apple.iTunes:originaldate".
	   - MP4 property ENCODEDBY is mapped to "©enc" instead of "©too", which is now
	     mapped to ENCODING.
	 * Unified interface for complex properties like pictures.
	 * Simplified the unified properties interface by providing its methods on
	   FileRef.
	 * C bindings: Support for properties (taglib_property_...) and complex
	   properties like cover art (taglib_complex_property_...), memory I/O streams.
	 * Support for Direct Stream Digital (DSD) stream files (DSF) and interchange
	   file format (DSDIFF, DFF), ADTS (AAC) files.
	 * The runtime version can be queried.
	 * Additional utility functions ByteVector::fromUShort(),
	   ByteVector::fromULongLong(), ByteVector::toULongLong(),
	   ByteVector::toULongLong(), List::sort().
	 * Fixed List::setAutoDelete() affecting implicitly shared copies.
	 * Build system: Direct support for CMake, find_package(TagLib) exports target
	   TagLib::tag.
	 * Build system: Fixed PackageConfig to support both relative and absolute paths.
	 * Build system: utf8cpp is no longer included, it can be provided via a system
	   package or a Git submodule.
	 * ASF: Support additional properties ARTISTWEBPAGE, ENCODING, ENCODINGTIME,
	   FILEWEBPAGE, INITIALKEY, ORIGINALALBUM, ORIGINALARTIST, ORIGINALFILENAME,
	   ORIGINALLYRICIST.
	 * ID3v2: Fixed extensibility of FrameFactory, use it also for WAV and AIFF
	   files.
	 * MP4: Support additional properties OWNER, RELEASEDATE.
	 * MP4: Introduced ItemFactory allowing clients to support new atom types.
	 * MP4: Detect duration from mvhd atom if not present in mdhd atom.
	 * MP4: Fixed type of hdvd atom to be  integer instead of boolean.
	 * MP4: Tolerate trailing garbage in M4A files.
	 * MPC: Fixed content check in presence of an ID3v2 tag.
	 * MPEG: Do not scan full file for ID3v2 tag when ReadStyle Fast is used.
	 * RIFF: Support properties ALBUM, ARRANGER, ARTIST, ARTISTWEBPAGE, BPM,
	   COMMENT, COMPOSER, COPYRIGHT, DATE, DISCSUBTITLE, ENCODEDBY, ENCODING,
	   ENCODINGTIME, GENRE, ISRC, LABEL, LANGUAGE, LYRICIST, MEDIA, PERFORMER,
	   RELEASECOUNTRY, REMIXER, TITLE, TRACKNUMBER.
	 * WAV: Fixed crash with files having the "id3 " chunk as the only valid chunk.
	 * Windows: Fixed support for files larger than 2GB.
    1.13.1 (Jul 1, 2023)
	 * Fixed parsing of TXXX frames without description.
	 * Detect MP4 atoms with invalid length or type.
	 * Do not miss ID3v2 frames when an extended header is present.
	 * Use property "DISCSUBTITLE" for ID3v2 "TSST" frame.
	 * Build system improvements: Use absolute path for macOS dylib install name,
	   support --define-prefix when using pkg-config, fixed minimum required
	   CppUnit version.
	 * Code clean up using clang-tidy.
    1.13 (Oct 27, 2022)
	 * Added interface StreamTypeResolver to support streams which cannot be
	   fopen()'ed, e.g. network files.
	 * Added MP4::File::strip() to remove meta atom from MP4 file.
	 * Added Map::value() to look up without creating entry.
	 * Use property "WORK" instead of "CONTENTGROUP" for ID3v2 "TIT1" frame,
	   use property "WORK" for ASF "WM/ContentGroupDescription",
	   use property "COMPILATION" for ID3v2 "TCMP" frame.
	 * Build system improvements: option WITH_ZLIB, BUILD_TESTING instead of
	   BUILD_TESTS, GNUInstallDirs, FeatureSummary, tests with BUILD_SHARED_LIBS,
	   cross compilation with Buildroot, systems without HAVE_GCC_ATOMIC, Clang.
	 * Fixed heap-buffer-overflows when handling ASF, APE, FLAC, ID3v2, MP4, MPC
	   tags.
	 * Fixed detection of invalid file by extension when correct type can be
	   detected by contents.
	 * Fixed unnecessary creation of map entries in APE and FLAC tags if looked up
	   tag does not exist.
	 * Fixed parsing of MP4 non-full meta atoms.
	 * Fixed potential ID3v1 false positive in the presence of an APE tag.
	 * Fixed ID3v2 version handling for frames embedded in CHAP or CTOC frames.
	 * Fixed parsing of multiple strings with a single BOM in ID3v2.4.0.
	 * Fixed several smaller issues reported by clang-tidy.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:14:10 +00:00