Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial import of handlersocket.

  • Loading branch information...
commit 67a8ad3793f322d5774498e2b4a35db76b42ac48 1 parent 8002760
@jperkin jperkin authored
View
5 handlersocket/DESCR
@@ -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.
View
37 handlersocket/Makefile
@@ -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"
View
2  handlersocket/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/mysql/plugin/handlersocket.la
View
11 handlersocket/distinfo
@@ -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
View
16 handlersocket/patches/patch-configure.ac
@@ -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
View
12 handlersocket/patches/patch-libhsclient_allocator.hpp
@@ -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>
+
View
14 handlersocket/patches/patch-libhsclient_fatal.cpp
@@ -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"
+
Please sign in to comment.
Something went wrong with that request. Please try again.