Date: Fri, 31 Jul 2009 08:53:34 GMT From: bf <bf1783@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137294: [PATCH]shells/bash: update to 4.0.28 Message-ID: <200907310853.n6V8rYUq051460@www.freebsd.org> Resent-Message-ID: <200907310900.n6V908xG002718@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137294 >Category: ports >Synopsis: [PATCH]shells/bash: update to 4.0.28 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 09:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: bf >Release: 8-CURRENT amd64 >Organization: - >Environment: >Description: Relevant changes: When using the ** globbing operator, bash will incorrectly add an extra directory name when the preceding directory name ends with `*' or an empty string when there is no preceding directory name. bash40-024 introduced a regression for constructs like **/*.cs; that expansion would no longer include matching files in the current directory. This patch undoes portions of bash40-024 and fixes the original problem in a different way. There are occasional cursor positioning errors when using readline's horizontal scroll mode. bash-4.0 reverted to the historical shell behavior of raising an error when $@ or $* was expanded after `set -u' had been executed and there were no positional parameters. The Posix working group has since clarified the standard's position on the issue, and $@ and $* are now the only variables, parameters, or special parameters that do not raise an error when unset if set -u is enabled. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN bash.orig/Makefile bash/Makefile --- bash.orig/Makefile 2009-07-30 22:55:21.000000000 -0400 +++ bash/Makefile 2009-07-30 22:00:28.000000000 -0400 @@ -7,7 +7,7 @@ # PORTNAME= bash -PATCHLEVEL= 24 +PATCHLEVEL= 28 PORTVERSION= 4.0.${PATCHLEVEL:S/^0//g} PORTREVISION?= 0 CATEGORIES= shells diff -ruN bash.orig/distinfo bash/distinfo --- bash.orig/distinfo 2009-07-30 22:55:21.000000000 -0400 +++ bash/distinfo 2009-07-30 22:01:10.000000000 -0400 @@ -73,5 +73,17 @@ MD5 (bash/bash40-024) = 82ba5fc9eb780eb57d8b7628a17b7d74 SHA256 (bash/bash40-024) = a59ebac47efe31b951e1732e4223cc725b2748c331bec98248355c5ac53717ab SIZE (bash/bash40-024) = 3049 +MD5 (bash/bash40-025) = b26f9007ac4eef5c378f1abcb8959025 +SHA256 (bash/bash40-025) = f77900d636033474bc15d39c4948515fdfe718164ea668edd64d8d4d5a8f6a08 +SIZE (bash/bash40-025) = 3435 +MD5 (bash/bash40-026) = 83bc844c82d0a30740e8d91a8238bfa9 +SHA256 (bash/bash40-026) = a9bdf4409c6625561884be58026a52ccb47600407f3d5b8d0889f0585040f6cb +SIZE (bash/bash40-026) = 1433 +MD5 (bash/bash40-027) = a41c187f05ecab07389c18acc91214c6 +SHA256 (bash/bash40-027) = f65dc26bb1bacc8a66610cd5f6f2b8e70be8d8c4e397e7a5ad6f3306224b77f2 +SIZE (bash/bash40-027) = 2010 +MD5 (bash/bash40-028) = fcc367e6471267d2e397257e703b817d +SHA256 (bash/bash40-028) = 5b222cbaf3ab1c1d9b4c5956a0e28cad49660f5746af08efe174e7b474022d1a +SIZE (bash/bash40-028) = 5567 MD5 (bash/FAQ) = IGNORE SHA256 (bash/FAQ) = IGNORE >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907310853.n6V8rYUq051460>