BSD Ports

devel/mph 1.2 DragonFly

Minimal perfect hashing code generator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel
Package size
10.1 KiB, 34.3 KiB installed

Description

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.

In the other systems

The newest version among them is 1.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/mph1.2 newestnone known-[email protected]-
FreeBSDdevel/mph1.2 newestnone known-[email protected]-
NetBSDdevel/mph1.2 newestnone known-[email protected]-
HardenedBSDdevel/mph1.2 newestno data-[email protected]-
GhostBSDdevel/mph1.2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install mph

From DPorts:

cd /usr/dports/devel/mph && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The mph port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing