1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = compat-libxcrypt
9 thisapp = libxcrypt-%{version}
11 groups = System/Libraries
12 url = https://github.com/besser82/libxcrypt/
14 summary = Extended crypt library for descrypt, md5crypt, bcrypt, and others
17 This package provides a version of libxcrypt which is compatible with
18 the old glibc interface.
21 source_dl = https://github.com/besser82/libxcrypt/releases/download/v%{version}/
22 sources = %{thisapp}.tar.xz
29 configure_options += \
31 --enable-hashes=strong,glibc \
32 --enable-obsolete-api=glibc \
33 --disable-failure-tokens
36 LD_LIBRARY_PATH="%{DIR_APP}/.libs" make check
40 mkdir -pv %{BUILDROOT}%{libdir}
41 install -v -m 755 .libs/libcrypt.so.1.1.0 %{BUILDROOT}%{libdir}/libcrypt.so.1.1.0
42 ln -svf libcrypt.so.1.1.0 %{BUILDROOT}%{libdir}/libcrypt.so.1
49 package %{name}-debuginfo