summaryrefslogtreecommitdiff
path: root/databases/libdbh2
diff options
context:
space:
mode:
authormef <mef>2015-01-19 02:07:41 +0000
committermef <mef>2015-01-19 02:07:41 +0000
commit30f5bd4a72ff218ea51d8fa3bb3b108bac58064b (patch)
tree9067fc6d24198f42ddcce677ad6aba20a6841379 /databases/libdbh2
parent2b353efd1d8caa5c41dc018c69decff366245be7 (diff)
downloadpkgsrc-30f5bd4a72ff218ea51d8fa3bb3b108bac58064b.tar.gz
This is successor of databases/dbh. See
http://mail-index.netbsd.org/pkgsrc-users/2015/01/15/msg020923.html Import libdbh2-5.0.16 as databases/libdbh2. Disk based hashes is a method to create multidimensional binary trees on disk. This library permits the extension of database concept to a plethora of electronic data, such as graphic information. With the multidimensional binary tree it is possible to mathematically prove that access time to any particular record is minimized (using the concept of critical points from calculus), which provides the means to construct optimized databases for particular applications. (From: doc/html/DBH.html) Disk Based Hashtables (DBH) 64 bit ? Library to create and manage hash tables residing on disk. Associations are made between keys and values so that for a given a key the value can be found and loaded into memory quickly. Being disk based allows for large and persistent hashes. 64 bit support allows for hashtables with sizes over 4 Gigabytes on 32 bit systems. Quantified key generation allows for minimum access time on balanced multidimensional trees.
Diffstat (limited to 'databases/libdbh2')
-rw-r--r--databases/libdbh2/DESCR16
-rw-r--r--databases/libdbh2/Makefile22
-rw-r--r--databases/libdbh2/PLIST60
-rw-r--r--databases/libdbh2/buildlink3.mk12
-rw-r--r--databases/libdbh2/distinfo6
-rw-r--r--databases/libdbh2/patches/patch-aa16
6 files changed, 132 insertions, 0 deletions
diff --git a/databases/libdbh2/DESCR b/databases/libdbh2/DESCR
new file mode 100644
index 00000000000..8449ad1c9ce
--- /dev/null
+++ b/databases/libdbh2/DESCR
@@ -0,0 +1,16 @@
+Disk based hashes is a method to create multidimensional binary trees on disk.
+This library permits the extension of database concept to a plethora of
+electronic data, such as graphic information. With the multidimensional binary
+tree it is possible to mathematically prove that access time to any
+particular record is minimized (using the concept of critical points from
+calculus), which provides the means to construct optimized databases for
+particular applications.
+
+(From: doc/html/DBH.html)
+Disk Based Hashtables (DBH) 64 bit ? Library to create and manage hash
+tables residing on disk. Associations are made between keys and values
+so that for a given a key the value can be found and loaded into memory
+quickly. Being disk based allows for large and persistent hashes. 64 bit
+support allows for hashtables with sizes over 4 Gigabytes on 32 bit
+systems. Quantified key generation allows for minimum access time on
+balanced multidimensional trees.
diff --git a/databases/libdbh2/Makefile b/databases/libdbh2/Makefile
new file mode 100644
index 00000000000..df61c3b517b
--- /dev/null
+++ b/databases/libdbh2/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/01/19 02:07:41 mef Exp $
+
+DISTNAME= libdbh2-5.0.16
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dbh/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://dbh.sourceforge.net/
+COMMENT= Library to create disk based Hashtables
+LICENSE= gnu-gpl-v3
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS+= share/doc/dbh/html
+
+post-install:
+ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog \
+ ${DESTDIR}${PREFIX}/share/doc/dbh
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/libdbh2/PLIST b/databases/libdbh2/PLIST
new file mode 100644
index 00000000000..391baa17fe1
--- /dev/null
+++ b/databases/libdbh2/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2015/01/19 02:07:41 mef Exp $
+include/dbh/dbh.h
+lib/libdbh.a
+lib/libdbh.so
+lib/libdbh.so.2
+lib/libdbh.so.2.0.1
+lib/pkgconfig/dbh2.pc
+man/man3/dbh.3
+man/man3/dbh.h.3
+man/man3/dbh_close.3
+man/man3/dbh_create.3
+man/man3/dbh_destroy.3
+man/man3/dbh_erase.3
+man/man3/dbh_exit_fanout.3
+man/man3/dbh_exit_sweep.3
+man/man3/dbh_fanout.3
+man/man3/dbh_find.3
+man/man3/dbh_foreach_fanout.3
+man/man3/dbh_foreach_sweep.3
+man/man3/dbh_genkey.3
+man/man3/dbh_genkey2.3
+man/man3/dbh_load.3
+man/man3/dbh_load_address.3
+man/man3/dbh_load_child.3
+man/man3/dbh_load_parent.3
+man/man3/dbh_macros.3
+man/man3/dbh_open.3
+man/man3/dbh_open_ro.3
+man/man3/dbh_orderkey.3
+man/man3/dbh_prune.3
+man/man3/dbh_regen_fanout.3
+man/man3/dbh_regen_sweep.3
+man/man3/dbh_set_data.3
+man/man3/dbh_set_key.3
+man/man3/dbh_set_recordsize.3
+man/man3/dbh_set_size.3
+man/man3/dbh_settempdir.3
+man/man3/dbh_sweep.3
+man/man3/dbh_unerase.3
+man/man3/dbh_unprune.3
+man/man3/dbh_update.3
+man/man3/dbh_writeheader.3
+share/dbh/Makefile.am
+share/dbh/dbh.vim
+share/dbh/filesystem.c
+share/dbh/simple_hash.c
+share/doc/dbh/AUTHORS
+share/doc/dbh/COPYING
+share/doc/dbh/ChangeLog
+share/gtk-doc/html/dbh/DBH.html
+share/gtk-doc/html/dbh/calc.png
+share/gtk-doc/html/dbh/ch01.html
+share/gtk-doc/html/dbh/home.png
+share/gtk-doc/html/dbh/index.html
+share/gtk-doc/html/dbh/index.sgml
+share/gtk-doc/html/dbh/left.png
+share/gtk-doc/html/dbh/right.png
+share/gtk-doc/html/dbh/style.css
+share/gtk-doc/html/dbh/up.png
+@pkgdir share/doc/dbh/html
diff --git a/databases/libdbh2/buildlink3.mk b/databases/libdbh2/buildlink3.mk
new file mode 100644
index 00000000000..1211766445e
--- /dev/null
+++ b/databases/libdbh2/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/01/19 02:07:41 mef Exp $
+
+BUILDLINK_TREE+= libdbh2
+
+.if !defined(LIBDBH2_BUILDLINK3_MK)
+LIBDBH2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbh2+= libdbh2>=5.0.16
+BUILDLINK_PKGSRCDIR.libdbh2?= ../../databases/libdbh2
+.endif # LIBDBH2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdbh2
diff --git a/databases/libdbh2/distinfo b/databases/libdbh2/distinfo
new file mode 100644
index 00000000000..147c38a6b76
--- /dev/null
+++ b/databases/libdbh2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/01/19 02:07:41 mef Exp $
+
+SHA1 (libdbh2-5.0.16.tar.gz) = a42712a900d8eb5dcb4d0da17092e3ea1f0e04cb
+RMD160 (libdbh2-5.0.16.tar.gz) = 350b9c41cb323020bc168bceedc3b46b1c4abdf2
+Size (libdbh2-5.0.16.tar.gz) = 530740 bytes
+SHA1 (patch-aa) = 806c02e2e0acf31b454f12e477dc429ab9e19465
diff --git a/databases/libdbh2/patches/patch-aa b/databases/libdbh2/patches/patch-aa
new file mode 100644
index 00000000000..719a92c24b7
--- /dev/null
+++ b/databases/libdbh2/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2015/01/19 02:07:41 mef Exp $
+
+ERROR: [check-portability.awk] => Found test ... == ...:
+ERROR: [check-portability.awk] configure: if test "$ac_cv_lib_rt_shm_open" == yes ; then
+
+--- configure.orig 2015-01-15 23:33:54.000000000 +0900
++++ configure 2015-01-15 23:36:02.000000000 +0900
+@@ -15118,7 +15118,7 @@ _ACEOF
+
+ fi
+
+-if test "$ac_cv_lib_rt_shm_open" == yes ; then
++if test "$ac_cv_lib_rt_shm_open" = yes ; then
+ RT_LIB="-lrt"
+ fi
+