9226629fb9
pkgsrc changes: * Fix PLIST for dtrace and embedded-server options on and off. * Patch for when readline>6 is used where some deprecated symbols were removed. Fixes build with devel/readline. * DTrace support still not fixes for recent SunOS platforms. upstream changes: * XtraDB updated to 5.5.42-37.1 * TokuDB updated to version 7.5.6 * Fix for CVE-2015-0501 * Fix for CVE-2015-2571 * Fix for CVE-2015-0505 * Fix for CVE-2015-0499 See full changelog: https://mariadb.com/kb/en/mariadb/mariadb-5543-changelog/
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2015/05/07 12:45:28 fhajny Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mariadb55
|
|
|
|
# ndb-cluster does not configure with cmake
|
|
PKG_SUPPORTED_OPTIONS+= dtrace embedded-server ndb-cluster sphinx ssl
|
|
PKG_SUGGESTED_OPTIONS+= embedded-server ssl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
# Enable OpenSSL support
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CMAKE_ARGS+= -DWITH_SSL=system
|
|
.else
|
|
CMAKE_ARGS+= -DWITH_SSL=no
|
|
.endif
|
|
|
|
# Enable DTrace support
|
|
PLIST_VARS+= dtrace
|
|
.if !empty(PKG_OPTIONS:Mdtrace)
|
|
CMAKE_ARGS+= -DENABLE_DTRACE=ON
|
|
PLIST.dtrace= yes
|
|
.endif
|
|
|
|
# Enable Sphinx SE support
|
|
# http://sphinxsearch.com/docs/current.html#sphinxse-overview
|
|
PLIST_VARS+= sphinx
|
|
.if !empty(PKG_OPTIONS:Msphinx) || make(distinfo) || make(makesum) || make(mdi)
|
|
SPHINX_VER= 2.2.7
|
|
DISTFILES= ${DEFAULT_DISTFILES} sphinx-${SPHINX_VER}-release${EXTRACT_SUFX}
|
|
SITES.sphinx-2.2.7-release.tar.gz= http://sphinxsearch.com/files/
|
|
.if !empty(PKGPATH:Mdatabases/mariadb55-server)
|
|
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
|