Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272287 Details for
Bug 366219
HandlerSocket-Plugin-for-MySQL ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
HandlerSocket-0.1.ebuild
HandlerSocket-0.1.ebuild (text/plain), 2.45 KB, created by
Deniss Gaplevsky
on 2011-05-06 12:59:18 UTC
(
hide
)
Description:
HandlerSocket-0.1.ebuild
Filename:
MIME Type:
Creator:
Deniss Gaplevsky
Created:
2011-05-06 12:59:18 UTC
Size:
2.45 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >EGIT_REPO_URI="http://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL" >inherit autotools git > >DESCRIPTION="HandlerSocket Plugin for MySQL" >HOMEPAGE="http://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL" >SRC_URI="" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="~amd64" >IUSE="" > >DEPEND="virtual/mysql" >RDEPEND="${DEPEND}" > >src_prepare() { > MYSQL_V="$(best_version "dev-db/mysql")" > MYSQL_V=${MYSQL_V##*/} > > mkdir ${S}/m4 > > eautoreconf > > einfo "Fetching sources of $MYSQL_V" > ebuild /usr/portage/dev-db/mysql/${MYSQL_V}.ebuild prepare > > #autotools-utils_src_prepare > #cd "${S}" > #./autogen.sh || die "automake failed" >} > >src_configure() { > local myconf="" > myconf="${myconf} --with-mysql-source=/var/tmp/portage/dev-db/${MYSQL_V}/work/mysql" > myconf="${myconf} --with-mysql-plugindir=$(/usr/bin/mysql_config --plugindir)" > myconf="${myconf} --with-mysql-bindir=/usr/bin/" > econf ${myconf} || die "econf failed" >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > ebuild /usr/portage/dev-db/mysql/${MYSQL_V}.ebuild clean > dodoc "${S}"/docs-en/* || die "dodoc failed" > >} > >pkg_postinst() { > einfo "Using Handlersocket > >Append configuration options for handlersocket to my.cnf. > > [mysqld] > loose_handlersocket_port = 9998 > # the port number to bind to (for read requests) > loose_handlersocket_port_wr = 9999 > # the port number to bind to (for write requests) > loose_handlersocket_threads = 16 > # the number of worker threads (for read requests) > loose_handlersocket_threads_wr = 1 > # the number of worker threads (for write requests) > open_files_limit = 65535 > # to allow handlersocket accept many concurrent > # connections, make open_files_limit as large as > # possible. > plugin-load=handlersocket.so > >Log in to mysql as root, and execute the following query. > > mysql> install plugin handlersocket soname 'handlersocket.so'; > >If handlersocket.so is successfully installed, it starts >accepting connections on port 9998 and 9999. Running >'show processlist' should show handlersocket worker threads. >Check installation.en.txt for more options." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 366219
: 272287