Commit Graph

19936 Commits

Author SHA1 Message Date
Peter Müller
ff67691882 Core Update 173: Ship libpcap
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:37:17 +00:00
Matthias Fischer
5e768852f3 libpcap: Update to 1.10.2
For details see:
https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES#l42

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:36:39 +00:00
Peter Müller
8aa8e6d4d2 Core Update 173: Ship ncurses
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:36:10 +00:00
Matthias Fischer
61a1248605 ncurses: Update to 6.4
For details see:
https://invisible-island.net/ncurses/announce.html#h2-release-notes

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:35:28 +00:00
Peter Müller
3a14441124 Core Update 173: Ship perl-HTML-Parser
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:30:13 +00:00
Adolf Belka
cada5b5387 perl-HTML-Parser: Update to version 3.78
- Update from 3.45 (2005) to 3.78 (2022)
- Update to rootfile
- Changelog
	3.78      2022-03-28
	  * Remove unused variable (GH#26) (Michal Josef Špaček)
	3.77      2022-03-14
	  * Update tests to remove HTML4 specific tags (GH#25) (Jess)
	3.76      2021-03-04
	  * Add a fix for a stack confusion error on `eof`. (GH#21) (Matthew Horsfall
	    and Chase Whitener)
	3.75      2020-08-30
	  * Clean up the prereqs a bit
	  * Mark HTML::Filter as deprecated as the docs point out
	  * Move Parser.pm into the lib directory with the others. This will help
	    with everything from auto version bumps after releases, to scanning for
	    prerequisites and spelling errors.
	  * Fix a few spelling errors in the POD for HTML::Parser
	  * Clean up the spacing on many examples in HTML::Parser
	3.74      2020-08-30
	  * Fix the order of date and version in this change log. (Thanks, haarg)
	  * Convert to Dist::Zilla
	  * Build all prereqs from our cpanfile
	  * Go through all test files and:
	    * perltidy
	    * Use strict/warnings
	    * Get rid of two-arg open
	    * Get rid of BAREWORD filehandles
	    * Fix the eval pattern used
	    * Only use -w where we catch $SIG{__WARN__}
	    * Fix encoding problems
	    * use utf8 where we have unicode in the source
	  * Fix a typo here and there
	  * perltidy all of the example apps in eg/
	  * Add comments explaining the apps in eg/ (GH#13 Thanks, Salvatore Bonaccorso)
	  * Print out UTF-8 encoded data where sensible in eg/
	3.73     2020-08-24
	  * Cleaned up this changes log.
	  * Added a .mailmap file to organize contributions accurately.
	  * Ensure all versions are equal and on the current version
	  * Add the .mailmap to the MANIFEST
	  * Change the META information to point to the new GH repository
	  * Add a .perltidyrc to use going forward
	  * Add hctype.h and pfunc.h to the dist as static files and stop asking
	    for them to be built on the user's end.
	  * Remove t/pod.t from userland testing
	  * Remove t/pod-coverage.t from userland testing
	  * Clean up the MANIFEST
	  * Start testing via GitHub Actions/Workflows
	  * Protect active parser from being freed (PR 13, RT #115034)
	3.72     2016-01-19
	  * Avoid more clang casting warnings
	  * Remove trailing whitespace
	  * Ensure entities expand to utf8 sequences under 'utf8_mode' [RT#99755]
	  * typo fixes (David Steinbrunner)
	  * Silence clang warning (Jacques Germishuys)
	  * const+static-ing (bulk88)
	3.71     2013-05-09
	  * Transform ':' in headers to '-' [RT#80524]
	3.70     2013-03-28
	  * Fix for cross-compiling with Buildroot (François Perrad)
	  * Comment typo fix
	  * Fix Issue #3 / RT #84144: HTML::Entities::decode_entities() needs
	    to call SV_CHECK_THINKFIRST() before checking READONLY flag (Yves Orton)
	3.69     2011-10-15
	  * Documentation fix; encode_utf8 mixup [RT#71151]
	  * Make it clearer that there are 2 (actually 3) options for handing "UTF-8 garbage"
	  * Github is the official repo
	  * Can't be bothered to try to fix the failures that occur on perl-5.6
	  * fix to TokeParser to correctly handle option configuration (Barbie)
	  * Aesthetic change: remove extra ; (Jon Jensen)
	  * Trim surrounding whitespace from extracted URLs. (Ville Skyttä)
	3.68     2010-09-01
	  * Declare the encoding of the POD to be utf8
	3.67     2010-08-17
	  * bleadperl 2154eca7 breaks HTML::Parser 3.66 [RT#60368] (Nicholas Clark)
	3.66     2010-07-09
	  * Fix entity decoding in utf8_mode for the title header
	3.65     2010-04-04
	  * Eliminate buggy entities_decode_old
	  * Fixed endianness typo [RT#50811] (Salvatore Bonaccorso)
	  * Documentation Fixes. (Ville Skyttä)
	3.64     2009-10-25
	  * Convert files to UTF-8
	  * Don't allow decode_entities() to generate illegal Unicode chars
	  * Copyright 2009
	  * Remove rendundant (repeated) test
	  * Make parse_file() method use 3-arg open [RT#49434]
	3.63     2009-10-22
	  * Take more care to prepare the char range for encode_entities [RT#50170]
	  * decode_entities confused by trailing incomplete entity
	3.62     2009-08-13
	  * Doc patch: Make it clearer what the return value from ->parse is
	  * HTTP::Header doc typo fix. (Ville Skyttä)
	  * Do not bother tracking style or script, they're ignored. (Ville Skyttä)
	  * Bring HTML 5 head elements up to date with WD-html5-20090423. (Ville Skyttä)
	  * Improve HeadParser performance. (Ville Skyttä)
	3.61     2009-06-20
	  * Test that triggers the crash that Chip fixed
	  * Complete documented list of literal tags
	  * Avoid crash (referenced pend_text instead of skipped_text) (Chip Salzenberg)
	  * Reference HTML::LinkExttor [RT#43164] (Antonio Radici)
	3.60     2009-02-09
	  * Spelling fixes. (Ville Skyttä)
	  * Test multi-value headers. (Ville Skyttä)
	  * Documentation improvements. (Ville Skyttä)
	  * Do not terminate head parsing on the <object> element (added in HTML 4.0). (Ville Skyttä)
	  * Add support for HTML 5 <meta charset> and new HEAD elements. (Ville Skyttä)
	  * Short description of the htextsub example (Damyan Ivanov)
	  * Suppress warning when encode_entities is called with undef [RT#27567] (Mike South)
	  * HTML::Parser doesn't compile with perl 5.8.0. (Zefram)
	3.59     2008-11-24
	  * Restore perl-5.6 compatibility for HTML::HeadParser.
	  * Improved META.yml
	3.58     2008-11-17
	  * Suppress "Parsing of undecoded UTF-8 will give garbage" warning
	     with attr_encoded [RT#29089]
	  * HTML::HeadParser:
	       - Recognize the Unicode BOM in utf8_mode as well [RT#27522]
	       - Avoid ending up with '/' keys attribute in Link headers.
	3.57     2008-11-16
	  * The <iframe> element content is now parsed in literal mode.
	  * Parsing of <script> and <style> content ends on the first end tag
	     even when that tag was in a quoted string.  That seems to be the
	     behaviour of all modern browsers.
	  * Implement backquote() attribute as requested by Alex Kapranoff.
	  * Test and documentation tweaks from Alex Kapranoff.
	3.56     2007-01-12
	  * Cloning of parser state for compatibility with threads.
	     Fixed by Bo Lindbergh <blgl@hagernas.com>.
	  * Don't require whitespace between declaration tokens.
	     <http://rt.cpan.org/Ticket/Display.html?id=20864>
	3.55     2006-07-10
	  * Treat <> at the end of document as text.  Used to be
	     reported as a comment.
	  * Improved Firefox compatibility for bad HTML:
	      - Unclosed <script>, <style> are now treated as empty tags.
	      - Unclosed <textarea>, <xmp> and <plaintext> treat rest as text.
	      - Unclosed <title> closes at next tag.
	  * Make <!a'b> a comment by itself.
	3.54     2006-04-28
	  * Yaakov Belch discovered yet another issue with <script> parsing.
	     Enabling of 'empty_element_tags' got the parser confused
	     if it found such a tag for elements that are normally parsed
	     in literal mode.  Of these <script src="..."/> is the only
	     one likely to be found in documents.
	     <http://rt.cpan.org//Ticket/Display.html?id=18965>
	3.53     2006-04-27
	  * When ignore_element was enabled it got confused if the
	     corresponding tags did not nest properly; the end tag
	     was treated it as if it was a start tag.
	     Found and fixed by Yaakov Belch <code@yaakovnet.net>.
	     <http://rt.cpan.org/Ticket/Display.html?id=18936>
	3.52     2006-04-26
	  * Make sure the 'start_document' fires exactly once for
	     each document parsed.  For earlier releases it did not
	     fire at all for empty documents and could fire multiple
	     times if parse was called with empty chunks.
	  * Documentation tweaks and typo fixes.
	3.51     2006-03-22
	  * Named entities outside the Latin-1 range are now only expanded
	     when properly terminated with ";".  This makes HTML::Parser
	     compatible with Firefox/Konqueror/MSIE when it comes to how these
	     entities are expanded in attribute values.  Firefox does expand
	     unterminated non-Latin-1 entities in plain text, so here
	     HTML::Parser only stays compatible with Konqueror/MSIE.
	     Fixes <http://rt.cpan.org/Ticket/Display.html?id=17962>.
	  * Fixed some documentation typos spotted by <william@knowmad.com>.
	     <http://rt.cpan.org/Ticket/Display.html?id=18062>
	3.50     2006-02-14
	  * The 3.49 release didn't compile with VC++ because it mixed code
	     and declarations.  Fixed by Steve Hay <steve.hay@uk.radan.com>.
	3.49     2006-02-08
	  * Events could sometimes still fire after a handler has signaled eof.
	  * Marked_sections with text ending in square bracket parsed wrong.
	     Fix provided by <paul.bijnens@xplanation.com>.
	     <http://rt.cpan.org/Ticket/Display.html?id=16749>
	3.48     2005-12-02
	  * Enabling empty_element_tags by default for HTML::TokeParser
	     was a mistake.  Reverted that change.
	     <http://rt.cpan.org/Ticket/Display.html?id=16164>
	  * When processing a document with "marked_sections => 1", the
	     skipped text missed the first 3 bytes "<![".
	     <http://rt.cpan.org/Ticket/Display.html?id=16207>
	3.47     2005-11-22
	  * Added empty_element_tags and xml_pic configuration
	     options.  These make it possible to enable these XML
	     features without enabling the full XML-mode.
	  * The empty_element_tags is enabled by default for
	     HTML::TokeParser.
	3.46     2005-10-24
	  * Don't try to treat an literal &nbsp; as space.
	     This breaks Unicode parsing.
	     <http://rt.cpan.org/Ticket/Display.html?id=15068>
	  * The unbroken_text option is now on by default
	     for HTML::TokeParser.
	  * HTML::Entities::encode will now encode "'" by default.
	  * Improved report/ignore_tags documentation by
	     Norbert Kiesel <nkiesel@tbdnetworks.com>.
	  * Test suite now use Test::More, by
	     Norbert Kiesel <nkiesel@tbdnetworks.com>.
	  * Fix HTML::Entities typo spotted by
	     Stefan Funke <bundy@adm.arcor.net>.
	  * Faster load time with XSLoader (perl-5.6 or better now required).
	  * Fixed POD markup errors in some of the modules.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2023-01-04 21:29:42 +00:00
Peter Müller
f46f939827 linux: Update configuration files and x86_64 rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-04 21:26:43 +00:00
Peter Müller
4130cf5a3d Core Update 173: Ship kernel and regenerate initial ramdisks locally
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-03 16:16:44 +00:00
Peter Müller
6647dd5c5c linux: Disable the latent entropy plugin
It does not generate cryptographically secure entropy.

Backported from IPFire 3.x as 6aea180b26906f001611dcc0c54f494818069d8c.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:11:56 +00:00
Peter Müller
00efe232b7 linux: Disable syscalls that allows processes to r/w other processes' memory
Backported from IPFire 3.x as 48931178ff83911c5bbc86194dea694845ae1608.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:11:20 +00:00
Peter Müller
a5fbbcf464 linux: Disable some character devices that do not make sense
Inspired by IPFire 3.x (commit 472fb5fa6b1f77a2166407a8936fda6c8cbdb80b).

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:10:53 +00:00
Peter Müller
440e2c2e68 linux: Disable all sorts of useless Device Mapper targets
This patch also compiles all sorts of device mapper stuff as modules.

Backported from IPFire 3.x as 6fe31a44d07d8705ca7713c449ccbb3dbb9684a0.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:10:28 +00:00
Peter Müller
0186d8d0e1 linux: Disable ACPI configfs support
This is disabled in IPFire 3.x, and projects such as grsecurity
recommend doing so for security reasons as well. Also, skimming through
our source code, there is no point where this ACPI configfs would have
been explicitly mounted, which leads to the assumption that we never
used it anyway.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:09:25 +00:00
Peter Müller
41d58ef4f3 linux: Enable Landlock support
From the kernel's documentation:

> Landlock is a sandboxing mechanism that enables processes to restrict
> themselves (and their future children) by gradually enforcing
> tailored access control policies. A Landlock security policy is a
> set of access rights (e.g. open a file in read-only, make a
> directory, etc.) tied to a file hierarchy. Such policy can be
> configured and enforced by any processes for themselves using the
> dedicated system calls: landlock_create_ruleset(),
> landlock_add_rule(), and landlock_restrict_self().

There is no harm in enabling this security feature, so applications
supporting Landlock can benefit from it.

Rolled forward from https://patchwork.ipfire.org/project/ipfire/patch/d7ac0caf-5a7c-bcca-6293-16c773523942@ipfire.org/
to submit all kernel-related changes as a single patchset.

Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:09:02 +00:00
Peter Müller
7a39018219 linux: Wipe all memory when rebooting on EFI
Backported from IPFire 3.x as 49242a5661a550b370fff56f893df0983700ef32.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:08:38 +00:00
Peter Müller
0548bad00a linux: Disable the entire PCMCIA/CardBus subsystem
Backported from IPFire 3.x as 3d9d44ddaec6b32eaa5c0fc6470ec61d23e61f92.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2023-01-03 16:08:03 +00:00
Peter Müller
63b3a6edb3 linux: Update to 5.15.85
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2023-01-03 16:07:48 +00:00
Michael Tremer
eafaa37c4f dnsdist: Update to 1.7.3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:56:54 +00:00
Michael Tremer
9e5ab853a5 bird: Update to 2.0.11
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:56:44 +00:00
Peter Müller
50a71847bb Core Update 173: Ship jquery
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:56:22 +00:00
Adolf Belka
8b5450a593 jquery: Update to version 3.6.3
- Update from version 3.6.0 to 3.6.3
- There is no rootfile for this package
- Changelog
    3.6.3
	Build
	    remove stale Insight package from custom builds (81d5bd17)
	    Updating the 3.x-stable version to 3.6.3-pre. (2c5b47c4)
	Selector
	    Update Sizzle from 2.3.8 to 2.3.9 (#5177, 8989500e)
    3.6.2
	CSS
	    Return undefined for whitespace-only CSS variable values (#5120) (8bea1dec)
	    Don’t trim whitespace of undefined custom property (#5105, c0db6d70)
	Selector
	    Manipulation: Fix DOM manip within template contents (#5147, 5318e311)
	    Update Sizzle from 2.3.7 to 2.3.8 (#5147, a1b7ae3b)
	    Update Sizzle from 2.3.6 to 2.3.7 (#5098, ee0fec05)
	Tests
	    Remove a workaround for a Firefox XML parsing issue (965391ab)
	    Make Ajax tests pass in iOS 9 (d051e0e3)
    3.6.1
	CSS
	    Skip falsy values in `addClass( array )`, compress code (#4998, 9b34bdb1)
	    Justify use of rtrim on CSS property values (a1373e2e)
	    Remove a redundant extension from rtrimCSS inclusion in curCSS (509eeb89)
	    Trim whitespace surrounding CSS Custom Properties values (#4926, 219ccf5c)
	Deprecated
	    Improve $.trim performance for strings with lots of whitespace (69940100)
	Docs
	    Update webpack website in README (410d5cf0)
	    add link to preview the new CLAs (b24e83bd)
	    Replace `#NUMBER` Trac issue references with `trac-NUMBER` (95e34b69)
	    remove expired links from old jquery source (c3c4d207)
	    Remove links to Web Archive from source (#4981, 4b0d8900)
	    Update the URL to the latest jQuery build in CONTRIBUTING.md (4bb7d069)
	    Remove the CLA checkbox in the pull request template (93406490)
	Event
	    Don’t break focus triggering after `.on(focus).off(focus)` (#4867, b3e4a7eb)
	Manipulation
	    Don’t remove HTML comments from scripts (#4904, 924b515d)
	Tests
	    Exclude tests based on compilation flags, not API presence (3.x version) (#5069, bc165128)
	    Workaround an XML parsing bug in Firefox (be3bd560)
	    lock colors version to 1.4.0 (fa70e8fd)
	    Skip ETag AJAX tests on TestSwarm (81fa1e2a)
	    Allow statusText to be “success” in AJAX tests (7439e221)
	    Disable CSS Custom Properties tests in old Safari/iOS (e9f77267)
	    Make Karma browser timeout larger than the QUnit one (a51eec74)
	    Don’t remove csp.log in the cspClean action of mock.php (ba81326f)
	    Load the TestSwarm listener via HTTPS (f6f07204)
	    Switch background image from online file to local 1×1.jpg (8d20cb97)
	    Strip untypical callback parameter characters from mock.php (b14b62c8)
	Infrastructure
	    Update GitHub Actions (0f6c3d9e)
	    Add dependabot.yml config (GitHub Actions) (5a363017)
	    Test on Node 17, update Grunt & `karma-*` packages (9bc0df70)
	    Separate the install step from running tests in GitHub Actions (cb35067f)
	    remove travis.yml and travis mentions from core (#4984) (55669883)
	    Migrate CI to GitHub Actions (b39cfa15)
	    Test on Node.js 16 instead of 15 (f12cac60)
	    Take core-js from the external directory as well (752b8981)
	    Updating the 3.x-stable version to 3.6.1-pre. (3642471e)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:56:10 +00:00
Peter Müller
19511b131f Core Update 173: Ship ovpnmain.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:55:44 +00:00
Matthias Fischer
a3e8b9bbff ovpnmain.cgi: Translation string 'dh parameter' doesn't exist
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-31 10:55:09 +00:00
Peter Müller
8013f278c6 Core Update 173: Ship curl
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:23:52 +00:00
Adolf Belka
f5a57a8d6a curl: Update to version 7.87.0
- Update from version 7.86.0 to 7.87.0
- Update of rootfile
- version 7.87.0 changed hoiw it deals with deprecated typecheck expressions. This caused
   zabbix_agentd build to fail. Curl developers created a commit to fix this in next
   version release. Added as patch here. Should be able to be removed with next curl
   update.
- Changelog
    curl and libcurl 7.87.0
	This release includes the following changes:
		 o curl: add --url-query [52]
		 o CURLOPT_QUICK_EXIT: don't wait for DNS thread on exit [75]
		 o lib: add CURL_WRITEFUNC_ERROR to signal write callback error [47]
		 o openssl: reduce CA certificate bundle reparsing by caching [11]
		 o version: add a feature names array to curl_version_info_data [67]
	This release includes the following bugfixes:
		 o altsvc: fix rejection of negative port numbers [144]
		 o aws_sigv4: consult x-%s-content-sha256 for payload hash [102]
		 o aws_sigv4: fix typos in aws_sigv4.c [101]
		 o base64: better alloc size [124]
		 o base64: encode without using snprintf [123]
		 o base64: faster base64 decoding [120]
		 o build: assume assert.h is always available [111]
		 o build: assume errno.h is always available [110]
		 o c-hyper: CONNECT respones are not server responses [137]
		 o c-hyper: fix multi-request mechanism [115]
		 o CI: Change FreeBSD image from 12.3 to 12.4 [108]
		 o CI: LGTM.com will be shut down in December 2022 [112]
		 o ci: Remove zuul fuzzing job as it's superseded by CIFuzz
		 o cmake: check for cross-compile, not for toolchain [54]
		 o CMake: fix build with `CURL_USE_GSSAPI` [78]
		 o cmake: really enable warnings with clang [25]
		 o cmake: set the soname on the shared library [140]
		 o cmdline-opts/gen.pl: fix the linkifier [64]
		 o cmdline-opts/page-footer: remove long option nroff formatting
		 o config-mac: define HAVE_SYS_IOCTL_H [107]
		 o config-mac: fix typo: size_T -> size_t [125]
		 o config-mac: remove HAVE_SYS_SELECT_H [116]
		 o config-win32: fix SIZEOF_OFF_T for MSVC and old MinGW [41]
		 o configure: require fork for NTLM-WB [36]
		 o contributors.sh: actually use $CURLWWW instead of just setting it [129]
		 o cookie: compare cookie prefixes case insensitively [14]
		 o cookie: expire cookies at once when max-age is negative [45]
		 o cookie: open cookie jar as a binary file [89]
		 o curl-openssl.m4: do not add $prefix/include/openssl to CPPFLAGS [90]
		 o curl-rustls.m4: on macOS, rustls also needs the Security framework [44]
		 o curl.h: include <sys/select.h> on SerenityOS [104]
		 o curl.h: name all public function parameters [118]
		 o curl.h: reword comment to not use deprecated option [132]
		 o curl: override the numeric locale and set "C" by force [60]
		 o curl: timeout in the read callback [15]
		 o curl_endian: remove Curl_write64_le from header [81]
		 o curl_get_line: allow last line without newline char [88]
		 o curl_path: do not add '/' if homedir ends with one [4]
		 o curl_url_get.3: remove spurious backtick [127]
		 o curl_url_set.3: document CURLU_DISALLOW_USER [139]
		 o curl_url_set.3: fix typo [148]
		 o CURLMOPT_SOCKETFUNCTION.3: clarify CURL_POLL_REMOVE [1]
		 o CURLOPT_COOKIEFILE.3: advice => advise [131]
		 o CURLOPT_DEBUGFUNCTION.3: do not assume nul-termination in example [31]
		 o CURLOPT_DEBUGFUNCTION.3: emphasize that incoming data is "raw" [130]
		 o CURLOPT_POST.3: Explain setting to 0 changes request type [61]
		 o docs/curl_ws_send: Fixed typo in websocket docs [114]
		 o docs/EARLY-RELEASE.md: how to determine an early release [37]
		 o docs/examples: spell correction ('Retrieve') [119]
		 o docs/INSTALL.md: expand on static builds [62]
		 o docs/WEBSOCKET.md: explain the URL use [71]
		 o docs: add missing parameters for --retry flag [2]
		 o docs: add more "SEE ALSO" links to CA related pages [82]
		 o docs: explain the noproxy CIDR notation support [17]
		 o docs: extend the dump-header documentation [150]
		 o docs: remove performance note in CURLOPT_SSL_VERIFYPEER [13]
		 o examples/10-at-a-time: fix possible skipped final transfers [85]
		 o examples: update descriptions [83]
		 o ftp: support growing files with CURLOPT_IGNORE_CONTENT_LENGTH [96]
		 o gen.pl: do not generate CURLHELP bitmask lines > 79 characters [10]
		 o GHA: clarify workflows permissions, set least possible privilege [79]
		 o GHA: NSS use clang instead of clang-9 [103]
		 o gnutls: use common gnutls init and verify code for ngtcp2 [98]
		 o headers: add endif comments [51]
		 o HTTP-COOKIES.md: mention that http://localhost is a secure context [76]
		 o HTTP-COOKIES.md: update the 6265bis link to draft-11 [70]
		 o http: do not send PROXY more than once [46]
		 o http: fix the ::1 comparison for IPv6 localhost for cookies [155]
		 o http: set 'this_is_a_follow' in the Location: logic [40]
		 o http: use the IDN decoded name in HSTS checks [154]
		 o hyper: classify headers as CONNECT and 1XX [56]
		 o hyper: fix handling of hyper_task's when reusing the same address [33]
		 o idn: remove Curl_win32_ascii_to_idn [153]
		 o INSTALL: update operating systems and CPU archs [91]
		 o KNOWN_BUGS: remove eight entries [50]
		 o lib1560: add some basic IDN host name tests [151]
		 o lib: connection filters (cfilter) addition to curl: [43]
		 o lib: feature deprecation warnings in gcc >= 4.3 [58]
		 o lib: fix some type mismatches and remove unneeded typecasts [12]
		 o lib: parse numbers with fixed known base 10 [77]
		 o lib: remove bad set.opt_no_body assignments [42]
		 o lib: rewind BEFORE request instead of AFTER previous [65]
		 o lib: sync guard for Curl_getaddrinfo_ex() definition and use [6]
		 o lib: use size_t or int etc instead of longs [145]
		 o libcurl-errors.3: remove duplicate word [3]
		 o libssh2: return error when ssh_hostkeyfunc returns error [121]
		 o limit-rate.d: see also --rate
		 o log2changes.pl: wrap long lines at 80 columns [59]
		 o Makefile.mk: address minor issues [87]
		 o Makefile.mk: improve a GNU Make hack [122]
		 o Makefile.mk: portable Makefile.m32 [86]
		 o maketgz: set the right version in lib/libcurl.plist [53]
		 o mime: relax easy/mime structures binding [94]
		 o misc: Fix incorrect spelling [113]
		 o misc: remove duplicated include files [28]
		 o misc: typo and grammar fixes [23]
		 o negtelnetserver.py: have it call its close() method [68]
		 o netrc.d: provide mutext info [63]
		 o netware: remove leftover traces [80]
		 o noproxy: also match with adjacent comma [19]
		 o noproxy: guard against empty hostnames in noproxy check [136]
		 o noproxy: tailmatch like in 7.85.0 and earlier [35]
		 o nroff-scan.pl: detect double highlights
		 o ntlm: improve comment for encrypt_des [55]
		 o ntlm: silence ubsan warning about copying from null target_info pointer [69]
		 o openssl/mbedtls: use %d for outputing port with failf (int) [72]
		 o openssl: prefix errors with '[lib]/[version]: ' [105]
		 o os400: use platform socklen_t in Curl_getnameinfo_a [18]
		 o page-header: grammar improvement (display transfer rate) [126]
		 o proxy: refactor haproxy protocol handling as connection filter [57]
		 o README.md: remove badges and xmas-tree garnish [9]
		 o rtsp: fix RTSP auth [49]
		 o runtests: --no-debuginfod now disables DEBUGINFOD_URLS [100]
		 o runtests: do CRLF replacements per section only [97]
		 o scripts/checksrc.pl: detect duplicated include files [29]
		 o sendf: change Curl_read_plain to wrap Curl_recv_plain [48]
		 o sendf: remove unnecessary if condition [26]
		 o setup: do not require __MRC__ defined for Mac OS 9 builds [117]
		 o smb/telnet: do not free the protocol struct in *_done() [152]
		 o socks: fix username max size is 255 (0xFF) [146]
		 o spellcheck.words: remove 'github' as an accepted word [22]
		 o ssl-reqd.d: clarify that this is for upgrading connections only [138]
		 o strcase: use curl_str(n)equal for case insensitive matches [8]
		 o styled-output.d: this option does not work on Windows [93]
		 o system.h: fix socklen_t, curl_off_t, long long for Classic Mac OS [133]
		 o system.h: support 64-bit curl_off_t for NonStop 32-bit [21]
		 o test1421: fix typo [109]
		 o test3026: reduce runtime in legacy mingw builds [73]
		 o tests/sshserver.pl: re-enable ssh-rsa while using openssh 8.8+
		 o tests: add authorityInfoAccess to generated certs [99]
		 o tests: add HTTP/3 test case, custom location for proper nghttpx [106]
		 o tls: backends use connection filters for IO, enabling HTTPS-proxy [92]
		 o tool: determine the correct fopen option for -D [95]
		 o tool_cfgable: free the ssl_ec_curves on exit [142]
		 o tool_cfgable: make socks5_gssapi_nec a boolean [128]
		 o tool_formparse: avoid clobbering on function params [135]
		 o tool_getparam: make --no-get work as the opposite of --get [39]
		 o tool_operate: provide better errmsg for -G with bad URL [16]
		 o tool_operate: when aborting, make sure there is a non-NULL error buffer [20]
		 o tool_paramhlp: free the proto strings on exit [141]
		 o url: move back the IDN conversion of proxy names [74]
		 o urlapi: reject more bad letters from the host name: &+() [143]
		 o urldata: change port num storage to int and unsigned short [66]
		 o vms: remove SIZEOF_SHORT [134]
		 o vtls: fix build without proxy support [38]
		 o vtls: localization of state data in filters [84]
		 o WEBSOCKET.md: fix broken link [30]
		 o Websocket: fixes for partial frames and buffer updates [7]
		 o websockets: fix handling of partial frames [32]
		 o windows: fail early with a missing windres in autotools [5]
		 o windows: fix linking .rc to shared curl with autotools [24]
		 o winidn: drop WANT_IDN_PROTOTYPES [27]
		 o ws: if no connection is around, return error [149]
		 o ws: return CURLE_NOT_BUILT_IN when websockets not built in [34]
		 o x509asn1: avoid freeing unallocated pointers [147]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:23:41 +00:00
Peter Müller
e9da1d7a29 Core Update 173: Ship harfbuzz
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:23:23 +00:00
Adolf Belka
2e65bba2a0 harfbuzz: Update to version 6.0.0
- Update from version 4.4.1 to 6.0.0
- Update of rootfile
- Changelog
    Overview of changes leading to 6.0.0
	- A new API have been added to pre-process the face and speed up future
	  subsetting operations on that face. Provides up to a 95% reduction in
	  subsetting times when the same face is subset more than once.
	  For more details and benchmarks, see:
	  https://github.com/harfbuzz/harfbuzz/blob/main/docs/subset-preprocessing.md
	- Shaping have been speedup by skipping entire lookups when the buffer contents
	  don't intersect with the lookup. Shows up to a 10% speedup in shaping some
	  fonts. (Behdad Esfahbod)
	- A new experimental feature, “Variable Composites” (enabled by passing
	  -Dexperimental_api=true to meson), is also featured in this release.
	  This technology enables drastic compression of fonts in the Chinese,
	  Japanese, Korean, and other writing systems, by reusing the OpenType Font
	  Variations technology for encoding “smart components” into the font.
	  The specification for these  extensions to the font format can be found in:
	  https://github.com/harfbuzz/boring-expansion-spec/blob/glyf1/glyf1.md
	  A test variable-font with ~7160 Hangul syllables derived from the
	  NotoSerifKR-VF font has been built, with existing OpenType technology, as
	  well as with the new Variable Composites (VarComposites) technology. The
	  VarComposites font is over 90% smaller than the OpenType version of the font!
	  Both fonts can be obtained from the “smarties” repository:
	  https://github.com/behdad/smarties/tree/3.0/fonts/hangul/serif
	  When building HarfBuzz with experimental features enabled, you can test
	  the “smarties” font with a sample character like this:
	  $ hb-view butchered-hangul-serif-smarties-variable.ttf -u AE01 --variations=wght=700
	- The HarfBuzz subsetter can now drop axes by pinning them to specific values
	  (also referred to as instancing). There are a couple of restrictions
	  currently:
	  - Only works with TrueType (“glyf”) based fonts. “CFF2” fonts are not yet
	    supported.
	  - Only supports the case where all axes in a font are pinned.
	- Miscellaneous fixes and improvements.
	- New API
		+hb_subset_input_pin_axis_location()
		+hb_subset_input_pin_axis_to_default()
		+hb_subset_preprocess()
    Overview of changes leading to 5.3.1
	- Subsetter repacker fixes. (Garret Rieger)
	- Adjust Grapheme clusters for Katakana voiced sound marks. (Behdad Esfahbod)
	- New “hb-subset” option “--preprocess-face”. (Garret Rieger)
    Overview of changes leading to 5.3.0
	- Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
	  (Khaled Hosny)
	- Map “rlig” to appropriate AAT feature selectors. (Jonathan Kew)
	- Update USE data files to latest version. (David Corbett)
	- Check “CBDT” extents first before outline tables, to help with fonts that
	  also include an empty “glyf” table. (Khaled Hosny)
	- More work towards variable font instancing in the subsetter. (Qunxin Liu)
	- Subsetter repacker improvements. (Garret Rieger)
	- New API:
		+hb_ot_layout_lookup_get_optical_bound()
		+hb_face_builder_sort_tables()
    Overview of changes leading to 5.2.0
	- Fix regressions in hb-ft font functions for FT_Face’s with transformation
	  matrix. (Behdad Esfahbod)
	- The experimental hb-repacker API now supports splitting several GPOS subtable
	  types when needed. (Garret Rieger)
	- The HarfBuzz extensions to OpenType font format are now opt-in behind
	  build-time flags. (Behdad Esfahbod)
	- The experimental hb-subset variable fonts instantiation API can now
	  instantiate more font tables and arbitrary axis locations. (Qunxin Liu)
	- Unicode 15 support. (David Corbett)
	- Various documentation improvements. (Behdad Esfahbod, Matthias Clasen)
	- The hb-view command line tool now detects WezTerm inline images support.
	  (Wez Furlong)
	- Fix FreeType and ICU dependency lookup with meson. (Xavier Claessens)
	- New API:
		+HB_SCRIPT_KAWI
		+HB_SCRIPT_NAG_MUNDARI
    Overview of changes leading to 5.1.0
	- More extensive buffer tracing messages. (Behdad Esfahbod)
	- Fix hb-ft regression in bitmap fonts rendering. (Behdad Esfahbod)
	- Support extension promotion of lookups in hb-subset-repacker. (Garret Rieger)
	- A new HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL for scripts that use elongation
	  (e.g. Arabic) to signify where it is safe to insert tatweel glyph without
	  interrupting shaping. (Behdad Esfahbod)
	- Add “--safe-to-insert-tatweel” to “hb-shape” tool. (Behdad Esfahbod)
	- New API
		+HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL
		+HB_BUFFER_FLAG_PRODUCE_SAFE_TO_INSERT_TATWEEL
    Overview of changes leading to 5.0.1
	- Fix version 2 “avar” table with hb-ft. (Behdad Esfahbod)
    Overview of changes leading to 5.0.0
	- Support fonts with more than 65535 glyphs in “GDEF”, “GSUB”, and “GPOS”
	  tables. This is part of https://github.com/be-fonts/boring-expansion-spec to
	  extend OpenType in a backward-compatible way.
	  (Behdad Esfahbod, Garret Rieger)
	- Complete support for more than 65535 glyphs in “glyf” table that started in
	  4.0.0 release. Part of boring-expansion-spec. (Behdad Esfahbod)
	- Support version 2 of “avar” table. Part of boring-expansion-spec.
	  (Behdad Esfahbod)
	- Fix mark attachment on multiple substitutions in some cases.
	  (Behdad Esfahbod)
	- Fix application of “calt”, “rclt”, and “ccmp” features to better match
	  Uniscribe behaviour with some Arabic fonts. (Behdad Esfahbod)
	- Improvement to interaction between multiple cursive attachments.
	  (Behdad Esfahbod)
	- Improve multiple mark interactions in Hebrew. (Behdad Esfahbod)
	- Implement language-specific forms in AAT shaping. (Behdad Esfahbod)
	- Fix variation of “VORG” table. (Behdad Esfahbod)
	- Support for specific script tags to be retained in the subsetter, and add
	  “--layout-scripts” option to “hb-subset” tool. (Garret Rieger)
	- Accept space as delimiter for --features/--variations in command line tools.
	- Improve subsetting of “COLR” table. (Qunxin Liu)
	- Improved fuzzing coverage for ot-math API. (Frédéric Wang)
	- Fix “kern” table version 2 (AAT) sanitization on 32-bit systems.
	  (Behdad Esfahbod)
	- Allow negative glyph advances from “graphite2” shaper. (Stephan Bergmann)
	- Implement loading (color) bitmap fonts with hb-ft. (Behdad Esfahbod)
	- Fix regression in hb-ft when changing font size. (Behdad Esfahbod)
	- Fix build on GCC < 7. (Kleis Auke Wolthuizen)
	- Dynamically load dwrite.dll on windows if “directwrite” shaper is enabled.
	  (Luca Bacci)
	- Provide a single-file harfbuzz-subset.cc file for easier alternate building
	  of hb-subset library, similar to harfbuzz.cc. (Khaled Hosny)
	- New API
		+HB_SUBSET_SETS_LAYOUT_SCRIPT_TAG
		+hb_language_matches()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:23:11 +00:00
Peter Müller
ab2d5f16ee Core Update 173: Ship libcap
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:22:49 +00:00
Adolf Belka
f05a2a1a6f libcap: Update to version 2.66
- Update from version 2.64 to 2.66
- Update of rootfile
- Changelog
	Release notes for 2.66
	    Fix documentation typos in cap_from_text.3 (Bug: 216514 reported by Paulo
             Andrade.)
	    Some getpcaps code clean up and a fix for PID argument parsing from Jakub Wilk.
	    Slightly more robust Makefiles to address an error with make -j48 test
             observed by Tomasz Kłoczko.
	    Include a simple Go program, captrace, to trace kernel capability validation
             checks
	        This program can be used to figure out what capabilities a program needs
                 to operate.
	        captrace (a wrapper for bpftrace) uses BPF kprobes to monitor the kernel
                 for capability checks and whether or not they succeed for the system, a
                 specific PID or a program's direct execution.
	    Trim down the default file capabilities for contrib/sucap/su to those
             actually needed and set USER and HOME environment variables so bash doesn't
             complain about a sourcing error.
	Release notes for 2.65
	    Fix syntax error in DEBUG build of protected code in setcap.c. (Bug reported
             by yixiangzhike.)
	    Prevent bash from reading the wrong startup files when the capsh --user=xxx
             argument is used to invoke a shell as the user xxx. This is done by capsh
             now changing the USER and HOME environment variables when --user is
             specified. The argument --noenv can be used to suppress this behavior to
             what used to be the problematic default. (Bug: 215926)
	    Improved documentation:
	        Man page info for cap_get_pid() and cap_reset_ambient(). (Bug reports
                 from nomonemo and Tinkerer One.)
	        Improve documentation and help for the captree program.
	    Updated go/Makefile comment about an unfixed Go runtime bug in go1.16 and
             go1.17 (resolved in go1.18+), and the deadlock behavior of the psx-fd test.
	    Refresh the signatures on the two GPG keys morgan@ uses. The 4096 bit one is
             preferred, but the older one is also used for continuity reasons. This set
             of signatures should also be available from the various key servers out there.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:22:38 +00:00
Adolf Belka
2d8367ddb6 libcdada: Update to version 0.4.0
- Update from version 0.3.5 to 0.4.0
- Update of rootfile not required
- Update of patch in line with libcdada version
- Changelog
    v0.4.0 (12th March 2022)
	Add `cdada_map_insert_replace()`

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:22:22 +00:00
Peter Müller
cfbf6592d6 Core Update 173: Ship libgpg-error
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:22:04 +00:00
Adolf Belka
c90bb8d683 libgpg-error: Update to version 1.46
- Update from version 1.44 to 1.46
- Update of rootfile
- Changelog
    Noteworthy changes in version 1.46 (2022-10-07) [C33/A33/R1]
	 * Support for bidirectional pipes under Windows.  [T6112]
	 * REG_DWORD types are now support in the Windows Registry.
	   [rE745d333cf7]
	 * Added ES_SYSHD_SOCK support for gpgrt_sysopen under Windows.
	   [rE018ea46a30]
	 * Fixed gpgrt_log_get_fd for the file case.  [T5922]
	 * Avoids header problem with C11 and "noreturn".  [T4002]
	 * The gpg-error-config command is not installed by default, because
	   it is now replaced by use of pkg-config/gpgrt-config with
	   gpg-error.pc.  Supply --enable-install-gpg-error-config configure
	   option, if it's really needed.
	 * Fixed support of posix-lock for FreeBSD.  [rE6e17e70bb7]
	 * Build fixes for some Mingw tool chain versions.  [T5890, T4656]
	 * Removed remaining support for WindowsCE.  [T5912]
	 * Updated config.guess, config.sub, and config.rpath.  [T6078]
	 * gpg-error-config is now only installed when enabled.  [T5683]
	 * System paths are now stripped from --cflags --and --libs.  [T6136]
	 Release-info: https://dev.gnupg.org/T5923
    Noteworthy changes in version 1.45 (2022-04-07) [C33/A33/R0]
	 * Support the "sysopen" mode parameter for gpgrt_fopen so that file
	   names longer than MAX_PATH can be supported under Windows.
	 * gpgrt_access and gpgrt_mkdir now support file names longer than
	   MAX_PATH.
	 * gpgrt_fopen now maps "/dev/null" to "nul" on Windows.
	 * Published some internal helper functions for Windows.
	 * Interface changes relative to the 1.42 release:
		 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
		 gpgrt_free_wchar                 NEW.
		 gpgrt_fname_to_wchar             NEW.
		 gpgrt_utf8_to_wchar              NEW.
		 gpgrt_wchar_to_utf8              NEW.
	 Release-info: https://dev.gnupg.org/T5802

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 11:21:47 +00:00
Stéphane Pautrel
99ec341ccf Update French translation
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-29 10:43:21 +00:00
Peter Müller
511d6e416a libqmi: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 20:44:38 +00:00
Peter Müller
c4cbb74cb3 expat: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 20:44:04 +00:00
Peter Müller
de663df0a8 aprutil: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 20:43:10 +00:00
Peter Müller
6c88ad32af glib: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 20:41:32 +00:00
Peter Müller
3dc46659e4 Core Update 173: Ship xz
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:37:00 +00:00
Adolf Belka
c4cd2b213e xz: Update to version 5.4.0
- Update from version 5.2.8 to 5.4.0
- Update of rootfile
- Changelog
    5.4.0 (2022-12-13)
	    This bumps the minor version of liblzma because new features were
	    added. The API and ABI are still backward compatible with liblzma
	    5.2.x and 5.0.x.
	    Since 5.3.5beta:
	    * All fixes from 5.2.10.
	    * The ARM64 filter is now stable. The xz option is now --arm64.
	      Decompression requires XZ Utils 5.4.0. In the future the ARM64
	      filter will be supported by XZ for Java, XZ Embedded (including
	      the version in Linux), LZMA SDK, and 7-Zip.
	    * Translations:
	        - Updated Catalan, Croatian, German, Romanian, and Turkish
	          translations.
	        - Updated German man page translations.
	        - Added Romanian man page translations.
	    Summary of new features added in the 5.3.x development releases:
	    * liblzma:
	        - Added threaded .xz decompressor lzma_stream_decoder_mt().
	          It can use multiple threads with .xz files that have multiple
	          Blocks with size information in Block Headers. The threaded
	          encoder in xz has always created such files.
	          Single-threaded encoder cannot store the size information in
	          Block Headers even if one used LZMA_FULL_FLUSH to create
	          multiple Blocks, so this threaded decoder cannot use multiple
	          threads with such files.
	          If there are multiple Streams (concatenated .xz files), one
	          Stream will be decompressed completely before starting the
	          next Stream.
	        - A new decoder flag LZMA_FAIL_FAST was added. It makes the
	          threaded decompressor report errors soon instead of first
	          flushing all pending data before the error location.
	        - New Filter IDs:
	            * LZMA_FILTER_ARM64 is for ARM64 binaries.
	            * LZMA_FILTER_LZMA1EXT is for raw LZMA1 streams that don't
	              necessarily use the end marker.
	        - Added lzma_str_to_filters(), lzma_str_from_filters(), and
	          lzma_str_list_filters() to convert a preset or a filter chain
	          string to a lzma_filter[] and vice versa. These should make
	          it easier to write applications that allow users to specify
	          custom compression options.
	        - Added lzma_filters_free() which can be convenient for freeing
	          the filter options in a filter chain (an array of lzma_filter
	          structures).
	        - lzma_file_info_decoder() to makes it a little easier to get
	          the Index field from .xz files. This helps in getting the
	          uncompressed file size but an easy-to-use random access
	          API is still missing which has existed in XZ for Java for
	          a long time.
	        - Added lzma_microlzma_encoder() and lzma_microlzma_decoder().
	          It is used by erofs-utils and may be used by others too.
	          The MicroLZMA format is a raw LZMA stream (without end marker)
	          whose first byte (always 0x00) has been replaced with
	          bitwise-negation of the LZMA properties (lc/lp/pb). It was
	          created for use in EROFS but may be used in other contexts
	          as well where it is important to avoid wasting bytes for
	          stream headers or footers. The format is also supported by
	          XZ Embedded (the XZ Embedded version in Linux got MicroLZMA
	          support in Linux 5.16).
	          The MicroLZMA encoder API in liblzma can compress into a
	          fixed-sized output buffer so that as much data is compressed
	          as can be fit into the buffer while still creating a valid
	          MicroLZMA stream. This is needed for EROFS.
	        - Added lzma_lzip_decoder() to decompress the .lz (lzip) file
	          format version 0 and the original unextended version 1 files.
	          Also lzma_auto_decoder() supports .lz files.
	        - lzma_filters_update() can now be used with the multi-threaded
	          encoder (lzma_stream_encoder_mt()) to change the filter chain
	          after LZMA_FULL_BARRIER or LZMA_FULL_FLUSH.
	        - In lzma_options_lzma, allow nice_len = 2 and 3 with the match
	          finders that require at least 3 or 4. Now it is internally
	          rounded up if needed.
	        - CLMUL-based CRC64 on x86-64 and E2K with runtime processor
	          detection. On 32-bit x86 it currently isn't available unless
	          --disable-assembler is used which can make the non-CLMUL
	          CRC64 slower; this might be fixed in the future.
	        - Building with --disable-threads --enable-small
	          is now thread-safe if the compiler supports
	          __attribute__((__constructor__)).
	    * xz:
	        - Using -T0 (--threads=0) will now use multi-threaded encoder
	          even on a single-core system. This is to ensure that output
	          from the same xz binary is identical on both single-core and
	          multi-core systems.
	        - --threads=+1 or -T+1 is now a way to put xz into
	          multi-threaded mode while using only one worker thread.
	          The + is ignored if the number is not 1.
	        - A default soft memory usage limit is now used for compression
	          when -T0 is used and no explicit limit has been specified.
	          This soft limit is used to restrict the number of threads
	          but if the limit is exceeded with even one thread then xz
	          will continue with one thread using the multi-threaded
	          encoder and this limit is ignored. If the number of threads
	          is specified manually then no default limit will be used;
	          this affects only -T0.
	          This change helps on systems that have very many cores and
	          using all of them for xz makes no sense. Previously xz -T0
	          could run out of memory on such systems because it attempted
	          to reserve memory for too many threads.
	          This also helps with 32-bit builds which don't have a large
	          amount of address space that would be required for many
	          threads. The default soft limit for -T0 is at most 1400 MiB
	          on all 32-bit platforms.
	        - Previously a low value in --memlimit-compress wouldn't cause
	          xz to switch from multi-threaded mode to single-threaded mode
	          if the limit cannot otherwise be met; xz failed instead. Now
	          xz can switch to single-threaded mode and then, if needed,
	          scale down the LZMA2 dictionary size too just like it already
	          did when it was started in single-threaded mode.
	        - The option --no-adjust no longer prevents xz from scaling down
	          the number of threads as that doesn't affect the compressed
	          output (only performance). Now --no-adjust only prevents
	          adjustments that affect compressed output, that is, with
	          --no-adjust xz won't switch from multi-threaded mode to
	          single-threaded mode and won't scale down the LZMA2
	          dictionary size.
	        - Added a new option --memlimit-mt-decompress=LIMIT. This is
	          used to limit the number of decompressor threads (possibly
	          falling back to single-threaded mode) but it will never make
	          xz refuse to decompress a file. This has a system-specific
	          default value because without any limit xz could end up
	          allocating memory for the whole compressed input file, the
	          whole uncompressed output file, multiple thread-specific
	          decompressor instances and so on. Basically xz could
	          attempt to use an insane amount of memory even with fairly
	          common files. The system-specific default value is currently
	          the same as the one used for compression with -T0.
	          The new option works together with the existing option
	          --memlimit-decompress=LIMIT. The old option sets a hard limit
	          that must not be exceeded (xz will refuse to decompress)
	          while the new option only restricts the number of threads.
	          If the limit set with --memlimit-mt-decompress is greater
	          than the limit set with --memlimit-compress, then the latter
	          value is used also for --memlimit-mt-decompress.
	        - Added new information to the output of xz --info-memory and
	          new fields to the output of xz --robot --info-memory.
	        - In --lzma2=nice=NUMBER allow 2 and 3 with all match finders
	          now that liblzma handles it.
	        - Don't mention endianness for ARM and ARM-Thumb filters in
	          --long-help. The filters only work for little endian
	          instruction encoding but modern ARM processors using
	          big endian data access still use little endian
	          instruction encoding. So the help text was misleading.
	          In contrast, the PowerPC filter is only for big endian
	          32/64-bit PowerPC code. Little endian PowerPC would need
	          a separate filter.
	        - Added decompression support for the .lz (lzip) file format
	          version 0 and the original unextended version 1. It is
	          autodetected by default. See also the option --format on
	          the xz man page.
	        - Sandboxing enabled by default:
	            * Capsicum (FreeBSD)
	            * pledge(2) (OpenBSD)
	    * Scripts now support the .lz format using xz.
	    * A few new tests were added.
	    * The liblzma-specific tests are now supported in CMake-based
	      builds too ("make test").
    5.2.10 (2022-12-13)
	    * xz: Don't modify argv[] when parsing the --memlimit* and
	      --block-list command line options. This fixes confusing
	      arguments in process listing (like "ps auxf").
	    * GNU/Linux only: Use __has_attribute(__symver__) to detect if
	      that attribute is supported. This fixes build on Mandriva where
	      Clang is patched to define __GNUC__ to 11 by default (instead
	      of 4 as used by Clang upstream).
    5.2.9 (2022-11-30)
	    * liblzma:
	        - Fixed an infinite loop in LZMA encoder initialization
	          if dict_size >= 2 GiB. (The encoder only supports up
	          to 1536 MiB.)
	        - Fixed two cases of invalid free() that can happen if
	          a tiny allocation fails in encoder re-initialization
	          or in lzma_filters_update(). These bugs had some
	          similarities with the bug fixed in 5.2.7.
	        - Fixed lzma_block_encoder() not allowing the use of
	          LZMA_SYNC_FLUSH with lzma_code() even though it was
	          documented to be supported. The sync-flush code in
	          the Block encoder was already used internally via
	          lzma_stream_encoder(), so this was just a missing flag
	          in the lzma_block_encoder() API function.
	        - GNU/Linux only: Don't put symbol versions into static
	          liblzma as it breaks things in some cases (and even if
	          it didn't break anything, symbol versions in static
	          libraries are useless anyway). The downside of the fix
	          is that if the configure options --with-pic or --without-pic
	          are used then it's not possible to build both shared and
	          static liblzma at the same time on GNU/Linux anymore;
	          with those options --disable-static or --disable-shared
	          must be used too.
	    * New email address for bug reports is <xz@tukaani.org> which
	      forwards messages to Lasse Collin and Jia Tan.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:36:53 +00:00
Peter Müller
e866427e8a Core Update 173: Ship nano
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:36:31 +00:00
Adolf Belka
7c138067d9 nano: Update to version 7.1
- Update from version 7.0 to 7.1
- Update of rootfile not required
- Changelog
    2022.12.14 - GNU nano 7.1 "And the devices shall be made of wood"
	• When --autoindent and --breaklonglines are combined, pressing
	  <Enter> at a specific position no longer eats characters.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:36:24 +00:00
Peter Müller
6f0e52c6c4 Core Update 173: Ship libmpc
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:34:59 +00:00
Adolf Belka
b2f108fea7 libmpc: Update to version 1.3.1
- Update from version 1.2.1 to 1.3.1
- Update of rootfile
- Changelog
    Changes in version 1.3.1, released in December 2022:
	  - Bug fix: It is again possible to include mpc.h without including
	    stdio.h.
    Changes in version 1.3.0 ("Ipomoea batatas"), released in December 2022:
	  - New function: mpc_agm
	  - New rounding modes "away from zero", indicated by the letter "A" and
	    corresponding to MPFR_RNDA on the designated real or imaginary part.
	  - New experimental ball arithmetic.
	  - New experimental function: mpc_eta_fund
	  - Bug fixes:
	    - mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)|
	    - mpc_pow_fr: sign of zero part of result when the base has up to sign
	      the same real and imaginary part, and the exponent is an even
	      positive integer
	    - mpc_fma: the returned 'int' value was incorrect in some cases (indicating
	      whether the rounded real/imaginary parts were smaller/equal/greater
	      than the exact values), but the computed complex value was correct.
	  - Remove the unmaintained Makefile.vc; build files for Visual Studio
	    can be found at https://github.com/BrianGladman/mpc .

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:34:44 +00:00
Peter Müller
99cac3e9a7 Core Update 173: Ship logrotate
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:32:01 +00:00
Matthias Fischer
53e4353cee logrotate: Update to 3.21.0
For details see:
https://github.com/logrotate/logrotate/releases/tag/3.21.0

"add ignoreduplicates directive to allow duplicate file matches (#473)
add --wait-for-state-lock option to wait for lock on the state file (#457)
avoid failure when an anonymous non-privileged user runs logrotate (#463)
support home dir expansion in olddir (#454)
reduce unnecessary rename operations with start N where N > 1 (#450)
unify handling of log levels (#239 #449)
do not print error: when exit code is unaffected (#448)"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:31:49 +00:00
Peter Müller
c1f9d9e86f Core Update 173: Ship pcre2
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:31:27 +00:00
Matthias Fischer
f43be66179 pcre2: Update to 10.42
See:
https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.41
and
https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.42

Excerpts from changelogs:

"Version 10.41 06-December-2022
------------------------------

1. Add fflush() before and after a fork callout in pcre2grep to get its output
to be the same on all systems. (There were previously ordering differences in
Alpine Linux).

2. Merged patch from @carenas (GitHub #110) for pthreads support in CMake.

3. SSF scorecards grumbled about possible overflow in an expression in
pcre2test. It never would have overflowed in practice, but some casts have been
added and at the some time there's been some tidying of fprints that output
size_t values.

4. PR #94 showed up an unused enum in pcre2_convert.c, which is now removed.

5. Minor code re-arrangement to remove gcc warning about realloc() in
pcre2test.

6. Change a number of int variables that hold buffer and line lengths in
pcre2grep to PCRE2_SIZE (aka size_t).

7. Added an #ifdef to cut out a call to PRIV(jit_free) when JIT is not
supported (even though that function would do nothing in that case) at the
request of a user who doesn't even want to link with pcre_jit_compile.o. Also
tidied up an untidy #ifdef arrangement in pcre2test.

8. Fixed an issue in the backtracking optimization of character repeats in
JIT. Furthermore optimize star repetitions, not just plus repetitions.

9. Removed the use of an initial backtracking frames vector on the system stack
in pcre2_match() so that it now always uses the heap. (In a multi-thread
environment with very small stacks there had been an issue.) This also is
tidier for JIT matching, which didn't need that vector. The heap vector is now
remembered in the match data block and re-used if that block itself is re-used.
It is freed with the match data block.

10. Adjusted the find_limits code in pcre2test to work with change 9 above.

11. Added find_limits_noheap to pcre2test, because the heap limits are now
different in different environments and so cannot be included in the standard
tests.

12. Created a test for pcre2_match() heap processing that is not part of the
tests run by 'make check', but can be run manually. The current output is from
a 64-bit system.

13. Implemented -Z aka --null in pcre2grep.

14. A minor change to pcre2test and the addition of several new pcre2grep tests
have improved LCOV coverage statistics. At the same time, code in pcre2grep and
elsewhere that can never be obeyed in normal testing has been excluded from
coverage.

15. Fixed a bug in pcre2grep that could cause an extra newline to be written
after output generaed by --output.

16. If a file has a .bz2 extension but is not in fact compressed, pcre2grep
should process it as a plain text file. A bug stopped this happening; now fixed
and added to the tests.

17. When pcre2grep was running not in UTF mode, if a string specified by
--output or obtained from a callout in a pattern contained a character (byte)
greater than 127, it was incorrectly output in UTF-8 format.

18. Added some casts after warnings from Clang sanitize.

19. Merged patch from cbouc (GitHub #139): 4 function prototypes were missing
PCRE2_CALL_CONVENTION in src/pcre2posix.h. All function prototypes returning
pointers had out of place PCRE2_CALL_CONVENTION in src/pcre2.h.*. These
produced errors when building for Windows with #define PCRE2_CALL_CONVENTION
__stdcall.

20. A negative repeat value in a pcre2test subject line was not being
diagnosed, leading to infinite looping.

21. Updated RunGrepTest to discard the warning that Bash now gives when setting
LC_CTYPE to a bad value (because older versions didn't).

22. Updated pcre2grep so that it behaves like GNU grep when matching more than
one pattern and a later pattern matches at an earlier point in the subject when
the matched substrings are being identified by colour or by offsets.

23. Updated the PrepareRelease script so that the man page that it makes for
the pcre2demo demonstration program is more standard and does not cause errors
when processed by lexgrog or mandb -c (GitHub issue #160).

24. The JIT compiler was updated."

Version 10.42 11-December-2022
------------------------------

"This release is mainly to fix a problem with 10.41, which is broken for
programs that include pcre2posix.h but not pcre2.h. Some other minor fixes
are included.

1. Change 19 of 10.41 wasn't quite right; it put the definition of a default,
empty value for PCRE2_CALL_CONVENTION in src/pcre2posix.c instead of
src/pcre2posix.h, which meant that programs that included pcre2posix.h but not
pcre2.h failed to compile.

2. To catch similar issues to the above in future, a new small test program
that includes pcre2posix.h but not pcre2.h has been added to the test suite.

3. When the -S option of pcre2test was used to set a stack size greater than
the allowed maximum, the error message displayed the hard limit incorrectly.
This was pointed out on GitHub pull request #171, but the suggested patch
didn't cope with all cases. Some further modification was required.

4. Supplying an ovector count of more than 65535 to pcre2_match_data_create()
caused a crash because the field in the match data block is only 16 bits. A
maximum of 65535 is now silently applied.

5. Merged @carenas patch #175 which fixes #86 - segfault on aarch64 (ARM),"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:31:06 +00:00
Adolf Belka
cfb7cf5e03 libtalloc: Update to version 2.3.4
- Update from version 2.3.1 to 2.3.4
- Update of rootfile
- No Changelog available in the source tarball or on the website. talloc uses the samba
   technical mailing list for any communications but there was no announcement for the
   updated versions found.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:30:54 +00:00
Adolf Belka
e8ed38e875 libexif: Update to version 0.6.24
- Update from version 0.6.22 to 0.6.24
- Update of rootfile not required
- source file no longer provided in xz format - changed to bz2
- Changelog (Two CVE's fixed in 0.6.23)
    libexif-0.6.24 (2021-11-25):
	   * Translation updates: sr, vi, pl, uk, french
	   * fixed regression in exif_data_load_data which could not load EXIF in JPEG data anymore
	   * Decode lots of Canon tag names
	   * removed empty strings from translation (empty string would translate to the PO info header)
	   * various warning removals and code improvements
	   * added sample "persistent" afl fuzzer (100x faster than normal afl fuzzer)
    libexif-0.6.23 (2021-09-12):
	  * Translation updates: es, pl, uk, fr
	  * EXIF_TAG_SENSITIVITY_TYPE decoder added, added some more Exif 2.3 tags:
	    - EXIF_TAG_STANDARD_OUTPUT_SENSITIVITY
	    - EXIF_TAG_RECOMMENDED_EXPOSURE_INDEX
	    - EXIF_TAG_ISO_SPEED
	    - EXIF_TAG_ISO_SPEEDLatitudeYYY
	    - EXIF_TAG_ISO_SPEEDLatitudeZZZ
	    - EXIF_TAG_OFFSET_TIME
	    - EXIF_TAG_OFFSET_TIME_ORIGINAL
	    - EXIF_TAG_OFFSET_TIME_DIGITIZED
	    - EXIF_TAG_IMAGE_DEPTH
	  * be more relaxed to out of order JPG / EXIF dataheaders in files generated by some tools
	  * default GPS IFD table added
	  * Decode more Nikon Makernote tag names
	  * Added Apple iOS Makernote
	  * Security fixes:
	    * CVE-2020-0198: unsigned integer overflow in exif_data_load_data_content
	    * CVE-2020-0452: compiler optimization could remove an a
	      bufferoverflow check, making a buffer overflow possible with some
	      EXIF tags
	    * some more denial of service (compute time or stack exhaustion) counter-measures
	      added that avoid minutes of decoding time with malformed files found
	      by OSS-Fuzz

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:26:45 +00:00
Peter Müller
e36f341ee5 Core Update 173: Ship libffi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-27 16:26:26 +00:00