ports/91344: New port: databases/pbl (hash,isam library)
Johan van Selst
johans at stack.nl
Thu Jan 5 11:00:16 UTC 2006
>Number: 91344
>Category: ports
>Synopsis: New port: databases/pbl (hash,isam library)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 05 11:00:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Johan van Selst
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #8: Mon Dec 5 13:04:53 CET 2005 johans at mud.stack.nl:/usr/obj/usr/src/sys/mud i386
>Description:
PBL is a library that offers fast hash file/isam operations.
It is the prefered database format for mail/spamprobe
With this library installed, spamprobe (and others?)
can be configured using --with-pbl=/usr/local
>How-To-Repeat:
>Fix:
# 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:
#
# pbl
# pbl/Makefile
# pbl/distinfo
# pbl/pkg-descr
#
echo c - pbl
mkdir -p pbl > /dev/null 2>&1
echo x - pbl/Makefile
sed 's/^X//' >pbl/Makefile << 'END-of-pbl/Makefile'
X# New ports collection makefile for: pbl
X# Date created: 3. Jan 2006
X# Whom: johans
X#
X# $FreeBSD$
X
XPORTNAME= pbl
XPORTVERSION= 1.03
XCATEGORIES= databases
XMASTER_SITES= http://mission.base.com/peter/source/ \
X ftp://ftp.stack.nl/pub/users/johans/pbl/
XDISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}
X
XMAINTAINER= johans at stack.nl
XCOMMENT= "Peter Graf's Program Base Library"
X
XMAKEFILE= makefile
XUSE_REINPLACE= yes
XPLIST_FILES= lib/libpbl.a include/pbl.h bin/pblkfblockprint
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= *
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's/malloc\.h/stdlib.h/' ${WRKSRC}/*.c
X @${REINPLACE_CMD} -e 's/sys\/dir\.h/dirent.h/' ${WRKSRC}/pbl.h
X
Xdo-install:
X ${INSTALL_DATA} ${WRKSRC}/libpbl.a ${PREFIX}/lib
X ${INSTALL_DATA} ${WRKSRC}/pbl.h ${PREFIX}/include
X ${INSTALL_PROGRAM} ${WRKSRC}/pblkfblockprint ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-pbl/Makefile
echo x - pbl/distinfo
sed 's/^X//' >pbl/distinfo << 'END-of-pbl/distinfo'
XMD5 (pbl_1_03.tar.gz) = 452b1f802dfb2da7ceaaf647eb8564c8
XSHA256 (pbl_1_03.tar.gz) = dc14cdf46cacf3d634c49c1487dde8e4469269f87eaa9e6205f6ada2f6cee87e
XSIZE (pbl_1_03.tar.gz) = 114672
END-of-pbl/distinfo
echo x - pbl/pkg-descr
sed 's/^X//' >pbl/pkg-descr << 'END-of-pbl/pkg-descr'
XPeter Graf's Program Base Library
X
XPBL is a GPL library of functions that can be used in a C or C++ project.
X
XThe code of the PBL library includes:
X- PBL BASE - some base functions (pbl_*)
X- PBL HASH - a memory hash table implementation (pblHt*)
X- PBL KEYFILE - a key file implementation (pblKf*)
X- PBL ISAM - an ISAM file implementation (pblIsam*)
X
XThe spamprobe project uses PBL databases
END-of-pbl/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list