From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 12 01:20:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AC831065676 for ; Fri, 12 Feb 2010 01:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C41A8FC17 for ; Fri, 12 Feb 2010 01:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1C1K1NQ074790 for ; Fri, 12 Feb 2010 01:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1C1K1JV074789; Fri, 12 Feb 2010 01:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 12 Feb 2010 01:20:01 GMT Resent-Message-Id: <201002120120.o1C1K1JV074789@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Charlie Kester Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 651B31065670 for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143827: [MAINTAINER] sysutils/moreutils: update to version 0.38 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charlie Kester List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 01:20:01 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 12 01:20:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Charlie Kester >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: >Unformatted: