-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonathan Perkin
committed
Jan 31, 2013
1 parent
8002760
commit 67a8ad3
Showing
7 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
HandlerSocket is a NoSQL plugin for MySQL. It works as a daemon inside the | ||
mysqld process, accept tcp connections, and execute requests from clients. | ||
|
||
HandlerSocket does not support SQL queries. Instead, it supports simple CRUD | ||
operations on tables. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# $NetBSD$ | ||
# | ||
|
||
DISTNAME= handlersocket_1.1.0-7-g1044a28.orig | ||
PKGNAME= handlersocket-1.1.0 | ||
CATEGORIES= databases | ||
MASTER_SITES= http://launchpad.net/ubuntu/+archive/primary/+files/ | ||
|
||
MAINTAINER= pkgsrc-users@netbsd.org | ||
HOMEPAGE= http://www.percona.com/software/percona-xtrabackup | ||
COMMENT= HandlerSocket | ||
|
||
# Requires MySQL source tree | ||
MYSQL= Percona-Server-5.5.29-rel29.4 | ||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MYSQL}.tar.gz | ||
SITES.${MYSQL}.tar.gz= http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.29-29.4/source/ | ||
|
||
DEPENDS+= percona-server-[0-9*:../../joyent/percona55-server | ||
|
||
USE_LANGUAGES= c c++ | ||
USE_LIBTOOL= yes | ||
USE_TOOLS+= aclocal autoconf autoheader automake gmake | ||
|
||
WRKSRC= ${WRKDIR}/DeNADev-HandlerSocket-Plugin-for-MySQL-1044a28 | ||
|
||
#CFLAGS+= -I${PREFIX}/include/mysql | ||
LDFLAGS.SunOS+= -lsocket -lnsl -lxnet | ||
|
||
do-configure: | ||
${RUN} cd ${WRKSRC} && \ | ||
./autogen.sh && \ | ||
${CONFIGURE_ENV} ./configure --with-mysql-source=${WRKDIR}/${MYSQL} \ | ||
--with-mysql-bindir=${PREFIX}/bin \ | ||
--with-mysql-plugindir=${PREFIX}/lib/mysql/plugin | ||
|
||
.include "../../joyent/percona55-client/buildlink3.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@comment $NetBSD$ | ||
lib/mysql/plugin/handlersocket.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$NetBSD$ | ||
|
||
SHA1 (Percona-Server-5.5.29-rel29.4.tar.gz) = 0c02296414739a29e8a3c81ff7fab68a45d5b8a2 | ||
RMD160 (Percona-Server-5.5.29-rel29.4.tar.gz) = 00acc15dde50735ee8e92e8b69d08fe77159acd8 | ||
Size (Percona-Server-5.5.29-rel29.4.tar.gz) = 22472140 bytes | ||
SHA1 (handlersocket_1.1.0-7-g1044a28.orig.tar.gz) = 9c4d4619445fffc08cc61205082f8a3a799748aa | ||
RMD160 (handlersocket_1.1.0-7-g1044a28.orig.tar.gz) = eb3af68a40bef7a823559e2e1fd77f55bcc96ff5 | ||
Size (handlersocket_1.1.0-7-g1044a28.orig.tar.gz) = 163737 bytes | ||
SHA1 (patch-configure.ac) = 190c1bc337ef07b115a1827c5dc11fba6df249bc | ||
SHA1 (patch-libhsclient_allocator.hpp) = e2569d58f5159949bd55342716beb186439cfe94 | ||
SHA1 (patch-libhsclient_fatal.cpp) = 01a29cd82ede826bd56b13ed955f94bc6f3f8272 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$NetBSD$ | ||
|
||
* Upstream patch to fix automake. | ||
|
||
--- configure.ac.orig 2012-05-01 12:09:31.000000000 +0000 | ||
+++ configure.ac | ||
@@ -8,6 +8,9 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign] | ||
AC_CONFIG_SRCDIR([libhsclient/fatal.cpp]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
|
||
+# For automake >= 1.12 | ||
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) | ||
+ | ||
AC_PROG_CC | ||
AC_PROG_CXX | ||
AC_PROG_CPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
$NetBSD$ | ||
|
||
--- libhsclient/allocator.hpp.orig 2012-05-01 12:09:31.000000000 +0000 | ||
+++ libhsclient/allocator.hpp | ||
@@ -9,6 +9,7 @@ | ||
#ifndef DENA_ALLOCATOR_HPP | ||
#define DENA_ALLOCATOR_HPP | ||
|
||
+#include <alloca.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
$NetBSD$ | ||
|
||
* Upstream patch. | ||
|
||
--- libhsclient/fatal.cpp.orig 2012-05-01 12:09:31.000000000 +0000 | ||
+++ libhsclient/fatal.cpp | ||
@@ -9,6 +9,7 @@ | ||
#include <stdlib.h> | ||
#include <stdio.h> | ||
#include <syslog.h> | ||
+#include <unistd.h> | ||
|
||
#include "fatal.hpp" | ||
|