2018-10-01 17:27:08 +00:00
|
|
|
|
# Build with new api?
|
2019-01-14 17:50:02 +00:00
|
|
|
|
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 9
|
|
|
|
|
%bcond_without new_api
|
|
|
|
|
%else
|
2019-01-14 18:29:12 +00:00
|
|
|
|
%bcond_with new_api
|
2019-01-14 17:50:02 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
2019-01-14 18:29:09 +00:00
|
|
|
|
# Build the compat package?
|
2019-03-04 09:51:31 +00:00
|
|
|
|
%if !(0%{?fedora} >= 999 || 0%{?rhel} >= 99) && %{with new_api}
|
2019-01-14 18:29:09 +00:00
|
|
|
|
%bcond_without compat_pkg
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%else
|
|
|
|
|
%bcond_with compat_pkg
|
2019-01-14 18:29:09 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
2019-01-24 20:11:54 +00:00
|
|
|
|
# Replace obsolete functions with a stub?
|
2019-01-30 09:55:59 +00:00
|
|
|
|
%if (0%{?fedora} >= 30 || 0%{?rhel} >= 9) && %{with compat_pkg}
|
2019-01-24 20:11:54 +00:00
|
|
|
|
%bcond_without enosys_stubs
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with enosys_stubs
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
2019-01-30 11:39:14 +00:00
|
|
|
|
# Build the static library?
|
|
|
|
|
%bcond_without staticlib
|
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
2021-09-18 12:27:49 +00:00
|
|
|
|
# When we are bootstrapping, we omit the
|
|
|
|
|
# verification of the source tarball with GnuPG.
|
2021-09-18 13:05:47 +00:00
|
|
|
|
%bcond_with bootstrap
|
2021-09-18 12:27:49 +00:00
|
|
|
|
|
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
# Shared object version of libcrypt.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%if %{with new_api}
|
2019-01-14 18:29:12 +00:00
|
|
|
|
%global soc 2
|
|
|
|
|
%global sol 0
|
|
|
|
|
%global sof 0
|
|
|
|
|
%global sov %{soc}.%{sol}.%{sof}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%else
|
2019-01-14 18:29:12 +00:00
|
|
|
|
%global soc 1
|
|
|
|
|
%global sol 1
|
|
|
|
|
%global sof 0
|
|
|
|
|
%global sov %{soc}.%{sol}.%{sof}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
|
|
|
|
%global csoc 1
|
|
|
|
|
%global csol 1
|
|
|
|
|
%global csof 0
|
|
|
|
|
%global csov %{csoc}.%{csol}.%{csof}
|
|
|
|
|
%endif
|
|
|
|
|
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2019-02-19 12:07:20 +00:00
|
|
|
|
# First version of glibc built without libcrypt.
|
2022-01-04 14:29:18 +00:00
|
|
|
|
%global glibc_minver 2.28
|
2020-02-12 11:43:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The libxcrypt-devel package conflicts with out-dated manuals
|
|
|
|
|
# shipped with the man-pages packages *before* this EVR.
|
|
|
|
|
%global man_pages_minver 4.15-3
|
2019-02-19 12:07:20 +00:00
|
|
|
|
|
|
|
|
|
|
2018-10-03 09:56:56 +00:00
|
|
|
|
# Hash methods and API supported by libcrypt.
|
|
|
|
|
# NEVER EVER touch this, if you do NOT know what you are doing!
|
2019-02-06 12:27:44 +00:00
|
|
|
|
%global hash_methods all
|
|
|
|
|
|
2018-10-03 09:56:56 +00:00
|
|
|
|
%if %{with new_api}
|
|
|
|
|
%global obsolete_api no
|
|
|
|
|
%else
|
|
|
|
|
%global obsolete_api glibc
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2019-06-24 13:47:30 +00:00
|
|
|
|
%global compat_methods all
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%global compat_api glibc
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
|
|
|
|
# Do we replace the obsolete API functions with stubs?
|
2019-01-24 20:11:54 +00:00
|
|
|
|
%if %{with enosys_stubs}
|
|
|
|
|
%global enosys_stubs yes
|
|
|
|
|
%else
|
|
|
|
|
%global enosys_stubs no
|
|
|
|
|
%endif
|
|
|
|
|
|
2018-10-03 09:56:56 +00:00
|
|
|
|
|
2019-01-14 17:50:05 +00:00
|
|
|
|
# Needed for the distribution README file.
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global distname .fedora
|
|
|
|
|
%else
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%global distname .rhel
|
|
|
|
|
%else
|
|
|
|
|
%global distname .distribution
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
2019-02-06 12:35:24 +00:00
|
|
|
|
|
2018-10-01 17:27:08 +00:00
|
|
|
|
# Needed for out-of-tree builds.
|
2020-02-17 17:14:10 +00:00
|
|
|
|
%global _configure "$(realpath ../configure)"
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
2018-10-03 09:56:56 +00:00
|
|
|
|
# Common configure options.
|
|
|
|
|
%global common_configure_options \\\
|
2018-11-14 13:14:23 +00:00
|
|
|
|
--disable-failure-tokens \\\
|
2018-10-03 09:56:56 +00:00
|
|
|
|
--disable-silent-rules \\\
|
|
|
|
|
--enable-shared \\\
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%if %{with staticlib} \
|
2018-10-03 09:56:56 +00:00
|
|
|
|
--enable-static \\\
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%else \
|
|
|
|
|
--disable-static \\\
|
|
|
|
|
%endif \
|
2018-10-25 14:34:44 +00:00
|
|
|
|
--disable-valgrind \\\
|
2020-02-17 17:14:10 +00:00
|
|
|
|
--srcdir=$(realpath ..) \\\
|
2018-10-03 09:56:56 +00:00
|
|
|
|
--with-pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
|
|
|
|
|
|
|
2020-04-24 08:50:47 +00:00
|
|
|
|
# Macros for shorthand.
|
|
|
|
|
%global _fipsdir %{_libdir}/fipscheck
|
|
|
|
|
|
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
# Add generation of HMAC checksums of the final stripped
|
|
|
|
|
# binaries. %%define with lazy globbing is used here
|
|
|
|
|
# intentionally, because using %%global does not work.
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%define __spec_install_post \
|
|
|
|
|
%{?__debug_package:%{__debug_install_post}} \
|
|
|
|
|
%{__arch_install_post} \
|
|
|
|
|
%{__os_install_post} \
|
|
|
|
|
libdir="%{buildroot}%{_libdir}" \
|
|
|
|
|
fipsdir="$libdir/fipscheck" \
|
|
|
|
|
mkdir -p $fipsdir \
|
|
|
|
|
fipshmac -d $fipsdir \\\
|
|
|
|
|
$libdir/libcrypt.so.%{sov} \
|
|
|
|
|
ln -s libcrypt.so.%{sov}.hmac \\\
|
|
|
|
|
$fipsdir/libcrypt.so.%{soc}.hmac \
|
|
|
|
|
if [[ %{with staticlib} == 1 ]]; then \
|
|
|
|
|
fipshmac -d $fipsdir \\\
|
|
|
|
|
$libdir/libcrypt.a \
|
|
|
|
|
if [[ %{without new_api} == 1 ]]; then \
|
|
|
|
|
ln -s .libcrypt.a.hmac \\\
|
|
|
|
|
$fipsdir/libxcrypt.a.hmac \
|
|
|
|
|
fi \
|
|
|
|
|
fi \
|
|
|
|
|
if [[ %{with compat_pkg} == 1 ]]; then \
|
|
|
|
|
fipshmac -d $fipsdir \\\
|
|
|
|
|
$libdir/libcrypt.so.%{csov} \
|
|
|
|
|
ln -s libcrypt.so.%{csov}.hmac \\\
|
|
|
|
|
$fipsdir/libcrypt.so.%{csoc}.hmac \
|
|
|
|
|
fi \
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%{nil}
|
|
|
|
|
|
|
|
|
|
|
2020-04-25 07:19:22 +00:00
|
|
|
|
# Fail linking if there are undefined symbols.
|
|
|
|
|
# Required for proper ELF symbol versioning support.
|
|
|
|
|
%global _ld_strict_symbol_defs 1
|
|
|
|
|
|
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
Name: libxcrypt
|
2022-11-01 16:06:09 +00:00
|
|
|
|
Version: 4.4.30
|
2022-11-08 11:14:23 +00:00
|
|
|
|
Release: 3%{?dist}
|
2018-12-23 13:09:08 +00:00
|
|
|
|
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
# For explicit license breakdown, see the
|
|
|
|
|
# LICENSING file in the source tarball.
|
2018-06-29 13:39:52 +00:00
|
|
|
|
License: LGPLv2+ and BSD and Public Domain
|
2018-01-12 19:49:45 +00:00
|
|
|
|
URL: https://github.com/besser82/%{name}
|
2021-09-18 12:27:49 +00:00
|
|
|
|
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
|
|
|
|
|
Source2: %{url}/releases/download/v%{version}/%{name}-gpgkey.gpg
|
|
|
|
|
Source3: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz.sha256sum
|
2018-07-13 10:02:19 +00:00
|
|
|
|
|
2018-11-14 13:14:23 +00:00
|
|
|
|
# Patch 0000 - 2999: Backported patches from upstream.
|
2022-11-08 07:40:40 +00:00
|
|
|
|
Patch0000: 0002-Fix-warning-about-truncating-conversion.patch
|
|
|
|
|
Patch0001: 0003-alg-sha256.c-SHA-2-Maj-optimization-proposed-by-Wei-.patch
|
|
|
|
|
Patch0002: 0004-test-getrandom-fallback.c-Fix-OVERRUN-found-by-Covsc.patch
|
2022-11-08 11:14:23 +00:00
|
|
|
|
Patch0003: 0005-Fix-warning-about-signed-unsigned-conversion.patch
|
2018-11-11 16:29:22 +00:00
|
|
|
|
|
2018-11-14 13:14:23 +00:00
|
|
|
|
# Patch 3000 - 5999: Backported patches from pull requests.
|
2018-11-11 16:29:22 +00:00
|
|
|
|
|
2018-11-14 13:14:23 +00:00
|
|
|
|
# Patch 6000 - 9999: Downstream patches.
|
2018-11-11 11:56:35 +00:00
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
BuildRequires: fipscheck
|
2019-02-20 14:52:32 +00:00
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: glibc-devel >= %{glibc_minver}
|
2021-02-20 19:30:35 +00:00
|
|
|
|
BuildRequires: make
|
2021-02-20 20:59:07 +00:00
|
|
|
|
BuildRequires: perl-core
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
2021-09-18 12:27:49 +00:00
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
# Possibly not available during bootstrap.
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: %{_bindir}/sha256sum
|
|
|
|
|
%endif
|
|
|
|
|
|
2018-01-20 11:22:19 +00:00
|
|
|
|
# We do not need to keep this forever.
|
2022-01-15 09:44:18 +00:00
|
|
|
|
%if !(0%{?fedora} > 31 || 0%{?rhel} > 9)
|
2018-01-20 11:22:19 +00:00
|
|
|
|
# Inherited from former libcrypt package.
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Obsoletes: libcrypt-nss < %{glibc_minver}
|
|
|
|
|
Provides: libcrypt-nss = %{glibc_minver}
|
|
|
|
|
Provides: libcrypt-nss%{?_isa} = %{glibc_minver}
|
2018-01-19 21:34:00 +00:00
|
|
|
|
|
2018-11-14 13:14:23 +00:00
|
|
|
|
# Obsolete former libcrypt properly and provide a virtual libcrypt
|
|
|
|
|
# package as it has been done by the former packages, which were
|
|
|
|
|
# built by glibc before.
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Obsoletes: libcrypt < %{glibc_minver}
|
|
|
|
|
Provides: libcrypt = %{glibc_minver}
|
|
|
|
|
Provides: libcrypt%{?_isa} = %{glibc_minver}
|
2018-01-19 21:34:00 +00:00
|
|
|
|
|
2018-11-14 13:04:54 +00:00
|
|
|
|
# Obsolete former libxcrypt-common properly.
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Obsoletes: %{name}-common < 4.3.3-4
|
|
|
|
|
Provides: %{name}-common = %{version}-%{release}
|
2018-11-14 13:14:23 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with new_api} && %{without compat_pkg}
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Obsoletes: %{name}-compat < %{version}-%{release}
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
2021-09-21 21:33:39 +00:00
|
|
|
|
%if !(0%{?fedora} > 34 || 0%{?rhel} > 9)
|
2019-02-19 12:07:20 +00:00
|
|
|
|
# We need a version of glibc, that doesn't build libcrypt anymore.
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Requires: glibc%{?_isa} >= %{glibc_minver}
|
2021-09-21 21:04:55 +00:00
|
|
|
|
%endif
|
2019-02-19 12:07:20 +00:00
|
|
|
|
|
2019-03-15 11:24:20 +00:00
|
|
|
|
%if 0%{?fedora} >= 30
|
2020-02-17 17:14:10 +00:00
|
|
|
|
Recommends: mkpasswd
|
2018-11-26 10:44:40 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%description
|
|
|
|
|
libxcrypt is a modern library for one-way hashing of passwords. It
|
2018-10-01 17:27:08 +00:00
|
|
|
|
supports a wide variety of both modern and historical hashing methods:
|
2018-11-09 15:30:26 +00:00
|
|
|
|
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.
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
libxcrypt is intended to be used by login(1), passwd(1), and other
|
2018-11-09 15:30:26 +00:00
|
|
|
|
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.
|
|
|
|
|
%if %{with new_api}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
This version of the library does not provide the legacy API functions
|
|
|
|
|
that have been provided by glibc's libcrypt.so.1.
|
2018-11-09 15:30:26 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%package compat
|
|
|
|
|
Summary: Compatibility library providing legacy API functions
|
|
|
|
|
|
2021-05-19 18:23:18 +00:00
|
|
|
|
# For testing the glibc compatibility symbols.
|
|
|
|
|
BuildRequires: libxcrypt-compat
|
|
|
|
|
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2021-09-21 21:04:55 +00:00
|
|
|
|
|
2021-09-21 21:33:39 +00:00
|
|
|
|
%if !(0%{?fedora} > 34 || 0%{?rhel} > 9)
|
2021-09-21 21:04:55 +00:00
|
|
|
|
# We need a version of glibc, that doesn't build libcrypt anymore.
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Requires: glibc%{?_isa} >= %{glibc_minver}
|
2021-09-21 21:04:55 +00:00
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
|
|
|
|
%description compat
|
2019-01-14 17:50:07 +00:00
|
|
|
|
This package contains the library providing the compatibility API
|
|
|
|
|
for applications that are linked against glibc's libxcrypt, or that
|
|
|
|
|
are still using the unsafe and deprecated, encrypt, encrypt_r,
|
|
|
|
|
setkey, setkey_r, and fcrypt functions, which are still required by
|
|
|
|
|
recent versions of POSIX, the Single UNIX Specification, and various
|
|
|
|
|
other standards.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
|
|
|
|
|
All existing binary executables linked against glibc's libcrypt should
|
2019-01-14 17:50:07 +00:00
|
|
|
|
work unmodified with the library supplied by this package.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
|
2020-02-12 11:43:26 +00:00
|
|
|
|
Conflicts: man-pages < %{man_pages_minver}
|
2018-08-08 10:31:00 +00:00
|
|
|
|
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: glibc-devel%{?_isa} >= %{glibc_minver}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%if %{with staticlib}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%package static
|
|
|
|
|
Summary: Static library for -static linking with %{name}
|
|
|
|
|
|
2019-02-19 13:56:11 +00:00
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: glibc-devel%{?_isa} >= %{glibc_minver}
|
|
|
|
|
Requires: glibc-static%{?_isa} >= %{glibc_minver}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
%description static
|
2018-10-01 19:54:03 +00:00
|
|
|
|
This package contains the libxcrypt static library for -static
|
2018-10-01 17:27:08 +00:00
|
|
|
|
linking.
|
|
|
|
|
|
|
|
|
|
You don't need this, unless you link statically, which is highly
|
|
|
|
|
discouraged.
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-09-18 12:27:49 +00:00
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
# Omitted during bootstrap.
|
|
|
|
|
%{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0}
|
|
|
|
|
pushd %{_sourcedir}
|
|
|
|
|
sha256sum -c %{SOURCE3}
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
2019-02-19 12:27:09 +00:00
|
|
|
|
|
2021-09-18 12:27:49 +00:00
|
|
|
|
%autosetup -p 1
|
2019-02-19 12:27:09 +00:00
|
|
|
|
|
2019-01-14 17:50:05 +00:00
|
|
|
|
%if %{with new_api}
|
2020-02-17 17:14:10 +00:00
|
|
|
|
cat << EOF >> README%{distname}
|
2019-01-30 10:52:36 +00:00
|
|
|
|
This version of the %{name} package ships the libcrypt.so.2
|
2019-01-14 17:50:05 +00:00
|
|
|
|
library and does not provide the legacy API functions that have
|
|
|
|
|
been provided by glibc's libcrypt.so.1. The removed functions
|
|
|
|
|
by name are encrypt, encrypt_r, setkey, setkey_r, and fcrypt.
|
2019-01-14 18:29:09 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2019-01-14 17:50:05 +00:00
|
|
|
|
|
|
|
|
|
If you are using a third-party application that links against
|
|
|
|
|
those functions, or that is linked against glibc's libcrypt,
|
|
|
|
|
you may need to install the %{name}-compat package manually.
|
|
|
|
|
|
|
|
|
|
All existing binary executables linked against glibc's libcrypt
|
|
|
|
|
should work unmodified with the libcrypt.so.1 library supplied
|
|
|
|
|
by the %{name}-compat package.
|
2019-01-14 18:29:09 +00:00
|
|
|
|
%endif
|
2019-01-14 17:50:05 +00:00
|
|
|
|
EOF
|
|
|
|
|
%endif
|
2019-02-19 12:27:09 +00:00
|
|
|
|
|
2019-01-30 10:50:40 +00:00
|
|
|
|
%if %{with enosys_stubs}
|
2020-02-17 17:14:10 +00:00
|
|
|
|
cat << EOF >> README.posix
|
2019-01-30 10:50:40 +00:00
|
|
|
|
This version of the libcrypt.so.1 library has entirely removed
|
|
|
|
|
the functionality of the encrypt, encrypt_r, setkey, setkey_r,
|
|
|
|
|
and fcrypt functions, while keeping fully binary compatibility
|
|
|
|
|
with existing (third-party) applications possibly still using
|
|
|
|
|
those funtions. If such an application attemps to call one of
|
|
|
|
|
these functions, the corresponding function will indicate that
|
|
|
|
|
it is not supported by the system in a POSIX-compliant way.
|
|
|
|
|
|
|
|
|
|
For security reasons, the encrypt and encrypt_r functions will
|
|
|
|
|
also overwrite their data-block argument with random bits.
|
|
|
|
|
|
|
|
|
|
All existing binary executables linked against glibc's libcrypt
|
|
|
|
|
should work unmodified with the provided version of the
|
|
|
|
|
libcrypt.so.1 library in place.
|
|
|
|
|
EOF
|
|
|
|
|
%endif
|
2019-02-19 12:27:09 +00:00
|
|
|
|
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%if %{with staticlib}
|
2020-02-17 17:14:10 +00:00
|
|
|
|
cat << EOF >> README.static
|
2019-01-30 11:24:01 +00:00
|
|
|
|
Applications that use certain legacy APIs supplied by glibc’s
|
|
|
|
|
libcrypt (encrypt, encrypt_r, setkey, setkey_r, and fcrypt)
|
|
|
|
|
cannot be compiled nor linked against the supplied build of
|
|
|
|
|
the object files provided in the static library libcrypt.a.
|
|
|
|
|
EOF
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2020-02-17 17:14:10 +00:00
|
|
|
|
mkdir -p %{_vpath_builddir}
|
2019-02-19 12:27:09 +00:00
|
|
|
|
|
2018-11-14 18:36:20 +00:00
|
|
|
|
# Build the default system library.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
pushd %{_vpath_builddir}
|
2019-01-24 20:11:54 +00:00
|
|
|
|
%configure \
|
|
|
|
|
%{common_configure_options} \
|
|
|
|
|
--enable-hashes=%{hash_methods} \
|
|
|
|
|
--enable-obsolete-api=%{obsolete_api} \
|
|
|
|
|
%if %{with new_api}
|
|
|
|
|
--enable-obsolete-api-enosys=%{obsolete_api}
|
|
|
|
|
%else
|
|
|
|
|
--enable-obsolete-api-enosys=%{enosys_stubs}
|
|
|
|
|
%endif
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%make_build
|
2021-08-16 15:11:09 +00:00
|
|
|
|
%make_build test-programs
|
2018-10-01 17:27:08 +00:00
|
|
|
|
popd
|
2018-11-14 18:36:20 +00:00
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2020-02-17 17:14:10 +00:00
|
|
|
|
mkdir -p %{_vpath_builddir}-compat
|
|
|
|
|
|
2018-11-14 18:36:20 +00:00
|
|
|
|
# Build the compatibility library.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
pushd %{_vpath_builddir}-compat
|
2019-01-24 20:11:54 +00:00
|
|
|
|
%configure \
|
|
|
|
|
%{common_configure_options} \
|
|
|
|
|
--enable-hashes=%{compat_methods} \
|
|
|
|
|
--enable-obsolete-api=%{compat_api} \
|
|
|
|
|
--enable-obsolete-api-enosys=%{enosys_stubs}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%make_build
|
2021-08-16 15:11:09 +00:00
|
|
|
|
%make_build test-programs
|
2018-10-01 17:27:08 +00:00
|
|
|
|
popd
|
2018-10-03 09:56:56 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
2021-05-19 18:44:03 +00:00
|
|
|
|
mkdir -p %{_vpath_builddir}-all_possible_tests
|
|
|
|
|
|
|
|
|
|
# The configure scripts want to use -Wl,--wrap to run some
|
|
|
|
|
# special tests, which is not compatible with LTO.
|
|
|
|
|
%global system_lto_cflags_bak %{_lto_cflags}
|
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
|
|
|
|
|
# Reset compiler flags in env.
|
|
|
|
|
unset CFLAGS
|
|
|
|
|
unset CXXFLAGS
|
|
|
|
|
unset FFLAGS
|
|
|
|
|
unset FCFLAGS
|
|
|
|
|
unset LDFLAGS
|
|
|
|
|
unset LT_SYS_LIBRARY_PATH
|
|
|
|
|
|
|
|
|
|
# Build a library suitable for all possible tests.
|
|
|
|
|
pushd %{_vpath_builddir}-all_possible_tests
|
2022-11-08 07:55:39 +00:00
|
|
|
|
# Disable arc4random_buf on purpose, so we are able
|
|
|
|
|
# to run test/getrandom-fallback from testsuite.
|
2021-05-19 18:44:03 +00:00
|
|
|
|
%configure \
|
2022-11-08 07:55:39 +00:00
|
|
|
|
ac_cv_func_arc4random_buf=no \
|
2021-05-19 18:44:03 +00:00
|
|
|
|
%if %{with compat_pkg}
|
|
|
|
|
%{common_configure_options} \
|
|
|
|
|
--enable-hashes=all \
|
|
|
|
|
--enable-obsolete-api=%{compat_api} \
|
|
|
|
|
--enable-obsolete-api-enosys=%{enosys_stubs}
|
|
|
|
|
%else
|
|
|
|
|
%{common_configure_options} \
|
|
|
|
|
--enable-hashes=%{hash_methods} \
|
|
|
|
|
--enable-obsolete-api=%{obsolete_api} \
|
|
|
|
|
%if %{with new_api}
|
|
|
|
|
--enable-obsolete-api-enosys=%{obsolete_api}
|
|
|
|
|
%else
|
|
|
|
|
--enable-obsolete-api-enosys=%{enosys_stubs}
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
%define _lto_cflags %{system_lto_cflags_bak}
|
|
|
|
|
%make_build
|
2021-08-16 15:11:09 +00:00
|
|
|
|
%make_build test-programs
|
2021-05-19 18:44:03 +00:00
|
|
|
|
popd
|
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2018-11-14 18:36:20 +00:00
|
|
|
|
# Install the compatibility library.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%make_install -C %{_vpath_builddir}-compat
|
2018-11-14 18:36:20 +00:00
|
|
|
|
|
|
|
|
|
# Cleanup everything we do not need from the compatibility library.
|
2020-02-17 17:14:10 +00:00
|
|
|
|
find %{buildroot} -xtype f -not -name 'libcrypt.so.%{csoc}*' -delete -print
|
|
|
|
|
find %{buildroot} -type l -not -name 'libcrypt.so.%{csoc}*' -delete -print
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%endif
|
2018-11-14 18:36:20 +00:00
|
|
|
|
|
|
|
|
|
# Install the default system library.
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%make_install -C %{_vpath_builddir}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
# Get rid of libtool crap.
|
2020-02-17 17:14:10 +00:00
|
|
|
|
find %{buildroot} -name '*.la' -delete -print
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
# Install documentation to shared %%_pkgdocdir.
|
2020-02-17 17:14:10 +00:00
|
|
|
|
install -Dpm 0644 -t %{buildroot}%{_pkgdocdir} \
|
2019-02-19 12:11:35 +00:00
|
|
|
|
ChangeLog NEWS README* THANKS TODO
|
2019-01-30 11:39:14 +00:00
|
|
|
|
|
2019-01-30 11:49:13 +00:00
|
|
|
|
# Drop README.md as it is identical to README.
|
2020-02-17 17:14:10 +00:00
|
|
|
|
rm -f %{buildroot}%{_pkgdocdir}/README.md
|
2019-01-30 11:49:13 +00:00
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
%check
|
2020-02-17 17:14:10 +00:00
|
|
|
|
build_dirs="%{_vpath_builddir}"
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2020-02-17 17:14:10 +00:00
|
|
|
|
build_dirs="${build_dirs} %{_vpath_builddir}-compat"
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%endif
|
2021-05-19 18:44:03 +00:00
|
|
|
|
build_dirs="${build_dirs} %{_vpath_builddir}-all_possible_tests"
|
2020-02-17 17:14:10 +00:00
|
|
|
|
for dir in ${build_dirs}; do
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%make_build -C ${dir} check || \
|
|
|
|
|
{
|
|
|
|
|
rc=$?;
|
|
|
|
|
echo "-----BEGIN TESTLOG: ${dir}-----";
|
2020-02-17 17:14:10 +00:00
|
|
|
|
cat ${dir}/test-suite.log;
|
2018-10-01 17:27:08 +00:00
|
|
|
|
echo "-----END TESTLOG: ${dir}-----";
|
|
|
|
|
exit $rc;
|
|
|
|
|
}
|
|
|
|
|
done
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
2018-02-17 08:45:54 +00:00
|
|
|
|
%ldconfig_scriptlets
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%ldconfig_scriptlets compat
|
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%dir %{_fipsdir}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%doc %dir %{_pkgdocdir}
|
|
|
|
|
%doc %{_pkgdocdir}/NEWS
|
2019-01-30 10:50:40 +00:00
|
|
|
|
%doc %{_pkgdocdir}/README
|
|
|
|
|
%if %{with new_api}
|
|
|
|
|
%doc %{_pkgdocdir}/README%{distname}
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with enosys_stubs} && %{without compat_pkg}
|
2019-01-30 11:46:01 +00:00
|
|
|
|
%doc %{_pkgdocdir}/README.posix
|
2019-01-30 10:50:40 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%doc %{_pkgdocdir}/THANKS
|
2018-11-14 13:04:54 +00:00
|
|
|
|
%license AUTHORS COPYING.LIB LICENSING
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%{_fipsdir}/libcrypt.so.%{soc}.hmac
|
|
|
|
|
%{_fipsdir}/libcrypt.so.%{sov}.hmac
|
|
|
|
|
%{_libdir}/libcrypt.so.%{soc}
|
|
|
|
|
%{_libdir}/libcrypt.so.%{sov}
|
|
|
|
|
%{_mandir}/man5/crypt.5*
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
%if %{with compat_pkg}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%files compat
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%dir %{_fipsdir}
|
2019-01-30 10:50:40 +00:00
|
|
|
|
%if %{with enosys_stubs}
|
2019-01-30 11:46:01 +00:00
|
|
|
|
%doc %{_pkgdocdir}/README.posix
|
2019-01-30 10:50:40 +00:00
|
|
|
|
%endif
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%{_fipsdir}/libcrypt.so.%{csoc}.hmac
|
|
|
|
|
%{_fipsdir}/libcrypt.so.%{csov}.hmac
|
|
|
|
|
%{_libdir}/libcrypt.so.%{csoc}
|
|
|
|
|
%{_libdir}/libcrypt.so.%{csov}
|
2018-10-01 17:27:08 +00:00
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%files devel
|
|
|
|
|
%doc %{_pkgdocdir}/ChangeLog
|
|
|
|
|
%doc %{_pkgdocdir}/TODO
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%{_libdir}/libcrypt.so
|
|
|
|
|
%if %{without new_api}
|
|
|
|
|
%{_libdir}/libxcrypt.so
|
|
|
|
|
%endif
|
|
|
|
|
%{_includedir}/crypt.h
|
|
|
|
|
%if %{without new_api}
|
|
|
|
|
%{_includedir}/xcrypt.h
|
|
|
|
|
%endif
|
|
|
|
|
%{_libdir}/pkgconfig/libcrypt.pc
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
%{_mandir}/man3/crypt.3*
|
|
|
|
|
%{_mandir}/man3/crypt_r.3*
|
|
|
|
|
%{_mandir}/man3/crypt_ra.3*
|
|
|
|
|
%{_mandir}/man3/crypt_rn.3*
|
|
|
|
|
%{_mandir}/man3/crypt_checksalt.3*
|
|
|
|
|
%{_mandir}/man3/crypt_gensalt.3*
|
|
|
|
|
%{_mandir}/man3/crypt_gensalt_ra.3*
|
|
|
|
|
%{_mandir}/man3/crypt_gensalt_rn.3*
|
|
|
|
|
%{_mandir}/man3/crypt_preferred_method.3*
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%if %{with staticlib}
|
2018-01-12 19:49:45 +00:00
|
|
|
|
%files static
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%dir %{_fipsdir}
|
2019-01-30 11:46:01 +00:00
|
|
|
|
%doc %{_pkgdocdir}/README.static
|
2020-04-24 08:50:47 +00:00
|
|
|
|
%{_fipsdir}/libcrypt.a.hmac
|
|
|
|
|
%if %{without new_api}
|
|
|
|
|
%{_fipsdir}/libxcrypt.a.hmac
|
|
|
|
|
%endif
|
|
|
|
|
%{_libdir}/libcrypt.a
|
|
|
|
|
%if %{without new_api}
|
|
|
|
|
%{_libdir}/libxcrypt.a
|
|
|
|
|
%endif
|
2019-01-30 11:39:14 +00:00
|
|
|
|
%endif
|
2018-01-12 19:49:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-11-08 11:14:23 +00:00
|
|
|
|
* Tue Nov 08 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.30-3
|
|
|
|
|
- Backport another upstream patch for a conversion fix
|
|
|
|
|
|
2022-11-08 07:40:40 +00:00
|
|
|
|
* Tue Nov 08 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.30-2
|
|
|
|
|
- Backport some upstream patches for fixes and optimizations
|
2022-11-08 07:55:39 +00:00
|
|
|
|
- Explicitly disable arc4random_buf in all_possible_tests configuration
|
2022-11-08 07:40:40 +00:00
|
|
|
|
|
2022-11-01 16:06:09 +00:00
|
|
|
|
* Tue Nov 01 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.30-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2022-10-31 20:26:18 +00:00
|
|
|
|
* Mon Oct 31 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.29-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2022-08-10 06:54:56 +00:00
|
|
|
|
* Wed Aug 10 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.28-3
|
|
|
|
|
- Rebuilt for arc4random_buf in glibc 2.36 (or later)
|
|
|
|
|
|
2022-07-21 19:27:01 +00:00
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.28-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
2022-02-01 22:34:00 +00:00
|
|
|
|
* Tue Feb 01 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.28-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2022-01-20 17:40:22 +00:00
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.27-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
2022-01-04 14:29:18 +00:00
|
|
|
|
* Tue Jan 04 2022 Björn Esser <besser82@fedoraproject.org> - 4.4.27-2
|
|
|
|
|
- Update Obsoletes, Provides, and Requires to glibc 2.28 (or later),
|
|
|
|
|
as this was the first upstream version of glibc with an option to
|
|
|
|
|
be built without shipping libcrypt
|
2022-01-15 09:44:18 +00:00
|
|
|
|
- Fix rhel version in conditional
|
2022-01-04 14:29:18 +00:00
|
|
|
|
|
2021-12-17 15:24:44 +00:00
|
|
|
|
* Fri Dec 17 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.27-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-09-21 21:33:39 +00:00
|
|
|
|
* Tue Sep 21 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-4
|
|
|
|
|
- Add some more recent distro releases to previous change
|
|
|
|
|
|
2021-09-21 21:04:55 +00:00
|
|
|
|
* Tue Sep 21 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-3
|
|
|
|
|
- Limit explicit versioned Requires on glibc to older distro releases
|
|
|
|
|
|
2021-09-18 12:27:49 +00:00
|
|
|
|
* Sat Sep 18 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-2
|
|
|
|
|
- Build from signed and verified distribution tarball
|
|
|
|
|
|
2021-09-17 16:45:45 +00:00
|
|
|
|
* Fri Sep 17 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.26-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-08-30 07:11:50 +00:00
|
|
|
|
* Mon Aug 30 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.25-3
|
|
|
|
|
- Rebuild (autoconf)
|
|
|
|
|
|
2021-08-16 15:11:09 +00:00
|
|
|
|
* Mon Aug 16 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.25-2
|
|
|
|
|
- Compile test-programs during %%build stage
|
|
|
|
|
|
2021-08-08 19:35:32 +00:00
|
|
|
|
* Sun Aug 08 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.25-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-08-04 11:05:55 +00:00
|
|
|
|
* Wed Aug 04 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.24-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-07-22 12:47:15 +00:00
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.23-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
2021-06-20 17:18:08 +00:00
|
|
|
|
* Sun Jun 20 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.23-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-06-16 16:19:22 +00:00
|
|
|
|
* Wed Jun 16 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.22-3
|
|
|
|
|
- Add patches to fix issues with type conversion in the DES code
|
|
|
|
|
|
2021-06-05 18:30:45 +00:00
|
|
|
|
* Sat Jun 05 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.22-2
|
|
|
|
|
- Add a patch to fix o_size calculation for gensalt_yescrypt_rn
|
|
|
|
|
|
2021-05-27 09:37:21 +00:00
|
|
|
|
* Thu May 27 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.22-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-05-26 14:49:46 +00:00
|
|
|
|
* Wed May 26 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.21-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-05-19 18:45:27 +00:00
|
|
|
|
* Wed May 19 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.20-3
|
|
|
|
|
- Run test for glibc compatibility symbols
|
|
|
|
|
- Run a build with all possible tests enabled
|
|
|
|
|
|
2021-05-02 07:25:02 +00:00
|
|
|
|
* Sun May 02 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.20-2
|
|
|
|
|
- Add upstream patch to fix a typo in the documentation
|
|
|
|
|
|
2021-05-01 17:44:10 +00:00
|
|
|
|
* Sat May 01 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.20-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-04-08 20:04:22 +00:00
|
|
|
|
* Thu Apr 08 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.19-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2021-02-20 20:57:11 +00:00
|
|
|
|
* Sat Feb 20 2021 Björn Esser <besser82@fedoraproject.org> - 4.4.18-1
|
|
|
|
|
- New upstream release
|
2021-02-20 20:59:07 +00:00
|
|
|
|
- Add explicit BR: perl-core
|
2021-02-20 20:57:11 +00:00
|
|
|
|
|
2021-01-26 18:22:00 +00:00
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.17-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
2020-08-23 07:59:38 +00:00
|
|
|
|
* Sun Aug 23 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.17-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-08-15 09:35:21 +00:00
|
|
|
|
* Sat Aug 15 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-7
|
|
|
|
|
- Add a patch to add support for LTO builds
|
2020-08-15 09:36:01 +00:00
|
|
|
|
- Enable LTO
|
2020-08-15 09:49:51 +00:00
|
|
|
|
- Add a patch to fix Wformat-overflow
|
2020-08-15 09:35:21 +00:00
|
|
|
|
|
2020-07-28 05:57:16 +00:00
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.16-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
2020-06-30 19:36:06 +00:00
|
|
|
|
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.4.16-5
|
|
|
|
|
- Disable LTO
|
|
|
|
|
|
2020-06-19 19:20:41 +00:00
|
|
|
|
* Fri Jun 19 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-4
|
|
|
|
|
- Trim %%changelog starting with v4.4.0
|
|
|
|
|
- Remove memcheck conditional
|
|
|
|
|
|
2020-04-25 07:19:22 +00:00
|
|
|
|
* Sat Apr 25 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-3
|
|
|
|
|
- Explicitly force linking with '-Wl,-z,defs'
|
|
|
|
|
|
2020-04-24 08:50:47 +00:00
|
|
|
|
* Fri Apr 24 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-2
|
|
|
|
|
- Move fipscheck hmac checksums to %%{_libdir}/fipscheck
|
|
|
|
|
|
2020-04-04 12:52:13 +00:00
|
|
|
|
* Sat Apr 04 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-04-02 21:15:40 +00:00
|
|
|
|
* Thu Apr 02 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.15-2
|
|
|
|
|
- Move library from %%_lib to %%_libdir
|
|
|
|
|
|
2020-02-26 12:43:55 +00:00
|
|
|
|
* Wed Feb 26 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.15-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-02-17 17:51:07 +00:00
|
|
|
|
* Mon Feb 17 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.14-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-02-16 11:30:07 +00:00
|
|
|
|
* Sun Feb 16 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.13-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-02-11 12:53:16 +00:00
|
|
|
|
* Tue Feb 11 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.12-3
|
|
|
|
|
- Add an upstream patch to fix a typo in the documentation
|
|
|
|
|
|
2020-02-05 10:12:10 +00:00
|
|
|
|
* Wed Feb 05 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.12-2
|
|
|
|
|
- Add two upstream patches to resolve minor bugs
|
|
|
|
|
|
2020-01-30 12:44:17 +00:00
|
|
|
|
* Thu Jan 30 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.12-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2020-01-29 10:50:25 +00:00
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.11-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2020-01-18 20:44:26 +00:00
|
|
|
|
* Sat Jan 18 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.11-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-12-15 20:49:06 +00:00
|
|
|
|
* Sun Dec 15 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.10-2
|
|
|
|
|
- Add two upstream patches to fix build with upcoming GCC-10
|
|
|
|
|
|
2019-09-18 16:55:51 +00:00
|
|
|
|
* Wed Sep 18 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.10-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-09-07 09:37:20 +00:00
|
|
|
|
* Sat Sep 07 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.9-1
|
2019-09-07 09:33:53 +00:00
|
|
|
|
- New upstream release (#1750010)
|
|
|
|
|
|
2019-09-01 17:04:50 +00:00
|
|
|
|
* Sun Sep 01 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.8-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-08-24 12:15:02 +00:00
|
|
|
|
* Sat Aug 24 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.7-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-07-25 14:46:47 +00:00
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
2019-06-24 13:47:30 +00:00
|
|
|
|
* Mon Jun 24 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.6-2
|
|
|
|
|
- Build all hash methods for the compat package
|
2019-06-24 13:53:25 +00:00
|
|
|
|
- Add a patch to fix Wformat in crypt-kat.c
|
2019-06-24 13:47:30 +00:00
|
|
|
|
|
2019-05-05 12:44:24 +00:00
|
|
|
|
* Sun May 05 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.6-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-05-04 17:50:28 +00:00
|
|
|
|
* Sat May 04 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.5-1
|
|
|
|
|
- New upstream release (#1706419)
|
2019-05-04 17:51:38 +00:00
|
|
|
|
- Add patch to remove an unneeded union keyword
|
2019-05-04 18:29:36 +00:00
|
|
|
|
- Add patch to make unalignment test really unaligned
|
2019-05-04 17:50:28 +00:00
|
|
|
|
|
2019-03-15 11:24:20 +00:00
|
|
|
|
* Fri Mar 15 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.4-2
|
|
|
|
|
- Change Recommends: whois-mkpasswd to Fedora 30 and later (#1687870)
|
|
|
|
|
|
2019-03-04 09:20:58 +00:00
|
|
|
|
* Mon Mar 04 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.4-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-02-19 13:56:11 +00:00
|
|
|
|
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-10
|
|
|
|
|
- Fix versioned requirements on glibc
|
|
|
|
|
|
2019-02-19 13:29:05 +00:00
|
|
|
|
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-9
|
|
|
|
|
- Fix conditional in __spec_install_post
|
|
|
|
|
|
2019-02-19 12:07:20 +00:00
|
|
|
|
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-8
|
|
|
|
|
- Update Obsoletes, Provides, and Requires to glibc 2.27
|
2019-02-19 12:09:35 +00:00
|
|
|
|
- Add Recommends: whois-mkpasswd for Fedora
|
2019-02-19 12:11:35 +00:00
|
|
|
|
- Optimize installation of the documentation files
|
2019-02-19 12:18:51 +00:00
|
|
|
|
- Fix %%description
|
2019-02-19 12:35:54 +00:00
|
|
|
|
- Use an absolute path for the configure script and srcdir
|
2019-02-19 12:07:20 +00:00
|
|
|
|
|
2019-02-19 10:11:05 +00:00
|
|
|
|
* Tue Feb 19 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-7
|
|
|
|
|
- Add patch to fix the output formatting of a test
|
|
|
|
|
|
2019-02-06 12:27:44 +00:00
|
|
|
|
* Wed Feb 06 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-6
|
|
|
|
|
- Always build all supported hash methods
|
2019-02-06 12:40:31 +00:00
|
|
|
|
- Drop distcheck at the end of %%check stage
|
2019-02-06 12:27:44 +00:00
|
|
|
|
|
2019-02-01 08:36:13 +00:00
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
2019-01-30 10:50:40 +00:00
|
|
|
|
* Wed Jan 30 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-4
|
2019-01-30 11:46:01 +00:00
|
|
|
|
- Add a README.posix file with information about the stub functions
|
|
|
|
|
- Add a README.static file with information about the static library
|
2019-01-30 10:50:40 +00:00
|
|
|
|
|
2019-01-30 09:55:59 +00:00
|
|
|
|
* Wed Jan 30 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-3
|
|
|
|
|
- Replace unsafe functions in libxcrypt-compat with stubs (#1670735)
|
|
|
|
|
|
2019-01-24 19:53:14 +00:00
|
|
|
|
* Thu Jan 24 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-2
|
|
|
|
|
- Fix and simplify the conditionals for the compat package
|
2019-01-24 20:11:54 +00:00
|
|
|
|
- Add an option to replace unsafe functions in the compat lib with a stub
|
2019-01-24 21:34:52 +00:00
|
|
|
|
- Add patch to fix another possible format-overflow
|
2019-01-24 19:53:14 +00:00
|
|
|
|
|
2019-01-24 19:40:43 +00:00
|
|
|
|
* Thu Jan 24 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.3-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2019-01-24 08:29:52 +00:00
|
|
|
|
* Thu Jan 24 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.2-8
|
|
|
|
|
- Optimize file removal for compatibility library
|
|
|
|
|
|
2019-01-21 16:05:48 +00:00
|
|
|
|
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.2-7
|
|
|
|
|
- Add two upstream patches to fix build with GCC 9
|
|
|
|
|
|
2019-01-21 15:50:36 +00:00
|
|
|
|
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.2-6
|
|
|
|
|
- Add upstream patch to add proper C++-guards in <xcrypt.h>
|
|
|
|
|
|
2019-01-14 18:29:06 +00:00
|
|
|
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.2-5
|
|
|
|
|
- Build the compat package with glibc hashing methods only
|
2019-01-14 18:29:09 +00:00
|
|
|
|
- Add an option to disable the compat-package for future use
|
2019-01-14 18:29:06 +00:00
|
|
|
|
|
2019-01-14 17:50:02 +00:00
|
|
|
|
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 4.4.2-4
|
|
|
|
|
- Bump SO-name for Fedora >= 30 and enable compat package (#1666033)
|
2019-01-14 17:50:05 +00:00
|
|
|
|
- Add distribution README file
|
2019-01-14 17:50:07 +00:00
|
|
|
|
- Update description of the compat package
|
2019-01-14 17:50:09 +00:00
|
|
|
|
- Conditionally remove non-built hashing methods from description
|
2019-01-14 17:50:02 +00:00
|
|
|
|
|
2018-12-23 13:19:59 +00:00
|
|
|
|
* Sun Dec 23 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.2-3
|
|
|
|
|
- Remove architecture bits from Recommends
|
|
|
|
|
|
2018-12-23 13:09:08 +00:00
|
|
|
|
* Sun Dec 23 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.2-2
|
|
|
|
|
- Update summary
|
|
|
|
|
|
2018-12-22 10:44:42 +00:00
|
|
|
|
* Sat Dec 22 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.2-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2018-12-06 23:18:22 +00:00
|
|
|
|
* Thu Dec 06 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.1-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
2018-12-04 17:46:16 +00:00
|
|
|
|
* Tue Dec 04 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.0-5
|
|
|
|
|
- Sync -fno-plt patch with upstream commit
|
|
|
|
|
|
2018-12-04 14:38:31 +00:00
|
|
|
|
* Tue Dec 04 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.0-4
|
|
|
|
|
- Backport upstream commit to fix a memory leak from a static pointer
|
|
|
|
|
|
2018-12-04 12:54:42 +00:00
|
|
|
|
* Tue Dec 04 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.0-3
|
|
|
|
|
- Backport upstream PR to build with -fno-plt optimization
|
|
|
|
|
|
2018-11-26 10:26:50 +00:00
|
|
|
|
* Mon Nov 26 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.0-2
|
|
|
|
|
- Backport upstream commit to use a safer strcpy for the NT method
|
2018-11-26 10:29:53 +00:00
|
|
|
|
- Backport upstream generating base64 encoded output for NT gensalt
|
2018-11-26 10:32:40 +00:00
|
|
|
|
- Backport upstream commit to require less rbytes for NT gensalt
|
2018-11-26 10:34:49 +00:00
|
|
|
|
- Backport upstream commit to test incremental hmac-sha256 computation
|
2018-11-26 10:44:40 +00:00
|
|
|
|
- Add Recommends: mkpasswd for Fedora >= 30
|
2018-11-26 10:26:50 +00:00
|
|
|
|
|
2018-11-20 09:37:02 +00:00
|
|
|
|
* Tue Nov 20 2018 Björn Esser <besser82@fedoraproject.org> - 4.4.0-1
|
|
|
|
|
- New upstream release
|