summaryrefslogtreecommitdiff
path: root/dev-python/websockify
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-01 03:04:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-01 03:04:37 -0500
commit6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17 (patch)
tree782b1dfa8abee9f15c2fff2aca667b4abd32e5f8 /dev-python/websockify
parent3f283d6a71e35a9c6d89dc73d76f01aec1c1a6b3 (diff)
downloadbaldeagleos-repo-6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17.tar.gz
baldeagleos-repo-6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17.tar.xz
baldeagleos-repo-6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17.zip
Adding metadata
Diffstat (limited to 'dev-python/websockify')
-rw-r--r--dev-python/websockify/files/websockify-0.13.0-fix-test-with-jwcrypto-1.5.7.patch23
-rw-r--r--dev-python/websockify/websockify-0.13.0.ebuild7
2 files changed, 29 insertions, 1 deletions
diff --git a/dev-python/websockify/files/websockify-0.13.0-fix-test-with-jwcrypto-1.5.7.patch b/dev-python/websockify/files/websockify-0.13.0-fix-test-with-jwcrypto-1.5.7.patch
new file mode 100644
index 000000000000..d24724637173
--- /dev/null
+++ b/dev-python/websockify/files/websockify-0.13.0-fix-test-with-jwcrypto-1.5.7.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/978400
+https://github.com/novnc/websockify/issues/637
+https://github.com/novnc/websockify/pull/638
+https://github.com/novnc/websockify/commit/f1e281d2c446380a0a8af7575a92b23ad65c6d4d
+
+From f1e281d2c446380a0a8af7575a92b23ad65c6d4d Mon Sep 17 00:00:00 2001
+From: Takashi Kajinami <kajinamit@oss.nttdata.com>
+Date: Mon, 18 May 2026 08:40:09 +0900
+Subject: [PATCH] Replace test symmetric key
+
+jwcrypto 1.5.7 introduced the validation to enforce key length, which
+is not met by the existing test key.
+
+Replace it by the new one which has 256 bits length.
+
+Closes #637
+--- a/tests/fixtures/symmetric.key
++++ b/tests/fixtures/symmetric.key
+@@ -1 +1 @@
+-secret_sauce
+\ No newline at end of file
++mesGV8j0k2hJf5sl83NMrQeMsA3FOmkEOgqvVe1HBgw
+\ No newline at end of file
diff --git a/dev-python/websockify/websockify-0.13.0.ebuild b/dev-python/websockify/websockify-0.13.0.ebuild
index 72e3fba9dab4..4d1e1e170f45 100644
--- a/dev-python/websockify/websockify-0.13.0.ebuild
+++ b/dev-python/websockify/websockify-0.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,8 +29,13 @@ RDEPEND="
dev-python/redis[${PYTHON_USEDEP}]
"
+EPYTEST_PLUGINS=()
distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/websockify-0.13.0-fix-test-with-jwcrypto-1.5.7.patch
+)
+
python_install_all() {
doman docs/${PN}.1
distutils-r1_python_install_all