diff options
author | brooks <brooks@FreeBSD.org> | 2011-02-12 02:12:28 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2011-02-12 02:12:28 +0800 |
commit | 71f6498fb519ad62aa6ddb6ba1e31738a503cfcd (patch) | |
tree | 870f1caac1e5d0daed8338bcfc5dc34a20c4ab40 | |
parent | 4f42462ed83cc606670df02192b015ddf5d97700 (diff) | |
download | freebsd-ports-gnome-71f6498fb519ad62aa6ddb6ba1e31738a503cfcd.tar.gz freebsd-ports-gnome-71f6498fb519ad62aa6ddb6ba1e31738a503cfcd.tar.zst freebsd-ports-gnome-71f6498fb519ad62aa6ddb6ba1e31738a503cfcd.zip |
Update to 2.2.2
PR: ports/154568
Submitted by: Ruslan Mahmatkhanov
-rw-r--r-- | security/pssh/Makefile | 13 | ||||
-rw-r--r-- | security/pssh/distinfo | 4 | ||||
-rw-r--r-- | security/pssh/files/patch-psshlib_psshutil.py | 24 | ||||
-rw-r--r-- | security/pssh/pkg-plist | 30 |
4 files changed, 50 insertions, 21 deletions
diff --git a/security/pssh/Makefile b/security/pssh/Makefile index a7bb45a5fee2..e63e385db332 100644 --- a/security/pssh/Makefile +++ b/security/pssh/Makefile @@ -6,18 +6,23 @@ # PORTNAME= pssh -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.2 CATEGORIES= security net sysutils MASTER_SITES= GOOGLE_CODE \ - LOACL/brooks + LOCAL/brooks MAINTAINER= brooks@FreeBSD.org COMMENT= Parallel versions of the openssh tools +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/COPYING + RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync -USE_PYTHON= YES -USE_PYDISTUTILS=easy_install +MAN1= pssh.1 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes PROJECTHOST= parallel-ssh diff --git a/security/pssh/distinfo b/security/pssh/distinfo index b54b9cf0a667..bf8ff7df0ab2 100644 --- a/security/pssh/distinfo +++ b/security/pssh/distinfo @@ -1,2 +1,2 @@ -SHA256 (pssh-2.1.1.tar.gz) = 63c317f114abae8c29c8f8e99f329d2b4dc36790a4821aeb4ee924da58100ca2 -SIZE (pssh-2.1.1.tar.gz) = 18366 +SHA256 (pssh-2.2.2.tar.gz) = 9b2e7fa6ee1185d668ddb0e049a9f6f8a7bc07738c341c43be674fea6109a97a +SIZE (pssh-2.2.2.tar.gz) = 21440 diff --git a/security/pssh/files/patch-psshlib_psshutil.py b/security/pssh/files/patch-psshlib_psshutil.py index baf5916567fd..b49beab474d8 100644 --- a/security/pssh/files/patch-psshlib_psshutil.py +++ b/security/pssh/files/patch-psshlib_psshutil.py @@ -3,15 +3,15 @@ $FreeBSD$ --- psshlib/psshutil.py.orig +++ psshlib/psshutil.py -@@ -15,7 +15,10 @@ - if not pathnames: - return lines - for pathname in pathnames: -- f = open(pathname) -+ if pathname == "-": -+ f = open("/dev/stdin") -+ else: -+ f = open(pathname) - for line in f: - lines.append(line.strip()) - f.close() +@@ -27,7 +27,10 @@ + Returns a list of (host, port, user) triples. + """ + lines = [] +- f = open(path) ++ if path == "-": ++ f = open("/dev/stdin") ++ else: ++ f = open(path) + for line in f: + lines.append(line.strip()) + f.close() diff --git a/security/pssh/pkg-plist b/security/pssh/pkg-plist index 619219d426ba..8162f56006cb 100644 --- a/security/pssh/pkg-plist +++ b/security/pssh/pkg-plist @@ -1,7 +1,31 @@ -bin/prsync bin/pnuke +bin/prsync +bin/pscp bin/pslurp bin/pssh -bin/pscp bin/pssh-askpass -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +%%PYTHON_SITELIBDIR%%/psshlib/__init__.py +%%PYTHON_SITELIBDIR%%/psshlib/__init__.pyc +%%PYTHON_SITELIBDIR%%/psshlib/__init__.pyo +%%PYTHON_SITELIBDIR%%/psshlib/askpass_client.py +%%PYTHON_SITELIBDIR%%/psshlib/askpass_client.pyc +%%PYTHON_SITELIBDIR%%/psshlib/askpass_client.pyo +%%PYTHON_SITELIBDIR%%/psshlib/askpass_server.py +%%PYTHON_SITELIBDIR%%/psshlib/askpass_server.pyc +%%PYTHON_SITELIBDIR%%/psshlib/askpass_server.pyo +%%PYTHON_SITELIBDIR%%/psshlib/cli.py +%%PYTHON_SITELIBDIR%%/psshlib/cli.pyc +%%PYTHON_SITELIBDIR%%/psshlib/cli.pyo +%%PYTHON_SITELIBDIR%%/psshlib/color.py +%%PYTHON_SITELIBDIR%%/psshlib/color.pyc +%%PYTHON_SITELIBDIR%%/psshlib/color.pyo +%%PYTHON_SITELIBDIR%%/psshlib/manager.py +%%PYTHON_SITELIBDIR%%/psshlib/manager.pyc +%%PYTHON_SITELIBDIR%%/psshlib/manager.pyo +%%PYTHON_SITELIBDIR%%/psshlib/psshutil.py +%%PYTHON_SITELIBDIR%%/psshlib/psshutil.pyc +%%PYTHON_SITELIBDIR%%/psshlib/psshutil.pyo +%%PYTHON_SITELIBDIR%%/psshlib/task.py +%%PYTHON_SITELIBDIR%%/psshlib/task.pyc +%%PYTHON_SITELIBDIR%%/psshlib/task.pyo +@dirrm %%PYTHON_SITELIBDIR%%/psshlib |