SHA256
1
0
forked from pool/fipscheck

Accepting request 636924 from home:jsikes:branches:security

restored http in URL. Have fun!

OBS-URL: https://build.opensuse.org/request/show/636924
OBS-URL: https://build.opensuse.org/package/show/security/fipscheck?expand=0&rev=17
This commit is contained in:
Marcus Meissner 2018-10-09 11:10:18 +00:00 committed by Git OBS Bridge
parent 5a70e966be
commit 69b8353f41
4 changed files with 50 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:607e94384e3e91bd93328beb07b7deaa421bb6b14b6162010f056dd68d402355
size 247632

3
fipscheck-1.5.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ba38100ced187f44b12dd52c8c74db8f366a2a8b9da819bd3e7c6ea17f469d5
size 275637

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Sep 20 17:16:11 UTC 2018 - Jason Sikes <jsikes@suse.de>
- Changed source back to http now that current release folder
has current tarball.
-------------------------------------------------------------------
Tue Sep 11 23:51:42 UTC 2018 - Jason Sikes <jsikes@suse.de>
- Updated fipscheck to 1.5.0
* Changed source to local file since latest official release
is not in the official releases directory.
* Downgraded libopenssl-devel to libopenssl-1_0_0-devel because
1.0.2 supports FIPS.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 12 14:21:41 UTC 2017 - daniel.molkentin@suse.com Mon Jun 12 14:21:41 UTC 2017 - daniel.molkentin@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package fipscheck # spec file for package fipscheck
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,40 +12,43 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define lname libfipscheck1 %define lname libfipscheck1
%global soversion 1.2.1
%global somajor 1
Name: fipscheck Name: fipscheck
Version: 1.4.1 Version: 1.5.0
Release: 0 Release: 0
Summary: A library for integrity verification of FIPS validated modules Summary: A library for integrity verification of FIPS validated modules
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://fedorahosted.org/fipscheck/ URL: https://releases.pagure.org/%{name}/
Source0: http://fedorahosted.org/releases/f/i/%{name}/%{name}-%{version}.tar.bz2 # Source0 is a local file because current version is 1.5.0,
# but the latest in the official release folder is 1.4.1
Source0: https://releases.pagure.org/fipscheck/%{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Patch0: openssl-1_1-port.patch Patch0: openssl-1_1-port.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf
BuildRequires: libopenssl-devel >= 0.9.8j BuildRequires: automake
BuildRequires: libopenssl-1_0_0-devel
BuildRequires: libtool
BuildRequires: xmlto
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%global soversion 1.2.1
%global somajor 1
%description %description
FIPSCheck is a library for integrity verification of FIPS validated FIPSCheck is a library for integrity verification of FIPS validated
modules. The package also provides helper binaries for creation and modules. The package also provides helper binaries for creation and
verification of the HMAC-SHA256 checksum files. verification of the HMAC-SHA256 checksum files.
%package -n %lname %package -n %{lname}
Summary: Library files for %{name} Summary: Library files for %{name}
Group: System/Libraries Group: System/Libraries
Requires: %{_bindir}/fipscheck Requires: %{_bindir}/fipscheck
%description -n %lname %description -n %{lname}
This package contains the FIPSCheck library. This package contains the FIPSCheck library.
%package devel %package devel
@ -71,41 +74,38 @@ make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro"
%define __spec_install_post \ %define __spec_install_post \
%{?__debug_package:%{__debug_install_post}} \ %{?__debug_package:%{__debug_install_post}} \
%{__arch_install_post} \ %{__arch_install_post} \
%{__os_install_post} \ %__os_install_post \
$RPM_BUILD_ROOT%{_bindir}/fipshmac $RPM_BUILD_ROOT%{_bindir}/fipscheck \ %{buildroot}%{_bindir}/fipshmac %{buildroot}%{_bindir}/fipscheck \
$RPM_BUILD_ROOT%{_bindir}/fipshmac $RPM_BUILD_ROOT/%{_lib}/libfipscheck.so.%{soversion} \ %{buildroot}%{_bindir}/fipshmac %{buildroot}/%{_lib}/libfipscheck.so.%{soversion} \
ln -s .libfipscheck.so.%{soversion}.hmac $RPM_BUILD_ROOT/%{_lib}/.libfipscheck.so.%{somajor}.hmac \ ln -s .libfipscheck.so.%{soversion}.hmac %{buildroot}/%{_lib}/.libfipscheck.so.%{somajor}.hmac \
%{nil} %{nil}
%install %install
%make_install %make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -delete find %{buildroot} -type f -name "*.la" -delete -print
mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p %{buildroot}%{_libdir}
ln -s /%{_lib}/libfipscheck.so.%{soversion} $RPM_BUILD_ROOT%{_libdir}/libfipscheck.so ln -s /%{_lib}/libfipscheck.so.%{soversion} %{buildroot}%{_libdir}/libfipscheck.so
rm $RPM_BUILD_ROOT/%{_lib}/libfipscheck.so rm %{buildroot}/%{_lib}/libfipscheck.so
%post -n %lname -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %license COPYING
%doc ChangeLog COPYING README AUTHORS %doc ChangeLog README AUTHORS
%{_bindir}/fipscheck %{_bindir}/fipscheck
%{_bindir}/.fipscheck.hmac %{_bindir}/.fipscheck.hmac
%{_bindir}/fipshmac %{_bindir}/fipshmac
%files -n %lname %files -n %{lname}
%defattr(-,root,root,-)
/%{_lib}/libfipscheck.so.* /%{_lib}/libfipscheck.so.*
/%{_lib}/.libfipscheck.so.* /%{_lib}/.libfipscheck.so.*
%{_mandir}/man8/*.8.gz %{_mandir}/man8/*.8%{?ext_man}
%files devel %files devel
%defattr(-,root,root,-)
%{_includedir}/fipscheck.h %{_includedir}/fipscheck.h
%{_libdir}/libfipscheck.so %{_libdir}/libfipscheck.so
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3%{?ext_man}
%changelog %changelog