From 37ddc1b4335eb5cfaaf0328e2e20d016c264bea3 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 18 Feb 2026 17:41:43 +0200 Subject: [PATCH] python3-telnetlib3: Upgrade 2.0.8- > 2.6.0 Upgrade to release 2.6.0: - new: TLS support (TELNETS). open_connection() accepts an ssl parameter (True, or an ssl.SSLContext). create_server() accepts an ssl parameter (ssl.SSLContext). New CLI options: --ssl, --ssl-cafile, --ssl-no-verify for telnetlib3-client; --ssl-certfile, --ssl-keyfile and --tls-auto for telnetlib3-server - new: the default server shell now displays Ready (secure: TLSv1.3) for TLS connections (the protocol version shown is negotiated dynamically). - bugfix: telnetlib3-client now sets terminal mode to the server's preference via WILL ECHO and WILL SGA negotiation. Use --raw-mode to restore legacy raw mode for servers that don't negotiate. - bugfix: telnetlib3-client declines MUD protocol options (GMCP, MSDP, MSSP, MSP, MXP, ZMP, AARDWOLF, ATCP) by default. Use --always-do or --always-will to opt in. - bugfix: log output "staircase text" in raw terminal mode. - bugfix: graceful EOF handling - connection close no longer prints a traceback. Fixes: WARNING: python3-telnetlib3-2.6.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend] License-Update: Remove garbage characters from ISC license text Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-telnetlib3_2.0.8.bb | 14 -------------- .../python/python3-telnetlib3_2.6.0.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-telnetlib3_2.0.8.bb create mode 100644 meta-python/recipes-devtools/python/python3-telnetlib3_2.6.0.bb diff --git a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.8.bb b/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.8.bb deleted file mode 100644 index 46f72b8f08..0000000000 --- a/meta-python/recipes-devtools/python/python3-telnetlib3_2.0.8.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Telnet server and client library based on asyncio" -HOMEPAGE = "https://github.com/jquast/telnetlib3" -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b2cbfe1ec99d8830fa20d62c8f21d0e8" - -SRC_URI[sha256sum] = "08a2a7a3a6790f89617442b7d491da8b531d87706fffd6a33eeff57ac440b752" - -PYPI_PACKAGE = "telnetlib3" - -inherit pypi setuptools3 - -RDEPENDS:${PN} = "\ - python3-asyncio \ -" diff --git a/meta-python/recipes-devtools/python/python3-telnetlib3_2.6.0.bb b/meta-python/recipes-devtools/python/python3-telnetlib3_2.6.0.bb new file mode 100644 index 0000000000..bef533b39b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-telnetlib3_2.6.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Telnet server and client library based on asyncio" +HOMEPAGE = "https://github.com/jquast/telnetlib3" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=15abe157ad6f0b483975cc34bcc1aa99" + +SRC_URI[sha256sum] = "c231e790c626f5b6927a4a85e79bce18cde994c9424254d2193582b430972164" + +PYPI_PACKAGE = "telnetlib3" + +inherit pypi python_setuptools_build_meta python_hatchling + +RDEPENDS:${PN} = "\ + python3-asyncio \ + python3-wcwidth \ +"