Import of CDB 0.55, a lightweight database package from D. J. Bernstein

This commit is contained in:
Gary Palmer 1998-07-19 02:37:30 +00:00
parent 9908e919aa
commit 37657247dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11955
5 changed files with 55 additions and 0 deletions

18
databases/cdb/Makefile Normal file
View file

@ -0,0 +1,18 @@
# ports collection makefile for: Constant DataBase
# Version required: 0.55
# Date created: 18th July 1998
# Whom: Gary Palmer <gpalmer@freebsd.org>
#
# $Id$
#
DISTNAME= cdb-0.55
CATEGORIES= databases
MASTER_SITES= ftp://koobera.math.uic.edu/www/software/
MAINTAINER= ports@FreeBSD.ORG
NO_PACKAGE= "Very unclear copyright information"
ALL_TARGET= it
.include <bsd.port.mk>

1
databases/cdb/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (cdb-0.55.tar.gz) = bc6f32de8df81c699d5d76431ce76e79

View file

@ -0,0 +1 @@
A fast lookup database library & utilities

22
databases/cdb/pkg-descr Normal file
View file

@ -0,0 +1,22 @@
cdb is a fast, reliable, lightweight package for creating and reading
constant databases. Its database structure provides several features:
* Fast lookups: A successful lookup in a large database normally takes
just two disk accesses. An unsuccessful lookup takes only one.
* Low overhead: A database uses 2048 bytes, plus 24 bytes per record,
plus the space for keys and data.
* No random limits: cdb can handle any database up to 4 gigabytes. There
are no other restrictions; records don't even have to fit into memory.
Databases are stored in a machine-independent format.
* Fast atomic database replacement: cdbmake can rewrite an entire
database two orders of magnitude faster than other hashing packages.
* Fast database dumps: cdbdump prints the contents of a database in
cdbmake-compatible format.
cdb is designed to be used in mission-critical applications like e-mail.
Database replacement is safe against system crashes. Readers don't have
to pause during a rewrite.

13
databases/cdb/pkg-plist Normal file
View file

@ -0,0 +1,13 @@
bin/cdbget
bin/cdbmake
bin/cdbdump
bin/cdbstats
bin/cdbtest
lib/libcdb.a
lib/libcdbmake.a
man/man1/cdbget.1.gz
man/man1/cdbmake.1.gz
man/man1/cdbdump.1.gz
man/man1/cdbstats.1.gz
man/man1/cdbtest.1.gz
man/man3/cdb.3.gz