Switch the MySQL formula to use the official MySQL mirror, rather than
the hardcoded Swedish one that's having issues.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Updated the install instructions in the caveats so that the default case
is installing under the user's own account, and note that you should
do 'mysql -uroot' to test the connection.
Added instructions on how to do a manual setup to any folder under any
user account.
Remove the 'data' folder from the prefix, so the setup script
will not try to create databases there. Putting databases
in the prefix instead of directly in /usr/local means they
get deleted on a MySQL update, which is not what you want.
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
New option in mysql formula which commands to build embedded server
static library (libmysqld.a) needed by various software (e.g. Amarok).
ClosesHomebrew/homebrew#4008.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
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.
* Switch to the tar.gz for download, it's a few MB smaller than the zip
* Remove duplicate --with-plugins line
* Switch statedir to #{HOMEBREW_PREFIX}/var/mysql
* Set plist to treat HOMEBREW_PREFIX as home instead of hardcoding /usr/local
Signed-off-by: Max Howell <max@methylblue.com>
ClosesHomebrew/homebrew#67
I amended the caveats slightly.