Commit Graph
107 Commits
Author SHA1 Message Date
Adam Vandenberg 559982b246 Use std env for universal builds of mariadb, mysql and percona
Closes #15609.
Closes #15472.
2012-10-23 15:37:28 -07:00
Adam Vandenberg c71325ad25 mysql: stop using skip_clean :all
Closes #14911.
2012-09-13 07:11:42 -07:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg 7334e4b990 Let plists be installed automatically 2012-09-09 13:02:48 -07:00
Adam Vandenberg 3b56f2ee41 mysql: normalize option name 2012-09-02 12:34:14 -07:00
Dan Burkert bcac733e2c MySQL: add debug option
Closes #14648.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-02 12:28:11 -07:00
Mike McQuaid eb5f7212cb mysql: 5.5.27 2012-08-23 23:32:31 -07:00
Jack Nagel faaa6c1524 mysql: build without exotic optimization flags
Currently we patch mysql_config to sanitize the CFLAGS that are exported
to software that queries it during builds, such as the mysql gem. Since
there isn't any way to control what compiler is used by Ruby/gem to
build native extensions, we must remove any compiler or CPU specific
flags.

Instead, let's build without these flags to begin with, which will keep
mysql_config clean and provide consistency between the flags used to
build mysql and those used to build software that links to it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17 11:22:20 -05:00
Jack Nagel 81f79977da mysql: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 10:23:01 -05:00
Mike McQuaid a40bed23f4 mysql: add bottles. 2012-08-11 15:57:34 +01:00
Mike McQuaid 60d3cd7252 mysql: remove unnecessary dependencies.
pidof can be replaced with pgrep from proctools on Mountain Lion
and readline uses the system version which, if too old, will use
the bundled version anyway (doesn't on Mountain Lion).

Closes #13942.
2012-08-08 18:17:11 +01:00
Misty De Meo 2814e3a9fa Add conflicts_with DSL method
conflicts_with is a thin wrapper around Requirement which simplifies
marking conflicts between formulae.

Closes #13687.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-30 13:47:12 -03:00
Mike McQuaid d16b53a199 Add bug URL for MySQL no-CLT bug. 2012-07-24 18:30:24 +01:00
Mike McQuaid 04f2815022 Fix MySQL no-CLT compilation. 2012-07-24 14:14:23 +01:00
onewheelskyward bac30f4df7 mysql 5.5.25a
Closes #13230.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-05 13:37:47 -05:00
Steve King 5bcd1f328b MySQL 5.5.25
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-06 20:22:25 -07:00
Steve King a977fbd0af mysql 5.5.24
Closes #12459.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-27 23:20:41 -05:00
Mike McQuaid f4009ef4fd Fix MySQL build with CMake 2.8.8.
Fixes #11754.
Fixes #11762.
2012-04-20 18:47:01 +10:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Jack Nagel 1cd1d4807c mysql: remove no-op patch
Closes #10842.

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

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-15 20:05:00 -05:00
Adam Vandenberg b57aa70069 mysql 5.5.20 2012-03-10 10:20:13 -08:00
Matthew Lewinski c2b8e871db 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 b5a5217ba3 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. #9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel 95e379faf1 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Jaik Dean a1529c1fe2 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 37298e1515 mysql: fix typo
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-23 06:39:58 -08:00
Adam Vandenberg c52bac0b66 MySQL: fix patches 2012-01-22 09:29:27 -08:00
Adam Vandenberg 3164087c5a MySQL 5.5.19 2012-01-21 20:46:52 -08:00
Adam Vandenberg 513c0f82c6 mysql 5.5.15 2011-09-25 09:34:51 -07:00
Adam Vandenberg a840c4a17d Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Max Howell b6aa338e6f 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 1914b89270 MySQL builds with LLVM; Closes #7372. 2011-09-02 12:12:30 +01:00
Andrew d12137d46c mysql: fixed typo (differnet => different)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-28 21:13:40 -07:00
CharlieRoot 44db2406d3 MySQL: Fix compilation on Lion
Do not allow cmake find pthread_init because it is internal to Apple's
pthread library although linkable.

Fixes #5251
Fixes #5876
Fixes #6277

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-20 09:34:29 -07:00
Mislav Marohnić b04a1ab4ea 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 e129eaa10a MySQL 5.5.14 2011-07-07 11:39:54 -07:00
Felix Schulze 35b60ca6e8 MySQL 5.5.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-23 16:19:54 -07:00
skim 1f2b24e102 mysql: add note to caveat
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-26 22:15:15 -07:00
Matthew Rudy Jacobs c62b7d2d15 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 8ab9e00603 MySQL: --universal builds 32/64-bit Intel 2011-05-01 11:09:56 -07:00
Adam Vandenberg 83ed49411f Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Adam Vandenberg 9524b057e4 mysql: warn about /etc/my.cnf 2011-04-13 13:00:07 -07:00
dinkypumpkin 46b835bf73 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 2c5470914c 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 fac665e598 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 1fb85efce5 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 32a5b29dca mysql: fix typo; use var instead of hardcoding /usr/local 2011-04-04 10:33:26 -07:00
Adam Vandenberg b5e2c5a088 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 d02df2462b 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