PORTNAME= sshsudo
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= #
EXTRACT_ONLY= #
MAINTAINER= gaod@hychen.org
COMMENT= Bash script to run sudo command on multiple remote computers
RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
sshpass>=0:${PORTSDIR}/security/sshpass
PROJECTHOST= sshsudo
USE_GITHUB= yes
GH_ACCOUNT= gaod
GH_PROJECT= sshsudo
NO_BUILD= yes
NO_WRKSUBDIR= yes
post-patch:
${SED} -e "s,/bin/bash,${LOCALBASE}/bin/bash," -e "s,mktemp,mktemp -t sshsudo," \
<${DISTDIR}/${DISTNAME} >${WRKSRC}/${DISTNAME}
<${WRKSRC}/${PORTNAME}-${PORTVERSION}/${PORTNAME} >${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
SHA256 (sshsudo) = 0a36b910b155356da277f5cbd3af059b7b7ce8618c4dd94266ee6944055aa603
SHA256 (gaod-sshsudo-1.0_GH0.tar.gz) = db02c9f488f26352aa6bb582f64182b73573b099dd16a5d75f3fe24da24be5a6
SIZE (sshsudo) = 5983
SIZE (gaod-sshsudo-1.0_GH0.tar.gz) = 4236