2014-03-13 12:08:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2014/03/13 11:08:50 jperkin Exp $
|
2008-10-11 14:26:24 +02:00
|
|
|
#
|
|
|
|
|
2010-08-06 06:39:22 +02:00
|
|
|
DISTNAME= tokyotyrant-1.1.41
|
2013-10-30 07:49:53 +01:00
|
|
|
PKGREVISION= 2
|
2008-10-11 14:26:24 +02:00
|
|
|
CATEGORIES= databases net
|
Update tokyotyrant to 1.1.39.
2009-12-07 Mikio Hirabayashi <hirarin@gmail.com>
* ttutil.c (ttservstart): error handler for the accept call was added.
* ttserver.c (proc): the system connection limit is now reset.
- Release: 1.1.39
2009-11-05 Mikio Hirabayashi <hirarin@gmail.com>
* ttserver.c (do_mc_append, do_mc_prepend): new functions.
- Release: 1.1.38
2009-10-20 Mikio Hirabayashi <hirarin@gmail.com>
* ttserver.c (do_stat): "fatal" attribute was added.
* ttutil.c (ttwaitsock): new function.
* ttutil.c (ttopensock, ttsocksend, ttsockgetc): "errno" is now copied just in case.
* tcrdb.c (tcrdbparasearchworker): a bug of race condition was fixed.
- Release: 1.1.37
2009-10-06 Mikio Hirabayashi <hirarin@gmail.com>
* scrext.c (serv_strstr): new function.
* ttserver.c (main, proc): "-mul" option was added.
- Release: 1.1.36
2009-09-18 Mikio Hirabayashi <hirarin@gmail.com>
* tculog.c (tculogadbputshl, tculogadbputshlproc): new functions.
* scrext.c (iterrec): a bug related to handling the return value was fixed.
* ttserver.c (do_http_post): "tcadbmisc" is now supported.
* ttserver.c (do_stat, do_mc_stats): counts of command execution are now output.
* tcrdb.c (tcrdbparasearch, tcrdbparasearchworker): new functions.
- Release: 1.1.35
2009-08-04 Mikio Hirabayashi <hirarin@gmail.com>
* tcrdb.c (tcrdbput, tcrdbout, tcrdbget): reconnect mechanism was enhanced.
* tcrdb.c (tcrdbreconnect): delay mecahism was added.
* tculog.c (tculrdnew): a bug related to timestamp detection was fixed.
* tcrmgr.c (runimporttsv, procimporttsv): "-sep" option was added.
* ttserver.c (do_log): a bug of buffer overrun was fixed.
- Release: 1.1.34
2010-01-17 03:49:05 +01:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2008-10-11 14:26:24 +02:00
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
2010-08-06 06:39:22 +02:00
|
|
|
HOMEPAGE= http://fallabs.com/tokyotyrant/
|
2008-10-11 14:26:24 +02:00
|
|
|
COMMENT= Network interface of Tokyo Cabinet
|
Update tokyotyrant to 1.1.24.
Changes:
2009-04-25 Mikio Hirabayashi <mikio@users.sourceforge.net>
* ttutil.c (ttbreakservexpr): new function.
* tcrdb.c (tcrdbopen2, tcrdbsetmst2, tcrdbtune): new functions.
* tcrdb.c (tcrdbsetecode, tcrdblockmethod, tcrdbunlockmethod): new functions.
* ttserver.c (proc): dynamic linking for the skeleton database was added.
* ttskelmock.c, ttskelproxy.c: new files.
- Release: 1.1.24
2009-04-07 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_eval, serv_split): new functions.
* ttserver.c (do_repl): efficiency on dual-master replication was improved.
* ttserver.c (do_optimize): new function.
* ttserver.c (do_log): message format was modified.
* tcrdb.c (tcrdboptimize): new function.
* tcrdb.c (tcrdbvanish, tcrdbcopy, tcrdbrestore): each magic number was drifted.
* tcrdb.c (tcrdbrestore, tcrdbsetmst): an argument for options was added.
* tculog.c (tculogadbredo): the flag of consistency checking was separated.
- Release: 1.1.23
2009-04-06 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_mapreduce): the parameter for the target keys became an option.
- Release: 1.1.22
2009-04-06 Mikio Hirabayashi <mikio@users.sourceforge.net>
* scrext.c (serv_mapreduce): the parameter for the session ID was abolished.
- Release: 1.1.21
2009-04-01 Mikio Hirabayashi <mikio@users.sourceforge.net>
* configure.in: a bug related to support for traditional shells was fixed.
* scrext.c (serv_stashputkeep, serv_stashputcat): new functions.
* scrext.c (serv_mapreduce, serv_mapreducemapemit): new functions.
* ttserver.c (do_put, do_out, do_get): parameter validation was enhanced.
- Release: 1.1.20
2009-03-14 Mikio Hirabayashi <mikio@users.sourceforge.net>
* tcrdb.c (tcrdbqrysearchget): the option for no update log was added.
* tcrdb.c (tcrdbqrysearchcount): new function.
* tculog.c (tcreplread): timeout mechanism was added.
* ttserver.c (do_repl): performance was improved.
- Release: 1.1.19
2009-05-07 13:03:50 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
|
2008-10-11 14:26:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-03-13 12:08:49 +01:00
|
|
|
USE_GCC_RUNTIME=yes
|
2008-10-11 14:26:24 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= tokyotyrant.pc.in
|
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
2008-10-13 07:58:31 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2009-07-07 13:41:23 +02:00
|
|
|
BUILDLINK_API_DEPENDS.tokyocabinet+= tokyocabinet>=1.4.29
|
2008-10-11 14:26:24 +02:00
|
|
|
.include "../../databases/tokyocabinet/buildlink3.mk"
|
2009-12-19 13:56:45 +01:00
|
|
|
CONFIGURE_ARGS+= --with-tc=${BUILDLINK_PREFIX.tokyocabinet}
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mbzip2)
|
|
|
|
CONFIGURE_ARGS+= --with-bzip=${BUILDLINK_PREFIX.bzip2}
|
|
|
|
.endif
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.tokyocabinet:Mzlib)
|
|
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
|
|
.endif
|
2008-10-13 07:58:31 +02:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
2010-08-06 06:39:22 +02:00
|
|
|
PTHREAD_OPTS+= require
|
2008-10-11 14:26:24 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2008-10-13 07:58:31 +02:00
|
|
|
SUBST_CLASSES+= pthread
|
|
|
|
SUBST_STAGE.pthread= pre-configure
|
|
|
|
SUBST_FILES.pthread= configure
|
|
|
|
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
|
2008-10-11 14:26:24 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|