svn commit: r531333 - in head/security/pssh: . files
Brooks Davis
brooks at FreeBSD.org
Fri Apr 10 16:55:11 UTC 2020
Author: brooks
Date: Fri Apr 10 16:55:09 2020
New Revision: 531333
URL: https://svnweb.freebsd.org/changeset/ports/531333
Log:
Fix bitrotted code.
Drop maintainership. I don't use this port much as evidenced by the
fact that one of these bugs was fixed in Arch Linux in 2016
(https://bugs.archlinux.org/task/46571).
Submitted by: Jacob D Hunt
MFH: 2020Q2
Added:
head/security/pssh/files/patch-psshlib_cli.py (contents, props changed)
head/security/pssh/files/patch-psshlib_manager.py (contents, props changed)
Modified:
head/security/pssh/Makefile
Modified: head/security/pssh/Makefile
==============================================================================
--- head/security/pssh/Makefile Fri Apr 10 16:55:07 2020 (r531332)
+++ head/security/pssh/Makefile Fri Apr 10 16:55:09 2020 (r531333)
@@ -2,11 +2,11 @@
PORTNAME= pssh
PORTVERSION= 2.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net sysutils
MASTER_SITES= CHEESESHOP
-MAINTAINER= brooks at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Parallel versions of the openssh tools
LICENSE= BSD3CLAUSE
Added: head/security/pssh/files/patch-psshlib_cli.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pssh/files/patch-psshlib_cli.py Fri Apr 10 16:55:09 2020 (r531333)
@@ -0,0 +1,11 @@
+--- psshlib/cli.py.orig
++++ psshlib/cli.py
+@@ -6,7 +6,7 @@
+ import shlex
+ import sys
+ import textwrap
+-import version
++from psshlib import version
+
+ _DEFAULT_PARALLELISM = 32
+ _DEFAULT_TIMEOUT = 0 # "infinity" by default
Added: head/security/pssh/files/patch-psshlib_manager.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pssh/files/patch-psshlib_manager.py Fri Apr 10 16:55:09 2020 (r531333)
@@ -0,0 +1,18 @@
+--- psshlib/manager.py.orig
++++ psshlib/manager.py
+@@ -2,6 +2,7 @@
+
+ from errno import EINTR
+ import os
++import fcntl
+ import select
+ import signal
+ import sys
+@@ -209,6 +210,7 @@
+
+ # Setup the wakeup file descriptor to avoid hanging on lost signals.
+ wakeup_readfd, wakeup_writefd = os.pipe()
++ fcntl.fcntl(wakeup_writefd, fcntl.F_SETFL, os.O_NONBLOCK)
+ self.register_read(wakeup_readfd, self.wakeup_handler)
+ # TODO: remove test when we stop supporting Python <2.5
+ if hasattr(signal, 'set_wakeup_fd'):
More information about the svn-ports-head
mailing list