summaryrefslogtreecommitdiff
path: root/databases/tinycdb/patches
diff options
context:
space:
mode:
authorschmonz <schmonz>2006-01-07 06:47:10 +0000
committerschmonz <schmonz>2006-01-07 06:47:10 +0000
commit299ea7c45c30e5b56f62bb726ec9a134862f88b1 (patch)
treed2213635d1b718847f3daa525a98dab43599e51d /databases/tinycdb/patches
parent168f3efa94bb415a33a913f5bb7e5c7dfd1ed659 (diff)
downloadpkgsrc-299ea7c45c30e5b56f62bb726ec9a134862f88b1.tar.gz
Initial import of tinycdb-0.75, a very fast and simple package for
creating and reading constant data bases, a data structure introduced by Dan J. Bernstein in his cdb package. It may be used to speed up searches in a sequence of (key,value) pairs with very big number of records. Example usage is indexing a big list of users - where a search will require linear reading of a large /etc/passwd file, and for many other tasks. It's usage/API is similar to ones found in BerkeleyDB, gdbm and traditional *nix dbm/ndbm libraries, and is compatible in great extent to cdb-0.75 package by Dan Bernstein. CDB is a constant database, that is, it cannot be updated at a runtime, only rebuilt. Rebuilding is atomic operation and is very fast - much faster than of many other similar packages. Once created, CDB may be queried, and a query takes very little time to complete.
Diffstat (limited to 'databases/tinycdb/patches')
-rw-r--r--databases/tinycdb/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/tinycdb/patches/patch-aa b/databases/tinycdb/patches/patch-aa
new file mode 100644
index 00000000000..178b43e4cb2
--- /dev/null
+++ b/databases/tinycdb/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/07 06:47:10 schmonz Exp $
+
+--- Makefile.orig 2005-08-23 12:22:03.000000000 -0400
++++ Makefile
+@@ -6,14 +6,14 @@
+
+ VERSION = 0.75
+
+-prefix=/usr/local
++prefix=@PREFIX@
+ exec_prefix=$(prefix)
+ bindir=$(exec_prefix)/bin
+ libdir=$(exec_prefix)/lib
+ syslibdir=$(libdir)
+-sysconfdir=/etc
++sysconfdir=@PKG_SYSCONFDIR@
+ includedir=$(prefix)/include
+-mandir=$(prefix)/man
++mandir=$(prefix)/@PKGMANDIR@
+ DESTDIR=
+
+ CC = cc