BSD Ports

security/mhash 0.9.9nb15 NetBSD

Hash algorithms library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9a695aacfe
Categories
security, devel
Package size
101.4 KiB, 442.9 KiB installed

Description

Mhash:

Mhash is an open source (under GNU Lesser GPL) library which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures. The HMAC support implements the basics for message authentication, following RFC 2104. In the later versions some key generation algorithms, which use hash algorithms, have been added. The manpage for mhash is mhash.3.html. At the time of writing this, the library supports the algorithms: SHA1, GOST, HAVAL, MD5, RIPEMD160, TIGER, and CRC32 checksums.

In the other systems

SystemPortVersion
NetBSDsecurity/mhash0.9.9nb15
FreeBSDsecurity/mhash0.9.9.9_6
OpenBSDsecurity/mhash0.9.9.9p2
DragonFlysecurity/mhash0.9.9.9_6
MidnightBSDsecurity/mhash0.9.9.9_6
HardenedBSDsecurity/mhash0.9.9.9_6
GhostBSDsecurity/mhash0.9.9.9_6

Install

Binary package:

pkgin install mhash

From pkgsrc:

cd /usr/pkgsrc/security/mhash && 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.

RepositoryVersion
NetBSD 10.1 x86_640.9.9nb15
NetBSD 10.1 aarch640.9.9nb14
SmartOS / illumos x86_640.9.9nb15
macOS 15 arm640.9.9nb15

Dependencies

Commit history 3

DateCommitCreditsLog message
9a695aacfe tnn mhash: needs older autoconf
6a51d31586 hubertf Fix building on macOS:
In C23 an empty parameter list means "(void)" rather than "unspecified arguments", so the unprototyped declarations below conflict with the definitions in keygen.c. Use the full prototypes (only!) in the C23 case. Bump version to nb15.
875dbc2057 wiz mk: switch the default for PATCH_DIST_STRIP from -p0 to -p1
adapt packages that didn't set PATCH_DIST_STRIP to use -p0, and remove the -p1 lines