From 37657247dd490db6ad11d0858486e8deac6bded4 Mon Sep 17 00:00:00 2001 From: Gary Palmer Date: Sun, 19 Jul 1998 02:37:30 +0000 Subject: [PATCH] Import of CDB 0.55, a lightweight database package from D. J. Bernstein --- databases/cdb/Makefile | 18 ++++++++++++++++++ databases/cdb/distinfo | 1 + databases/cdb/pkg-comment | 1 + databases/cdb/pkg-descr | 22 ++++++++++++++++++++++ databases/cdb/pkg-plist | 13 +++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 databases/cdb/Makefile create mode 100644 databases/cdb/distinfo create mode 100644 databases/cdb/pkg-comment create mode 100644 databases/cdb/pkg-descr create mode 100644 databases/cdb/pkg-plist diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile new file mode 100644 index 000000000000..fd149f31463b --- /dev/null +++ b/databases/cdb/Makefile @@ -0,0 +1,18 @@ +# ports collection makefile for: Constant DataBase +# Version required: 0.55 +# Date created: 18th July 1998 +# Whom: Gary Palmer +# +# $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 diff --git a/databases/cdb/distinfo b/databases/cdb/distinfo new file mode 100644 index 000000000000..3f83d8a56b78 --- /dev/null +++ b/databases/cdb/distinfo @@ -0,0 +1 @@ +MD5 (cdb-0.55.tar.gz) = bc6f32de8df81c699d5d76431ce76e79 diff --git a/databases/cdb/pkg-comment b/databases/cdb/pkg-comment new file mode 100644 index 000000000000..17362aeb24f7 --- /dev/null +++ b/databases/cdb/pkg-comment @@ -0,0 +1 @@ +A fast lookup database library & utilities diff --git a/databases/cdb/pkg-descr b/databases/cdb/pkg-descr new file mode 100644 index 000000000000..cb85d98f4ab1 --- /dev/null +++ b/databases/cdb/pkg-descr @@ -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. diff --git a/databases/cdb/pkg-plist b/databases/cdb/pkg-plist new file mode 100644 index 000000000000..d0191975db48 --- /dev/null +++ b/databases/cdb/pkg-plist @@ -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