BSD Ports

databases/leveldb 1.23 MidnightBSD

Fast and lightweight key/value database library by Google

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
databases

Description

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

Features:

  • Keys and values are arbitrary byte arrays.
  • Data is stored sorted by key.
  • Callers can provide a custom comparison function to override the sort order.
  • The basic operations are Put(key,value), Get(key), Delete(key).
  • Multiple changes can be made in one atomic batch.
  • Users can create a transient snapshot to get a consistent view of data.
  • Forward and backward iteration is supported over the data.
  • Data is automatically compressed using the Snappy compression library.
  • External activity (file system operations etc.) is relayed through a virtual interface so users can customize the operating system interactions.
  • Detailed documentation about how to use the library is included with the source code.

In the other systems

SystemPortVersion
MidnightBSDdatabases/leveldb1.23
FreeBSDdatabases/leveldb1.23_1
OpenBSDdatabases/leveldb1.23p0
NetBSDdatabases/leveldb1.23
DragonFlydatabases/leveldb1.23_1
HardenedBSDdatabases/leveldb1.23_1
GhostBSDdatabases/leveldb1.23_1

Install

Binary package:

mport install leveldb

From mports:

cd /usr/mports/databases/leveldb && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	leveldb>0:databases/leveldb
LIB_DEPENDS=	libleveldb.so:databases/leveldb

Dependencies

Configuration

Options name: databases_leveldb

OptionDefaultDescription
GPERFTOOLSoff
SNAPPYon
USES
cmake compiler:c++11-lang localbase
Service scripts
none

Files

pkg-plist 24
  • include/leveldb/c.h
  • include/leveldb/cache.h
  • include/leveldb/comparator.h
  • include/leveldb/db.h
  • include/leveldb/dumpfile.h
  • include/leveldb/env.h
  • include/leveldb/export.h
  • include/leveldb/filter_policy.h
  • include/leveldb/iterator.h
  • include/leveldb/options.h
  • include/leveldb/slice.h
  • include/leveldb/status.h
  • include/leveldb/table.h
  • include/leveldb/table_builder.h
  • include/leveldb/write_batch.h
  • lib/cmake/leveldb/leveldbConfig.cmake
  • lib/cmake/leveldb/leveldbConfigVersion.cmake
  • lib/cmake/leveldb/leveldbTargets-.cmake
  • lib/cmake/leveldb/leveldbTargets.cmake
  • lib/libleveldb.a
  • lib/libleveldb.so
  • lib/libleveldb.so.
  • lib/libleveldb.so..
  • share/leveldb/build_config.mk
distinfo 1
FileSizeSHA256
google-leveldb-1.23_GH0.tar.gz2429259a37f8a6174f09bd622bc723b55881dc541cd50747cbd08831c2a82d620f6d76