BSD Ports

databases/leveldb 1.23_1 FreeBSD

Fast and lightweight key/value database library by Google

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
databases
Package size
180.4 KiB, 914.3 KiB installed

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
FreeBSDdatabases/leveldb1.23_1
OpenBSDdatabases/leveldb1.23p0
NetBSDdatabases/leveldb1.23
DragonFlydatabases/leveldb1.23_1
MidnightBSDdatabases/leveldb1.23

Install

Binary package:

pkg install leveldb

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.23_11.23_11.23_11.23_11.23_1
FreeBSD:14:quarterly1.23_11.23_1n/a1.23_11.23_1
FreeBSD:15:latest1.23_11.23_1n/a1.23_11.23_1
FreeBSD:15:quarterly1.23_11.23_1n/an/an/a
FreeBSD:16:latest1.23_11.23_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 1

Configuration

Options name: databases_leveldb

OptionDefaultDescription
GPERFTOOLSoffGoogle gperftools support
SNAPPYonSnappy compression library support
USES
cmake:testing compiler:c++11-lang localbase:ldflags
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.1
  • lib/libleveldb.so..0
  • share/leveldb/build_config.mk
distinfo 1
FileSizeSHA256
google-leveldb-1.23_GH0.tar.gz2429259a37f8a6174f09bd622bc723b55881dc541cd50747cbd08831c2a82d620f6d76

Commit history 0

No commits in the history this site was built from.