Commit graph

34 commits

Author SHA1 Message Date
Adam Vandenberg
1d9631c423 use test helpers 2014-08-01 07:58:10 -07:00
Jack Nagel
c3c37e74d6 bash 4.3.18 2014-05-28 21:32:00 -05:00
Jack Nagel
b9dae75f39 bash 4.3.11 2014-04-13 15:07:46 -05:00
Jack Nagel
fa56473ff7 bash: use checksummed patches 2014-03-16 19:27:13 -05:00
Mike Naberezny
7d95f71c8c bash: add test
Closes Homebrew/homebrew#26532.

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

Closes Homebrew/homebrew#24806.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30 08:47:31 -08:00
Adam Vandenberg
2923441cf8 bash: apply patch for bad strcpy in decode_prompt_string
Closes Homebrew/homebrew#23470.
2013-11-14 18:46:44 -08:00
Dwayne Litzenberger
5e48a3de66 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 Homebrew/homebrew#23234.

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

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

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
e2f9856882 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 Homebrew/homebrew#15776.
2012-11-10 20:07:32 -06:00
Jack Nagel
6d4ddac980 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
28d01570be bash: vendor patches since the mirrors are unreliable
Closes Homebrew/homebrew#15324.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-09 10:08:10 -07:00
Jack Nagel
2cc9a0b98a Replace version strings with Version objects 2012-08-18 11:12:08 -05:00
Misty De Meo
e593be8db7 bash 4.2.37 2012-07-17 12:40:13 -05:00
Jack Nagel
9eca2192a7 bash 4.2.29
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-05 15:09:18 -05:00
Birger J. Nordølum
078de9a70d GNU Bash 4.2.28
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-05 09:26:08 -07:00
Misty De Meo
9354861483 bash 4.2.24 2012-03-19 15:03:34 -05:00
Peter Aronoff
18d64529bd 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
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Misty De Meo
5725d45e58 bash 4.2.20
Closes Homebrew/homebrew#8867.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29 20:03:52 -06:00
Jack Nagel
fa3d89a7c0 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
6bda22a3e9 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
780b1a2a26 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
ce4f650518 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
cc06933311 GNU BASH: 4.2.7
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 21:11:56 -08:00
Peter Aronoff
09b4cd2830 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
f7b25b8b2c bash 4.1.7 2010-05-19 07:32:31 -07:00
Adam Vandenberg
6dc03e9563 Update bash to 4.1.5 2010-05-01 16:37:00 -07:00
Chris Hoffman
009ca143e9 Fixes Homebrew/homebrew#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
61b2307139 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
eb76ec84c9 Initial support for bash-4.0 2009-09-30 01:24:32 +01:00