1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

* Updated to 0.7

* Fixed pkg-descr
* Added USES= go
* Removed unnecessary code

 - Fix error in cs.1

PR:		220497
Submitted by:	Andy Kosela <akosela@andykosela.com> (maintainer)
Reviewed by:	lifanov (mentor)
Approved by:	lifanov (mentor)
Differential Revision:	https://reviews.freebsd.org/D11503
This commit is contained in:
Richard Gallamore 2017-07-07 01:03:51 +00:00
parent b23b4e69f0
commit 45219604c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445194
3 changed files with 9 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= go-cs
PORTVERSION= 0.6
PORTVERSION= 0.7
DISTVERSIONPREFIX= v
CATEGORIES= net
@ -12,21 +12,15 @@ COMMENT= Concurrent ssh client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${GO_CMD}:lang/go
USES= go
USE_GITHUB= yes
GH_ACCOUNT= akosela
PLIST_FILES= bin/cs man/man1/cs.1.gz
GO_CMD= ${LOCALBASE}/bin/go
GO_ARGS= build -ldflags "${STRIP}"
GO_TARGET= ${GO_PKGNAME}/cs
do-build:
(cd ${WRKSRC}/cs && ${GO_CMD} ${GO_ARGS} cs.go)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cs/cs ${STAGEDIR}${PREFIX}/bin
post-install:
${INSTALL_MAN} ${WRKSRC}/cs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1476221383
SHA256 (akosela-go-cs-v0.6_GH0.tar.gz) = f5bd4e3d2b7853d77bfa209b69e56f6d79058f25e8e56a2d8a468834b3e6d9c9
SIZE (akosela-go-cs-v0.6_GH0.tar.gz) = 6296
TIMESTAMP = 1499319273
SHA256 (akosela-go-cs-v0.7_GH0.tar.gz) = bd7371fc89ac6a362af8b79ac53cc572ec9de38abb8c1ef1b9db65c400ef006a
SIZE (akosela-go-cs-v0.7_GH0.tar.gz) = 8173

View File

@ -1,5 +1,4 @@
cs is a program for concurrently executing ssh(1) or scp(1) on a number
of hosts. It is intended to automate running remote commands or copying
files between hosts on a network.
cs is a program for concurrently executing local or remote commands on
multiple hosts. It is using OpenSSH for running remote commands.
WWW: https://github.com/akosela/go-cs