Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 17:07:46 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r531618 - in branches/2020Q2/security/pssh: . files
Message-ID:  <202004131707.03DH7kQX012620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Mon Apr 13 17:07:46 2020
New Revision: 531618
URL: https://svnweb.freebsd.org/changeset/ports/531618

Log:
  MFH: r531333
  
  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
  
  Approved by:	ports-secteam (joneum)

Added:
  branches/2020Q2/security/pssh/files/patch-psshlib_cli.py
     - copied unchanged from r531333, head/security/pssh/files/patch-psshlib_cli.py
  branches/2020Q2/security/pssh/files/patch-psshlib_manager.py
     - copied unchanged from r531333, head/security/pssh/files/patch-psshlib_manager.py
Modified:
  branches/2020Q2/security/pssh/Makefile
Directory Properties:
  branches/2020Q2/   (props changed)

Modified: branches/2020Q2/security/pssh/Makefile
==============================================================================
--- branches/2020Q2/security/pssh/Makefile	Mon Apr 13 16:42:22 2020	(r531617)
+++ branches/2020Q2/security/pssh/Makefile	Mon Apr 13 17:07:46 2020	(r531618)
@@ -2,11 +2,11 @@
 
 PORTNAME=	pssh
 PORTVERSION=	2.3.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net sysutils
 MASTER_SITES=	CHEESESHOP
 
-MAINTAINER=	brooks@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Parallel versions of the openssh tools
 
 LICENSE=	BSD3CLAUSE

Copied: branches/2020Q2/security/pssh/files/patch-psshlib_cli.py (from r531333, head/security/pssh/files/patch-psshlib_cli.py)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q2/security/pssh/files/patch-psshlib_cli.py	Mon Apr 13 17:07:46 2020	(r531618, copy of r531333, head/security/pssh/files/patch-psshlib_cli.py)
@@ -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

Copied: branches/2020Q2/security/pssh/files/patch-psshlib_manager.py (from r531333, head/security/pssh/files/patch-psshlib_manager.py)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q2/security/pssh/files/patch-psshlib_manager.py	Mon Apr 13 17:07:46 2020	(r531618, copy of r531333, head/security/pssh/files/patch-psshlib_manager.py)
@@ -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'):



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004131707.03DH7kQX012620>