Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

postgresql: adding --universal support #14111

Closed
wants to merge 1,022 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1022 commits
Select commit Hold shift + click to select a range
f090ea3
graphviz: make test non-interactive.
MikeMcQuaid Sep 2, 2012
f96122f
jpeg-turbo: make test non-interactive.
MikeMcQuaid Sep 2, 2012
ccce24a
libraw: make test non-interactive.
MikeMcQuaid Sep 2, 2012
5ea0c78
lilypond: make test non-interactive.
MikeMcQuaid Sep 2, 2012
49fb2d9
pango: make test non-interactive.
MikeMcQuaid Sep 2, 2012
d299237
rrdtool: make test non-interactive.
MikeMcQuaid Sep 2, 2012
05db03f
zing: make test non-interactive.
MikeMcQuaid Sep 2, 2012
f3f3034
bsdmake is *not* provided by Xcode/CLT
mxcl Sep 2, 2012
b906730
uwsgi 1.2.5
adamv Sep 2, 2012
173fe39
Change sdk detection to same syntax used elsewhere.
zeisss Sep 2, 2012
d99db91
VIPS 7.30.1
mariovisic Sep 2, 2012
31857e3
libnfc: use new dsl
adamv Sep 2, 2012
038cce7
libnids: use new dsl
adamv Sep 2, 2012
e304121
libxml2: use new dsl
adamv Sep 2, 2012
6691ae6
ocp: use new dsl
adamv Sep 2, 2012
9c2b9e7
lighttpd: use new dsl
adamv Sep 2, 2012
ebd4a3d
luarocks: use new dsl
adamv Sep 2, 2012
89e1116
httperf: use new dsl
adamv Sep 2, 2012
bcac733
MySQL: add debug option
Sep 2, 2012
3b56f2e
mysql: normalize option name
adamv Sep 2, 2012
d114bd8
wget: add debug option
adamv Sep 2, 2012
dbc9523
Process requirements before keg-only deps under stdenv
jacknagel Sep 2, 2012
8d470de
qt-mobility: Build from Git to avoid build error (Issue #9672)
thp May 24, 2012
55dbcc1
Emacs: use wrapper script in --cocoa mode
deasmi Jun 11, 2012
b420ba3
macvim snapshot 65
siong1987 Sep 2, 2012
306cb31
zeroinstall-injector 1.11
afb Jan 19, 2011
cf53d96
leveldb: fix library install
jacknagel Sep 2, 2012
8a54c42
graphicsmagick: disable OpenMP, adjust fails_with
Sep 2, 2012
dbe82d9
Graphviz depends on gd
dustin Sep 2, 2012
5414d15
yamcha 0.33
Jul 31, 2012
083229f
Remove -fopenmp *and* -lgomp
mxcl Sep 2, 2012
d9312c7
Fixes #14591; clamav installs libs weirdly
mxcl Sep 3, 2012
5b4d17c
flac2mp3 script has moved to a proper repo
rayray Aug 30, 2012
767bcea
Fixes #14344; hugs fails with clang
mxcl Sep 3, 2012
2e5a38c
brew-test-bot: Only run brew-test if test defined.
MikeMcQuaid Sep 3, 2012
8507f65
+argp-standalone-1.3
urdh Jul 1, 2012
a9a669a
+log4c-1.2.1
urdh Jun 29, 2012
795c88b
+iniparser-3.1
urdh Jun 29, 2012
17456d4
+csync-0.44.0
urdh Jul 1, 2012
c65afcc
csync 0.49.9 can lose patches
mxcl Sep 3, 2012
e7edfa1
Fix libstfl installs only to /usr/local
mxcl Sep 3, 2012
1c8c936
PostgreSQL 9.1.5
ealden Sep 3, 2012
8f6081b
brew-fetch: Return error code on unmatched hash.
MikeMcQuaid Sep 2, 2012
800e7cf
brew-audit: recommend SHA1 over MD5.
MikeMcQuaid Sep 2, 2012
6aab036
Add script to convert formulae from MD5 to SHA1.
MikeMcQuaid Sep 2, 2012
3c5ca25
Batch convert MD5 formula to SHA1.
MikeMcQuaid Sep 3, 2012
14284c2
avidemux: add dep on :fontconfig
Sep 3, 2012
f3e4b56
dnsmasq 2.63
Sep 3, 2012
b8714a6
Parrot: fix --devel checksum
adamv Sep 3, 2012
5354c3d
csync: fix audit warning
adamv Sep 3, 2012
19971f7
Prevent possible bug in build's optlink
mxcl Sep 3, 2012
124d930
Undent doesn't like paragraphing
mxcl Sep 3, 2012
8491515
Add NCLT SDK apache include directory to superenv
mxcl Sep 3, 2012
9f99535
Set CC and CXX with superenv (again)
mxcl Sep 3, 2012
330a623
Fix linking against X11 cairo in preference to ours
mxcl Sep 3, 2012
d892963
Put X11 last in the libpath and cpath
mxcl Sep 3, 2012
6b67e29
superenv: More thorough scrubbing of -I & -L args
mxcl Sep 3, 2012
2de9957
unafold: update urls
adamv Sep 3, 2012
37c63e0
mtr: use new dsl
adamv Sep 3, 2012
9d149e6
lrzip 0.614
adamv Sep 3, 2012
39bc9ff
liblas: use new dsl
adamv Sep 3, 2012
14aa341
libgcrypt: fix audit warning
adamv Sep 3, 2012
b9d33ff
libogg: use new dsl
adamv Sep 3, 2012
7bf640b
lbdb: fix audit warning
adamv Sep 3, 2012
95d2904
go: use new dsl
adamv Sep 3, 2012
55e5671
emacs: fix audit warnings
adamv Sep 3, 2012
b34cb9b
bro 2.1
adamv Sep 3, 2012
cb1fea6
Don't error out with Xcode 4.5
jacknagel Sep 3, 2012
699e5ec
Actually cache Xcode.version if nil
mxcl Sep 3, 2012
c8ca95e
elinks: use sha1 for devel
adamv Sep 3, 2012
e035e94
fltk: use sha1 for devel
adamv Sep 3, 2012
d54a994
gnu-smalltalk: use new dsl
adamv Sep 3, 2012
8234c3e
goaccess: use new dsl
adamv Sep 3, 2012
2c21089
sedna 3.5.161
adamv Sep 3, 2012
1503ae7
scantailor: use sha1 for --devel
adamv Sep 3, 2012
42b01af
msmtp: use new dsl
adamv Sep 3, 2012
a3528f9
le 1.14.6
adamv Sep 3, 2012
f00e344
ledger: use new dsl
adamv Sep 3, 2012
32eeed5
libdvdcss: use new dsl
adamv Sep 3, 2012
1a53d0f
libemu: use new dsl
adamv Sep 3, 2012
6afe862
libimobiledevice: use new dsl
adamv Sep 3, 2012
a2c006b
jenkins: use new dsl
adamv Sep 3, 2012
3a15bd5
jbigkit: use new dsl
adamv Sep 3, 2012
43f6d76
s3cmd: use sha1 for --devel
adamv Sep 3, 2012
f0482e0
Redact rats.
adamv Sep 3, 2012
9e1db31
flac: udate flac2mp3 checksum
adamv Sep 3, 2012
c37b24b
autopano-sift-c 2.5.1
mroderick Jun 30, 2012
928ff1e
libpano: remove unused configure switch
adamv Sep 3, 2012
dce84df
Remove outdated comments in old wine deps
jacknagel Sep 3, 2012
a5266fb
Update Library/Formula/proj.rb
rogelio2k Sep 3, 2012
c3a1e6d
ccextractor 0.62
nsfmc Aug 7, 2012
40041e9
mutt: use new sidebar patch
seebi Sep 3, 2012
e8b62ad
Fix typo in MacOS.sdk_path
jacknagel Sep 3, 2012
93fad0d
ice: use new dsl
adamv Sep 3, 2012
9b467cf
gearman 0.37
romainneutron Sep 3, 2012
44ed3f4
scala: fix artifact checksums
fanatoly Sep 4, 2012
e6a59f4
hevea 2.00
adamv Sep 4, 2012
b646d3f
paml 4.6
adamv Sep 4, 2012
08667a5
perceptualdiff: use sha1
adamv Sep 4, 2012
2073a74
rds-command-line-tools 1.9.002
adamv Sep 4, 2012
c9e46bd
mr 1.13
froseph Sep 4, 2012
7e7b46c
logcheck 1.3.15
adamv Sep 4, 2012
9cfb0cd
logstalgia: use new dsl
adamv Sep 4, 2012
72eea19
libgcrypt: fix CFLAGS
jacknagel Sep 4, 2012
38a4866
grads: fix download
adamv Sep 4, 2012
5907702
Fixes #14637; cppunit configure failure
mxcl Sep 3, 2012
bf6ae32
Fix subformulae sha1s.
MikeMcQuaid Sep 4, 2012
ac2b4a1
brew-aspell-dictionaries - generate aspell formulae
afh Sep 4, 2012
c985c6c
Stop warning in ENV.x11
jacknagel Sep 4, 2012
3e6403c
add audit for ENV.x11
adamv Sep 4, 2012
6ef4cce
nuttcp: update download link
adamv Sep 4, 2012
c5b65fd
google-sql-tool r10
adamv Sep 4, 2012
1e06104
grib-api: silent tarball change, so fix checksum
adamv Sep 4, 2012
df366d4
htmlcompressor: use new dsl
adamv Sep 4, 2012
cd26226
latex2html: use sha1
adamv Sep 4, 2012
6d573a1
log4cxx: use new dsl
adamv Sep 4, 2012
5ed1a3c
mercurial: use new dsl
adamv Sep 4, 2012
61e81c4
mesalib-glw: use new dsl
adamv Sep 4, 2012
693acd2
fix syntax error
adamv Sep 4, 2012
5b296d2
gettext: fix checksum
jacknagel Sep 4, 2012
fe124d2
qt: fix checksum
jacknagel Sep 4, 2012
c25fd2f
icu4c: fix checksum
jacknagel Sep 4, 2012
1a6e908
jpeg: style nits
jacknagel Sep 4, 2012
fb93fb2
ENV: update comment
jacknagel Sep 4, 2012
93a4c48
Sort out remaining XQuartz/stdenv issues
jacknagel Sep 4, 2012
4595aa4
Move mod_python and mod_wsgi to homebrew-apache.
adamv Sep 4, 2012
204c7e8
xtail 2.1
Aug 22, 2012
296f7f4
brew-aspell-dictionaries: handle mirrors
jacknagel Sep 4, 2012
7053db4
aspell: restore mirrors to language subformulae
jacknagel Sep 4, 2012
1527a10
node: the build system needs Python 2.6 or newer
adamv Sep 4, 2012
25aa338
flac: use tagged download
adamv Sep 4, 2012
bed1e31
exempi: upstream patch for file handling code
mistydemeo Sep 4, 2012
26fd9a6
MariaDB 5.3.8
Sep 4, 2012
d044316
scantailor enhanced-20120812
mistydemeo Sep 4, 2012
f20d35a
python2/3: Harden against other pythons. Pip 1.2
samueljohn Sep 4, 2012
451d3d9
Appledoc 2.0.6
timshadel Aug 22, 2012
4ba586d
tcptrack: use debian source download
adamv Sep 4, 2012
b608552
minbif: use Debian source
adamv Sep 4, 2012
d3eecf0
pngcrush 1.7.37
obeattie Sep 4, 2012
96a71bd
graphicsmagick: prefer little-cms2
adamv Sep 4, 2012
80f016d
Redact NetSed.
adamv Sep 4, 2012
c574892
Redact cliweather.
adamv Sep 4, 2012
946b165
field3d: addtional fixes from @2bits to pr #14161
Aug 13, 2012
d0dc632
xbee-comm 1.5
guyzmo May 11, 2012
74d360f
Exempt automake from some audits
adamv Sep 4, 2012
881ecf9
gearman: fix audit warning
adamv Sep 4, 2012
18df8bb
ndiff: fix audit warning
adamv Sep 4, 2012
881f404
tinyscheme 1.40
Apr 8, 2012
3e0cabb
minidjvu 0.8
RobertBaruch May 28, 2012
bb7fcab
Fix bad install names in executables
jacknagel Sep 4, 2012
72f2247
elixir: fix install paths
Sep 4, 2012
18dce4b
pan: remove ENV.x11
jacknagel Sep 4, 2012
05034d4
ldapvi: fix compile error with clang
mivok Aug 15, 2012
8170f64
ldapvi: style nits
adamv Sep 4, 2012
c1b6cb2
liblockfile 1.09
Sep 4, 2012
b8f3274
libical 0.48 + add missing deps
Sep 4, 2012
8f7a0e7
libgtextutils 0.6.1
Sep 4, 2012
a9f1563
lolcode 0.9.3
adamv Sep 4, 2012
607333a
pan: fix compilation on 64-bit
jacknagel Sep 4, 2012
bb9c34a
darkstat 3.0.715
dacresni Aug 9, 2012
b247554
Fix RBashCompletion formula checksum
ches Sep 4, 2012
5bd2bac
libeXosip2 3.6.0
adamv Sep 4, 2012
a1c0cc6
Avoid referencing MACOS_VERSION directly
jacknagel Sep 4, 2012
7422bc4
Audit check for MACOS_VERSION
jacknagel Sep 4, 2012
f79538a
Bact 0.13
Jul 31, 2012
9e7c115
Mallet 2.0.7
zacstewart Jul 31, 2012
a653b74
fontforge: fix caveats and X11 dependency.
MikeMcQuaid Sep 2, 2012
c6474be
ftgl: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
4c4cc78
gd: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
05ad1ce
giblib: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
1883cbf
imagemagick: fix options, test and pango/openmp errors.
MikeMcQuaid Sep 2, 2012
cc54226
imlib2: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
3dc94b1
leptonica: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
6bed15d
libagg: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
0dea901
libass: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
261a280
libcaca: fix SHA1, option, test and X dependency.
MikeMcQuaid Sep 2, 2012
9787d04
libdc1394: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
0f6bbba
libgaiagraphics: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
7dcc52b
libmikmod: fix test and X11 dependency.
MikeMcQuaid Sep 2, 2012
152c2b7
librasterlite: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
44bd514
libspatialite: fix SHA1 and option.
MikeMcQuaid Sep 2, 2012
1ea29b8
logstalgia: fix SHA1, build.*? and X11 dependency.
MikeMcQuaid Sep 2, 2012
42c7518
mapnik: X11 dependency.
MikeMcQuaid Sep 2, 2012
7354edf
mapserver: fix test and X11 dependency.
MikeMcQuaid Sep 2, 2012
86beec0
mathgl: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
6b51eda
mikmod: fix test.
MikeMcQuaid Sep 2, 2012
400de0c
mjpegtools: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
c513d92
mplayer: fix test and dependency.
MikeMcQuaid Sep 2, 2012
80ad803
nagios: fix SHA1, directory and X11 dependency.
MikeMcQuaid Sep 2, 2012
0a66823
ngspice: fix test and X11 dependency.
MikeMcQuaid Sep 2, 2012
e2140fd
objective-caml: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
7268ab3
pangomm: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
3a016ad
pcb: fix gtk+ dependency.
MikeMcQuaid Sep 2, 2012
9a6ab3a
podofo: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
3498f2b
sdl: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
8d6a4e3
sdl_image: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
d06c01f
sdl_rtf: fix SHA1 and X11 dependency.
MikeMcQuaid Sep 2, 2012
2cba363
sdl_ttf: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
49572b7
swftools: fix test and X11 dependency.
MikeMcQuaid Sep 2, 2012
cb00084
swi-prolog: fix test, Java and X11 dependencies.
MikeMcQuaid Sep 2, 2012
746615c
tiff2png: fix SHA1, test and X11 dependency.
MikeMcQuaid Sep 2, 2012
3675cfd
toilet: fix test and pkg-config dependency.
MikeMcQuaid Sep 2, 2012
7d70e45
webp: fix test and X11 dependency.
MikeMcQuaid Sep 2, 2012
9a3b931
zint: fix X11 dependency.
MikeMcQuaid Sep 2, 2012
8eff285
Percona Server 5.5.27-28.1
Sep 5, 2012
452e618
libmtp 1.1.4
Sep 5, 2012
b085513
libpurple 2.10.6
Sep 5, 2012
63338b4
librsvg 2.36.3
Sep 5, 2012
5425c95
libpst 0.6.55
Sep 5, 2012
a162f02
libming 0.4.4
Sep 5, 2012
a7f52ba
liblunar 2.2.5
Sep 5, 2012
f3004e5
libnfc 1.6.0-rc1
Sep 5, 2012
8d91839
media-info 0.7.60
mistydemeo Sep 5, 2012
879e3b4
libspatialite: Remove ENV.Os as it is default
Sharpie Sep 5, 2012
22f0097
libspatialite: Add --devel build
Sharpie Sep 5, 2012
5e934e2
spatialite-tools: Add --devel build
Sharpie Sep 5, 2012
3dab706
gconf 3.2.5
jacknagel Sep 5, 2012
dc5622f
dbus 1.6.4
jacknagel Sep 5, 2012
11bbe1f
dbus-glib 0.100
jacknagel Sep 5, 2012
32e20f8
Use HTTP for gnome URLs
jacknagel Sep 5, 2012
41f92dd
libevent 2.0.20
Sep 5, 2012
2ca0b81
clucene 0.9.21b
Sep 5, 2012
5307355
cpputest 3.1
Sep 5, 2012
6910a89
lilypond: fix the fails_with build
Sep 5, 2012
fe734b5
mcabber: use new DSL
jacknagel Sep 5, 2012
b1148f2
xmlstarlet 1.4.0
simono Sep 5, 2012
e209b35
Improve `brew --config` responsiveness
jacknagel Sep 5, 2012
9783ce4
ENV: put X11 aclocal dir in ACLOCAL_PATH when appropriate
jacknagel Sep 6, 2012
6709860
vimpc 0.06.1
richo Sep 6, 2012
0a47c91
geda-gaf: use sha1
adamv Sep 6, 2012
be44fc9
chkrootkit: use debian mirror and sha1
adamv Sep 6, 2012
7b620f0
hdf5: use new dsl
adamv Sep 6, 2012
a810c94
pypy: use sha1
adamv Sep 6, 2012
e0d6783
mobile-shell: use new dsl
adamv Sep 6, 2012
52bc237
octave: use new dsl
adamv Sep 6, 2012
ce2b082
Update 2.0.8
dstndstn Sep 5, 2012
81210f6
audit: swig is a build time dep
adamv Sep 6, 2012
01f9289
hyperestraier: use new dsl
adamv Sep 6, 2012
be51514
spiped 1.2.1
bdd Sep 1, 2012
b542532
aws-cfn-tools: additional instructions
victortrac Aug 10, 2012
c89beaf
Remove fink/macports from verbose --config if they are not present.
adamv Sep 6, 2012
56308dc
Redact chmox.
adamv Sep 6, 2012
ec23c11
Fix SHA1 of distribute in pypy formula
jodal Sep 6, 2012
1e58679
doctor: ignore case when checking PATH for config scripts
jacknagel Sep 6, 2012
d4b50c7
Don't raise when expanding ORIGINAL_PATHS
jacknagel Sep 6, 2012
b7a3437
exiftool 9.02
mistydemeo Sep 6, 2012
9b40a73
flac2mp3: fix hash
adamv Sep 6, 2012
3544707
tmux: fetch HEAD from git instead of svn
bsiegel Sep 6, 2012
5a900e8
nsd 3.2.13
Aug 2, 2012
1c5a18f
postgresql: adding --universal support.
mrjbq7 Sep 6, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Library/Aliases/gperftools
52 changes: 52 additions & 0 deletions Library/Contributions/cmds/brew-aspell-dictionaries
@@ -0,0 +1,52 @@
#!/bin/sh
#
# brew-aspell-dictionaries - update aspell formula to include latest dictionaries
# This script fetches the current index for the aspell dictionaries gnu server,
# it parses the html to retrieve the URL to the dictionary archive for each
# available language.
# The script then calculates the sha1 for each dictionary archive and
# generates a brew formula for each language.
# The result can then to be merged into the aspell formula, to update
# the available dictionary formulae.

dictionaries_url=http://ftpmirror.gnu.org/aspell/dict
dictionaries_mirror=http://ftp.gnu.org/gnu/aspell/dict
tmp_file=`mktemp -t brew_aspell_dictionaries`
brew_formulae_tmp_file=`mktemp -t brew_aspell_dictionaries_formulae`

echo "Downloading aspell dictionaries Index"
curl -sL ${dictionaries_url}/0index.html \
| egrep '^(<tr><td><a|</table)' \
| cut -d\" -f2,4 \
> $tmp_file

echo "# BEGIN generated with `basename $0`" > $brew_formulae_tmp_file
langs=""
for dict in `cat $tmp_file`; do
[ "${dict}" = "</table>" ] && break # only read the entries in the first table, which lists the dictionaries for aspell 0.60
lang=`echo $dict | awk -F\" '{ gsub("-", "_", $1); print $1 }'`
url="${dictionaries_url}/"`echo $dict | awk -F\" '{ print $2 }'`
mirror="${dictionaries_mirror}/"`echo $dict | awk -F\" '{ print $2 }'`
langs="${langs} ${lang}"
echo "Calculating sha1 for formula: ${lang}"
sha1=`curl -sL "${url}" | shasum | awk '{print $1}'`
cat <<EOF >> $brew_formulae_tmp_file
class Aspell_${lang} < AspellLang
url '${url}'
mirror '${mirror}'
sha1 '${sha1}'
end
EOF
done

cat <<EOF >> $brew_formulae_tmp_file
def available_languages
%w(${langs})
end
# END generated with `basename $0`
EOF

rm $tmp_file

echo "The formulae for the aspell dictionaries have been written to\n$brew_formulae_tmp_file"

2 changes: 1 addition & 1 deletion Library/Contributions/cmds/brew-leaves.rb
Expand Up @@ -6,7 +6,7 @@

def get_used_by
used_by = {}
Formula.all.each do |f|
Formula.each do |f|
next if f.deps == nil

f.deps.each do |dep|
Expand Down
24 changes: 24 additions & 0 deletions Library/Contributions/cmds/brew-md5-to-sha1
@@ -0,0 +1,24 @@
#!/bin/sh
# Change every formula's MD5 to a SHA1.

HOMEBREW_PREFIX=$(brew --config | grep HOMEBREW_PREFIX | sed -e 's/HOMEBREW_PREFIX: //')
cd $HOMEBREW_PREFIX/Library/Formula
FORMULAE=$(grep "^ md5 " -rl . | sed -e 's/\.\///' -e 's/\.rb$//')

for FORMULA in $FORMULAE
do
echo "Fetching and SHA1ing $FORMULA"
if brew fetch $FORMULA &>/dev/null
then
SHA1=$(brew fetch $FORMULA | grep SHA1 | sed -e 's/SHA1: //')
sed -i.old -e "s/^ md5 *[\"'][a-fA-F0-9]\{32\}[\"']/ sha1 '$SHA1'/" $FORMULA.rb
rm $FORMULA.rb.old
if !brew fetch $FORMULA &>/dev/null
then
echo "Error: SHA1ing $FORMULA failed, reverting"
git checkout $FORMULA.rb
fi
else
echo "Error: fetching $FORMULA failed, skipping"
fi
done
6 changes: 4 additions & 2 deletions Library/Contributions/cmds/brew-mirror-check.rb
Expand Up @@ -2,8 +2,10 @@

class Formula
def test_mirror mirror
url, specs = mirror.values_at :url, :specs
downloader = download_strategy.new url, name, version, specs
# Checksum verification is done against @active_spec, so we need only
# populate the stub spec object with the mirror URL.
spec = SoftwareSpec.new(mirror)
downloader = download_strategy.new(name, spec)

# Force the downloader to attempt the download by removing the tarball if
# it is allready cached.
Expand Down
4 changes: 2 additions & 2 deletions Library/Contributions/cmds/brew-server
Expand Up @@ -151,7 +151,7 @@ get '/formula/:name' do
end
end

used_by = Formula.all.select{|ff| ff.deps.include?(klass.name)}.map{|f| f.name}.flatten.uniq.sort
used_by = Formula.select{|ff| ff.deps.include?(klass.name)}.map{|f| f.name}.flatten.uniq.sort
unless used_by.empty?
s << <<-HTML
<dt>Used by</td>
Expand All @@ -174,7 +174,7 @@ end


def installed_formulas
Formula.all.select{|formula| formula.installed?}
Formula.select{|formula| formula.installed?}
end

get '/installed' do
Expand Down
3 changes: 2 additions & 1 deletion Library/Contributions/cmds/brew-test-bot.rb
Expand Up @@ -8,6 +8,7 @@
# --comment: Comment on the pull request
# --clean: Clean the Homebrew directory. Very dangerous. Use with care.

require 'formula'
require 'utils'
require 'date'

Expand Down Expand Up @@ -197,7 +198,7 @@ def formula formula
test "brew audit #{formula}"
test "brew install --verbose --build-bottle #{formula}"
return unless steps.last.status == :passed
test "brew test #{formula}"
test "brew test #{formula}" if defined? Formula.factory(formula).test
test "brew bottle #{formula}"
test "brew uninstall #{formula}"
end
Expand Down
51 changes: 51 additions & 0 deletions Library/Contributions/cmds/git
@@ -0,0 +1,51 @@
#!/usr/bin/ruby -W0
# This script because we support $GIT, $HOMEBREW_SVN, etc. and Xcode-only
# configurations. Order is careful to be what the user would want.

F = File.basename(__FILE__).freeze
D = File.expand_path(File.dirname(__FILE__)).freeze

def exec *args
# prevent fork-bombs
arg0 = if args.size == 1
args.first.split(' ')
else
args
end.first
return if arg0 =~ /^#{F}/i
return if File.expand_path(arg0) == File.expand_path(__FILE__)

if args[1] == '-print-path' and File.executable? args[0]
puts args[0]
exit 0
else
Kernel.exec *args
end
end

case F.downcase
when 'git' then %W{HOMEBREW_GIT GIT}
when 'svn' then "HOMEBREW_SVN"
else []
end.each do |key|
exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
end

brew_version = File.expand_path("#{D}/../../../bin/#{F}")
exec brew_version, *ARGV if File.executable? brew_version

`/usr/bin/which -a #{F} 2>/dev/null`.split("\n").each do |path|
exec path, *ARGV
end

# xcrun hangs if xcode-select is set to "/"
path = `/usr/bin/xcode-select -print-path 2>/dev/null`.chomp
if path != "/"
path = `/usr/bin/xcrun -find #{F} 2>/dev/null`.chomp
exec path, *ARGV if File.executable? path
end

path = "/Applications/Xcode.app/Contents/Developer/usr/bin/#{F}"
exec path, *ARGV if File.executable? path

abort "You must: brew install #{F}"
1 change: 1 addition & 0 deletions Library/Contributions/cmds/svn
136 changes: 0 additions & 136 deletions Library/Contributions/install_homebrew.rb

This file was deleted.

9 changes: 9 additions & 0 deletions Library/Contributions/manpages/brew.1.md
Expand Up @@ -369,6 +369,15 @@ can take several different forms:

## ENVIRONMENT

* GIT:
When using Git, Homebrew will use `GIT` if set,
a Homebrew-built Git if installed, or the system-provided binary.

Set this to force Homebrew to use a particular git binary.

* EDITOR:
If set, and `HOMEBREW_EDITOR` is not, use `EDITOR` as the text editor.

* HOMEBREW\_BUILD\_FROM\_SOURCE:
If set, instructs Homebrew to compile from source even when a formula
provides a bottle.
Expand Down
15 changes: 15 additions & 0 deletions Library/ENV/4.3/apr-1-config
@@ -0,0 +1,15 @@
#!/bin/bash

if [[ "$HOMEBREW_CCCFG" == *a* ]]; then
case "$1" in
--cc) echo "cc";;
--cpp) echo "cpp";;
--includedir) echo "$HOMEBREW_SDKROOT/usr/include/apr-1";;
--includes) echo "-isystem$HOMEBREW_SDKROOT/usr/include/apr-1";;
--apr-libtool) echo "glibtool";;
*)
exec xcrun apr-1-config "$@";;
esac
else
exec /usr/bin/apr-1-config "$@"
fi
1 change: 1 addition & 0 deletions Library/ENV/4.3/bsdmake
1 change: 1 addition & 0 deletions Library/ENV/4.3/c++
1 change: 1 addition & 0 deletions Library/ENV/4.3/c89
1 change: 1 addition & 0 deletions Library/ENV/4.3/c99