From owner-dev-commits-ports-all@freebsd.org Tue Sep 28 10:04:09 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4264467A840; Tue, 28 Sep 2021 10:04:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HJZpx16Hpz4kJS; Tue, 28 Sep 2021 10:04:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05E5F22B2A; Tue, 28 Sep 2021 10:04:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18SA48Z5089539; Tue, 28 Sep 2021 10:04:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18SA48Yw089538; Tue, 28 Sep 2021 10:04:08 GMT (envelope-from git) Date: Tue, 28 Sep 2021 10:04:08 GMT Message-Id: <202109281004.18SA48Yw089538@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 59c39efaa8ae - main - sysutils/pdsh: resurrect^Wreadd previously expired port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59c39efaa8aebe612a384a686e5b4b9df04ada72 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2021 10:04:09 -0000 The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=59c39efaa8aebe612a384a686e5b4b9df04ada72 commit 59c39efaa8aebe612a384a686e5b4b9df04ada72 Author: Alexey Dokuchaev AuthorDate: 2021-09-28 10:03:48 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-09-28 10:03:51 +0000 sysutils/pdsh: resurrect^Wreadd previously expired port - Bring it back from the attic and update to version 2.34 - Nowadays, project is hosted and released on the GitHub - Use more appropriate USE_PERL5 and INSTALL_TARGET values - Hook the test suite to our framework (not all tests pass) --- MOVED | 1 - sysutils/Makefile | 1 + sysutils/pdsh/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ sysutils/pdsh/distinfo | 3 +++ sysutils/pdsh/pkg-descr | 6 ++++++ sysutils/pdsh/pkg-plist | 23 +++++++++++++++++++++++ 6 files changed, 73 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index f4ed42c559a6..95f660e1f6cd 100644 --- a/MOVED +++ b/MOVED @@ -9128,7 +9128,6 @@ sysutils/sievelog||2017-04-30|Has expired: Unfetchable for more than six months sysutils/ldapenter||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) sysutils/py-danzfs||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) sysutils/plasma-applet-apcups||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) -sysutils/pdsh||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) deskutils/superswitcher||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) deskutils/plasma-applet-playwolf||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) deskutils/nagaina||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away) diff --git a/sysutils/Makefile b/sysutils/Makefile index 1d2a890c5f8a..23ca755b171b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -927,6 +927,7 @@ SUBDIR += pciutils SUBDIR += pcpustat SUBDIR += pdixtract + SUBDIR += pdsh SUBDIR += pdumpfs SUBDIR += pear-Cache SUBDIR += pear-Cache_Lite diff --git a/sysutils/pdsh/Makefile b/sysutils/pdsh/Makefile new file mode 100644 index 000000000000..e61679e14b53 --- /dev/null +++ b/sysutils/pdsh/Makefile @@ -0,0 +1,40 @@ +# Created by: Mykola Dzham + +PORTNAME= pdsh +PORTVERSION= 2.34 +DISTVERSIONPREFIX= ${PORTNAME}- +CATEGORIES= sysutils + +MAINTAINER= i@levsha.me +COMMENT= Parallel Distributed Shell + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes +# :keepla because port uses lt_dlopen +USES= autoreconf gmake libtool:keepla shebangfix +USE_GITHUB= yes +GH_ACCOUNT= chaos +USE_PERL5= run +SHEBANG_FILES= scripts/dshbak +INSTALL_TARGET= install-strip +TEST_TARGET= check + +OPTIONS_DEFINE= SSH DSHGROUPS NETGROUP READLINE RSH +OPTIONS_DEFAULT= SSH DSHGROUPS +OPTIONS_SUB= yes +DSHGROUPS_DESC= DSH groups support +DSHGROUPS_CONFIGURE_WITH= dshgroups +NETGROUP_DESC= NIS Netgroup support +NETGROUP_CONFIGURE_WITH=netgroup +READLINE_CONFIGURE_WITH=readline +READLINE_USES= readline +RSH_DESC= RSH support +RSH_CONFIGURE_WITH= rsh +SSH_CONFIGURE_WITH= ssh + +post-patch: + @${REINPLACE_CMD} -e 's,m4_esyscmd.*,[${PORTVERSION}]),' \ + ${WRKSRC}/configure.ac + +.include diff --git a/sysutils/pdsh/distinfo b/sysutils/pdsh/distinfo new file mode 100644 index 000000000000..d01fb2b8fe63 --- /dev/null +++ b/sysutils/pdsh/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1578433486 +SHA256 (chaos-pdsh-pdsh-2.34_GH0.tar.gz) = 36e1b3c734ae9b4baf054c656b9735206cc56b290d2c0ec4f7825cdd9f7dff54 +SIZE (chaos-pdsh-pdsh-2.34_GH0.tar.gz) = 215708 diff --git a/sysutils/pdsh/pkg-descr b/sysutils/pdsh/pkg-descr new file mode 100644 index 000000000000..1c2b21ce2f76 --- /dev/null +++ b/sysutils/pdsh/pkg-descr @@ -0,0 +1,6 @@ +Pdsh is a high-performance, parallel remote shell utility. It uses a sliding +window of threads to execute remote commands, conserving socket resources while +allowing some connections to timeout if needed. It was originally written as a +replacement for IBM's DSH on clusters at LLNL. + +WWW: https://github.com/chaos/pdsh diff --git a/sysutils/pdsh/pkg-plist b/sysutils/pdsh/pkg-plist new file mode 100644 index 000000000000..5f21f457e088 --- /dev/null +++ b/sysutils/pdsh/pkg-plist @@ -0,0 +1,23 @@ +bin/dshbak +bin/pdcp +bin/pdsh +bin/rpdcp +lib/pdsh/execcmd.a +lib/pdsh/execcmd.la +lib/pdsh/execcmd.so +%%DSHGROUPS%%lib/pdsh/dshgroup.a +%%DSHGROUPS%%lib/pdsh/dshgroup.la +%%DSHGROUPS%%lib/pdsh/dshgroup.so +%%NETGROUP%%lib/pdsh/netgroup.a +%%NETGROUP%%lib/pdsh/netgroup.la +%%NETGROUP%%lib/pdsh/netgroup.so +%%SSH%%lib/pdsh/sshcmd.a +%%SSH%%lib/pdsh/sshcmd.la +%%SSH%%lib/pdsh/sshcmd.so +%%RSH%%lib/pdsh/xrcmd.a +%%RSH%%lib/pdsh/xrcmd.la +%%RSH%%lib/pdsh/xrcmd.so +man/man1/dshbak.1.gz +man/man1/pdcp.1.gz +man/man1/pdsh.1.gz +man/man1/rpdcp.1.gz