Date: Tue, 29 Mar 2022 19:53:07 GMT From: Kirill Ponomarev <krion@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d56492275f03 - main - sysutils/py-salt: Fix TCP transport Message-ID: <202203291953.22TJr7gA096607@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=d56492275f038123ccf335b2ab45e9bc9195ebe2 commit d56492275f038123ccf335b2ab45e9bc9195ebe2 Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2022-03-29 19:52:51 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2022-03-29 19:52:51 +0000 sysutils/py-salt: Fix TCP transport --- sysutils/py-salt/Makefile | 1 + sysutils/py-salt/files/patch-salt_transport_tcp.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile index 26319fd9ef53..2f9b2d783712 100644 --- a/sysutils/py-salt/Makefile +++ b/sysutils/py-salt/Makefile @@ -2,6 +2,7 @@ PORTNAME= salt PORTVERSION= 3004.1 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/py-salt/files/patch-salt_transport_tcp.py b/sysutils/py-salt/files/patch-salt_transport_tcp.py new file mode 100644 index 000000000000..e2f15a049619 --- /dev/null +++ b/sysutils/py-salt/files/patch-salt_transport_tcp.py @@ -0,0 +1,11 @@ +--- salt/transport/tcp.py.orig 2022-03-29 19:46:48 UTC ++++ salt/transport/tcp.py +@@ -1561,7 +1561,7 @@ class PubServer(salt.ext.tornado.tcpserver.TCPServer): + @salt.ext.tornado.gen.coroutine + def publish_payload(self, package, _): + log.debug("TCP PubServer sending payload: %s", package) +- payload = self.pack_publish(package) ++ package = self.pack_publish(package) + payload = salt.transport.frame.frame_msg(package["payload"]) + + to_remove = []
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203291953.22TJr7gA096607>