ftp: fix ascii transfers with progress bar
Handle stdio interruption by signals and improve error handling
in getc() and putc() on the control and data channels.
Provide ftp_getc() and ftp_putc() wrappers that:
- Retry the operation on EINTR or EAGAIN instead of failing.
- Store other error codes in a return variable separate to errno,
and use that variable in ferror() handling, for more correct
error messages.
Fixes the progress bar display in ascii mode transfers.
(Note that I haven't fixed interrupted reads from stdin or
writes to ttyout; that's a much larger refactor that's out of scope).
Fix PR bin/59587 from Johnny Billquist, with the fix
inspired by the patch in that PR.
py-urllib3: update to 2.6.0.
2.6.0 (2025-12-05)
==================
Security
--------
- Fixed a security issue where streaming API could improperly handle highly
compressed HTTP content ("decompression bombs") leading to excessive resource
consumption even when a small amount of data was requested. Reading small
chunks of compressed data is safer and much more efficient now.
(`GHSA-2xpw-w6gg-jr37 <https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37>`__)
- Fixed a security issue where an attacker could compose an HTTP response with
virtually unlimited links in the ``Content-Encoding`` header, potentially
leading to a denial of service (DoS) attack by exhausting system resources
during decoding. The number of allowed chained encodings is now limited to 5.
(`GHSA-gm62-xv2j-4w53 <https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53>`__)
[42 lines not shown]
www/py-quart-trio: import py-quart-trio-0.12.0
Quart-Trio is an extension for Quart to support the Trio event
loop. This is an alternative to using the asyncio event loop present
in the Python standard library and supported by default in Quart.
www/py-quart: import py-quart-0.20.0
Quart is an async Python web application framework. Using Quart
you can,
- render and serve HTML templates,
- write (RESTful) JSON APIs,
- serve WebSockets,
- stream request and response data,
- do pretty much anything over the HTTP or WebSocket protocols.
www/py-hypercorn: import py-hypercorn-0.18.0
Hypercorn is an ASGI and WSGI web server based on the sans-io hyper,
h11, h2, and wsproto libraries and inspired by Gunicorn. Hypercorn
supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI,
and WSGI specifications. Hypercorn can utilise asyncio, uvloop, or
trio worker types.
Hypercorn can optionally serve the current draft of the HTTP/3
specification using the aioquic library.
Track individual inodes between the time that their accounting is
subtracted from one segment before it is added to the new segment.
Counting duplicates is not sufficient. Addresses a "negative bytes"
panic.
textproc/xleak: import package
Expose Excel files in your terminal - no Microsoft Excel required!
Inspired by doxx, xleak brings Excel spreadsheets to your command line with
beautiful rendering, powerful export capabilities, and a feature-rich
interactive TUI.
xleak features full-text search, formula display, lazy loading for large files,
clipboard support, and export to CSV/JSON.
textproc/doxx: import package
Packaged in wip by wiz@ and myself.
A fast, terminal-native document viewer for Word files. View,
search, and export '.docx' documents without leaving your command
line.