Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 02:41:49 GMT
From:      Chris Howey <howeyc@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170908: [maintainer update] Updating port: sysutils/parallel - New Version (20120822)
Message-ID:  <201208230241.q7N2fn2N080975@red.freebsd.org>
Resent-Message-ID: <201208230250.q7N2o2q9015141@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170908
>Category:       ports
>Synopsis:       [maintainer update] Updating port: sysutils/parallel - New Version (20120822)
>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:   Thu Aug 23 02:50:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Howey
>Release:        9.0-RELEASE
>Organization:
N/A
>Environment:
FreeBSD tinny-virtual 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan  5 10:15:49 CET 2012     root@VirtualBSD.localdomain:/sys/i386/compile/VIRTUALBSD  i386
>Description:
Modified files:
sysutils/parallel Makefile distinfo files/patch-src__parallel

Update to 20120822

Patch updated to apply to new version.

Release Notes:
http://savannah.gnu.org/forum/forum.php?forum_id=7345
>How-To-Repeat:
N/A
>Fix:
Patch included.

Patch attached with submission follows:

diff -ruN parallel.bak/Makefile parallel/Makefile
--- parallel.bak/Makefile	2012-06-24 09:59:26.000000000 -0500
+++ parallel/Makefile	2012-08-22 21:07:07.000000000 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	parallel
-PORTVERSION=	20120622
+PORTVERSION=	20120822
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
diff -ruN parallel.bak/distinfo parallel/distinfo
--- parallel.bak/distinfo	2012-06-24 09:59:26.000000000 -0500
+++ parallel/distinfo	2012-08-22 21:07:13.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (parallel-20120622.tar.bz2) = bfdbb4a66835eacce2bffde23f5e0f12b4e99ced5e348b5f69b7aa97d0123869
-SIZE (parallel-20120622.tar.bz2) = 228881
+SHA256 (parallel-20120822.tar.bz2) = 4762e0a47337c457bf4c2d16372fce4f6399de9441ac34d32b4e436d1ab26949
+SIZE (parallel-20120822.tar.bz2) = 231076
diff -ruN parallel.bak/files/patch-src__parallel parallel/files/patch-src__parallel
--- parallel.bak/files/patch-src__parallel	2011-08-22 13:33:39.000000000 -0500
+++ parallel/files/patch-src__parallel	2012-08-22 21:33:05.000000000 -0500
@@ -1,62 +1,28 @@
---- src/parallel.orig	2011-08-22 07:17:43.000000000 +0800
-+++ src/parallel	2011-08-22 23:51:57.455272434 +0800
-@@ -4073,28 +4073,42 @@
- 
- # Maximal command line length (for -m and -X)
- sub max_length {
--    # Find the max_length of a command line and cache it
--    # Returns:
--    #   number of chars on the longest command line allowed
-+    # FreeBSD code:
+--- ./src/parallel.orig	2012-08-22 21:25:08.000000000 -0500
++++ ./src/parallel	2012-08-22 21:25:24.000000000 -0500
+@@ -4571,21 +4571,15 @@
+     # Returns:
+     #   number of chars on the longest command line allowed
      if(not $Limits::Command::line_max_len) {
--	if($::opt_s) {
++	$Limits::Command::line_max_len = `getconf ARG_MAX` - 1024;
+ 	if($::opt_s) {
 -	    if(is_acceptable_command_line_length($::opt_s)) {
 -		$Limits::Command::line_max_len = $::opt_s;
 -	    } else {
 -		# -s is too long: Find the correct
 -		$Limits::Command::line_max_len = binary_find_max_length(0,$::opt_s);
-+	$Limits::Command::line_max_len = `getconf ARG_MAX` - 1024;
-+	if ($::opt_s) {
-+	    if ($::opt_s > $Limits::Command::line_max_len) {
-+	     print STDERR "$Global::progname: ",
-+	     "you are setting value for -s greater than $Limits::Command::line_max_len\n";
++	    if($::opt_s > $Limits::Command::line_max_len) {
++	     	print STDERR "$Global::progname: ",
++	     	"you are setting value for -s greater than $Limits::Command::line_max_len\n";
  	    }
--	    if($::opt_s <= $Limits::Command::line_max_len) {
--		$Limits::Command::line_max_len = $::opt_s;
+ 	    if($::opt_s <= $Limits::Command::line_max_len) {
+ 		$Limits::Command::line_max_len = $::opt_s;
 -	    } else {
--		print STDERR "$Global::progname: value for -s option ",
--		"should be < $Limits::Command::line_max_len\n";
--	    }
+-		::warning("Value for -s option ",
+-			  "should be < $Limits::Command::line_max_len.\n");
+ 	    }
 -	} else {
 -	    $Limits::Command::line_max_len = real_max_length();
-+	    $Limits::Command::line_max_len = $::opt_s;
  	}
      }
      return $Limits::Command::line_max_len;
-+
-+#    ORIGINAL code:
-+#    # Find the max_length of a command line and cache it
-+#    # Returns:
-+#    #   number of chars on the longest command line allowed
-+#    if(not $Limits::Command::line_max_len) {
-+#	if($::opt_s) {
-+#	    if(is_acceptable_command_line_length($::opt_s)) {
-+#		$Limits::Command::line_max_len = $::opt_s;
-+#	    } else {
-+#		# -s is too long: Find the correct
-+#		$Limits::Command::line_max_len = binary_find_max_length(0,$::opt_s);
-+#	    }
-+#	    if($::opt_s <= $Limits::Command::line_max_len) {
-+#		$Limits::Command::line_max_len = $::opt_s;
-+#	    } else {
-+#		print STDERR "$Global::progname: value for -s option ",
-+#		"should be < $Limits::Command::line_max_len\n";
-+#	    }
-+#	} else {
-+#	    $Limits::Command::line_max_len = real_max_length();
-+#	}
-+#    }
-+#    return $Limits::Command::line_max_len;
- }
- 
- sub real_max_length {


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208230241.q7N2fn2N080975>