devel/mph - The NetBSD Packages Collection

Minimal perfect hashing functionality

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 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).

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64mph-1.2.tgz
NetBSD 10.0aarch64mph-1.2.tgz
NetBSD 10.0aarch64mph-1.2.tgz
NetBSD 10.0aarch64ebmph-1.2.tgz
NetBSD 10.0aarch64ebmph-1.2.tgz
NetBSD 10.0alphamph-1.2.tgz
NetBSD 10.0alphamph-1.2.tgz
NetBSD 10.0earmv4mph-1.2.tgz
NetBSD 10.0earmv4mph-1.2.tgz
NetBSD 10.0earmv6hfmph-1.2.tgz
NetBSD 10.0earmv6hfmph-1.2.tgz
NetBSD 10.0earmv6hfmph-1.2.tgz
NetBSD 10.0earmv7hfmph-1.2.tgz
NetBSD 10.0earmv7hfmph-1.2.tgz
NetBSD 10.0earmv7hfmph-1.2.tgz
NetBSD 10.0i386mph-1.2.tgz
NetBSD 10.0i386mph-1.2.tgz
NetBSD 10.0i386mph-1.2.tgz
NetBSD 10.0i386mph-1.2.tgz
NetBSD 10.0powerpcmph-1.2.tgz
NetBSD 10.0powerpcmph-1.2.tgz
NetBSD 10.0powerpcmph-1.2.tgz
NetBSD 10.0sh3elmph-1.2.tgz
NetBSD 10.0sh3elmph-1.2.tgz
NetBSD 10.0sparc64mph-1.2.tgz
NetBSD 10.0sparc64mph-1.2.tgz
NetBSD 10.0sparcmph-1.2.tgz
NetBSD 10.0sparcmph-1.2.tgz
NetBSD 10.0vaxmph-1.2.tgz
NetBSD 10.0vaxmph-1.2.tgz
NetBSD 10.0x86_64mph-1.2.tgz
NetBSD 10.0x86_64mph-1.2.tgz
NetBSD 10.0x86_64mph-1.2.tgz
NetBSD 10.0x86_64mph-1.2.tgz
NetBSD 9.0aarch64mph-1.2.tgz
NetBSD 9.0aarch64mph-1.2.tgz
NetBSD 9.0aarch64mph-1.2.tgz
NetBSD 9.0alphamph-1.2.tgz
NetBSD 9.0alphamph-1.2.tgz
NetBSD 9.0earmv6hfmph-1.2.tgz
NetBSD 9.0earmv6hfmph-1.2.tgz
NetBSD 9.0earmv6hfmph-1.2.tgz
NetBSD 9.0earmv7hfmph-1.2.tgz
NetBSD 9.0earmv7hfmph-1.2.tgz
NetBSD 9.0earmv7hfmph-1.2.tgz
NetBSD 9.0i386mph-1.2.tgz
NetBSD 9.0i386mph-1.2.tgz
NetBSD 9.0i386mph-1.2.tgz
NetBSD 9.0i386mph-1.2.tgz
NetBSD 9.0m68kmph-1.2.tgz
NetBSD 9.0powerpcmph-1.2.tgz
NetBSD 9.0powerpcmph-1.2.tgz
NetBSD 9.0powerpcmph-1.2.tgz
NetBSD 9.0sparc64mph-1.2.tgz
NetBSD 9.0x86_64mph-1.2.tgz
NetBSD 9.0x86_64mph-1.2.tgz
NetBSD 9.0x86_64mph-1.2.tgz
NetBSD 9.0x86_64mph-1.2.tgz
NetBSD 9.3x86_64mph-1.2.tgz
NetBSD 9.3x86_64mph-1.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.