mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
3047181800
'tsshbatch' is a tool to enable you to issue a command to many servers without having to log into each one separately. When writing scripts, this overcomes the 'ssh' limitation of not being able to specify the password on the command line. 'tsshbatch' also understands basic 'sudo' syntax and can be used to access a server, 'sudo' a command, and then exit. 'tsshbatch' thus allows you to write complex, hands-off scripts that issue commands to many servers without the tedium of manual login and 'sudo' promotion. System administrators, especially, will find this helpful when working in large server farms. WWW: http://www.tundraware.com/Software/tsshbatch PR: ports/163866 Submitted by: Tim Daneliuk, tsshbatch at tundraware.com
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: tsshbatch
|
|
# Date created: 06 January 2012
|
|
# Whom: Tim Daneliuk <tsshbatch@tundraware.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tsshbatch
|
|
PORTVERSION= 1.134
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://www.tundraware.com/Software/tsshbatch/
|
|
|
|
MAINTAINER= tsshbatch@tundraware.com
|
|
COMMENT= Batch ssh Operations
|
|
|
|
LICENSE= tsshbatch
|
|
LICENSE_NAME= tsshbatch
|
|
LICENSE_FILE= ${WRKSRC}/tsshbatch-license.txt
|
|
LICENSE_PERMS= auto-accept
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.7.7.1:${PORTSDIR}/security/py-paramiko
|
|
|
|
USE_PYTHON_RUN= yes
|
|
|
|
MAN1= tsshbatch.1
|
|
MANCOMPRESSED= yes
|
|
|
|
PLIST_FILES= bin/tsshbatch.py
|
|
PORTDOCS= WHATSNEW.txt \
|
|
tsshbatch.html \
|
|
tsshbatch.pdf \
|
|
tsshbatch.ps \
|
|
tsshbatch.rst
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tsshbatch.py ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tsshbatch.1.gz ${MAN1PREFIX}/man/man1
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} $i ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|