Commit graph

23 commits

Author SHA1 Message Date
Pete Deffendol
88b76c325f Sphinx: update to 2.0.3
Closes Homebrew/homebrew#9263.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-24 12:36:28 -08:00
Mike Mayo
1a084cda5e Sphinx: Use --without-mysql unless MySQL installed
When installing the latest sphinx script, it defaults to mysql support unless
--without-mysql is passed.

Closes Homebrew/homebrew#8921.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-12-01 13:16:19 -08:00
Clint Shryock
6eb503f34d Sphinx: Remove md5 in libstemmer dependancy
No md5 should be given due to the rapid evolution of the dependancy.

Closes Homebrew/homebrew#8877.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-29 14:20:02 -08:00
Clint Shryock
c395d476d4 Sphinx: Upgrade to 2.0.2-beta
The Sphinx search server is currently at verstion 2.0.2 **beta**, which is
the recommened release according to their [downloads page][1]

[1]: http://sphinxsearch.com/downloads/

Changes included:
- Update MD5 for Sphinx package
- Chnage install args to use `--with-mysql` if `which mysql` finds it,
  similar to how the `--with-pgsl` works`
- Add MD5 for included Libstemmer formula

Closes Homebrew/homebrew#8840.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-29 11:10:45 -08:00
Jack Nagel
25f1baf7e8 sphinx: builds with LLVM >= 2335
Closes Homebrew/homebrew#8077.
Closes Homebrew/homebrew#7876.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-14 22:33:31 -05:00
Jack Nagel
c65989248b sphinx: enable libstemmer support
The upstream libstemmer project constantly changes the contents of the
tarball, so doing checksum verification isn't feasible unless we want to
be updating the formula constantly. Thus, use a head-only sub-formula
without a checksum.

Rather than make it an option, I've just set it to always build with
libstemmer per Homebrew/homebrew#5730. We can always add the option later if it's
necessary.

Includes an unrelated fix to put the var directory in
HOMEBREW_PREFIX/var.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-05 16:46:20 -05:00
Konstantin Shabanov
fb922be170 Revert "sphinx 2.0.1-beta"
Revert because of this version is broken on OS X
This reverts commit 502e3312d08ddb12070c675d28cb0a23c3bf3c4c.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-04 08:37:16 -07:00
Ryan Schlesinger
002e2df388 sphinx 2.0.1-beta
Though labelled beta, this is considered as stable as the previous
0.9.9 release.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 16:18:16 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
d160a90361 Sphinx - update download url 2010-12-28 14:27:01 -08:00
Adam Vandenberg
d0a0df6545 sphinx - check for mysql client libs. Fixes Homebrew/homebrew#2262 2010-10-21 19:46:39 -07:00
Piotr Usewicz
0a857fbb2e Add HEAD location to Sphinx formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-20 07:58:26 -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
Kunal Shah
e2a3945317 Fix Sphinx formula to pass --without-mysql if which fails to find mysqld
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-15 08:52:33 -07:00
Angel
5f0589721a fix sphinx formula (non-verbose mode it was failing with postgres installed)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-29 09:48:47 -07:00
Steve Purcell
04e5e927d7 Enable postgresql support in sphinx when pg_config is present
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-18 10:13:18 -07:00
Adam Vandenberg
694d258933 Remove deps from Sphinx.
Sphinx can use MySQL or PostgreSQL, and can use the mysql-connector libraries
instead of a full on MySQL install.

Since we don't know what datasource is intended, replace the hard dependency
with explanations in the caveats.
2010-03-17 10:45:05 -07:00
David Höppner
de7773394b Fixes Homebrew/homebrew#391 2010-01-13 14:37:24 +00:00
raja
599f8bbd8c Updated Sphinx Search to v0.9.9 2009-12-12 12:44:44 -06:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Max Howell
a0759ae93a Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
2009-09-21 19:00:13 +01:00
Jamie van Dyke
414357ad38 Sphinx formula
How do you implement full-text search for that 10+ million row table, keep up
with the load, and stay relevant? Sphinx is good at those kinds of riddles.

Signed-off-by: Max Howell <max@methylblue.com>

I added the mysql dependency.
2009-09-11 17:42:53 +01:00