- Pass maintainership to submitter This version adds the following features: - added '-s' to ssh-agent calls so that they will work for people with non-bash shells. (thanks to Jacob) - Asynchronous mode works. - Asynchronous mode required temp files so we use mktemp to make it safer. - Blocking option in async mode. - All debug messages go to STDERR. - Invoke remote shell (default bash) explicitely. - SIGQUIT (ctrl-\) prints current/remaining host(s). - Modernized all ``'s to $()'s. PR: ports/87664 Submitted by: Frank Laszlo <laszlof@vonostingroup.com>
40 lines
921 B
Makefile
40 lines
921 B
Makefile
# New ports collection makefile for: mussh
|
|
# Date created: 24 January 2002
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mussh
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= laszlof@vonostingroup.com
|
|
COMMENT= A tool for easily running the same commands on multiple hosts
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
|
|
|
NO_BUILD= yes
|
|
USE_REINPLACE= yes
|
|
PORTDOCS= BUGS CHANGES EXAMPLES README
|
|
PLIST_FILES= bin/mussh
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^#!/bin/bash,#!/usr/bin/env bash,g" \
|
|
${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|