summaryrefslogtreecommitdiff
path: root/devel/mph
AgeCommit message (Collapse)AuthorFilesLines
2008-04-07Fix installation.joerg1-4/+4
2008-03-03Mechanical changes to add DESTDIR support to packages that installjlam1-5/+7
their files via a custom do-install target.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-06-16Create directories before installing files into them.jlam1-1/+3
2005-05-23Removed trailing white-space.rillig1-1/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2003-12-24s/@netbsd.org/@NetBSD.org/ in MAINTAINER.jmmv1-2/+2
2003-12-04Initial import of mph-1.2 into the NetBSD Packages Collection.agc4-0/+45
The program mph tries to generate an order preserving minimal perfect hashing (MPH) function for the set of keys, one per line, on stdin. Each key can be at most 4095 characters long (see keys.h to increase this limit), and the keys must be unique. If mph terminates, it emits a language independent binary or text representation of the MPH function on stdout. To generate a usable hash function, this output should be fed to a language dependent filter, like emitc. e.g. % mph <foo | emitc >hash.c The algorithm used by mph is probabilistic - it iterates until it finds a MPH function. For each failed iteration, it prints a (cryptic) reason on stderr. There is no no guarantee that mph will terminate. In practice this is unlikely, unless the constants specified with options -c or -m are too small (see below).