Author: robert
Date: 2009-02-22 13:35:10 -0700 (Sun, 22 Feb 2009)
New Revision: 1489

Modified:
   branches/Onward/downloads/packages.txt
   branches/Onward/downloads/patches.txt
   branches/Onward/temporary_system/bash.txt
Log:
Bump to bash-4.0

Modified: branches/Onward/downloads/packages.txt
===================================================================
--- branches/Onward/downloads/packages.txt      2009-02-22 12:28:24 UTC (rev 
1488)
+++ branches/Onward/downloads/packages.txt      2009-02-22 20:35:10 UTC (rev 
1489)
@@ -1,6 +1,6 @@
 # Bash:
-# http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz.sig
-http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz
+# http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz.sig
+http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz
 
 # Binutils:
 # http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2.sig

Modified: branches/Onward/downloads/patches.txt
===================================================================
--- branches/Onward/downloads/patches.txt       2009-02-22 12:28:24 UTC (rev 
1488)
+++ branches/Onward/downloads/patches.txt       2009-02-22 20:35:10 UTC (rev 
1489)
@@ -1,12 +1,5 @@
-# Bash fixes:
-# mkdir -v bash-3.2-patches/ &&
-# cd bash-3.2-patches/ &&
-# wget -r -np -nd --level=1 --accept "bash32-???*" \
-#      http://ftp.gnu.org/gnu/bash/bash-3.2-patches/
-http://ftp.gnu.org/gnu/bash/bash-3.2-patches/
-
 # Bash $RANDOM patch:
-http://www.linuxfromscratch.org/~robert/new/patches/bash-3.2-rng.diff
+http://www.linuxfromscratch.org/~robert/new/patches/bash-4.0-urandom.diff
 
 # Binutils PT_PaX patch:
 http://pax.grsecurity.net/binutils-2.19-pt-pax-flags-200811041810.patch

Modified: branches/Onward/temporary_system/bash.txt
===================================================================
--- branches/Onward/temporary_system/bash.txt   2009-02-22 12:28:24 UTC (rev 
1488)
+++ branches/Onward/temporary_system/bash.txt   2009-02-22 20:35:10 UTC (rev 
1489)
@@ -1,16 +1,16 @@
 # Temporary tools - Bash
 
-for patch in ../bash-3.2-patches/bash32-???
-do
-       patch -p0 -i $patch
-done &&
+# This patch modifies Bash to use /dev/urandom for $RANDOM, instead of
+# getpid() and gettimeofday(). The tests are:
+# ( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )
+# and:
+# RANDOM=1 ; echo $RANDOM ; RANDOM=2 ; echo $RANDOM ; RANDOM=3 ; echo $RANDOM
+# The first test should produce three different numbers. The second test
+# should always display the same numbers when run repeatedly, to maintain korn
+# shell behavior.
 
-# This patch modifies Bash to use /dev/urandom (settable with
-# --with-randomdev=) for $RANDOM, instead of getpid() and gettimeofday().
-# The test is "( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )":
+patch -p1 -i ../bash-4.0-urandom.diff &&
 
-patch -p1 -i ../bash-3.2-rng.diff &&
-
 # Bash uses the RTLD_LAZY option when loading libraries. We want to use
 # RTLD_NOW (it is defined from <dlfcn.h>:
 

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to