version = "4.4.38" revision = 1 description = ( "Extended crypt library (libcrypt: descrypt, md5crypt, sha*crypt, yescrypt)" ) license = "LGPL-2.1-or-later" url = "https://github.com/besser82/libxcrypt" source = tarball( url=f"https://github.com/besser82/libxcrypt/releases/download/v{version}/libxcrypt-{version}.tar.xz", sha256="80304b9c306ea799327f01d9a7549bdb28317789182631f1b54f4511b4206dd6", ) host_deps = ["binutils", "gcc", "pkgconf"] deps = [profile["libc"]] # glibc no longer provides libcrypt/crypt(); libxcrypt is the replacement. # Build the glibc-compatible libcrypt.so.1 with all hash methods. configure, build, install = autotools( configure_args=[ "--enable-obsolete-api=glibc", "--enable-hashes=all", "--disable-failure-tokens", ], )