Accepting request 920653 from home:msmeissn
please add for factory inclusion OBS-URL: https://build.opensuse.org/request/show/920653 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jitterentropy?expand=0&rev=1
This commit is contained in:
commit
3c0b0fcc5b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
4
jitterentropy.changes
Normal file
4
jitterentropy.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 12:25:00 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- add a userspace jitter entropy generator library
|
95
jitterentropy.spec
Normal file
95
jitterentropy.spec
Normal file
@ -0,0 +1,95 @@
|
||||
#
|
||||
# spec file for package hello
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: jitterentropy
|
||||
Summary: A userspace library for jitter entropy generation
|
||||
License: GPL-2.0-or-later OR BSD-3-Clause
|
||||
Group: Development/Tools/Other
|
||||
Version: 3.3.0
|
||||
Release: 0
|
||||
Url: https://github.com/smuellerDD/jitterentropy-library
|
||||
Source0: https://github.com/smuellerDD/jitterentropy-library/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
%description
|
||||
The Jitter RNG provides a noise source using the CPU execution
|
||||
timing jitter. It does not depend on any system resource other than
|
||||
a high-resolution time stamp. It is a small-scale, yet fast entropy
|
||||
source that is viable in almost all environments and on a lot of CPU
|
||||
architectures.
|
||||
|
||||
The implementation of the Jitter RNG is independent of any operating
|
||||
system. As such, it could even run on baremetal without any operating
|
||||
system.
|
||||
|
||||
The design of the RNG is given in the documentation found in 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: Development/Tools/Other
|
||||
|
||||
%description -n libjitterentropy3
|
||||
The Jitter RNG provides a noise source using the CPU execution
|
||||
timing jitter. It does not depend on any system resource other than
|
||||
a high-resolution time stamp. It is a small-scale, yet fast entropy
|
||||
source that is viable in almost all environments and on a lot of CPU
|
||||
architectures.
|
||||
|
||||
This package contains the shared library.
|
||||
|
||||
%package devel
|
||||
Summary: Jitter entropy generator development header and library
|
||||
Group: Development/Tools/Other
|
||||
|
||||
%description devel
|
||||
The Jitter RNG provides a noise source using the CPU execution
|
||||
timing jitter. It does not depend on any system resource other than
|
||||
a high-resolution time stamp. It is a small-scale, yet fast entropy
|
||||
source that is viable in almost all environments and on a lot of CPU
|
||||
architectures.
|
||||
|
||||
This package contains the development header and library.
|
||||
|
||||
%prep
|
||||
%setup -q -n jitterentropy-library-%version
|
||||
|
||||
%build
|
||||
make PREFIX=/usr LIBDIR=%_lib
|
||||
|
||||
%install
|
||||
%make_install PREFIX=/usr LIBDIR=%_lib
|
||||
|
||||
%post -n libjitterentropy3 -p /sbin/ldconfig
|
||||
%postun -n libjitterentropy3 -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%license LICENSE.gplv2 LICENSE LICENSE.bsd
|
||||
/usr/include/jitterentropy-base-user.h
|
||||
/usr/include/jitterentropy.h
|
||||
%_libdir/libjitterentropy.so
|
||||
%_mandir/man3/jitterentropy.3*
|
||||
|
||||
%files -n libjitterentropy3
|
||||
%defattr(-, root, root)
|
||||
%license LICENSE.gplv2 LICENSE LICENSE.bsd
|
||||
%_libdir/libjitterentropy.so.3
|
||||
%_libdir/libjitterentropy.so.3.3.0
|
||||
|
||||
%changelog
|
3
v3.3.0.tar.gz
Normal file
3
v3.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4868c169444e548b55f0149f3d688e53c02d1494f035e88b966e8979b58a2cc6
|
||||
size 81625
|
Loading…
Reference in New Issue
Block a user