devel/gperf 3.3 NetBSD
GNU perfect hash function generator
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- gnu-gpl-v3
- Categories
- devel
- Package size
- 82.0 KiB, 314.7 KiB installed
Description
The GPERF program creates perfect hash functions. From the author:
While teaching a data structures course at University of California, Irvine, I developed a program called GPERF that generates perfect hash functions for sets of key words. A perfect hash function is simply:
A hash function and a data structure that allows
recognition of a key word in a set of words using
exactly 1 probe into the data structure.
Output from the GPERF program is used to recognize reserved words in the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent program.
Douglas C. Schmidt
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/gperf | 3.3 |
| FreeBSD | devel/gperf | 3.3 |
| OpenBSD | devel/gperf | 3.1p0 |
| DragonFly | devel/gperf | 3.1_1 |
| MidnightBSD | devel/gperf | 3.3 |
| HardenedBSD | devel/gperf | 3.3 |
| GhostBSD | devel/gperf | 3.3 |
Install
Binary package:
pkgin install gperf
From pkgsrc:
cd /usr/pkgsrc/devel/gperf && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 3.3 |
| NetBSD 10.1 aarch64 | 3.3 |
| SmartOS / illumos x86_64 | 3.3 |
| macOS 15 arm64 | 3.3 |