8
0
forked from pool/jitterentropy
Files
jitterentropy/jitterentropy.spec
Marcus Meissner 3fc7ac6a99 - Update to 3.6.3:
* Correct time stamp processing on AIX
  * Use high-resolution time stamp on Apple Silicon
  * GCD power-up test: consider OSR
  * Remove patches fixed in the update:
    - jitterentropy-fix-a-stack-corruption-on-s390x.patch
  * Rebase patches:
    - jitterentropy-split-internal-header.patch
    - jitterentropy-with-debug.patch
- Update to 3.6.2:
  * Fix RCT re-initialization in jent_read_entropy_safe
  * simplify test code
  * improve keyword portability
- Update to 3.6.1:
  * Add more test code
  * Add support for SunPRO compiler
  * Fix compilation on OpenBSD by replacing sed with tr
  * internal timer: Add support for Apple
  * Various small fixes to compilation to imporve portability
- Update to 3.6.0:
  * Remove bi-modal behavior of conditioning function
  * Make jent_read_entropy_safe safer by retrying the health test
  * Move the version information to make them available at compile time
- Update to 3.5.0:
  * add distinction between intermittent and permanent health failure
  * add compile time option to allow configuring a mask to reduce the
    size of the time stamp used for the APT

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jitterentropy?expand=0&rev=19
2025-04-30 09:11:57 +00:00

102 lines
3.3 KiB
RPMSpec

#
# spec file for package jitterentropy
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
Name: jitterentropy
Summary: A userspace library for jitter entropy generation
License: BSD-3-Clause OR GPL-2.0-or-later
Group: Development/Tools/Other
Version: 3.6.3
Release: 0
URL: https://github.com/smuellerDD/jitterentropy-library
Source0: https://github.com/smuellerDD/jitterentropy-library/archive/refs/tags/v%{version}.tar.gz
Source1: baselibs.conf
Patch1: jitterentropy-split-internal-header.patch
Patch2: jitterentropy-with-debug.patch
%description
The Jitter RNG provides a noise source using the CPU execution
timing jitter. It depends on a high-resolution time stamp.
The design of this RNG is given in the documentation found at
http://www.chronox.de/jent.html . This documentation also covers the full
assessment of the SP800-90B compliance as well as all required test code.
%package -n libjitterentropy3
Summary: Jitter entropy generator shared library
Group: System/Libraries
%description -n libjitterentropy3
The Jitter RNG provides a noise source using the CPU execution
timing jitter. It depends on a high-resolution time stamp.
This package contains the shared library.
%package devel
Summary: Jitter entropy generator development header and library
Group: Development/Tools/Other
Requires: libjitterentropy3 = %{version}
%description devel
The Jitter RNG provides a noise source using the CPU execution
timing jitter. It depends on a high-resolution time stamp.
This package contains the development header and library.
%package devel-static
Summary: Jitter entropy generator static library
Group: Development/Tools/Other
%description devel-static
The Jitter RNG provides a noise source using the CPU execution
timing jitter. It depends on a high-resolution time stamp.
This package contains the static library.
%prep
%autosetup -n jitterentropy-library-%version
%build
%set_build_flags
%make_build PREFIX="%_prefix" LIBDIR="%_lib"
%install
%make_install PREFIX="%_prefix" LIBDIR="%_lib" all install-static
%post -n libjitterentropy3 -p /sbin/ldconfig
%postun -n libjitterentropy3 -p /sbin/ldconfig
%files devel
%license LICENSE.gplv2 LICENSE LICENSE.bsd
%_includedir/jitterentropy-base-user.h
%_includedir/jitterentropy.h
%_libdir/libjitterentropy.so
%_mandir/man3/jitterentropy.3*
%files devel-static
%license LICENSE.gplv2 LICENSE LICENSE.bsd
%_libdir/libjitterentropy.a
%files -n libjitterentropy3
%license LICENSE.gplv2 LICENSE LICENSE.bsd
%_libdir/libjitterentropy.so.3
%_libdir/libjitterentropy.so.%version
%changelog