debian/0000755000000000000000000000000012231220251007154 5ustar debian/README.source0000644000000000000000000000071111760215326011347 0ustar The package intentionally does not build a shared library for libhsclient. This is primarily because it is unclear if upstream is prepared to start versioning the library appropriately. Until then, libhsclient-dev can only be statically linked to. See this issue for any response: https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL/issues/issue/36 Also the program 'hsclient' is excluded intentionally because it lacks any form of documentation. debian/rules0000755000000000000000000000233011760215326010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh --with=autoreconf $@ override_dh_autoreconf: dh_autoreconf -- ./autogen.sh perl-Net-HandlerSocket/debian: cd perl-Net-HandlerSocket && ln -sf ../debian override_dh_auto_configure: perl-Net-HandlerSocket/debian [ ! -d debian/mysql-source ] || rm -rf debian/mysql-source mkdir -p debian/mysql-source-5.5 tar -zxf /usr/src/mysql/mysql-source-5.5.tar.gz -C debian/mysql-source-5.5 dh_auto_configure -- --with-mysql-source=$(CURDIR)/debian/mysql-source-5.5/mysql-5.5 override_dh_auto_build: perl-Net-HandlerSocket/debian make make libhsclient cd perl-Net-HandlerSocket && dh_auto_configure && dh_auto_build override_dh_auto_install: perl-Net-HandlerSocket/debian dh_auto_install cd perl-Net-HandlerSocket && dh_auto_install override_dh_install: dh_install --fail-missing -Xusr/bin/hsclient # Ensure that dependency_libs='' @if ! grep -q "^dependency_libs=''$$" debian/libhsclient-dev/usr/lib/libhsclient.la ; then \ echo dependency_libs is not empty in libhsclient.la ;\ exit 1 ;\ fi override_dh_clean: rm -f perl-Net-HandlerSocket/debian rm -rf debian/mysql-source-5.5 dh_clean override_dh_makeshlibs: debian/handlersocket-doc.docs0000644000000000000000000000002011760215326013424 0ustar docs-en docs-ja debian/libhsclient-dev.install0000644000000000000000000000010711760215326013633 0ustar usr/lib/libhsclient.a usr/lib/libhsclient.la usr/include/handlersocket debian/copyright0000644000000000000000000000717511760215326011136 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: HandlerSocket Source: https://github.com/DeNADev/HandlerSocket-Plugin-for-MySQL Files: * Copyright: 2010 DeNA Co.,Ltd.. All rights reserved. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of DeNA Co.,Ltd. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY DeNA Co.,Ltd. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DeNA Co.,Ltd. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011 Canonical Ltd. All rights reserved. Comment: Packaging work by Clint Byrum License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Canonical Ltd. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY Canonical Ltd. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Canonical Ltd. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF Files: perl-Net-HandlerSocket/ppport.h Comment: Generated by Devel::PPPort Copyright: 2004-2007, Marcus Holland-Moritz. 2001, Paul Marquess. 1999, Kenneth Albanowski. License: Perl This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. . You can find the full text of the GPL on debian systems at /usr/share/common-licenses/GPL . You can find the full text of the Artistic license on debian systems at /usr/share/common-licenses/Artistic debian/docs0000644000000000000000000000000711760215326010041 0ustar README debian/handlersocket-mysql-5.5.install0000644000000000000000000000002711760215326015056 0ustar usr/lib/mysql/plugin/* debian/source/0000755000000000000000000000000011760215326010471 5ustar debian/source/format0000644000000000000000000000001411760215326011677 0ustar 3.0 (quilt) debian/libnet-handlersocket-perl.install0000644000000000000000000000007211760215326015621 0ustar usr/share/man/man3/Net::HandlerSocket.3pm usr/lib/perl5/* debian/patches/0000755000000000000000000000000012205422616010615 5ustar debian/patches/automake-1.12.patch0000644000000000000000000000076512205422616014033 0ustar Description: work with automake >= 1.12 Origin: upstream git, 83d8f3a Bug-Debian: http://bugs.debian.org/713580 Author: SvartalF Reviewed-by: gregor herrmann Last-Update: 2013-08-22 Applied-Upstream: yes, included in 1.1.1 release --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,9 @@ 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 debian/patches/series0000644000000000000000000000004212205422170012021 0ustar gcc-4.7.patch automake-1.12.patch debian/patches/gcc-4.7.patch0000644000000000000000000000057611760215326012713 0ustar Description: add missing include to avoid FTBFS with gcc 4.7 Origin: vendor Bug-Debian: http://bugs.debian.org/667198 Forwarded: no Author: gregor herrmann Last-Update: 2012-05-04 --- a/libhsclient/fatal.cpp +++ b/libhsclient/fatal.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "fatal.hpp" debian/compat0000644000000000000000000000000211760215326010367 0ustar 7 debian/control0000644000000000000000000000465711760215326010610 0ustar Source: handlersocket Section: database Priority: extra Maintainer: Clint Byrum Build-Depends: debhelper (>= 7.0.50~), dh-autoreconf, mysql-server-5.5, mysql-source-5.5, libssl-dev, perl, libmysqlclient-dev Standards-Version: 3.9.3 Homepage: https://github.com/DeNADev/HandlerSocket-Plugin-for-MySQL Vcs-Bzr: http://bazaar.launchpad.net/~clint-fewbar/debian/sid/handlersocket/packaging Vcs-Browser: http://bazaar.launchpad.net/~clint-fewbar/debian/sid/handlersocket/packaging/files Package: handlersocket-mysql-5.5 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, mysql-server-core-5.5 Recommends: handlersocket-doc Breaks: handlersocket-mysql-5.1 Replaces: handlersocket-mysql-5.1 Description: HandlerSocket plugin for MySQL 5.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. Package: handlersocket-doc Architecture: all Section: doc Depends: ${shlibs:Depends}, ${misc:Depends} Description: HandlerSocket command line client 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 package contains extra documentation for the plugin and libraries. Package: libhsclient-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: handlersocket-doc Description: HandlerSocket client library 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 package contains the client access library and headers. Package: libnet-handlersocket-perl Architecture: any Section: perl Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Description: HandlerSocket perl client library. 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 package contains the perl client libraries. debian/changelog0000644000000000000000000000354112231220251011031 0ustar handlersocket (1.1.0-7-g1044a28-1.1build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 13:40:09 +0100 handlersocket (1.1.0-7-g1044a28-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: config.status: error: cannot find input file: `handlersocket/Makefile.in'": add patch automake-1.12.patch from upstream git to work with automake >= 1.12 (Closes: #713580) -- gregor herrmann Thu, 22 Aug 2013 17:09:39 +0200 handlersocket (1.1.0-7-g1044a28-1) unstable; urgency=low * New Upstream Release. * migrate to mysql 5.5 (Closes: #673162) * d/control: build-depend on mysql-server-5.5 to get a valid plugin dir due to autoconf macros requiring that it exists. * d/copyright: Add explicit BSD copyright notice. * d/control,d/copyright: Fixing Homepage to new location * d/control: adding Vcs fields. * d/control: Update to standards 3.9.3 - No changes needed * Fix building of perl library to avoid missing symbols (Closes: #674627) Thanks Alexander Kuznetsov -- Clint Byrum Sat, 26 May 2012 11:02:37 -0700 handlersocket (1.0.6-80-g88bf1e0-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "ftbfs with GCC-4.7": add patch gcc-4.7.patch (missing header include). Closes: #667198 -- gregor herrmann Fri, 04 May 2012 15:28:54 +0200 handlersocket (1.0.6-80-g88bf1e0-1) unstable; urgency=low * New upstream release. * Carefully ensure that libhsclient.la has no dependency_libs. (Closes: 621310) * Make clean steup remove unpacked mysql source -- Clint Byrum Tue, 03 May 2011 10:24:20 -0700 handlersocket (1.0.6-71-g159ea6d-1) unstable; urgency=low * Initial release (Closes: #611961) -- Clint Byrum Thu, 03 Feb 2011 17:08:23 -0800