summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2006-12-25 17:28:46 +0100
committerJuergen Daubert <jue@jue.li>2006-12-25 17:28:46 +0100
commit27f517997452a7fe7004f502e946e90e7eb2ad38 (patch)
treed95dc8eaea72b39d789af6a35c83eac5231eb702 /bash
parent03113751849ef8b7c46fb534b01b33fbece7a069 (diff)
downloadpkgutils-27f517997452a7fe7004f502e946e90e7eb2ad38.tar.gz
pkgutils-27f517997452a7fe7004f502e946e90e7eb2ad38.tar.xz
bash: update to 3.2.9
Diffstat (limited to 'bash')
-rw-r--r--bash/.md5sum2
-rw-r--r--bash/Pkgfile8
-rw-r--r--bash/bash-3.2-001-009.patch (renamed from bash/bash-3.2-001-005.patch)217
3 files changed, 222 insertions, 5 deletions
diff --git a/bash/.md5sum b/bash/.md5sum
index 69050a92..d45fc28c 100644
--- a/bash/.md5sum
+++ b/bash/.md5sum
@@ -1,4 +1,4 @@
-ce83c3dbfbd4945851b0e4ff398e4df5 bash-3.2-001-005.patch
+4a6af4465a686bec169fb1fa887736ac bash-3.2-001-009.patch
46d32222ea0ee4b92d9cad3130498e30 bash-3.2-doc.patch
00bfa16d58e034e3c2aa27f390390d30 bash-3.2.tar.gz
7b57ddfc0866bfe6ee5eb714723d69b7 profile
diff --git a/bash/Pkgfile b/bash/Pkgfile
index 9a569843..5095b216 100644
--- a/bash/Pkgfile
+++ b/bash/Pkgfile
@@ -4,16 +4,16 @@
# Depends on: ncurses
name=bash
-version=3.2.5
+version=3.2.9
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \
- $name-3.2-001-005.patch \
+ $name-3.2-001-009.patch \
$name-3.2-doc.patch \
profile)
build() {
cd $name-3.2
- patch -p0 < $SRC/$name-3.2-001-005.patch
+ patch -p0 < $SRC/$name-3.2-001-009.patch
patch -p1 < $SRC/$name-3.2-doc.patch
./configure --prefix=/usr \
--exec-prefix= \
@@ -21,7 +21,7 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
- install -D -m 644 ../profile $PKG/etc/profile
+ install -D -m 644 $SRC/profile $PKG/etc/profile
ln -sf bash $PKG/bin/sh
ln -sf bash.1 $PKG/usr/man/man1/sh.1
}
diff --git a/bash/bash-3.2-001-005.patch b/bash/bash-3.2-001-009.patch
index 3eb0951c..29bf247c 100644
--- a/bash/bash-3.2-001-005.patch
+++ b/bash/bash-3.2-001-009.patch
@@ -45,6 +45,7 @@ Patch:
! #define PATCHLEVEL 1
#endif /* _PATCHLEVEL_H_ */
+
BASH PATCH REPORT
=================
@@ -93,6 +94,7 @@ Patch:
! #define PATCHLEVEL 2
#endif /* _PATCHLEVEL_H_ */
+
BASH PATCH REPORT
=================
@@ -240,6 +242,7 @@ Patch:
#endif /* _PATCHLEVEL_H_ */
+
BASH PATCH REPORT
=================
@@ -336,6 +339,7 @@ Patch:
! #define PATCHLEVEL 4
#endif /* _PATCHLEVEL_H_ */
+
BASH PATCH REPORT
=================
@@ -559,3 +563,216 @@ Patch:
! #define PATCHLEVEL 5
#endif /* _PATCHLEVEL_H_ */
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.2
+Patch-ID: bash32-006
+
+Bug-Reported-by: ebb9@byu.net
+Bug-Reference-ID: <45540862.9030900@byu.net>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html
+ http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00016.html
+
+Bug-Description:
+
+In some cases, code that is intended to be used in the presence of multibyte
+characters is called when no such characters are present, leading to incorrect
+display position calculations and incorrect redisplay.
+
+Patch:
+
+*** ../bash-3.2-patched/lib/readline/display.c Thu Sep 14 14:20:12 2006
+--- lib/readline/display.c Mon Nov 13 17:55:57 2006
+***************
+*** 2381,2384 ****
+--- 2409,2414 ----
+ if (end <= start)
+ return 0;
++ if (MB_CUR_MAX == 1 || rl_byte_oriented)
++ return (end - start);
+
+ memset (&ps, 0, sizeof (mbstate_t));
+*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
+--- patchlevel.h Mon Oct 16 14:22:54 2006
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 5
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 6
+
+ #endif /* _PATCHLEVEL_H_ */
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.2
+Patch-ID: bash32-007
+
+Bug-Reported-by: jidanni@jidanni.org
+Bug-Reference-ID: <E1Gkg12-00017D-Fm@jidanni.org>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00039.html
+
+Bug-Description:
+
+When removing the current or previous job from the jobs list, bash incorrectly
+resets the current job under some circumstances.
+
+Patch:
+
+*** ../bash-3.2-patched/jobs.c Sat Jul 29 16:40:48 2006
+--- jobs.c Fri Nov 24 14:50:01 2006
+***************
+*** 985,990 ****
+ if (temp == 0)
+ return;
+- if (job_index == js.j_current || job_index == js.j_previous)
+- reset_current ();
+
+ if ((dflags & DEL_NOBGPID) == 0)
+--- 985,988 ----
+***************
+*** 1029,1032 ****
+--- 1027,1033 ----
+ else if (jobs[js.j_firstj] == 0 || jobs[js.j_lastj] == 0)
+ reset_job_indices ();
++
++ if (job_index == js.j_current || job_index == js.j_previous)
++ reset_current ();
+ }
+
+*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
+--- patchlevel.h Mon Oct 16 14:22:54 2006
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 6
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 7
+
+ #endif /* _PATCHLEVEL_H_ */
+
+
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.2
+Patch-ID: bash32-008
+
+Bug-Reported-by: Linda Walsh <bash@tlinx.org>
+Bug-Reference-ID: <456041FD.8000605@tlinx.org>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00040.html
+
+Bug-Description:
+
+When checking pathnames from the command hash table (e.g., when the `checkhash'
+shell option is enabled), a bug causes bash to delete and re-lookup each
+command.
+
+Patch:
+
+*** ../bash-3.2-patched/findcmd.c Wed Aug 17 16:49:54 2005
+--- findcmd.c Fri Nov 24 10:48:37 2006
+***************
+*** 309,313 ****
+ {
+ st = file_status (hashed_file);
+! if ((st ^ (FS_EXISTS | FS_EXECABLE)) != 0)
+ {
+ phash_remove (pathname);
+--- 309,313 ----
+ {
+ st = file_status (hashed_file);
+! if ((st & (FS_EXISTS|FS_EXECABLE)) != (FS_EXISTS|FS_EXECABLE))
+ {
+ phash_remove (pathname);
+*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
+--- patchlevel.h Mon Oct 16 14:22:54 2006
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 7
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 8
+
+ #endif /* _PATCHLEVEL_H_ */
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 3.2
+Patch-ID: bash32-009
+
+Bug-Reported-by: James.M.Botte@lowes.com
+Bug-Reference-ID: <BA9FF90F7E5B424998F98EDA9F1F94BE01FA9853@msexchdb01.lowes.com>
+Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-12/msg00000.html
+
+Bug-Description:
+
+When using its built-in replacement for snprintf/asprintf, bash does not
+treat the %x, %X, and %o format specifiers as unsigned numbers.
+
+Patch:
+
+*** ../bash-3.2-patched/lib/sh/snprintf.c Mon Nov 13 08:58:52 2006
+--- lib/sh/snprintf.c Wed Dec 6 11:15:04 2006
+***************
+*** 669,673 ****
+
+ sd = d; /* signed for ' ' padding in base 10 */
+! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
+ if (*p->pf == 'X')
+ flags |= FL_HEXUPPER;
+--- 674,679 ----
+
+ sd = d; /* signed for ' ' padding in base 10 */
+! flags = 0;
+! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
+ if (*p->pf == 'X')
+ flags |= FL_HEXUPPER;
+***************
+*** 739,743 ****
+
+ sd = d; /* signed for ' ' padding in base 10 */
+! flags = (*p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
+ if (*p->pf == 'X')
+ flags |= FL_HEXUPPER;
+--- 745,749 ----
+
+ sd = d; /* signed for ' ' padding in base 10 */
+! flags = (*p->pf == 'x' || *p->pf == 'X' || *p->pf == 'o' || *p->pf == 'u' || *p->pf == 'U') ? FL_UNSIGNED : 0;
+ if (*p->pf == 'X')
+ flags |= FL_HEXUPPER;
+*** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
+--- patchlevel.h Mon Oct 16 14:22:54 2006
+***************
+*** 26,30 ****
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 8
+
+ #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+ looks for to find the patch level (for the sccs version string). */
+
+! #define PATCHLEVEL 9
+
+ #endif /* _PATCHLEVEL_H_ */

Generated by cgit