Add shmux 1.0.b4, a utility to run commands in parallel on multiple hosts

using ssh, rsh, or a custom shell command as a transport.

PR:		ports/71326
Submitted by:	Jon Amundsen <shmux@jamundsen.dyndns.org>
Approved by:	pav (mentor)
This commit is contained in:
Florent Thoumie 2005-03-07 22:52:40 +00:00
parent 531ab5d4d4
commit a03b08c943
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130566
5 changed files with 58 additions and 0 deletions

View file

@ -693,6 +693,7 @@
SUBDIR += ser
SUBDIR += serveez
SUBDIR += sharity-light
SUBDIR += shmux
SUBDIR += silc-client
SUBDIR += silc-server
SUBDIR += silky

41
net/shmux/Makefile Normal file
View file

@ -0,0 +1,41 @@
# New ports collection makefile for: shmux
# Date created: 2 September 2004
# Whom: jamundsen
#
# $FreeBSD$
#
PORTNAME= shmux
DISTVERSION= 1.0b4
CATEGORIES= net
MASTER_SITES= http://web.taranis.org/shmux/dist/
EXTRACT_SUFX= .tgz
MAINTAINER= online@jamundsen.dyndns.org
COMMENT= Utility to run commands on multiple hosts using shell commands
OPTIONS= FPING "Use fping utility" on \
PCRE "Use perl regular expressions library" off
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
ALL_TARGET= ${PORTNAME}
MAN1= shmux.1
MANCOMPRESSED= no
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_FPING)
RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
.endif
.if defined(WITH_PCRE)
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}/lib
.else
CONFIGURE_ARGS+= --with-pcre=no
.endif
.include <bsd.port.post.mk>

2
net/shmux/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (shmux-1.0b4.tgz) = 969bb5ee3799dd9c804a77ca143c5fd8
SIZE (shmux-1.0b4.tgz) = 76727

11
net/shmux/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
Shmux is program for executing the same command on many hosts in parallel. For
each target, a child process is spawned by shmux, and a shell on the target
obtained one of the supported methods: rsh, ssh, or sh. The output produced by
the children is received by shmux and either (optionally) output in turn to the
user using an easy to read format, or written to files for later processing
making it well suited for use in scripts.
WWW: http://web.taranis.org/shmux/
- Jon Amundsen
online@jamundsen.dyndns.org

3
net/shmux/pkg-plist Normal file
View file

@ -0,0 +1,3 @@
bin/shmux
%%EXAMPLESDIR%%/mcmd.sh
@dirrm %%EXAMPLESDIR%%