From corky1951@comcast.net  Fri Feb 12 01:13:03 2010
Return-Path: <corky1951@comcast.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 651B31065670
	for <freebsd-gnats-submit@freebsd.org>; Fri, 12 Feb 2010 01:13:03 +0000 (UTC)
	(envelope-from corky1951@comcast.net)
Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96])
	by mx1.freebsd.org (Postfix) with ESMTP id 186F58FC12
	for <freebsd-gnats-submit@freebsd.org>; Fri, 12 Feb 2010 01:13:02 +0000 (UTC)
Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20])
	by qmta09.westchester.pa.mail.comcast.net with comcast
	id goF81d0050SCNGk59pD3ax; Fri, 12 Feb 2010 01:13:03 +0000
Received: from comcast.net ([98.203.142.76])
	by omta09.westchester.pa.mail.comcast.net with comcast
	id gpD11d00A1f6R9u3VpD1YT; Fri, 12 Feb 2010 01:13:03 +0000
Received: by comcast.net (sSMTP sendmail emulation); Thu, 11 Feb 2010 17:16:29 -0800
Message-Id: <20100212011303.651B31065670@hub.freebsd.org>
Date: Thu, 11 Feb 2010 17:16:29 -0800
From: Charlie Kester <corky1951@comcast.net> 
Reply-To: Charlie Kester <corky1951@comcast.net> 
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] sysutils/moreutils: update to version 0.38
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         143827
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/moreutils: update to version 0.38
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 12 01:20:00 UTC 2010
>Closed-Date:    Fri Feb 12 09:24:08 UTC 2010
>Last-Modified:  Fri Feb 12 09:30:01 UTC 2010
>Originator:     Charlie Kester <corky1951@comcast.net>
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD bigbox.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Jan 21 01:15:05 PST 2010 root@bigbox.local:/usr/obj/usr/src/sys/BIGBOX i386

>Description:
Update to version 0.38

The parallel utility now allows running independent commands, like
	parallel -j3 -- ls df "echo hi"

>How-To-Repeat:
>Fix:

--- moreutils-0.38.diff begins here ---
diff -ruN /usr/ports/sysutils/moreutils/Makefile ./moreutils/Makefile
--- /usr/ports/sysutils/moreutils/Makefile	2009-11-20 14:34:35.000000000 -0800
+++ ./moreutils/Makefile	2010-02-11 15:17:46.000000000 -0800
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	moreutils
-PORTVERSION=	0.37
-PORTREVISION=	2
+PORTVERSION=	0.38
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
diff -ruN /usr/ports/sysutils/moreutils/distinfo ./moreutils/distinfo
--- /usr/ports/sysutils/moreutils/distinfo	2009-09-10 10:12:43.000000000 -0700
+++ ./moreutils/distinfo	2010-02-11 15:17:46.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (moreutils_0.37.tar.gz) = 0efb69ef1e913ea4dabc74bfe0e68372
-SHA256 (moreutils_0.37.tar.gz) = 21b5dcf61c1cdf2b479613e5fd4c4652780ba2be872c9631d4493fa74f30eb50
-SIZE (moreutils_0.37.tar.gz) = 39445
+MD5 (moreutils_0.38.tar.gz) = 34f29dc728ead3cae50411e7d158a493
+SHA256 (moreutils_0.38.tar.gz) = 26223e8ac1fe9906dcc0e2e4395d510146001fe285e9f786e80daab8acb237c3
+SIZE (moreutils_0.38.tar.gz) = 40426
diff -ruN /usr/ports/sysutils/moreutils/files/patch-Makefile ./moreutils/files/patch-Makefile
--- /usr/ports/sysutils/moreutils/files/patch-Makefile	2009-11-20 14:34:36.000000000 -0800
+++ ./moreutils/files/patch-Makefile	2010-02-11 15:18:02.000000000 -0800
@@ -1,5 +1,5 @@
 --- Makefile.orig	2009-07-02 12:00:44.000000000 -0700
-+++ Makefile	2009-11-07 12:51:25.000000000 -0800
++++ Makefile	2010-02-09 22:13:14.000000000 -0800
 @@ -1,51 +1,34 @@
 -BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel
 +BINS=isutf8 ifne pee sponge mispipe lckdo parallel
diff -ruN /usr/ports/sysutils/moreutils/files/patch-parallel.c ./moreutils/files/patch-parallel.c
--- /usr/ports/sysutils/moreutils/files/patch-parallel.c	2009-09-20 11:54:27.000000000 -0700
+++ ./moreutils/files/patch-parallel.c	2010-02-11 15:18:02.000000000 -0800
@@ -1,6 +1,6 @@
---- parallel.c.orig	2009-07-25 00:59:37.000000000 -0700
-+++ parallel.c	2009-09-19 15:41:07.000000000 -0700
-@@ -64,6 +64,7 @@
+--- parallel.c.orig	2010-02-09 12:39:08.000000000 -0800
++++ parallel.c	2010-02-09 22:27:25.000000000 -0800
+@@ -76,6 +76,7 @@
  	return;
  }
  
@@ -8,21 +8,22 @@
  int wait_for_child(int options) {
  	id_t id_ignored = 0;
  	siginfo_t infop;
-@@ -76,6 +77,17 @@
+@@ -88,6 +89,18 @@
  		return infop.si_status;
  	return 1;
  }
 +#else
 +int wait_for_child(int options) {
-+	int status;
++   int status;
 +
-+	if(waitpid(-1, &status, options) == -1)
-+		return -1; /* nothing to wait for */
-+	if(WIFEXITED(status))
-+			return WEXITSTATUS(status);
-+	return 1;
++   if(waitpid(-1, &status, options) == -1)
++       return -1; /* nothing to wait for */
++   if(WIFEXITED(status))
++           return WEXITSTATUS(status);
++   return 1;
 +}
 +#endif
++
  
  int main(int argc, char **argv) {
  	int maxjobs = -1;
--- moreutils-0.38.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Feb 12 09:19:49 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143827: commit references a PR
Date: Fri, 12 Feb 2010 09:24:06 +0000 (UTC)

 pav         2010-02-12 09:23:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/moreutils   Makefile distinfo 
     sysutils/moreutils/files patch-Makefile patch-parallel.c 
   Log:
   - Update to 0.38
   
   PR:             ports/143827
   Submitted by:   Charlie Kester <corky1951@comcast.net> (maintainer)
   
   Revision  Changes    Path
   1.6       +1 -2      ports/sysutils/moreutils/Makefile
   1.4       +3 -3      ports/sysutils/moreutils/distinfo
   1.5       +1 -1      ports/sysutils/moreutils/files/patch-Makefile
   1.2       +11 -10    ports/sysutils/moreutils/files/patch-parallel.c
 _______________________________________________
 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:
