MacOS.locate: search HOMEBREW_PREFIX before xcrun

Since xcrun doesn't work on CLT-only systems. Querying HOMEBREW_PREFIX
first before xcrun is much faster for that case.
mysql: update bottles.
tbb 4.1u4

Closes #21483.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
varnish 3.0.4

Closes #21474.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Set close-on-exec on lock file descriptors

The formula locks used by the installer and commands like link and
unlink are backed by open files and flock(). The open file descriptors
are thus leaked to any subprocesses. This can result in weird behavior
in programs spawned from formula that do not expect to inherit these
descriptors.

Fix this by setting close-on-exec on the lock file descriptors.

Fixes #21486.
leiningen: disable autoinstall/autoupdate

Fixes #21398.
bind v9.9.3-P2

Closes #21488.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
opus 1.0.3

Closes #21493.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
nsd 3.2.16

Closes #21495.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
unbound 1.4.20

Closes #21496.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libmemcached 1.0.17

Closes #21497.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
polarssl 1.2.8

Closes #21498.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
exiftool 9.34

Closes #21499.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
olsrd 0.6.5.4

Closes #21501.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
nvi: fix segfault and DBCREATE warning

Fix homepage
Use Debian download
Use BDB4 instead of 5
Use more MacPorts patches

Closes #21492.
search: silence JSON decode errors

Closes #21506.
Closes #21508.
mongoose 3.8

Closes #21502.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
oath-toolkit 2.4.0

Closes #21504.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
openrtsp 2013.07.16

Closes #21503.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
dmd 2.063.2

Closes #21505.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>