1
0
Fork 0
frozenports/security/libxcrypt/SCHEMATIC

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="libxcrypt"
short_desc="Extended crypt library for descrypt, md5crypt, bcrypt, and others"
desc="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."
category="security"
version="4.4.36"
maintainer="ffqq@danwin1210.de"
www="https://github.com/besser82/libxcrypt"
master_site="https://github.com/besser82/libxcrypt/releases/download/v$version"
source_name="$name-$version.tar.xz"
license_logic="single" # accepted values: single, and, or
licenses=("LGPLv2.1")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version
./configure --prefix=/usr \
--disable-static \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no \
--disable-failure-tokens \
|| exit 1
make -j$(nproc)
make DESTDIR="$TAMANDUA_STAGE_DIR" install
}