summaryrefslogtreecommitdiff
path: root/databases/gigabase
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-09-18 09:09:02 +0000
committerobache <obache@pkgsrc.org>2010-09-18 09:09:02 +0000
commit964e178ae18eb73a6a78cea9df5622693d6c183a (patch)
tree0d81946719b04826f0d0753fe71ee2fca56d1162 /databases/gigabase
parentd85e0e3cb522971b3533fde3a1cff8032189614d (diff)
downloadpkgsrc-964e178ae18eb73a6a78cea9df5622693d6c183a.tar.gz
Import gigabase-3.79 as databases/gigabase.
Based on PR#43854 by GEnnady Proskurin, remove FreeBSD-port-izm, really destdir support, and some fixes. GigaBASE: Object-Relational Database Management System GigaBASE inherits most of the features of FastDB, but uses page pool instead of direct mapping of file on virtual memory. So GigaBASE is able to handle database, which size significantly exceeds size of computer physical memory. Convenient and flexible C++ interface makes development of application for GigaBASE very easy and automatic scheme evaluation simplifies maintenance and modification of the system. GigaBASE merges best features of relational (simple data structure and non-procedural query language) and object-oriented (direct object references, user defined types and methods) databases. GigaBASE is primary oriented on application requiring fast data retrieving by means of indices and direct object references, such as Web Server databases applications. SUBSQL utility can be used for database browsing and inspection, performing online backups, database recovery, importing data to and exporting data from database. GigaBASE will perform automatic recovery after system or application crash, you should not worry about it. The only thing you can have to do manually is stopping all database application if one of them is crashed leaving database blocked.
Diffstat (limited to 'databases/gigabase')
-rw-r--r--databases/gigabase/DESCR20
-rw-r--r--databases/gigabase/Makefile25
-rw-r--r--databases/gigabase/PLIST28
-rw-r--r--databases/gigabase/distinfo7
-rw-r--r--databases/gigabase/patches/patch-aa34
-rw-r--r--databases/gigabase/patches/patch-ab15
6 files changed, 129 insertions, 0 deletions
diff --git a/databases/gigabase/DESCR b/databases/gigabase/DESCR
new file mode 100644
index 00000000000..18ed1f8f790
--- /dev/null
+++ b/databases/gigabase/DESCR
@@ -0,0 +1,20 @@
+GigaBASE: Object-Relational Database Management System
+
+GigaBASE inherits most of the features of FastDB, but uses page pool instead
+of direct mapping of file on virtual memory. So GigaBASE is able to handle
+database, which size significantly exceeds size of computer physical memory.
+Convenient and flexible C++ interface makes development of application for
+GigaBASE very easy and automatic scheme evaluation simplifies maintenance
+and modification of the system. GigaBASE merges best features of relational
+(simple data structure and non-procedural query language) and object-oriented
+(direct object references, user defined types and methods) databases.
+GigaBASE is primary oriented on application requiring fast data retrieving
+by means of indices and direct object references, such as Web Server databases
+applications.
+
+SUBSQL utility can be used for database browsing and inspection, performing
+online backups, database recovery, importing data to and exporting data from
+database. GigaBASE will perform automatic recovery after system or application
+crash, you should not worry about it. The only thing you can have to do manually
+is stopping all database application if one of them is crashed leaving database
+blocked.
diff --git a/databases/gigabase/Makefile b/databases/gigabase/Makefile
new file mode 100644
index 00000000000..61828506aab
--- /dev/null
+++ b/databases/gigabase/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/18 09:09:02 obache Exp $
+#
+
+DISTNAME= gigabase-3.79
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gigabase/}
+
+MAINTAINER= gpr@mail.ru
+HOMEPAGE= http://garret.ru/gigabase.html
+COMMENT= Object-Relational Database Management System
+#LICENSE= mit # like in the bottom of GigaBASE.htm
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/gigabase
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+PTHREAD_AUTO_VARS= yes
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/gigabase/PLIST b/databases/gigabase/PLIST
new file mode 100644
index 00000000000..c35cf90c873
--- /dev/null
+++ b/databases/gigabase/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/18 09:09:02 obache Exp $
+bin/subsql
+include/gigabase/array.h
+include/gigabase/blob.h
+include/gigabase/btree.h
+include/gigabase/class.h
+include/gigabase/cli.h
+include/gigabase/config.h
+include/gigabase/container.h
+include/gigabase/cursor.h
+include/gigabase/database.h
+include/gigabase/datetime.h
+include/gigabase/exception.h
+include/gigabase/file.h
+include/gigabase/gigabase.h
+include/gigabase/hashtab.h
+include/gigabase/pagepool.h
+include/gigabase/query.h
+include/gigabase/rectangle.h
+include/gigabase/reference.h
+include/gigabase/rtree.h
+include/gigabase/selection.h
+include/gigabase/stdtp.h
+include/gigabase/sync.h
+include/gigabase/timeseries.h
+include/gigabase/wwwapi.h
+lib/libcli_r.la
+lib/libgigabase_r.la
diff --git a/databases/gigabase/distinfo b/databases/gigabase/distinfo
new file mode 100644
index 00000000000..4f1b3e9993a
--- /dev/null
+++ b/databases/gigabase/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/18 09:09:02 obache Exp $
+
+SHA1 (gigabase-3.79.tar.gz) = 81836e153204c74e9199189f0639c659196e7c53
+RMD160 (gigabase-3.79.tar.gz) = ec8b9d78add363ccdf3fdea67bdbaec4622cb87f
+Size (gigabase-3.79.tar.gz) = 2374529 bytes
+SHA1 (patch-aa) = 90d58c4e8879194f5025adfe228f1d70330de14d
+SHA1 (patch-ab) = 5692417ac9c0fc7354135c7b53fcd06a56a2e9e7
diff --git a/databases/gigabase/patches/patch-aa b/databases/gigabase/patches/patch-aa
new file mode 100644
index 00000000000..46149bfb2b5
--- /dev/null
+++ b/databases/gigabase/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/18 09:09:02 obache Exp $
+
+install as usual manner.
+
+--- Makefile.in.orig 2009-11-19 13:05:26.000000000 +0000
++++ Makefile.in
+@@ -7,6 +7,8 @@ exec_prefix = @exec_prefix@
+ VPATH = @srcdir@
+ LIBTOOL = ./libtool
+ INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+
+ # Coment this for AIX/xlC 5.0
+ LIBEXT=la
+@@ -152,16 +154,11 @@ testleak: testleak.o $(GB_LIB)
+
+ install: subsql $(GB_LIB) $(CLI_LIB)
+ mkdir -p $(includedir)
+- cp $(INCS) $(CLI_INCS) $(includedir)
++ $(INSTALL_DATA) $(INCS) $(CLI_INCS) $(includedir)
+ mkdir -p $(libdir)
+ $(LIBTOOL) --mode=install $(INSTALL) $(GB_LIB) $(CLI_LIB) $(libdir)
+ mkdir -p $(bindir)
+- if test -x .libs/subsql ; then \
+- cp .libs/subsql $(bindir); \
+- else \
+- cp subsql $(bindir); \
+- fi
+-# strip $(bindir)/subsql
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) subsql $(bindir)
+
+ clean:
+ rm -f *.o *.lo core *~
diff --git a/databases/gigabase/patches/patch-ab b/databases/gigabase/patches/patch-ab
new file mode 100644
index 00000000000..fc069ea4c36
--- /dev/null
+++ b/databases/gigabase/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/09/18 09:09:02 obache Exp $
+
+DragonFly support.
+
+--- unisock.cpp.orig 2009-09-17 08:35:58.000000000 +0000
++++ unisock.cpp
+@@ -167,7 +167,7 @@ char* unix_socket::get_peer_name()
+ return NULL;
+ }
+ struct sockaddr_in insock;
+-#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ > 3) || defined(_AIX43) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(HPUX11) || defined(_SOCKLEN_T)
++#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ > 3) || defined(_AIX43) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(HPUX11) || defined (__DragonFly__) || defined(_SOCKLEN_T)
+ socklen_t len = sizeof(insock);
+ #elif defined(_AIX41)
+ size_t len = sizeof(insock);