aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sshsudo
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-05-22 18:15:39 +0800
committermiwi <miwi@FreeBSD.org>2012-05-22 18:15:39 +0800
commit4145d79797614ba3817f886c2fdca4a11032f171 (patch)
tree7fc8f9cb17806b15af0e53c18c46d42a14020ed4 /sysutils/sshsudo
parent50c7a49f2062d1a54365ac75ed23e289753fc928 (diff)
downloadfreebsd-ports-gnome-4145d79797614ba3817f886c2fdca4a11032f171.tar.gz
freebsd-ports-gnome-4145d79797614ba3817f886c2fdca4a11032f171.tar.zst
freebsd-ports-gnome-4145d79797614ba3817f886c2fdca4a11032f171.zip
A bash script to run sudo command on multiple remote computers with least effort
WWW: http://code.google.com/p/sshsudo/ PR: ports/164840 Submitted by: Hung-Yi Chen <gaod@hychen.org>
Diffstat (limited to 'sysutils/sshsudo')
-rw-r--r--sysutils/sshsudo/Makefile38
-rw-r--r--sysutils/sshsudo/distinfo2
-rw-r--r--sysutils/sshsudo/pkg-descr3
3 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/sshsudo/Makefile b/sysutils/sshsudo/Makefile
new file mode 100644
index 000000000000..2eddc3c2568b
--- /dev/null
+++ b/sysutils/sshsudo/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: sshsudo
+# Date created: 2012-02-06
+# Whom: Hung-Yi Chen <gaod@hychen.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sshsudo
+PORTVERSION= 1.0
+CATEGORIES= sysutils
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= #
+EXTRACT_ONLY= #
+
+MAINTAINER= gaod@hychen.org
+COMMENT= A bash script to run sudo command on multiple remote computers
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
+ sshpass>=0:${PORTSDIR}/security/sshpass
+
+PROJECTHOST= sshsudo
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= bin/sshsudo
+
+post-patch:
+ ${SED} -e "s,/bin/bash,${LOCALBASE}/bin/bash," -e "s,mktemp,mktemp -t sshsudo," \
+ <${DISTDIR}/${DISTNAME} >${WRKSRC}/${DISTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/sysutils/sshsudo/distinfo b/sysutils/sshsudo/distinfo
new file mode 100644
index 000000000000..7e402a47d3a0
--- /dev/null
+++ b/sysutils/sshsudo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (sshsudo) = 0a36b910b155356da277f5cbd3af059b7b7ce8618c4dd94266ee6944055aa603
+SIZE (sshsudo) = 5983
diff --git a/sysutils/sshsudo/pkg-descr b/sysutils/sshsudo/pkg-descr
new file mode 100644
index 000000000000..cb6a76070c1e
--- /dev/null
+++ b/sysutils/sshsudo/pkg-descr
@@ -0,0 +1,3 @@
+A bash script to run sudo command on multiple remote computers with least effort
+
+WWW: http://code.google.com/p/sshsudo/