BSD Ports

security/libxcrypt 4.4.36 MidnightBSD

Extended crypt library for descrypt, md5crypt, bcrypt, and others

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1
Categories
security

Description

libxcrypt is a modern library for one-way hashing of passwords. It supports a wide variety of both modern and historical hashing methods: yescrypt, gost-yescrypt, scrypt, bcrypt, sha512crypt, sha256crypt, md5crypt, SunMD5, sha1crypt, NT, bsdicrypt, bigcrypt, and descrypt. It provides the traditional Unix crypt and crypt_r interfaces, as well as a set of extended interfaces pioneered by Openwall Linux, crypt_rn, crypt_ra, crypt_gensalt, crypt_gensalt_rn, and crypt_gensalt_ra.

libxcrypt is intended to be used by login(1), passwd(1), and other similar programs; that is, to hash a small number of passwords during an interactive authentication dialogue with a human. It is not suitable for use in bulk password-cracking applications, or in any other situation where speed is more important than careful handling of sensitive data. However, it is intended to be fast and lightweight enough for use in servers that must field thousands of login attempts per minute.

In the other systems

SystemPortVersion
MidnightBSDsecurity/libxcrypt4.4.36
FreeBSDsecurity/libxcrypt4.5.2_1
DragonFlysecurity/libxcrypt4.4.38

Install

Binary package:

mport install libxcrypt

From mports:

cd /usr/mports/security/libxcrypt && make install clean

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

RUN_DEPENDS=	libxcrypt>0:security/libxcrypt
LIB_DEPENDS=	libcrypt.so:security/libxcrypt

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
autoreconf gmake libtool pkgconfig
Service scripts
none

Files

Manual pages 10
  • crypt(3)
  • crypt(5)
  • crypt_checksalt(3)
  • crypt_gensalt(3)
  • crypt_gensalt_ra(3)
  • crypt_gensalt_rn(3)
  • crypt_preferred_method(3)
  • crypt_r(3)
  • crypt_ra(3)
  • crypt_rn(3)
pkg-plist 16
  • include/crypt.h
  • lib/libcrypt.so
  • lib/libcrypt.so.2
  • lib/libcrypt.so.2.0.0
  • libdata/pkgconfig/libcrypt.pc
  • libdata/pkgconfig/libxcrypt.pc
  • share/man/man3/crypt.3.gz
  • share/man/man3/crypt_checksalt.3.gz
  • share/man/man3/crypt_gensalt.3.gz
  • share/man/man3/crypt_gensalt_ra.3.gz
  • share/man/man3/crypt_gensalt_rn.3.gz
  • share/man/man3/crypt_preferred_method.3.gz
  • share/man/man3/crypt_r.3.gz
  • share/man/man3/crypt_ra.3.gz
  • share/man/man3/crypt_rn.3.gz
  • share/man/man5/crypt.5.gz
distinfo 1
FileSizeSHA256
besser82-libxcrypt-v4.4.36_GH0.tar.gz528595b979838d5f1f238869d467484793b72b8bca64c4eae696fdbba0a9e0b6c28453