summaryrefslogtreecommitdiff
path: root/sysutils/p5-SSH-Batch
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-05-17 20:08:17 +0000
committerseb <seb@pkgsrc.org>2009-05-17 20:08:17 +0000
commit996f18736835ea17001ae5f67ae361471ec361c5 (patch)
tree2108354f133505e3259bb223866a4b75c7975ffc /sysutils/p5-SSH-Batch
parent907842c556f35567450662774bdb4d62386be86c (diff)
downloadpkgsrc-996f18736835ea17001ae5f67ae361471ec361c5.tar.gz
Initial import of p5-SSH-Batch version 0.021 in the NetBSD Packages
Collection. The Perl 5 module SSH::Batch provides cluster operations based on parallel SSH, set and interval arithmetic. The following scripts are provided: - fornodes: Expand patterns to machine host list - atnodes: Run command on clusters - tonodes: Upload local files/directories to remote clusters - key2nodes: Push SSH public key to the remote clusters
Diffstat (limited to 'sysutils/p5-SSH-Batch')
-rw-r--r--sysutils/p5-SSH-Batch/DESCR7
-rw-r--r--sysutils/p5-SSH-Batch/Makefile26
-rw-r--r--sysutils/p5-SSH-Batch/distinfo6
-rw-r--r--sysutils/p5-SSH-Batch/patches/patch-aa15
4 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/p5-SSH-Batch/DESCR b/sysutils/p5-SSH-Batch/DESCR
new file mode 100644
index 00000000000..c244a804352
--- /dev/null
+++ b/sysutils/p5-SSH-Batch/DESCR
@@ -0,0 +1,7 @@
+The Perl 5 module SSH::Batch provides cluster operations based on
+parallel SSH, set and interval arithmetic.
+The following scripts are provided:
+- fornodes: Expand patterns to machine host list
+- atnodes: Run command on clusters
+- tonodes: Upload local files/directories to remote clusters
+- key2nodes: Push SSH public key to the remote clusters
diff --git a/sysutils/p5-SSH-Batch/Makefile b/sysutils/p5-SSH-Batch/Makefile
new file mode 100644
index 00000000000..8fd85b53f92
--- /dev/null
+++ b/sysutils/p5-SSH-Batch/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/17 20:08:17 seb Exp $
+
+DISTNAME= SSH-Batch-0.021
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= sysutils net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/A/AG/AGENT/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/SSH-Batch/
+COMMENT= Cluster operations based on parallel SSH, set and interval arithmetic
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/SSH/Batch/.packlist
+
+DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir
+DEPENDS+= p5-IO-tty-[0-9]*:../../devel/p5-IO-Tty
+DEPENDS+= p5-Net-OpenSSH>=0.34:../../security/p5-Net-OpenSSH
+DEPENDS+= p5-Set-Scalar>=1.23:../../devel/p5-Set-Scalar
+DEPENDS+= p5-Term-ReadKey>=2.30:../../devel/p5-Term-ReadKey
+
+BUILD_DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/p5-SSH-Batch/distinfo b/sysutils/p5-SSH-Batch/distinfo
new file mode 100644
index 00000000000..8af4be7d69d
--- /dev/null
+++ b/sysutils/p5-SSH-Batch/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/17 20:08:17 seb Exp $
+
+SHA1 (SSH-Batch-0.021.tar.gz) = d82a2758f2cb03b4f39598c0083bdc315dc533ce
+RMD160 (SSH-Batch-0.021.tar.gz) = 673a396d54e4331de4bd1ef223b92fe97985ae5c
+Size (SSH-Batch-0.021.tar.gz) = 67086 bytes
+SHA1 (patch-aa) = 577b11dff0f01cab1f2097b99f3eb3c3d98853ad
diff --git a/sysutils/p5-SSH-Batch/patches/patch-aa b/sysutils/p5-SSH-Batch/patches/patch-aa
new file mode 100644
index 00000000000..bcdf371dfd3
--- /dev/null
+++ b/sysutils/p5-SSH-Batch/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/05/17 20:08:17 seb Exp $
+
+Prevent unconfigured CPAN.pm module to run its interactive
+setup
+
+--- Makefile.PL.orig 2009-05-03 07:27:26.000000000 +0000
++++ Makefile.PL
+@@ -27,6 +27,6 @@ install_script ('bin/atnodes');
+ install_script ('bin/tonodes');
+ install_script ('bin/key2nodes');
+
+-auto_install();
++#auto_install();
+ WriteAll();
+