From jhelfman@experts-exchange.com  Fri Oct 28 17:13:13 2011
Return-Path: <jhelfman@experts-exchange.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 20A621065675
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Oct 2011 17:13:13 +0000 (UTC)
	(envelope-from jhelfman@experts-exchange.com)
Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251])
	by mx1.freebsd.org (Postfix) with ESMTP id 004958FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Oct 2011 17:13:12 +0000 (UTC)
Received: from mail.experts-exchange.com (localhost [127.0.0.1])
	by mail.experts-exchange.com (Postfix) with ESMTP id 90E8F701C3C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Oct 2011 10:13:12 -0700 (PDT)
Received: from mail.experts-exchange.com ([127.0.0.1])
	by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UBkj1BnqruBx for <FreeBSD-gnats-submit@freebsd.org>;
	Fri, 28 Oct 2011 10:13:12 -0700 (PDT)
Received: from experts-exchange.com (unknown [192.168.103.122])
	by mail.experts-exchange.com (Postfix) with SMTP id 6C2C1701C2B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Oct 2011 10:13:12 -0700 (PDT)
Received: (nullmailer pid 28128 invoked by uid 1001);
	Fri, 28 Oct 2011 17:13:10 -0000
Message-Id: <1319821990.859667.28127.nullmailer@experts-exchange.com>
Date: Fri, 28 Oct 2011 10:13:10 -0700
From: Jason Helfman <jhelfman@experts-exchange.com>
Reply-To: Jason Helfman <jhelfman@experts-exchange.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [new port] sysutils/xjobs: Utility reads job descriptions line by line and executes in parallel
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         162109
>Category:       ports
>Synopsis:       [new port] sysutils/xjobs: Utility reads job descriptions line by line and executes in parallel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 17:20:05 UTC 2011
>Closed-Date:    Fri Nov 04 19:28:08 UTC 2011
>Last-Modified:  Fri Nov  4 19:30:10 UTC 2011
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Add new port that reads job descriptions line by line and executes in parallel
Builds cleanly in tinderbox => http://jgh.devio.us/files/logs/xjobs-20110730.log
Passes portlint.

Program operates as designed.
>How-To-Repeat:
	
>Fix:

# 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@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@experts-exchange.com
XCOMMENT=	Utility reads job descriptions line by line and executes in parallel
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

>Release-Note:
>Audit-Trail:

From: Jason Helfman <jhelfman@e-e.com>
To: bug-followup@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@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@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--
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Fri Nov 4 18:48:04 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162109 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Fri Nov 4 19:28:07 UTC 2011 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162109 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162109: commit references a PR
Date: Fri,  4 Nov 2011 19:26:12 +0000 (UTC)

 pawel       2011-11-04 19:26:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils             Makefile 
   Added files:
     sysutils/xjobs       Makefile distinfo pkg-descr 
     sysutils/xjobs/files patch-Makefile.in 
   Log:
   xjobs reads job descriptions line by line and executes them in parallel. It
   limits the number of parallel executing jobs and starts new jobs when jobs
   finish. Therefore, it combines the arguments from every input line with the
   utility and arguments given on the command line. If no utility is given as an
   argument to xjobs, then the first argument on every job line will be used as
   utility. To execute utility xjobs searches the directories given in the PATH
   environment variable and uses the first file found in these directories.
   
   xjobs is most useful on multi-processor/core machines when one needs to execute
   several time consuming command several that could possibly be run in parallel.
   With xjobs this can be achieved easily, and it is possible to limit the load of
   the machine to a useful value. It works similar to xargs, but starts several
   processes simultaneously and gives only one line of arguments to each utility
   call.
   
   WWW: http://www.maier-komor.de/xjobs.html
   
   PR:             ports/162109
   Submitted by:   Jason Helfman <jhelfman@experts-exchange.com>
   
   Revision  Changes    Path
   1.1342    +1 -0      ports/sysutils/Makefile
   1.1       +28 -0     ports/sysutils/xjobs/Makefile (new)
   1.1       +2 -0      ports/sysutils/xjobs/distinfo (new)
   1.1       +14 -0     ports/sysutils/xjobs/files/patch-Makefile.in (new)
   1.1       +16 -0     ports/sysutils/xjobs/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
