BSD Ports

security/p5-Crypt-PasswdMD5 1.42 MidnightBSD

Perl module that provides interoperable MD5-based crypt() function

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
security, perl5

Description

apache_md5_crypt() provides a function compatible with Apache's .htpasswd files. This was contributed by Bryan Hart <[email protected]>. This function is exported by default.

The unix_md5_crypt() provides a crypt()-compatible interface to the rather new MD5-based crypt() function found in modern operating systems. It's based on the implementation found on FreeBSD 2.2.[56]-RELEASE. This function is also exported by default.

For both functions, if a salt value is not supplied, a random salt will be generated, using the function random_md5_salt(). This function is not exported by default.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDsecurity/p5-Crypt-PasswdMD51.42 behind since 2026-07-30no data-[email protected]-
FreeBSDsecurity/p5-Crypt-PasswdMD51.46 newestnone known-[email protected]2026-09-28
OpenBSDsecurity/p5-Crypt-PasswdMD51.42 behind since 2026-07-30no data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDsecurity/p5-Crypt-PasswdMD51.46 newestnone known-[email protected]2026-07-30
DragonFlysecurity/p5-Crypt-PasswdMD51.42 behind since 2026-07-30none known-[email protected]-
HardenedBSDsecurity/p5-Crypt-PasswdMD51.46 newestno data-[email protected]-
GhostBSDsecurity/p5-Crypt-PasswdMD51.42 behind since 2026-07-30no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Crypt-PasswdMD5

From mports:

cd /usr/mports/security/p5-Crypt-PasswdMD5 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Crypt-PasswdMD5>0:security/p5-Crypt-PasswdMD5

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

No options to configure.

USES
perl5 tar:tgz
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Crypt/PasswdMD5.pm
  • %%PERL5_MAN3%%/Crypt::PasswdMD5.3.gz
distinfo 1
FileSizeSHA256
Crypt-PasswdMD5-1.42.tgz14300fd396e6e7f44eeb923e93c993940b8f67a9aed56fc74aacaf038fc4053ef3b59
Master sites 1
  • CPAN