Commit graph

68 commits

Author SHA1 Message Date
Matthew Rudy Jacobs
2fef2be0d2 mysql: ensure the var/mysql exists
* Otherwise mysql will break when it tries to start

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-03 20:41:54 -07:00
Adam Vandenberg
8e41ba70f8 MySQL: --universal builds 32/64-bit Intel 2011-05-01 11:09:56 -07:00
Adam Vandenberg
1f31751977 Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Adam Vandenberg
83ba777e5e mysql: warn about /etc/my.cnf 2011-04-13 13:00:07 -07:00
dinkypumpkin
70eb68cd9a mysql: added pidof dependency, changed PATH in mysql.server
1. Added dependency on pidof.  This is necessary for
"mysql.server status" to work fully.
2. Added #{HOMEBREW_PREFIX}/bin to PATH in mysql.server
so that it can find Homebrew-installed pidof.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-13 06:54:46 -07:00
dinkypumpkin
a929f4bdfa mysql: tidied install dirs, restored mysql.server
1. Added cmake args necessary to link docs, info files, and
shared data into the usual Homebrew locations.  This prevents
all the message catalogues from being spattered in #{share} and
allows the doc and info files to appear in expected places.
2. Restored mysql.server to #{bin} and put it back in caveats.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-11 12:05:50 -07:00
Chris Meller
b8aa1620c5 mysql: Change download URL.
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>
2011-04-08 18:13:24 -07:00
Adam Vandenberg
edfb67d937 Rewrite caveats to new style.
To make it easier to copy and paste multiline scripts from caveats,
no longer use $ as a prompt marker.
2011-04-04 16:56:47 -07:00
Adam Vandenberg
b87278a4be mysql: fix typo; use var instead of hardcoding /usr/local 2011-04-04 10:33:26 -07:00
Adam Vandenberg
8fdf733428 MySQL - update caveats
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.
2011-04-02 15:32:32 -07:00
Carlos Borroto
3369fc9c2b mysql - add --enable-local-infile option
Homebrew used this by default in 5.1, but it is a security risk
so make it an option instead.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-01 15:19:30 -07:00
Adam Vandenberg
d317983c00 mysql - remove 'data' from prefix
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.
2011-04-01 14:24:29 -07:00
Adam Vandenberg
3df9199e78 mysql - revert data dir to where it was in 5.1 2011-04-01 13:33:06 -07:00
Joachim Beckers
e20323c760 Update MySQL options
* added embedded server build option
* fix --with-tests build option
* remove broken --with-bench build option

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-29 12:02:04 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Keith Fitzgerald
87fe862b7c upgrade to mysql 5.5.10
Note: MySQL 5.1.x is still available in Homebrew-Alt

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-24 11:09:25 -07:00
Adam Vandenberg
6a1068e60c mysql 5.1.56 2011-03-16 12:59:10 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Carlos Rodriguez
9c6a41ddc6 Clean up LaunchAgent caveats.
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>
2011-03-05 10:13:14 -08:00
preek
85c6fa4307 Update to MySQL 5.1.55
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-22 07:39:07 -08:00
Vladimir Andrijevik
a356c27ece Add option to mysql formula for compiling with utf8 as the default charset.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-17 08:19:35 -08:00
Sebastian Skalacki
aba69eea0b Embedded server option in mysql formula.
New option in mysql formula which commands to build embedded server
static library (libmysqld.a) needed by various software (e.g. Amarok).

Closes Homebrew/homebrew#4008.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-02-12 12:42:03 +00:00
Ali Asad Lotia
fa6eacc470 Update MySQL to 5.1.54.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-18 19:11:39 -08:00
Drew Miller
cfc3ff03ba added --with-partition to configure options
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-11 17:31:08 +00:00
Aaron Suggs
f66127ef84 Updated mysql to 5.1.53
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-03 16:23:46 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Aku Kotkavuo
4731b051f2 Update MySQL to 5.1.52.
Also added a step to the installation instructions related to issue Homebrew/homebrew#2821.
2010-11-18 20:45:59 +00:00
Ali Asad Lotia
e786f26aa0 Update mysql to 5.1.51
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-12 21:35:54 -07:00
Adam Vandenberg
55b98a9421 Update formulae to use path shortcuts 2010-08-08 11:24:36 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00
Adam Vandenberg
ac45bb1047 mysql - add mysql.server to bin 2010-07-30 10:30:21 -07:00
Ali Asad Lotia
18825bf480 Update mysql to 5.1.49
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-23 10:40:48 -07:00
Adam Vandenberg
82ef3c52d5 mysql - fix weird readline option 2010-06-22 13:31:13 -07:00
Adam Vandenberg
87933cf973 MySQL 5.1.48 2010-06-18 13:06:20 -07:00
Chris Hoffman
c7bc18e180 Add a universal flag for building mysql
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-17 07:47:15 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
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.)
2010-06-16 11:50:36 -07:00
Luke Gallagher
6c9c1ff8b5 Updated formula: MySQL 5.1.47
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-21 19:55:41 -07:00
yury
e4b07f7d9b added '--with-readline' to configure_args
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-19 07:04:27 -07:00
Joey Geiger
9a38122941 fix spelling
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-30 07:02:50 -07:00
Ali Asad Lotia
55bdf4198d Update mysql to 5.1.46
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-29 08:29:14 -07:00
Luke Gallagher
e97b9c0994 Updated launchd caveats for MySQL 2010-04-16 09:47:37 -07:00
Ali Asad Lotia
2c362d35da Update mysql to 5.1.45.
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-03-25 11:19:59 +01:00
Adam Vandenberg
457d3fef9a Update MySQL to 5.1.44 (thanks tekin) 2010-03-16 16:44:19 -07:00
Max Howell
dabeaddebb String.undent for prettier HEREDOCs 2010-03-07 17:57:05 +00:00
Adam Vandenberg
3513bdd3a7 MySQL - simplify a couple path references 2010-03-05 17:59:25 -08:00
Adam Vandenberg
4dbae9c147 MySQL 5.1.43 2010-02-13 16:39:27 -08:00
Max Howell
8a78f19db2 Fixes Homebrew/homebrew#144; Fixes Homebrew/homebrew#566 2010-02-13 13:36:07 +00:00
Lincoln Stoll
f32f78d236 Set MySQL sysconfdir so my.cnf can be in 'etc'
Fixes Homebrew/homebrew#501
2010-01-24 12:31:52 +00:00
Stephen Caudill
d00f962386 Use mysql's database location as WorkingDirectory 2009-12-22 02:52:05 +00:00
Stephen Caudill
325ea268c2 Chomp newlines in system output 2009-12-22 02:52:05 +00:00