2009-11-25 12:33:55 +01:00
|
|
|
# $NetBSD: Makefile,v 1.25 2009/11/25 11:33:56 obache Exp $
|
2008-10-11 14:26:24 +02:00
|
|
|
#
|
|
|
|
|
2009-07-21 13:31:23 +02:00
|
|
|
DISTNAME= tokyotyrant-1.1.33
|
2008-10-11 14:26:24 +02:00
|
|
|
CATEGORIES= databases net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/}
|
|
|
|
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
2009-11-25 12:33:55 +01:00
|
|
|
HOMEPAGE= http://1978th.net/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
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
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"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2008-10-13 07:58:31 +02:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
2008-10-11 14:26:24 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2008-10-13 07:58:31 +02:00
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
|
|
|
|
SUBST_CLASSES+= pthread
|
|
|
|
SUBST_STAGE.pthread= pre-configure
|
|
|
|
SUBST_FILES.pthread= configure
|
|
|
|
SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|'
|
|
|
|
.endif
|
2008-10-11 14:26:24 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|