Commit graph

35 commits

Author SHA1 Message Date
jbastos
a0c3827213 sphinx 2.0.5
Closes Homebrew/homebrew#14310.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20 21:20:43 -05:00
Jack Nagel
8a0a67d878 sphinx: remove unused patch 2012-08-12 13:58:16 -05:00
Owen Smith
1c638cf2d1 sphinx: Add option for 64-bit document ID support
Closes Homebrew/homebrew#14024.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-10 09:46:39 -07:00
Ryan Schlesinger
d8d4dda5b4 sphinx: Updating failing clang build to 421
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-26 23:04:30 -07:00
Jack Nagel
f17a2ca3e8 sphinx: style nits
- use buildpath instead of Pathname.pwd
 - remove unrecognized '--disable-debug'

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 01:15:11 -05:00
Adam Vandenberg
817c9c5da2 Sphix: add options to force database selection 2012-04-14 10:01:57 -07:00
Adam Vandenberg
b73b6d0ad4 Sphix: check for mysql_config
Check for mysql_config instead of mysql so that mysql-connector-c
will be picked up too.
2012-04-14 09:40:56 -07:00
Jack Nagel
ac87fc89c6 sphinx: fails with clang
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 15:51:32 -05:00
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
Steven G. Harms
baa9c89b76 Sphinx 2.0.4
Also adds a workaround for clang/llvm

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-01 09:39:33 -07:00
Jack Nagel
0c89a5c8dd Remove redundant versions and update version tests
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-11 15:18:56 -05:00
Adam Vandenberg
18de10fe0a use which method 2012-03-06 06:53:07 -08:00
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