############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = libxcrypt version = 4.4.36 release = 1 groups = System/Libraries url = https://github.com/besser82/libxcrypt/ license = LGPLv2.1 summary = Extended crypt library for descrypt, md5crypt, bcrypt, and others 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. end source_dl = https://github.com/besser82/libxcrypt/releases/download/v%{version}/ sources = %{thisapp}.tar.xz build requires perl perl(FindBin) perl(open) end configure_options += \ --disable-static \ --enable-hashes=strong,glibc \ --disable-obsolete-api \ --disable-failure-tokens test LD_LIBRARY_PATH="%{DIR_APP}/.libs" make check end end packages package %{name} package %{name}-devel template DEVEL end package %{name}-debuginfo template DEBUGINFO end end