Commit Graph
30 Commits
Author SHA1 Message Date
Mike Naberezny 37f35fefa4 bash: add test
Closes #26532.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-08 18:47:57 +00:00
Daniel Luz 5bfaa0553c bash: add missing braces to patch
The patch in 5120c11e broke '\W' outside of the home directory, due to
an unbracketed else block.

Closes #24806.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30 08:47:31 -08:00
Adam Vandenberg 5120c11eaf bash: apply patch for bad strcpy in decode_prompt_string
Closes #23470.
2013-11-14 18:46:44 -08:00
Dwayne Litzenberger 138c901fd2 bash: use SSH_SOURCE_BASHRC (like Apple bash).
Apple's /bin/bash is built with SSH_SOURCE_BASHRC, which causes
~/.bashrc to get sourced when the shell is run non-interactively over or
sshd/rshd. Linux distros usually also build with SSH_SOURCE_BASHRC (at
least, Debian does). This makes Homebrew do the same.

Closes #23234.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-13 10:40:44 +01:00
Johnneylee Jack Rollins f8b3d6dda2 bash: add HEAD
Closes #22080.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-22 18:05:10 -05:00
Jack Nagel 300834e803 bash 4.2.45 2013-03-08 19:45:51 -06:00
Jack Nagel 19864c786d bash 4.2.42 2012-12-31 16:48:56 -06:00
Jack Nagel bdaae65b9a Revert "Rename readline to gnu-readline"
This reverts commit adee531526.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00
Jack Nagel adee531526 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes #15776.
2012-11-10 20:07:32 -06:00
Jack Nagel 25e063df36 bash 4.2.39
I moved the patches to a gist, as it is easier to append new patches
this way.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-03 13:27:46 -05:00
Kalin Harvey 77993cb79e bash: vendor patches since the mirrors are unreliable
Closes #15324.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-09 10:08:10 -07:00
Jack Nagel 4affbabfb7 Replace version strings with Version objects 2012-08-18 11:12:08 -05:00
Misty De Meo 4072b7c17a bash 4.2.37 2012-07-17 12:40:13 -05:00
Jack Nagel 39c9872e56 bash 4.2.29
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-05 15:09:18 -05:00
Birger J. Nordølum 4ee86c477b GNU Bash 4.2.28
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-05 09:26:08 -07:00
Misty De Meo 36aa3c27aa bash 4.2.24 2012-03-19 15:03:34 -05:00
Peter Aronoff 51fb2778f6 Add caveat about using this Bash as login shell
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-21 16:18:55 -08:00
Jack Nagel 164c57f284 Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Misty De Meo 4a0fd2a782 bash 4.2.20
Closes #8867.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29 20:03:52 -06:00
Jack Nagel d0dfc22b50 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00
Robin Ramael f3afafb630 Fixed syntax error in bash formula.
In the last commit to the bash formula, the install function declaration
was omitted, this commit adds it back in.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 12:38:00 -07:00
Birger J. Nordølum aae084c9db GNU BASH 4.2.10.
Plus some additional tweaks.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-07 11:32:50 -07:00
Birger J. Nordølum 1d81e5b2b5 GNU BASH: 4.2.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-14 15:31:04 -07:00
Birger J. Nordølum c8e7c65b0c GNU BASH: 4.2.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 21:11:56 -08:00
Peter Aronoff 9a35bb172e Bump Bash 4.1 patch level to 9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-06 08:16:52 -07:00
Adam Vandenberg 557bdb0468 bash 4.1.7 2010-05-19 07:32:31 -07:00
Adam Vandenberg 35629fa04b Update bash to 4.1.5 2010-05-01 16:37:00 -07:00
Chris Hoffman 8e7dda8b70 Fixes #92; Updated bash formula to 4.1 and added ability to get patches from bash site depending on patch level
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-02-03 16:30:24 +01:00
Max Howell a82e823935 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Ben Livingood 3651f6b5cb Initial support for bash-4.0 2009-09-30 01:24:32 +01:00