ports/162109: [new port] sysutils/xjobs: Utility reads job descriptions line by line and executes in parallel

Jason Helfman jhelfman at e-e.com
Fri Oct 28 17:50:09 UTC 2011


The following reply was made to PR ports/162109; it has been noted by GNATS.

From: Jason Helfman <jhelfman at e-e.com>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: ports/162109: [new port] sysutils/xjobs: Utility reads job
 descriptions line by line and executes in parallel
Date: Fri, 28 Oct 2011 10:46:28 -0700

 --HlL+5n6rz5pIUxbD
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Disposition: inline
 
 add license.
 fix spacing on install target for man.
 
 -jgh
 
 -- 
 Jason Helfman
 System Administrator
 experts-exchange.com
 http://www.experts-exchange.com/M_4830110.html
 E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
 
 --HlL+5n6rz5pIUxbD
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="xjobs.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	xjobs
 #	xjobs/distinfo
 #	xjobs/Makefile
 #	xjobs/files
 #	xjobs/files/patch-Makefile.in
 #	xjobs/pkg-descr
 #
 echo c - xjobs
 mkdir -p xjobs > /dev/null 2>&1
 echo x - xjobs/distinfo
 sed 's/^X//' >xjobs/distinfo << '7de6471b778f08255cdac00f8f76c917'
 XSHA256 (xjobs-20110730.tgz) = 11461a4e7efe6b911d97f4541b353018818b1ce477a0b582ac8a8059e2746d23
 XSIZE (xjobs-20110730.tgz) = 95147
 7de6471b778f08255cdac00f8f76c917
 echo x - xjobs/Makefile
 sed 's/^X//' >xjobs/Makefile << '80ce77573deb1fcb89b687c4eacb60bc'
 X# New ports collection makefile for:	xjobs
 X# Date created:		28 October 2011
 X# Whom:			Jason Helfman <jhelfman at experts-exchange.com>
 X#
 X# $FreeBSD$
 X#
 X#
 X
 XPORTNAME=	xjobs
 XPORTVERSION=	20110730
 XCATEGORIES=	sysutils
 XMASTER_SITES=	http://www.maier-komor.de/xjobs/
 XEXTRACT_SUFX=	.tgz
 X
 XMAINTAINER=	jhelfman at experts-exchange.com
 XCOMMENT=	Utility reads job descriptions line by line and executes in parallel
 X
 XLICENSE=	GPLv2
 X
 XGNU_CONFIGURE=	yes
 XPLIST_FILES=	bin/xjobs
 XMAN1=	xjobs.1
 X
 Xdo-install:
 X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
 X
 X.include <bsd.port.mk>
 80ce77573deb1fcb89b687c4eacb60bc
 echo c - xjobs/files
 mkdir -p xjobs/files > /dev/null 2>&1
 echo x - xjobs/files/patch-Makefile.in
 sed 's/^X//' >xjobs/files/patch-Makefile.in << 'fd49bb419c9bfdb96a92ff0a17daa780'
 X--- ./Makefile.in.orig	2011-10-28 09:57:51.000000000 -0700
 X+++ ./Makefile.in	2011-10-28 09:57:58.000000000 -0700
 X@@ -40,11 +40,5 @@
 X 	-$(RM) $(TARGET) config.h config.log \
 X 	config.status Makefile core
 X 
 X-install: $(TARGET)
 X-	-$(INSTALL) -d $(DESTDIR)$(bindir)
 X-	$(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
 X-	-$(INSTALL) -d $(DESTDIR)$(mandir)
 X-	$(INSTALL) xjobs.1 $(DESTDIR)$(mandir)
 X-
 X lint:
 X 	lint $(CFLAGS) $(SOURCES)
 fd49bb419c9bfdb96a92ff0a17daa780
 echo x - xjobs/pkg-descr
 sed 's/^X//' >xjobs/pkg-descr << '5e9d73a93d9d7a0fa9272ebe3c7a247e'
 Xxjobs reads job descriptions line by line and executes them in parallel. It
 Xlimits the number of parallel executing jobs and starts new jobs when jobs
 Xfinish. Therefore, it combines the arguments from every input line with the
 Xutility and arguments given on the command line. If no utility is given as an
 Xargument to xjobs, then the first argument on every job line will be used as
 Xutility. To execute utility xjobs searches the directories given in the PATH
 Xenvironment variable and uses the first file found in these directories.
 X
 Xxjobs is most useful on multi-processor/core machines when one needs to execute
 Xseveral time consuming command several that could possibly be run in parallel.
 XWith xjobs this can be achieved easily, and it is possible to limit the load of
 Xthe machine to a useful value. It works similar to xargs, but starts several
 Xprocesses simultaneously and gives only one line of arguments to each utility
 Xcall.
 X
 XWWW: http://www.maier-komor.de/xjobs.html
 5e9d73a93d9d7a0fa9272ebe3c7a247e
 exit
 
 
 --HlL+5n6rz5pIUxbD--



More information about the freebsd-ports-bugs mailing list