Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 23:55:10 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383078 - in head/devel: . mtbl
Message-ID:  <201504022355.t32NtASP074106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Thu Apr  2 23:55:09 2015
New Revision: 383078
URL: https://svnweb.freebsd.org/changeset/ports/383078

Log:
  Add new port devel/mtbl.
  
  mtbl is a C library implementation of the Sorted String Table
  (SSTable) data structure, based on the SSTable implementation in
  the open source Google LevelDB library https://github.com/google/leveldb.
  An SSTable is a file containing an immutable mapping of keys to
  values. Keys are stored in sorted order, with an index at the end
  of the file allowing keys to be located quickly.
  
  mtbl is not a database library. It does not provide an updateable
  key-value data store, but rather exposes primitives for creating,
  searching and merging SSTable files. Unlike databases which use the
  SSTable data structure internally as part of their data store,
  management of SSTable files -- creation, merging, deletion, combining
  of search results from multiple SSTables -- is left to the discretion
  of the mtbl library user.
  
  Differential Revision:	https://reviews.freebsd.org/D2206
  Approved by:	mat (mentor)
  Sponsored by:	Farsight Security, Inc.

Added:
  head/devel/mtbl/
  head/devel/mtbl/Makefile   (contents, props changed)
  head/devel/mtbl/distinfo   (contents, props changed)
  head/devel/mtbl/pkg-descr   (contents, props changed)
  head/devel/mtbl/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Apr  2 23:43:40 2015	(r383077)
+++ head/devel/Makefile	Thu Apr  2 23:55:09 2015	(r383078)
@@ -1348,6 +1348,7 @@
     SUBDIR += msp430mcu
     SUBDIR += mspdebug
     SUBDIR += msrc0
+    SUBDIR += mtbl
     SUBDIR += nana
     SUBDIR += nant
     SUBDIR += nasm

Added: head/devel/mtbl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mtbl/Makefile	Thu Apr  2 23:55:09 2015	(r383078)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	mtbl
+PORTVERSION=	0.7.0
+CATEGORIES=	devel
+MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
+
+MAINTAINER=	truckman@FreeBSD.org
+COMMENT=	Immutable sorted string table library
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+LIB_DEPENDS=	libsnappy.so:${PORTSDIR}/archivers/snappy
+
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+USES=		gmake libtool pathfix pkgconfig
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.pre.mk>
+
+# The version of binutils in base does not understand the crc32
+# instructions used in this code on amd64.  Use gcc from ports
+# to get a more capable version of binutils.
+.if (${OPSYS} == FreeBSD && ${OSVERSION} < 900000 && ${ARCH} == amd64)
+USE_GCC=	yes
+.endif
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+.include <bsd.port.post.mk>

Added: head/devel/mtbl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mtbl/distinfo	Thu Apr  2 23:55:09 2015	(r383078)
@@ -0,0 +1,2 @@
+SHA256 (mtbl-0.7.0.tar.gz) = d235695a1393bbe2a5b08b42b0e9577edfcb7b38971ece7f6a0e07eb84e91906
+SIZE (mtbl-0.7.0.tar.gz) = 398848

Added: head/devel/mtbl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mtbl/pkg-descr	Thu Apr  2 23:55:09 2015	(r383078)
@@ -0,0 +1,16 @@
+mtbl is a C library implementation of the Sorted String Table
+(SSTable) data structure, based on the SSTable implementation in
+the open source Google LevelDB library <https://github.com/google/leveldb>.
+An SSTable is a file containing an immutable mapping of keys to
+values. Keys are stored in sorted order, with an index at the end
+of the file allowing keys to be located quickly.
+
+mtbl is not a database library. It does not provide an updateable
+key-value data store, but rather exposes primitives for creating,
+searching and merging SSTable files. Unlike databases which use the
+SSTable data structure internally as part of their data store,
+management of SSTable files -- creation, merging, deletion, combining
+of search results from multiple SSTables -- is left to the discretion
+of the mtbl library user.
+
+WWW: https://github.com/farsightsec/mtbl

Added: head/devel/mtbl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mtbl/pkg-plist	Thu Apr  2 23:55:09 2015	(r383078)
@@ -0,0 +1,23 @@
+bin/mtbl_dump
+bin/mtbl_info
+bin/mtbl_merge
+include/mtbl.h
+lib/libmtbl.a
+lib/libmtbl.so
+lib/libmtbl.so.0
+lib/libmtbl.so.0.0.0
+libdata/pkgconfig/libmtbl.pc
+man/man1/mtbl_dump.1.gz
+man/man1/mtbl_info.1.gz
+man/man1/mtbl_merge.1.gz
+man/man3/mtbl_crc32c.3.gz
+man/man3/mtbl_fileset.3.gz
+man/man3/mtbl_fixed.3.gz
+man/man3/mtbl_iter.3.gz
+man/man3/mtbl_merger.3.gz
+man/man3/mtbl_reader.3.gz
+man/man3/mtbl_sorter.3.gz
+man/man3/mtbl_source.3.gz
+man/man3/mtbl_varint.3.gz
+man/man3/mtbl_writer.3.gz
+man/man7/mtbl.7.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504022355.t32NtASP074106>