ports/149248: New port: devel/cmph C Minimal Perfect Hashing Library and code generator

Jesse Kempf jkempf at davisvision.com
Tue Aug 3 20:20:09 UTC 2010


>Number:         149248
>Category:       ports
>Synopsis:       New port: devel/cmph C Minimal Perfect Hashing Library and code generator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 03 20:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jesse Kempf
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD waffle.davisvision.com 7.2-STABLE FreeBSD 7.2-STABLE #1: Mon Nov 23 08:52:01 EST 2009     jkempf at waffle.davisvision.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
CMPH - C Minimal Perfect Hashing Library

A perfect hash function maps a static set of n keys into a set of m integer
numbers without collisions, where m is greater than or equal to n. If m is equal
to n, the function is called minimal.

Minimal perfect hash functions are widely used for memory efficient storage and
fast retrieval of items from static sets, such as words in natural languages,
reserved words in programming languages or interactive systems, universal
resource locations (URLs) in Web search engines, or item sets in data mining
techniques. Therefore, there are applications for minimal perfect hash functions
in information retrieval systems, database systems, language translation
systems, electronic commerce systems, compilers, operating systems, among
others. 

WWW:    http://cmph.sourceforge.net/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	cmph
#	cmph/pkg-descr
#	cmph/Makefile
#	cmph/distinfo
#	cmph/pkg-plist
#
echo c - cmph
mkdir -p cmph > /dev/null 2>&1
echo x - cmph/pkg-descr
sed 's/^X//' >cmph/pkg-descr << 'c8dc7291e459081fd67d8d634d59805a'
XCMPH - C Minimal Perfect Hashing Library
X
XA perfect hash function maps a static set of n keys into a set of m integer
Xnumbers without collisions, where m is greater than or equal to n. If m is equal
Xto n, the function is called minimal.
X
XMinimal perfect hash functions are widely used for memory efficient storage and
Xfast retrieval of items from static sets, such as words in natural languages,
Xreserved words in programming languages or interactive systems, universal
Xresource locations (URLs) in Web search engines, or item sets in data mining
Xtechniques. Therefore, there are applications for minimal perfect hash functions
Xin information retrieval systems, database systems, language translation
Xsystems, electronic commerce systems, compilers, operating systems, among
Xothers. 
X
XWWW:	http://cmph.sourceforge.net/
c8dc7291e459081fd67d8d634d59805a
echo x - cmph/Makefile
sed 's/^X//' >cmph/Makefile << 'eb05fbe7d9b2da0dfedb928ffeb46581'
X# New ports collection makefile for: cmph
X# Date created: 30 Jul 2010
X# Whom:			jessekempf at gmail.com
X# $FreeBSD$
X#
X
XPORTNAME= cmph
XPORTVERSION= 0.9
XCATEGORIES= devel
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= jessekempf at gmail.com
XCOMMENT= Minimal perfect hashes for C
X
XGNU_CONFIGURE= yes
X
X.include <bsd.port.mk>
eb05fbe7d9b2da0dfedb928ffeb46581
echo x - cmph/distinfo
sed 's/^X//' >cmph/distinfo << '0bc224e84ca90c02bee2fae67dffd190'
XMD5 (cmph-0.9.tar.gz) = 14c17e3058174e9333936caa8e18ed28
XSHA256 (cmph-0.9.tar.gz) = dbdd870083d57bbe69a5096d6e5b6fca0d4a2b30b32c046e8c53e068d54eb09b
XSIZE (cmph-0.9.tar.gz) = 372609
0bc224e84ca90c02bee2fae67dffd190
echo x - cmph/pkg-plist
sed 's/^X//' >cmph/pkg-plist << '0122e9a8be008c5dbfdcab314995c5a6'
Xbin/cmph
Xinclude/cmph.h
Xinclude/cmph_time.h
Xinclude/cmph_types.h
Xlib/libcmph.a
Xlib/libcmph.la
Xlib/libcmph.so
Xlib/libcmph.so.0
Xlib/pkgconfig/cmph.pc
Xman/man1/cmph.1
X at dirrm lib/pkgconfig
0122e9a8be008c5dbfdcab314995c5a6
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list