Date: 1 Nov 2002 18:36:39 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/44812: [NEW PORT] databases/puredb, libraries to create/read constant databases Message-ID: <20021101183639.81041.qmail@outpost.globcon.net>
next in thread | raw e-mail | index | archive | help
>Number: 44812 >Category: ports >Synopsis: [NEW PORT] databases/puredb, libraries to create/read constant databases >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 01 10:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386 >Description: From pkg-descr: PureDB is a portable and tiny set of libraries for creating and reading constant databases. It manages data files that contains text or binary key/data pairs of arbitrary sizes. Lookups are very fast (normally only one disk access to match a hash value), overhead is low (a database is 1028 bytes plus only 16 extra bytes per record), multiple concurrent read access are supported, and databases can be up to 4 Gb long, and they are portable across architectures. Author: Frank DENIS <j@4u.net>. WWW: http://www.pureftpd.org/puredb/ >How-To-Repeat: >Fix: Note: this port installs useless .la files and I do not know how to disable that. --- puredb-2.1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # puredb # puredb/distinfo # puredb/Makefile # puredb/pkg-comment # puredb/pkg-descr # puredb/pkg-plist # puredb/files # puredb/files/patch-example_read.c # echo c - puredb mkdir -p puredb > /dev/null 2>&1 echo x - puredb/distinfo sed 's/^X//' >puredb/distinfo << 'END-of-puredb/distinfo' XMD5 (pure-db-2.1.tar.gz) = 2fdf5771c169877218b1f83852f8cad4 END-of-puredb/distinfo echo x - puredb/Makefile sed 's/^X//' >puredb/Makefile << 'END-of-puredb/Makefile' X# New ports collection makefile for: puredb X# Date created: 01 Nov 2002 X# Whom: Sergei Kolobov <sergei@kolobov.com> X# X# $FreeBSD$ X# X XPORTNAME= puredb XPORTVERSION= 2.1 XCATEGORIES= databases XMASTER_SITES= http://www.pureftpd.org/puredb/ XDISTNAME= pure-db-${PORTVERSION} X XMAINTAINER= sergei@kolobov.com X XUSE_LIBTOOL= yes XINSTALLS_SHLIB= yes X XDOCS= FORMAT_DESCR NEWS README X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-puredb/Makefile echo x - puredb/pkg-comment sed 's/^X//' >puredb/pkg-comment << 'END-of-puredb/pkg-comment' XSet of libraries for creating and reading constant databases END-of-puredb/pkg-comment echo x - puredb/pkg-descr sed 's/^X//' >puredb/pkg-descr << 'END-of-puredb/pkg-descr' XPureDB is a portable and tiny set of libraries for creating and reading Xconstant databases. It manages data files that contains text or binary Xkey/data pairs of arbitrary sizes. Lookups are very fast (normally only one Xdisk access to match a hash value), overhead is low (a database is 1028 Xbytes plus only 16 extra bytes per record), multiple concurrent read access Xare supported, and databases can be up to 4 Gb long, and they are portable Xacross architectures. X XAuthor: Frank DENIS <j@4u.net>. XWWW: http://www.pureftpd.org/puredb/ END-of-puredb/pkg-descr echo x - puredb/pkg-plist sed 's/^X//' >puredb/pkg-plist << 'END-of-puredb/pkg-plist' Xbin/example_read Xbin/example_write Xinclude/puredb_read.h Xinclude/puredb_write.h Xlib/libpuredb_read.so.0 Xlib/libpuredb_read.so Xlib/libpuredb_read.la Xlib/libpuredb_read.a Xlib/libpuredb_write.so.0 Xlib/libpuredb_write.so Xlib/libpuredb_write.la Xlib/libpuredb_write.a X%%PORTDOCS%%share/doc/puredb/FORMAT_DESCR X%%PORTDOCS%%share/doc/puredb/NEWS X%%PORTDOCS%%share/doc/puredb/README X%%PORTDOCS%%@dirrm share/doc/puredb END-of-puredb/pkg-plist echo c - puredb/files mkdir -p puredb/files > /dev/null 2>&1 echo x - puredb/files/patch-example_read.c sed 's/^X//' >puredb/files/patch-example_read.c << 'END-of-puredb/files/patch-example_read.c' X--- src/example_read.c.orig Fri Nov 1 23:21:19 2002 X+++ src/example_read.c Fri Nov 1 23:21:47 2002 X@@ -3,6 +3,9 @@ X X #include <stdio.h> X #include <stdlib.h> X+#ifdef __FreeBSD__ X+#include <sys/types.h> X+#endif X #include <puredb_read.h> X X int main(void) END-of-puredb/files/patch-example_read.c exit --- puredb-2.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021101183639.81041.qmail>