import tdb 1.0.6
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. TDB is also extremely small. from Nicholas Marriott (MAINTAINER)
This commit is contained in:
parent
08c5ad3d2f
commit
30522a429c
20
databases/tdb/Makefile
Normal file
20
databases/tdb/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
||||
|
||||
COMMENT= trivial database library
|
||||
|
||||
DISTNAME= tdb-1.0.6
|
||||
CATEGORIES= databases
|
||||
SHARED_LIBS+= tdb 1.0
|
||||
|
||||
MAINTAINER= Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tdb/}
|
||||
CONFIGURE_STYLE=autoconf
|
||||
|
||||
.include <bsd.port.mk>
|
5
databases/tdb/distinfo
Normal file
5
databases/tdb/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (tdb-1.0.6.tar.gz) = a2Q/3rSDBAENzV9nXkWLWA==
|
||||
RMD160 (tdb-1.0.6.tar.gz) = UWPK8cx2yfOmnoj3Q47NmOxeUs8=
|
||||
SHA1 (tdb-1.0.6.tar.gz) = 0YdlIvG4/6jPhEofZgXgwy04eno=
|
||||
SHA256 (tdb-1.0.6.tar.gz) = I1vU+CMhZ1d5sO0Jl1PQg1sPPlO8RYRvNy/VE1AlK7I=
|
||||
SIZE (tdb-1.0.6.tar.gz) = 139948
|
34
databases/tdb/patches/patch-Makefile_in
Normal file
34
databases/tdb/patches/patch-Makefile_in
Normal file
@ -0,0 +1,34 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
||||
--- Makefile.in.orig Tue Dec 11 04:08:49 2001
|
||||
+++ Makefile.in Thu Jun 28 12:15:24 2007
|
||||
@@ -80,8 +80,8 @@ LDADD = libtdb.la
|
||||
@BUILD_TDBTORTURE_TRUE@TDBTORTURE = tdbtorture
|
||||
@BUILD_TDBTORTURE_FALSE@TDBTORTURE =
|
||||
|
||||
-noinst_PROGRAMS = tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE)
|
||||
-bin_PROGRAMS = tdbtool tdbdump
|
||||
+noinst_PROGRAMS = tdbtool tdbdump tdbspeed tdbiterate $(TDBTEST) $(TDBTORTURE)
|
||||
+bin_PROGRAMS =
|
||||
|
||||
lib_LTLIBRARIES = libtdb.la
|
||||
|
||||
@@ -115,7 +115,7 @@ LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
libtdb_la_LIBADD =
|
||||
libtdb_la_OBJECTS = tdb.lo spinlock.lo
|
||||
-PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
||||
+PROGRAMS =
|
||||
|
||||
tdbtool_OBJECTS = tdbtool.o
|
||||
tdbtool_LDADD = $(LDADD)
|
||||
@@ -159,8 +159,8 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEX
|
||||
|
||||
TAR = tar
|
||||
GZIP_ENV = --best
|
||||
-SOURCES = $(libtdb_la_SOURCES) $(tdbtool_SOURCES) $(tdbdump_SOURCES) $(tdbspeed_SOURCES) $(tdbiterate_SOURCES) $(tdbtest_SOURCES) $(tdbtorture_SOURCES)
|
||||
-OBJECTS = $(libtdb_la_OBJECTS) $(tdbtool_OBJECTS) $(tdbdump_OBJECTS) $(tdbspeed_OBJECTS) $(tdbiterate_OBJECTS) $(tdbtest_OBJECTS) $(tdbtorture_OBJECTS)
|
||||
+SOURCES = $(libtdb_la_SOURCES)
|
||||
+OBJECTS = $(libtdb_la_OBJECTS)
|
||||
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
33
databases/tdb/patches/patch-configure_in
Normal file
33
databases/tdb/patches/patch-configure_in
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
||||
--- configure.in.orig Thu Jun 28 11:58:50 2007
|
||||
+++ configure.in Thu Jun 28 11:59:20 2007
|
||||
@@ -15,18 +15,18 @@ AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
|
||||
dnl Checks for libraries.
|
||||
-AC_CHECK_LIB(gdbm, gdbm_open,
|
||||
- [have_gdbm=true],[have_gdbm=false])
|
||||
-if test "x$have_gdbm" = "xfalse";then
|
||||
- AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.)
|
||||
-fi
|
||||
-AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false])
|
||||
-if test "x$have_dllib" = "xfalse";then
|
||||
- AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.)
|
||||
-fi
|
||||
+dnl AC_CHECK_LIB(gdbm, gdbm_open,
|
||||
+dnl [have_gdbm=true],[have_gdbm=false])
|
||||
+dnl if test "x$have_gdbm" = "xfalse";then
|
||||
+dnl AC_MSG_WARN(WARNING: tdbtest is disabled. It needs gdbm.)
|
||||
+dnl fi
|
||||
+dnl AC_CHECK_LIB(dl, dlopen,[have_dllib=true],[have_dllib=false])
|
||||
+dnl if test "x$have_dllib" = "xfalse";then
|
||||
+dnl AC_MSG_WARN(WARNING: tdbtorture is disabled. It needs libdl.)
|
||||
+dnl fi
|
||||
|
||||
-AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm)
|
||||
-AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib)
|
||||
+dnl AM_CONDITIONAL(BUILD_TDBTEST,$have_gdbm)
|
||||
+dnl AM_CONDITIONAL(BUILD_TDBTORTURE,$have_dllib)
|
||||
|
||||
AC_ARG_WITH(spinlocks, [ --with-spinlocks use spin locks instead of fcntl locks ])
|
||||
if test "x$with_spinlocks" = "xyes"; then
|
4
databases/tdb/pkg/DESCR
Normal file
4
databases/tdb/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
TDB is a Trivial Database. In concept, it is very much like GDBM, and
|
||||
BSD's DB except that it allows multiple simultaneous writers and uses
|
||||
locking internally to keep writers from trampling on each other. TDB is
|
||||
also extremely small.
|
2
databases/tdb/pkg/PFRAG.shared
Normal file
2
databases/tdb/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
||||
@lib lib/libtdb.so.${LIBtdb_VERSION}
|
16
databases/tdb/pkg/PLIST
Normal file
16
databases/tdb/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/28 21:37:26 jasper Exp $
|
||||
%%SHARED%%
|
||||
include/tdb.h
|
||||
lib/libtdb.a
|
||||
lib/libtdb.la
|
||||
@man man/man3/tdb.3
|
||||
@man man/man3/tdb_chainlock.3
|
||||
@man man/man3/tdb_close.3
|
||||
@man man/man3/tdb_delete.3
|
||||
@man man/man3/tdb_error.3
|
||||
@man man/man3/tdb_exists.3
|
||||
@man man/man3/tdb_fetch.3
|
||||
@man man/man3/tdb_firstkey.3
|
||||
@man man/man3/tdb_open.3
|
||||
@man man/man3/tdb_store.3
|
||||
@man man/man3/tdb_traverse.3
|
Loading…
Reference in New Issue
Block a user