aboutsummaryrefslogtreecommitdiff
path: root/security/pssh
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2010-12-08 23:46:28 +0000
committerBrooks Davis <brooks@FreeBSD.org>2010-12-08 23:46:28 +0000
commit3328e736fae20a0419c19803b767cec2b284363a (patch)
tree912e875995f9827c22b049be8097f67b30fc2a60 /security/pssh
parentd4ee8752bd5bddbee937c2e1edd8a5e593142b5b (diff)
downloadports-3328e736fae20a0419c19803b767cec2b284363a.tar.gz
ports-3328e736fae20a0419c19803b767cec2b284363a.zip
Notes
Diffstat (limited to 'security/pssh')
-rw-r--r--security/pssh/Makefile14
-rw-r--r--security/pssh/distinfo5
-rw-r--r--security/pssh/files/patch-psshlib_psshutil.py24
-rw-r--r--security/pssh/pkg-descr2
-rw-r--r--security/pssh/pkg-plist1
5 files changed, 18 insertions, 28 deletions
diff --git a/security/pssh/Makefile b/security/pssh/Makefile
index af0d5d17ac37..b33905e7368f 100644
--- a/security/pssh/Makefile
+++ b/security/pssh/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pssh
-PORTVERSION= 1.4.3
+PORTVERSION= 2.1.1
CATEGORIES= security net sysutils
-MASTER_SITES= http://www.theether.org/pssh/ \
+MASTER_SITES= http://parallel-ssh.googlecode.com/files/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -20,14 +20,4 @@ RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
USE_PYTHON= YES
USE_PYDISTUTILS=easy_install
-FIX_PYPATH= bin/pnuke \
- bin/prsync \
- bin/pscp \
- bin/pslurp \
- bin/pssh
-
-post-patch:
- ${REINPLACE_CMD} -e 's|#!/usr/bin/env python|#!${PYTHON_CMD}|' \
- ${FIX_PYPATH:S/^/${WRKSRC}\//}
-
.include <bsd.port.mk>
diff --git a/security/pssh/distinfo b/security/pssh/distinfo
index 29d784b2bf80..b54b9cf0a667 100644
--- a/security/pssh/distinfo
+++ b/security/pssh/distinfo
@@ -1,3 +1,2 @@
-MD5 (pssh-1.4.3.tar.gz) = dcb8e1497fdd53dced9c3a5d33053757
-SHA256 (pssh-1.4.3.tar.gz) = 165460acc1e8e96754b9641676b4ae28adbe2ac67e76eace584007f535512438
-SIZE (pssh-1.4.3.tar.gz) = 37403
+SHA256 (pssh-2.1.1.tar.gz) = 63c317f114abae8c29c8f8e99f329d2b4dc36790a4821aeb4ee924da58100ca2
+SIZE (pssh-2.1.1.tar.gz) = 18366
diff --git a/security/pssh/files/patch-psshlib_psshutil.py b/security/pssh/files/patch-psshlib_psshutil.py
index 4f6da7662709..baf5916567fd 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
-@@ -7,7 +7,10 @@
- three arrays: hosts, ports, and users. These can be used directly
- for all ssh-based commands (e.g., ssh, scp, rsync -e ssh, etc.)
- """
-- f = open(pathname)
-+ if pathname == "-":
-+ f = open("/dev/stdin")
-+ else:
-+ f = open(pathname)
- lines = f.readlines()
- lines = map(lambda x: x.strip(), lines)
- addrs = []
+@@ -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()
diff --git a/security/pssh/pkg-descr b/security/pssh/pkg-descr
index b2f33c6698f8..bbe89f2ede7a 100644
--- a/security/pssh/pkg-descr
+++ b/security/pssh/pkg-descr
@@ -10,4 +10,4 @@ in the distribution:
What are these tools good for? Mainly for controlling large collections
of nodes in the wide-area.
-WWW: http://www.theether.org/pssh/
+WWW: http://code.google.com/p/parallel-ssh/
diff --git a/security/pssh/pkg-plist b/security/pssh/pkg-plist
index 251f21024f2a..619219d426ba 100644
--- a/security/pssh/pkg-plist
+++ b/security/pssh/pkg-plist
@@ -3,4 +3,5 @@ bin/pnuke
bin/pslurp
bin/pssh
bin/pscp
+bin/pssh-askpass
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%