From owner-svn-ports-all@FreeBSD.ORG Thu Apr 2 23:55:12 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73AF5407; Thu, 2 Apr 2015 23:55:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5689DAA9; Thu, 2 Apr 2015 23:55:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t32NtC0B074115; Thu, 2 Apr 2015 23:55:12 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t32NtASP074106; Thu, 2 Apr 2015 23:55:10 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201504022355.t32NtASP074106@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Thu, 2 Apr 2015 23:55:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383078 - in head/devel: . mtbl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 23:55:12 -0000 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 + +# 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 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 . +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