ports/174645: [maintainer update] Updating port: sysutils/parallel - New Version (20121222)
Chris Howey
howeyc at gmail.com
Sat Dec 22 21:20:00 UTC 2012
>Number: 174645
>Category: ports
>Synopsis: [maintainer update] Updating port: sysutils/parallel - New Version (20121222)
>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: Sat Dec 22 21:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Chris Howey
>Release: 9.0-RELEASE
>Organization:
N/A
>Environment:
FreeBSD tinny-desktop 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 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
Update to 20121122
Release Notes:
http://savannah.gnu.org/forum/forum.php?forum_id=7460
>How-To-Repeat:
N/A
>Fix:
Patch included.
Patch attached with submission follows:
diff -ruN parallel.bak/Makefile parallel/Makefile
--- parallel.bak/Makefile 2012-12-04 17:45:36.000000000 -0600
+++ parallel/Makefile 2012-12-22 14:47:43.000000000 -0600
@@ -2,7 +2,7 @@
# $FreeBSD: ports/sysutils/parallel/Makefile,v 1.30 2012/12/04 23:45:36 svnexp Exp $
PORTNAME= parallel
-PORTVERSION= 20121122
+PORTVERSION= 20121222
CATEGORIES= sysutils
MASTER_SITES= GNU
diff -ruN parallel.bak/distinfo parallel/distinfo
--- parallel.bak/distinfo 2012-12-04 17:45:36.000000000 -0600
+++ parallel/distinfo 2012-12-22 14:47:46.000000000 -0600
@@ -1,2 +1,2 @@
-SHA256 (parallel-20121122.tar.bz2) = 0315336141612ba2ec1f76e6c8c58a72f4531777c96b79b91ef64b3980be584f
-SIZE (parallel-20121122.tar.bz2) = 236294
+SHA256 (parallel-20121222.tar.bz2) = 0ce96ad4e36734baae7ce6c8d99d004810fbfdf5209d6f86d5b5fc9a92dc17f8
+SIZE (parallel-20121222.tar.bz2) = 237603
diff -ruN parallel.bak/files/patch-src__parallel parallel/files/patch-src__parallel
--- parallel.bak/files/patch-src__parallel 2012-08-23 02:31:06.000000000 -0500
+++ parallel/files/patch-src__parallel 2012-12-22 15:04:09.000000000 -0600
@@ -1,28 +1,45 @@
---- ./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) {
-+ $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;
+--- ./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;
- } 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) {
-+ 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;
+- $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 {
- ::warning("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;
+- }
+- }
+- 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 {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list