fips: Drop obsolete dependencies

Explicitly require libkcapi-hmaccalc and stop installing NSS/prelink
dependencies that are no longer needed.
master
Ondrej Mosnacek 2018-06-14 10:25:33 +02:00 committed by Harald Hoyer
parent d00cfc2a7b
commit bca1967c90
2 changed files with 2 additions and 9 deletions

View File

@ -93,9 +93,7 @@ Requires: util-linux-ng >= 2.21
%endif

%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
Requires: hmaccalc
Requires: nss
Requires: nss-softokn-freebl
Requires: libkcapi-hmaccalc
%endif

%description

View File

@ -42,12 +42,7 @@ install() {
inst_hook pre-pivot 01 "$moddir/fips-noboot.sh"
inst_script "$moddir/fips.sh" /sbin/fips.sh

inst_multiple sha512hmac rmmod insmod mount uname umount fipscheck

inst_libdir_file libsoftokn3.so libsoftokn3.so \
libsoftokn3.chk libfreebl3.so libfreebl3.chk \
libssl.so 'hmaccalc/sha512hmac.hmac' libssl.so.10 \
libfreeblpriv3.so libfreeblpriv3.chk
inst_multiple sha512hmac rmmod insmod mount uname umount

inst_simple /etc/system-fips
[ -c ${initdir}/dev/random ] || mknod ${initdir}/dev/random c 1 8 \