debian/0000755000000000000000000000000012044254201007160 5ustar debian/kyotocabinet-doc/0000755000000000000000000000000012043425271012424 5ustar debian/kyotocabinet-doc/usr/0000755000000000000000000000000012043425271013235 5ustar debian/kyotocabinet-doc/usr/share/0000755000000000000000000000000012043425271014337 5ustar debian/kyotocabinet-doc/usr/share/doc/0000755000000000000000000000000012043425271015104 5ustar debian/kyotocabinet-doc/usr/share/doc/kyotocabinet-doc/0000755000000000000000000000000012043425271020342 5ustar debian/libkyototycoon2.install0000644000000000000000000000003612043364224013727 0ustar usr/lib/*/libkyototycoon.so.* debian/control0000644000000000000000000001434612044254201010573 0ustar Source: kyototycoon Section: utils Priority: optional Maintainer: Shawn Landden Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1), automake, autoconf2.64, libtool (>= 2.2), pkg-config, libkyotocabinet-dev, # this is used solely to get the version of lua to build against # so must match -dev. luadoc also can recompile docs (not done by default). lua5.1, liblua5.1-0-dev, # Compressors must match configuration of kyotocabinet zlib1g-dev, liblzma-dev, liblzo2-dev # Fails to build against lua 5.2 Build-Conflicts: lua5.2 Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=collab-maint/kyototycoon.git Vcs-Git: git://git.debian.org/collab-maint/kyototycoon.git Homepage: http://fallabs.com/kyototycoon/ Package: libkyototycoon2 Section: libs Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Handy cache/storage server - shared library Kyoto Tycoon is a lightweight database server with auto expiration mechanism, useful to handle cache data and persistent data of various applications. . Kyoto Tycoon provides a network interface to the Kyoto Cabinet DBM. Building on top of Kyoto Cabinet's high performance and high concurrency, Kyoto Tycoon allows multiple processes (as opposed to just multiple threads) and computers to share the same database. Providing an efficient remote database, the architecture of Kyoto Tycoon keeps this feature optional—file formats are still Kyoto Cabinet (unless using pluggable databases). . Kyoto Tycoon is composed of the server process managing multiple databases and its access library for client applications. . This package contains the shared library. Package: kyototycoon Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: kyototycoon-doc Description: Handy cache/storage server Kyoto Tycoon is a lightweight database server with auto expiration mechanism, useful to handle cache data and persistent data of various applications. . Kyoto Tycoon provides a network interface to the Kyoto Cabinet DBM. Building on top of Kyoto Cabinet's high performance and high concurrency, Kyoto Tycoon allows multiple processes (as opposed to just multiple threads) and computers to share the same database. Providing an efficient remote database, the architecture of Kyoto Tycoon keeps this feature optional—file formats are still Kyoto Cabinet (unless using pluggable databases). . Kyoto Tycoon is composed of the server process managing multiple databases and its access library for client applications. . Between some of Kyoto Tycoon features you may find: - The network communication protocol is HTTP, so you can write client apps and libraries in almost all popular languages - Both RESTful-style and RPC-style interfaces are supported - Based on epoll/kqueue, the server supports 10K+ concurrent connections - High availability mechanisms and extensible built-in support: * Hot backup * Update logging * Asynchronous replication * Lua support: define arbitrary operations of the database using the lightweight scripting language . This package contains the server, and the test tools. Package: kyototycoon-dbg Section: debug Architecture: any Multi-Arch: same Depends: kyototycoon (= ${binary:Version}), libkyototycoon2 (= ${binary:Version}), ${misc:Depends} Provides: libkyototycoon-dbg, libkyototycoon2-dbg Priority: extra Description: Handy cache/storage server - debugging symbols Kyoto Tycoon is a lightweight database server with auto expiration mechanism, useful to handle cache data and persistent data of various applications. . Kyoto Tycoon provides a network interface to the Kyoto Cabinet DBM. Building on top of Kyoto Cabinet's high performance and high concurrency, Kyoto Tycoon allows multiple processes (as opposed to just multiple threads) and computers to share the same database. Providing an efficient remote database, the architecture of Kyoto Tycoon keeps this feature optional—file formats are still Kyoto Cabinet (unless using pluggable databases). . Kyoto Tycoon is composed of the server process managing multiple databases and its access library for client applications. . This package contains debugging symbols to the server, test tools, and shared library. Package: kyototycoon-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libkyototycoon-dev Description: Handy cache/storage server - documentation Kyoto Tycoon is a lightweight database server with auto expiration mechanism, useful to handle cache data and persistent data of various applications. . Kyoto Tycoon provides a network interface to the Kyoto Cabinet DBM. Building on top of Kyoto Cabinet's high performance and high concurrency, Kyoto Tycoon allows multiple processes (as opposed to just multiple threads) and computers to share the same database. Providing an efficient remote database, the architecture of Kyoto Tycoon keeps this feature optional—file formats are still Kyoto Cabinet (unless using pluggable databases). . Kyoto Tycoon is composed of the server process managing multiple databases and its access library for client applications. . This package contains the documentation. Package: libkyototycoon-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libkyototycoon2 (= ${binary:Version}), ${misc:Depends} Suggests: kyototycoon Provides: libkyototycoon2-dev Description: Handy cache/storage server - development headers Kyoto Tycoon is a lightweight database server with auto expiration mechanism, useful to handle cache data and persistent data of various applications. . Kyoto Tycoon provides a network interface to the Kyoto Cabinet DBM. Building on top of Kyoto Cabinet's high performance and high concurrency, Kyoto Tycoon allows multiple processes (as opposed to just multiple threads) and computers to share the same database. Providing an efficient remote database, the architecture of Kyoto Tycoon keeps this feature optional—file formats are still Kyoto Cabinet (unless using pluggable databases). . Kyoto Tycoon is composed of the server process managing multiple databases and its access library for client applications. . This package contains the development headers. debian/kyototycoon-doc.doc-base0000644000000000000000000000037112043364224013732 0ustar Document: kyototycoon Title: Kyoto Tycoon - lightweight database server Author: Copyright (C) 2009-2012 FAL Labs Section: Programming/C++ Format: HTML Index: /usr/share/doc/kyototycoon-doc/doc/index.html Files: /usr/share/doc/kyototycoon-doc/doc/* debian/rules0000755000000000000000000000200012043616637010246 0ustar #!/usr/bin/make -f include /usr/share/dpkg/architecture.mk ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CONFIG_OPTS += --disable-opt endif override_dh_auto_configure: aclocal autoconf2.64 dh_auto_configure -- \ --enable-lua \ --prefix=/usr \ $(CONFIG_OPTS) override_dh_auto_install: $(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr install override_dh_strip: dh_strip --package=libkyototycoon2 --dbg-package=kyototycoon-dbg dh_strip --package=kyototycoon --dbg-package=kyototycoon-dbg dh_strip override_dh_installdocs: # mkdir -p $$(pwd)/debian/kyototycoon-doc/usr/share/doc/kyototycoon-doc dh_installdocs --link-doc=libkyototycoon2 # debhelper sometimes leaves this empty folder - Bug #679864 # rm -rf $$(pwd)/debian/kyototycoon-doc/usr/share/doc/libkyototycoon2 override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_builddeb: dh_builddeb -- -Zxz -z2 override_dh_makeshlibs: dh_makeshlibs -V override_dh_clean: dh_clean config.tmp config.log aclocal.m4 configure %: dh $@ debian/watch0000644000000000000000000000016412043364224010220 0ustar version=3 http://fallabs.com/kyototycoon/pkg/ kyototycoon-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz|lzma))) debian/libkyototycoon-dev.install0000644000000000000000000000015212043364224014420 0ustar usr/include/*.h usr/lib/*/libkyototycoon.so usr/lib/*/libkyototycoon.a usr/lib/*/pkgconfig/kyototycoon.pc debian/changelog0000644000000000000000000000024312043364224011037 0ustar kyototycoon (0.9.56-1) unstable; urgency=low * Initial release. (Closes: #613452) -- Shawn Landden Tue, 10 Jul 2012 22:26:30 -0700 debian/compat0000644000000000000000000000000212043364224010364 0ustar 9 debian/kyototycoon-doc.docs0000644000000000000000000000003412043364224013201 0ustar example doc kyototycoon.idl debian/kyototycoon.install0000644000000000000000000000011712043364224013156 0ustar usr/bin/* usr/lib/*/ktplugservmemc.so usr/lib/*/ktplugdbvoid.so usr/share/man debian/source/0000755000000000000000000000000012043364224010466 5ustar debian/source/format0000644000000000000000000000001412043364224011674 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012043364224010615 5ustar debian/patches/0003-configure-GNU-kFreeBSD-and-disable-rpath.patch0000644000000000000000000000155412043364224021473 0ustar From 08ead36132b44ab1a763fdb2f1313f4d2beae0ca Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Tue, 3 Jul 2012 12:54:54 -0700 Subject: [PATCH 4/5] configure: GNU/kFreeBSD and disable -rpath use --as-needed on GNU/kFreeBSD as well as Linux also, disable -rpath on Linux --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index c11de95..ba9a775 100644 --- a/configure.in +++ b/configure.in @@ -265,9 +265,9 @@ then fi # As-needed linking -if uname | grep Linux >config.tmp +if uname -o | egrep "GNU/Linux|GNU/kFreeBSD" >config.tmp then - MYLDFLAGS="$MYLDFLAGS -Wl,-rpath-link,.:/usr/local/lib:$MYLDLIBPATH" +# MYLDFLAGS="$MYLDFLAGS -Wl,-rpath-link,.:/usr/local/lib:$MYLDLIBPATH" MYLDFLAGS="$MYLDFLAGS -Wl,--as-needed" else MYCMDLIBS="$MYCMDLIBS $LIBS" -- 1.7.9.5 debian/patches/series0000644000000000000000000000037012043364224012032 0ustar 0001-doc-index.html.patch 0002-configure-disable-march-native-agressive-m64.patch 0003-configure-GNU-kFreeBSD-and-disable-rpath.patch 0004-kfreebsd.patch 0005-configure-use-pkg-config-macros-instead-of-calling-d.patch debian/patches/0004-kfreebsd.patch0000644000000000000000000000177512043364224014016 0ustar From 17f831747cd99f817ee9a996fe209db9c7335920 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Mon, 9 Jul 2012 15:53:25 -0700 Subject: [PATCH 5/5] kfreebsd support kqueue on GNU/kFreeBSD recognize GNU/kFreeBSD http://svnweb.freebsd.org/base?view=revision&revision=227827 --- myconf.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/myconf.h b/myconf.h index d1a3127..a51c99d 100644 --- a/myconf.h +++ b/myconf.h @@ -33,6 +33,11 @@ #define _SYS_FREEBSD_ #define _KT_OSNAME "FreeBSD" +#elif defined(__FreeBSD_kernel__) && defined(__GLIBC__) + +#define _SYS_GNUKFREEBSD_ +#define _KT_OSNAME "GNU/kFreeBSD" + #elif defined(__NetBSD__) #define _SYS_NETBSD_ @@ -97,7 +102,7 @@ #if ! defined(_MYNOEVENT) #if defined(_SYS_LINUX_) #define _KT_EVENT_EPOLL -#elif defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) +#elif defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) || defined(__FreeBSD_kernel__) #define _KT_EVENT_KQUEUE #endif #endif -- 1.7.9.5 debian/patches/0002-configure-disable-march-native-agressive-m64.patch0000644000000000000000000000266312043364224022554 0ustar From fdafb76e8f243a61e9d771f6da89ae9a1b8a7bc2 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Wed, 4 Jul 2012 09:23:16 -0700 Subject: [PATCH 3/5] configure: disable march native, agressive -m64 disable march=native, don't build 64-bit always when -m64 is available --- configure.in | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/configure.in b/configure.in index 9732529..c11de95 100644 --- a/configure.in +++ b/configure.in @@ -211,28 +211,6 @@ test -n "$CXXFLAGS" && MYCXXFLAGS="$CXXFLAGS $MYCXXFLAGS" test -n "$CPPFLAGS" && MYCPPFLAGS="$CPPFLAGS $MYCPPFLAGS" test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" -# System-depending optimization -printf 'checking for 64-bit availability... ' -if printf 'main() {}' | $CC -xc -m64 -o config.tmp - >config.tmp 2>&1 -then - MYCFLAGS="-m64 $MYCFLAGS" - MYCXXFLAGS="-m64 $MYCXXFLAGS" - printf 'yes\n' -else - printf 'no\n' -fi -if test "$enable_opt" != "no" -then - printf 'checking for CPU optimization availability... ' - if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1 - then - MYCFLAGS="-march=native $MYCFLAGS" - MYCXXFLAGS="-march=native $MYCXXFLAGS" - printf 'yes\n' - else - printf 'no\n' - fi -fi printf 'checking for useless warnings... ' if printf 'main() {}' | $CC -xc \ -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 -- 1.7.9.5 debian/patches/0001-doc-index.html.patch0000644000000000000000000000167012043364224015035 0ustar From 5ca648c66b4c7f2977accbda711139a0fbcb9315 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Wed, 4 Jul 2012 09:22:11 -0700 Subject: [PATCH 2/5] doc: index.html fix docs to not require index.html functionality --- doc/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/index.html b/doc/index.html index 63be36e..c72437d 100644 --- a/doc/index.html +++ b/doc/index.html @@ -69,8 +69,8 @@
-- 1.7.9.5 debian/patches/0005-configure-use-pkg-config-macros-instead-of-calling-d.patch0000644000000000000000000000216412043364224024161 0ustar From fedabec741369ebe8bffec646673ba3095e4fa8c Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Wed, 18 Jul 2012 11:26:07 -0700 Subject: [PATCH 5/5] configure: use pkg-config macros instead of calling directly --- configure.in | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/configure.in b/configure.in index ba9a775..f4a71fd 100644 --- a/configure.in +++ b/configure.in @@ -273,18 +273,11 @@ else MYCMDLIBS="$MYCMDLIBS $LIBS" fi +# This makes sure pkg.m4 is available. +m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config]) + # Checking the version of Kyoto Cabinet with pkg-config -if type pkg-config >config.tmp 2>&1 -then - printf 'checking Kyoto Cabinet by pkg-config... ' - if pkg-config --atleast-version=1.2.65 kyotocabinet - then - printf 'yes\n' - else - printf 'no\n' - AC_MSG_ERROR([required version of Kyoto Cabinet was not detected]) - fi -fi +PKG_CHECK_MODULES(KYOTOCABINET, [kyotocabinet >= 1.2.65]) # Shared libraries if test "$enable_shared" != "no" && test "$enable_profile" != "yes" -- 1.7.9.5 debian/copyright0000644000000000000000000000171312043364224011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Mikio Hirabayashi Source: http://fallabs.com/kyototycoon/ Files: * Copyright: © 2009-2011 FAL Labs License: GPL-3+ Files: debian/* Copyright: © 2012 Shawn Landden License: GPL-3+ License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/kyototycoon.lintian-overrides0000644000000000000000000000053712043403315015147 0ustar # These libraries are not meant to be used except by /usr/bin/ktserver # Their API is through ktplugserv.h and ktplugdb.h, and ktserver expects them to be where # they are. kyototycoon: sharedobject-in-library-directory-missing-soname usr/lib/*/ktplugdbvoid.so kyototycoon: sharedobject-in-library-directory-missing-soname usr/lib/*/ktplugservmemc.so debian/gbp.conf0000644000000000000000000000003612043364224010604 0ustar [DEFAULT] pristine-tar = True