Also don't abort searches if the query matches a blacklist. Eg.
`brew search vim` should return macvim and the information that vim itself is
not packaged.
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
Aardvark shell utils includes three helpful programs:
realpath(1) is an implementation of the realpath(3) function for returning the
canonicalized absolute pathname of an input path.
filebase(1) returns the base portion of a filename, that is the filename with
its extension (e.g. .txt) removed.
fileext(1) returns the extension portion of a filename (e.g. txt).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ENV.gcc_4_2 sets LD and CC as needed, but the formula was subsequently
clearing LD and CC. This breaks the build with Xcode 4.
Passing --enable-largefiles, --enable-apple-remote, and
--target=x86_64-Darwin to configure is unnecessary. These settings are
detected by the configure script and (properly) enabled automatically.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Subversion's JavaHL library depends on JNI headers that are only available by
installing Developer Tools. Setting JAVA_HOME to something in /System/Library
breaks because JNI headers aren't symlinked into the framework directories
here. I believe the proper JAVA_HOME setting, if necessary, is the output of
/usr/libexec/java_home, but the same effect can be achieved by not setting
JAVA_HOME at all.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Balance, a simple TCP load balancer
Balance is handy because it requires no configuration. Just a few
command line args and you have a running TCP proxy with or without load
balancing.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>