ports/178039: [maintainer update] Updating port: sysutils/parallel - New Version (20130422)

Chris Howey howeyc at gmail.com
Mon Apr 22 03:40:00 UTC 2013


>Number:         178039
>Category:       ports
>Synopsis:       [maintainer update] Updating port: sysutils/parallel - New Version (20130422)
>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:   Mon Apr 22 03:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Chris Howey
>Release:        9.1-RELEASE
>Organization:
N/A
>Environment:
FreeBSD tinny-desktop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Modified files:
sysutils/parallel Makefile distinfo
sysutils/parallel/files patch-src__parallel 

Added build dependency to create .texi files (DOCS).

Update to 20130422

Release notes:
https://savannah.gnu.org/forum/forum.php?forum_id=7581
>How-To-Repeat:
N/A
>Fix:
Patch included.

Patch attached with submission follows:

diff -ruN parallel.bak/Makefile parallel/Makefile
--- parallel.bak/Makefile	2013-02-25 20:44:19.000000000 -0600
+++ parallel/Makefile	2013-04-21 22:12:55.000000000 -0500
@@ -2,7 +2,7 @@
 # $FreeBSD: ports/sysutils/parallel/Makefile,v 1.33 2013/02/26 02:44:19 svnexp Exp $
 
 PORTNAME=	parallel
-PORTVERSION=	20130222
+PORTVERSION=	20130422
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
@@ -27,6 +27,10 @@
 
 .include <bsd.port.options.mk>
 
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS=	pod2texi:${PORTSDIR}/print/texinfo
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/src/parallel
 .if empty(PORT_OPTIONS:MDOCS)
diff -ruN parallel.bak/distinfo parallel/distinfo
--- parallel.bak/distinfo	2013-02-25 20:44:19.000000000 -0600
+++ parallel/distinfo	2013-04-21 21:47:00.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (parallel-20130222.tar.bz2) = ebd3a66ff96bfcb00812c08a856bdf0f02e3de8864613283917775f5551e20ef
-SIZE (parallel-20130222.tar.bz2) = 240077
+SHA256 (parallel-20130422.tar.bz2) = 3090bb1ce3d56fe8c844a6ba4faa2ada69554f50c2ec46bdcd5d382d9a61cf2b
+SIZE (parallel-20130422.tar.bz2) = 241817
diff -ruN parallel.bak/files/patch-src__parallel parallel/files/patch-src__parallel
--- parallel.bak/files/patch-src__parallel	2013-01-04 14:43:10.000000000 -0600
+++ parallel/files/patch-src__parallel	2013-04-21 21:56:50.000000000 -0500
@@ -1,45 +1,28 @@
---- ./src/parallel.orig	2012-12-22 14:56:17.000000000 -0600
-+++ ./src/parallel	2012-12-22 14:58:55.000000000 -0600
-@@ -4790,29 +4790,19 @@
- package Limits::Command;
- 
- # 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
--    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;
+--- ./src/parallel.orig	2013-04-21 21:50:21.000000000 -0500
++++ ./src/parallel	2013-04-21 21:56:46.000000000 -0500
+@@ -5072,21 +5072,14 @@
+     # Returns:
+     #   number of chars on the longest command line allowed
+     if(not $Limits::Command::line_max_len) {
++	$Limits::Command::line_max_len = `getconf ARG_MAX` - 1024;
+ 	if($opt::max_chars) {
+-	    if(is_acceptable_command_line_length($opt::max_chars)) {
+-		$Limits::Command::line_max_len = $opt::max_chars;
 -	    } 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 = binary_find_max_length(0,$opt::max_chars);
 -	    }
--	    if($opt::s <= $Limits::Command::line_max_len) {
--		$Limits::Command::line_max_len = $opt::s;
+-	    if($opt::max_chars <= $Limits::Command::line_max_len) {
+-		$Limits::Command::line_max_len = $opt::max_chars;
 -	    } else {
--		::warning("Value for -s option ",
--			  "should be < $Limits::Command::line_max_len.\n");
--	    }
++	    if($opt::max_chars > $Limits::Command::line_max_len) {
+ 		::warning("Value for -s option ",
+ 			  "should be < $Limits::Command::line_max_len.\n");
++	    } else {
++		$Limits::Command::line_max_len = $opt::max_chars;
+ 	    }
 -	} else {
 -	    $Limits::Command::line_max_len = real_max_length();
--	}
--    }
--    return $Limits::Command::line_max_len;
-+sub max_length {                                                                 
-+    # FreeBSD code:                                                                 
-+    if(not $Limits::Command::line_max_len) {                                        
-+    	$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";
-+        	}                                                                           
-+        	$Limits::Command::line_max_len = $opt::s;                                  
-+    	}                                                                               
-+    }                                                                               
-+    return $Limits::Command::line_max_len;                                          
- }
- 
- sub real_max_length {
+ 	}
+     }
+     return $Limits::Command::line_max_len;



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


More information about the freebsd-ports-bugs mailing list