pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/libdbh2 This is successor of databases/dbh. See



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddc8bd02665f
branches:  trunk
changeset: 644898:ddc8bd02665f
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Jan 19 02:07:41 2015 +0000

description:
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:

 databases/libdbh2/DESCR            |  16 ++++++++++
 databases/libdbh2/Makefile         |  22 +++++++++++++
 databases/libdbh2/PLIST            |  60 ++++++++++++++++++++++++++++++++++++++
 databases/libdbh2/buildlink3.mk    |  12 +++++++
 databases/libdbh2/distinfo         |   6 +++
 databases/libdbh2/patches/patch-aa |  16 ++++++++++
 6 files changed, 132 insertions(+), 0 deletions(-)

diffs (156 lines):

diff -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/DESCR   Mon Jan 19 02:07:41 2015 +0000
@@ -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 -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/Makefile        Mon Jan 19 02:07:41 2015 +0000
@@ -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@localhost
+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 -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/PLIST   Mon Jan 19 02:07:41 2015 +0000
@@ -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 -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/buildlink3.mk   Mon Jan 19 02:07:41 2015 +0000
@@ -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 -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/distinfo        Mon Jan 19 02:07:41 2015 +0000
@@ -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 -r 4a2d93dc8eab -r ddc8bd02665f databases/libdbh2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libdbh2/patches/patch-aa        Mon Jan 19 02:07:41 2015 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index