Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 16:50:42 +0800 (CST)
From:      Hung-Yi Chen <gaod@hychen.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/164840: [NEW PORT] sysutils/sshsudo: A bash script to run sudo command on multiple remote computers
Message-ID:  <201202070850.q178ogUF097951@cse.tw>
Resent-Message-ID: <201202070900.q1790Nr7059771@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164840
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/sshsudo: A bash script to run sudo command on multiple remote computers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 07 09:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Hung-Yi Chen
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cse.tw 9.0-STABLE FreeBSD 9.0-STABLE #10: Sun Jan 29 19:49:07 CST 2012
>Description:
A bash script to run sudo command on multiple remote computers with least effort

WWW:	http://code.google.com/p/sshsudo/

Please note that sshsudo depends on sshpass. (see http://www.freebsd.org/cgi/query-pr.cgi?pr=164775)

>How-To-Repeat:
>Fix:

--- sshsudo-1.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sshsudo
#	sshsudo/Makefile
#	sshsudo/distinfo
#	sshsudo/pkg-descr
#
echo c - sshsudo
mkdir -p sshsudo > /dev/null 2>&1
echo x - sshsudo/Makefile
sed 's/^X//' >sshsudo/Makefile << '206c07e59c6dd252467650b0619ac093'
X# New ports collection makefile for:	sshsudo
X# Date created:				2012-02-06
X# Whom:					Hung-Yi Chen <gaod@hychen.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sshsudo
XPORTVERSION=	1.0
XCATEGORIES=	sysutils
XMASTER_SITES=	GOOGLE_CODE
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=
XEXTRACT_ONLY=
X
XMAINTAINER=	gaod@hychen.org
XCOMMENT=	A bash script to run sudo command on multiple remote computers
X
XLICENSE=	GPLv3
X
XRUN_DEPENDS=	bash>=0:${PORTSDIR}/shells/bash \
X		sshpass>=0:${PORTSDIR}/sysutils/sshpass
X
XPROJECTHOST=	sshsudo
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
XPLIST_FILES=	bin/sshsudo
X
Xpost-patch:
X	${SED} -e "s,/bin/bash,/usr/local/bin/bash," -e "s,mktemp,mktemp -t sshsudo," \
X	<${DISTDIR}/${DISTNAME} >${WRKSRC}/${DISTNAME}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
X
X.include <bsd.port.mk>
206c07e59c6dd252467650b0619ac093
echo x - sshsudo/distinfo
sed 's/^X//' >sshsudo/distinfo << '346f1ad1afcefcfcd3816a3ca7ea4b24'
XSHA256 (sshsudo) = 0a36b910b155356da277f5cbd3af059b7b7ce8618c4dd94266ee6944055aa603
XSIZE (sshsudo) = 5983
346f1ad1afcefcfcd3816a3ca7ea4b24
echo x - sshsudo/pkg-descr
sed 's/^X//' >sshsudo/pkg-descr << '9ab65250e9a4b5b51b2080294759012b'
XA bash script to run sudo command on multiple remote computers with least effort
X
XWWW:	http://code.google.com/p/sshsudo/
9ab65250e9a4b5b51b2080294759012b
exit
--- sshsudo-1.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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