diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-10-17 17:07:44 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-10-17 17:07:44 +0000 |
commit | 2a99ea75b9dfcdff2571234f3024a8821c5fe7b2 (patch) | |
tree | 4794b4f8d291b28615780ff1339b91bf4d95af6c /databases/mysql55-client | |
parent | f05af5d742b3ce359f9e11047b7cad3f3c5755db (diff) | |
download | pkgsrc-2a99ea75b9dfcdff2571234f3024a8821c5fe7b2.tar.gz |
Add optional Sphinx SE plugin support to MySQL 5.5 and 5.6.
Intented as a clean implementation (replacement) of wip/mysql-sphinxse.
SphinxSE is MySQL storage engine which can be compiled into MySQL server 5.x
using its pluggable architecture. Despite the name, SphinxSE does not
actually store any data itself. It is actually a built-in client which
allows MySQL server to talk to searchd, run search queries, and obtain
search results. All indexing and searching happen outside MySQL.
See http://sphinxsearch.com/docs/current.html#sphinxse-overview
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r-- | databases/mysql55-client/distinfo | 5 | ||||
-rw-r--r-- | databases/mysql55-client/options.mk | 19 |
2 files changed, 21 insertions, 3 deletions
diff --git a/databases/mysql55-client/distinfo b/databases/mysql55-client/distinfo index 5c679daa891..f1668f09719 100644 --- a/databases/mysql55-client/distinfo +++ b/databases/mysql55-client/distinfo @@ -1,8 +1,11 @@ -$NetBSD: distinfo,v 1.36 2014/10/01 09:17:18 adam Exp $ +$NetBSD: distinfo,v 1.37 2014/10/17 17:07:44 fhajny Exp $ SHA1 (mysql-5.5.40.tar.gz) = b93a1b14ab2de390014e99b4293e7835da133196 RMD160 (mysql-5.5.40.tar.gz) = a0b6b9a390ba8a3abc889155d756656b28b98f70 Size (mysql-5.5.40.tar.gz) = 21727672 bytes +SHA1 (sphinx-2.2.5-release.tar.gz) = 27e1a37fdeff12b866b33d3bb5602894af10bb5e +RMD160 (sphinx-2.2.5-release.tar.gz) = d37cf615dae556307dbad2bbe00144f59afe7530 +Size (sphinx-2.2.5-release.tar.gz) = 2953899 bytes SHA1 (patch-BUILD_compile-pentium-gcov) = a1ac666efa953a98455a726e5db359c903d699b6 SHA1 (patch-CMakeLists.txt) = 632e036cd9578d0636328c2259a8529c36f2d14a SHA1 (patch-client_completion_hash.cc) = e27fd7072a8206380f0a932b1a31d2843c985cbf diff --git a/databases/mysql55-client/options.mk b/databases/mysql55-client/options.mk index d225bc067ec..82de2490fde 100644 --- a/databases/mysql55-client/options.mk +++ b/databases/mysql55-client/options.mk @@ -1,9 +1,9 @@ -# $NetBSD: options.mk,v 1.4 2014/03/25 13:56:38 jperkin Exp $ +# $NetBSD: options.mk,v 1.5 2014/10/17 17:07:44 fhajny Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mysql5 # ndb-cluster does not configure with cmake -PKG_SUPPORTED_OPTIONS+= dtrace embedded-server ndb-cluster ssl +PKG_SUPPORTED_OPTIONS+= dtrace embedded-server ndb-cluster sphinx ssl PKG_SUGGESTED_OPTIONS+= embedded-server ssl .include "../../mk/bsd.options.mk" @@ -20,3 +20,18 @@ CMAKE_ARGS+= -DWITH_SSL=no .if !empty(PKG_OPTIONS:Mdtrace) CMAKE_ARGS+= -DENABLE_DTRACE=ON .endif + +# Enable Sphinx SE support +# http://sphinxsearch.com/docs/current.html#sphinxse-overview +PLIST_VARS+= sphinx +.if !empty(PKG_OPTIONS:Msphinx) +SPHINX_VER= 2.2.5 +DISTFILES= ${DEFAULT_DISTFILES} sphinx-${SPHINX_VER}-release${EXTRACT_SUFX} +.if !empty(PKGPATH:Mserver) +MESSAGE_SRC= ${PKGDIR}/MESSAGE ${PKGDIR}/MESSAGE.sphinx +.endif +PLIST.sphinx= yes + +post-extract: + ${CP} -R ${WRKDIR}/sphinx-${SPHINX_VER}-release/mysqlse ${WRKSRC}/storage/sphinx +.endif |