From 09bc07c9774631ada7a30e96bdf121e2a749e964 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Thu, 23 Sep 2010 03:46:37 +0000 Subject: [PATCH] GNU Parallel is a shell tool for executing jobs in parallel using one or more machines. A job is typically a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, or a list of tables. If you use xargs today you will find GNU Parallel very easy to use. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running jobs in parallel. If you use ppss or pexec you will find GNU Parallel will often make the command easier to read. GNU Parallel also makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs. WWW: http://www.gnu.org/software/parallel/ PR: ports/150846 Submitted by: Chris Howey --- sysutils/Makefile | 1 + sysutils/parallel/Makefile | 31 +++++++++++++++++++++++++++++++ sysutils/parallel/distinfo | 3 +++ sysutils/parallel/pkg-descr | 18 ++++++++++++++++++ sysutils/parallel/pr-patch | 0 5 files changed, 53 insertions(+) create mode 100644 sysutils/parallel/Makefile create mode 100644 sysutils/parallel/distinfo create mode 100644 sysutils/parallel/pkg-descr create mode 100644 sysutils/parallel/pr-patch diff --git a/sysutils/Makefile b/sysutils/Makefile index 40186138b6b2..325b5a8ffd70 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -600,6 +600,7 @@ SUBDIR += p5-mogilefs-server SUBDIR += p5-reslog SUBDIR += paicc + SUBDIR += parallel SUBDIR += pax-utils SUBDIR += pbreg SUBDIR += pcfclock diff --git a/sysutils/parallel/Makefile b/sysutils/parallel/Makefile new file mode 100644 index 000000000000..602513512a32 --- /dev/null +++ b/sysutils/parallel/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: parallel +# Date created: 22 September 2010 +# Whom: Chris Howey +# +# $FreeBSD$ +# + +PORTNAME= parallel +PORTVERSION= 20100922 +CATEGORIES= sysutils +MASTER_SITES= GNU + +MAINTAINER= howeyc@gmail.com +COMMENT= GNU parallel is a shell tool for executing jobs in parallel + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --datarootdir="${PREFIX}"\ + --docdir="${PREFIX}/share/doc/${PORTNAME}" + +MAN1= parallel.1 sem.1 sql.1 +MANCOMPRESSED= no +USE_BZIP2= yes +USE_PERL5= yes + +PORTDOCS= parallel.html sem.html sql.html + +PLIST_FILES= bin/parallel \ + bin/sem \ + bin/sql + +.include diff --git a/sysutils/parallel/distinfo b/sysutils/parallel/distinfo new file mode 100644 index 000000000000..a521a926fabf --- /dev/null +++ b/sysutils/parallel/distinfo @@ -0,0 +1,3 @@ +MD5 (parallel-20100922.tar.bz2) = d394fda57fbe7a58f64b3c2eaa5ad177 +SHA256 (parallel-20100922.tar.bz2) = 0dbd93c569d177baa36cd281d53b079be761dc276d72505ba9ef0a22d4bcc12e +SIZE (parallel-20100922.tar.bz2) = 125602 diff --git a/sysutils/parallel/pkg-descr b/sysutils/parallel/pkg-descr new file mode 100644 index 000000000000..a89818fc5b3f --- /dev/null +++ b/sysutils/parallel/pkg-descr @@ -0,0 +1,18 @@ +GNU Parallel is a shell tool for executing jobs in parallel using one +or more machines. A job is typically a single command or a small +script that has to be run for each of the lines in the input. The +typical input is a list of files, a list of hosts, a list of users, or +a list of tables. + +If you use xargs today you will find GNU Parallel very easy to use. If +you write loops in shell, you will find GNU Parallel may be able to +replace most of the loops and make them run faster by running jobs in +parallel. If you use ppss or pexec you will find GNU Parallel will +often make the command easier to read. + +GNU Parallel also makes sure output from the commands is the same +output as you would get had you run the commands sequentially. This +makes it possible to use output from GNU Parallel as input for other +programs. + +WWW: http://www.gnu.org/software/parallel/ diff --git a/sysutils/parallel/pr-patch b/sysutils/parallel/pr-patch new file mode 100644 index 000000000000..e69de29bb2d1