From sgk@outpost.globcon.net  Mon Mar  3 15:19:30 2003
Return-Path: <sgk@outpost.globcon.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 30E0E37B406
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Mar 2003 15:19:30 -0800 (PST)
Received: from outpost.lukarcos.com (outpost.globcon.net [62.141.88.161])
	by mx1.FreeBSD.org (Postfix) with SMTP id DABF043FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Mar 2003 15:19:27 -0800 (PST)
	(envelope-from sgk@outpost.globcon.net)
Received: (qmail 41889 invoked by uid 911); 3 Mar 2003 23:15:30 -0000
Message-Id: <20030303231530.41888.qmail@outpost.globcon.net>
Date: 3 Mar 2003 23:15:30 -0000
From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] databases/puredb: Set of libraries for creating and reading constant databases
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48901
>Category:       ports
>Synopsis:       [NEW PORT] databases/puredb: Set of libraries for creating and reading constant databases
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 03 15:20:11 PST 2003
>Closed-Date:    Mon Mar 31 18:36:57 PST 2003
>Last-Modified:  Mon Mar 31 18:36:57 PST 2003
>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:
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/

Supercedes ports/44812 PR.
>How-To-Repeat:
>Fix:
--- puredb.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-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
XCOMMENT=	Set of libraries for creating and reading constant databases
X
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
X
XDOCS=		AUTHORS FORMAT_DESCR NEWS README
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-puredb/Makefile
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%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/FORMAT_DESCR
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
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.shar ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Mar 31 18:36:53 PST 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48901 
>Unformatted:
