Commit graph

89 commits

Author SHA1 Message Date
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel
3446fc7e71 mysql: remove no-op patch
Closes Homebrew/homebrew#10842.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-21 14:40:34 -05:00
Jack Nagel
cc638908c8 mysql: prune clang-isms from mysql_config --cflags
Closes Homebrew/homebrew#10549.
cf Homebrew/homebrew#10842.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-15 20:05:00 -05:00
Adam Vandenberg
80186d0478 mysql 5.5.20 2012-03-10 10:20:13 -08:00
Matthew Lewinski
83dd656d3b Minor cleanup on plist caveats.
Use basename to refer to plist file when loaded. Make cp lines same
across formulas.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 08:07:35 -08:00
Jack Nagel
6ce735db99 Add and use plist helper methods
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.

plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.

c.f. Homebrew/homebrew#9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel
cce644e300 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Jaik Dean
7e141937f2 mysql: ARCHIVE and BLACKHOLE engines
Added install flags to the mysql formula to allow the ARCHIVE and BLACKHOLE
storage engines to be compiled in.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-28 20:03:14 -08:00
Marian Theisen
0186f1d16a mysql: fix typo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-23 06:39:58 -08:00
Adam Vandenberg
054f04fb22 MySQL: fix patches 2012-01-22 09:29:27 -08:00
Adam Vandenberg
ea5c690daa MySQL 5.5.19 2012-01-21 20:46:52 -08:00
Adam Vandenberg
8274847561 mysql 5.5.15 2011-09-25 09:34:51 -07:00
Adam Vandenberg
d205c72966 Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Max Howell
6d5730fa2c Don't fails_with_llvm if MacOS.lion?
Not sure how I failed so badly at logic. This should be rewritten so that the build info has a tested MacOS version too. However it seems unlikely that the same LLVM versions on different platforms would have different compile errors. So we'll risk it, and it'll be informative for us too.
2011-09-02 12:12:30 +01:00
Max Howell
d6f51b68a3 MySQL builds with LLVM; Closes Homebrew/homebrew#7372. 2011-09-02 12:12:30 +01:00
Andrew
fc60676242 mysql: fixed typo (differnet => different)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-28 21:13:40 -07:00
CharlieRoot
50038b0dd7 MySQL: Fix compilation on Lion
Do not allow cmake find pthread_init because it is internal to Apple's
pthread library although linkable.

Fixes Homebrew/homebrew#5251
Fixes Homebrew/homebrew#5876
Fixes Homebrew/homebrew#6277

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-20 09:34:29 -07:00
Mislav Marohnić
9d3ef67239 mysql: compile with readline by default
MySQL client compiles with EditLine wrapper by default. This formula
configures the build to use readline since it's superior in handling
multibyte input, enabling use of non-English languages in the mysql
prompt.

Users can still choose to use EditLine with the `--with-libedit` flag.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-10 11:09:55 -07:00
Adam Vandenberg
13e981d9e5 MySQL 5.5.14 2011-07-07 11:39:54 -07:00
Felix Schulze
e086b8c41e MySQL 5.5.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-23 16:19:54 -07:00
skim
d5dc8cd30d mysql: add note to caveat
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-26 22:15:15 -07:00
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