From fa14b614bc4694d56f8475b08966d51db523ce55 Mon Sep 17 00:00:00 2001 From: Tomáš Mráz Date: Feb 11 2009 09:57:04 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..6cc91ad 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fipscheck-1.0.4.tar.bz2 diff --git a/fipscheck.spec b/fipscheck.spec new file mode 100644 index 0000000..bb75da6 --- /dev/null +++ b/fipscheck.spec @@ -0,0 +1,88 @@ +Summary: A library for integrity verification of FIPS validated modules +Name: fipscheck +Version: 1.0.4 +Release: 1%{?dist} +License: BSD +Group: System Environment/Libraries +# This is a Red Hat maintained package which is specific to +# our distribution. +URL: http://people.redhat.com/tmraz/fipscheck +Source0: http://people.redhat.com/tmraz/fipscheck/%{name}-%{version}.tar.bz2 + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: openssl-devel >= 0.9.8j + +%description +FIPSCheck is a library for integrity verification of FIPS validated +modules. The package also provides helper binaries for creation and +verification of the HMAC-SHA256 checksum files. + +%package devel +Summary: Development files for %{name} +Group: System Environment/Libraries + +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains development files for %{name}. + +%prep +%setup -q + +%build +%configure --disable-static \ + --bindir=/bin + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name "*.la" -delete + +mkdir $RPM_BUILD_ROOT/%{_lib} +mv $RPM_BUILD_ROOT%{_libdir}/libfipscheck.so.* $RPM_BUILD_ROOT/%{_lib} + +ln -sf ../../%{_lib}/libfipscheck.so.1 $RPM_BUILD_ROOT%{_libdir}/libfipscheck.so + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README AUTHORS +/%{_lib}/libfipscheck.so.* +/bin/fipscheck +/bin/fipshmac + +%files devel +%defattr(-,root,root,-) +%{_includedir}/fipscheck.h +%{_libdir}/libfipscheck.so + +%changelog +* Mon Feb 9 2009 Tomas Mraz - 1.0.4-1 +- add some docs to the README, require current openssl in Fedora + +* Fri Oct 24 2008 Tomas Mraz - 1.0.3-1 +- use OpenSSL in FIPS mode to do the HMAC checksum instead of NSS + +* Tue Sep 9 2008 Tomas Mraz - 1.0.2-1 +- fix test for prelink + +* Mon Sep 8 2008 Tomas Mraz - 1.0.1-1 +- put binaries in /bin and libraries in /lib as fipscheck + will be used by modules in /lib + +* Mon Sep 8 2008 Tomas Mraz - 1.0.0-2 +- minor fixes for package review + +* Wed Sep 3 2008 Tomas Mraz - 1.0.0-1 +- Initial spec file diff --git a/import.log b/import.log new file mode 100644 index 0000000..188fac2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +fipscheck-1_0_4-1_fc11:HEAD:fipscheck-1.0.4-1.fc11.src.rpm:1234346165 diff --git a/sources b/sources index e69de29..ffd357e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6626b490c5b62a796e6272126e4ff6e8 fipscheck-1.0.4.tar.bz2