!9 update version to 6.5

Merge pull request !9 from 杨壮壮/master
This commit is contained in:
openeuler-ci-bot 2020-09-03 08:53:50 +08:00 committed by Gitee
commit 9be5bf5dd8
6 changed files with 18 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,9 @@
diff -up ./jitterentropy-library/Makefile.makefile ./jitterentropy-library/Makefile diff --git a/jitterentropy-library/Makefile b/jitterentropy-library/Makefile
--- ./jitterentropy-library/Makefile.makefile 2018-07-09 13:23:31.000000000 -0400 index 4ff069b..503be5c 100644
+++ ./jitterentropy-library/Makefile 2018-07-16 11:36:25.543791453 -0400 --- a/jitterentropy-library/Makefile
@@ -44,13 +44,10 @@ scan: $(OBJS) +++ b/jitterentropy-library/Makefile
scan-build --use-analyzer=/usr/bin/clang $(CC) -shared -Wl,-soname,lib$(NAME).so.$(LIBMAJOR) -o lib$(NAME).so.$(LIBVERSION) $(OBJS) $(LDFLAGS) @@ -56,17 +56,6 @@ cppcheck:
cppcheck --force -q --enable=performance --enable=warning --enable=portability *.h *.c
install: install:
- install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3 - install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
@ -10,11 +11,12 @@ diff -up ./jitterentropy-library/Makefile.makefile ./jitterentropy-library/Makef
- gzip -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 - gzip -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
- install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR) - install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR)
- install -m 0755 -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ - install -m 0755 -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/
+ - install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR)
+clean: - install -m 0644 jitterentropy.h $(DESTDIR)$(PREFIX)/$(INCDIR)/
+ @- $(RM) $(NAME) - install -m 0644 jitterentropy-base-user.h $(DESTDIR)$(PREFIX)/$(INCDIR)/
$(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) - $(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR)
- ln -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) - ln -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR)
- ln -s lib$(NAME).so.$(LIBMAJOR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so
clean: clean:
@- $(RM) $(NAME) @- $(RM) $(NAME)

View File

@ -1,17 +1,16 @@
Name: rng-tools Name: rng-tools
Version: 6.10 Version: 6.5
Release: 1 Release: 1
Summary: Random number generator daemon Summary: Random number generator daemon
License: GPLv2+ License: GPLv2+
URL: https://github.com/nhorman/rng-tools URL: https://github.com/nhorman/rng-tools
Source0: https://github.com/nhorman/rng-tools/archive/v%{version}.tar.gz Source0: https://github.com/nhorman/rng-tools/archive/v%{version}.tar.gz
Source1: rngd.service Source1: rngd.service
Source2: jitterentropy-library-3f7b6cc.tar.gz Source2: jitterentropy-library-2.2.0.tar.gz
Patch0: jitterentropy-remove-install.patch Patch0: jitterentropy-remove-install.patch
#Dependency #Dependency
BuildRequires: libp11-devel jansson-devel
BuildRequires: gcc make gettext systemd autoconf automake BuildRequires: gcc make gettext systemd autoconf automake
BuildRequires: libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel openssl-devel BuildRequires: libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel openssl-devel
Requires: libgcrypt libsysfs openssl libxml2 libcurl Requires: libgcrypt libsysfs openssl libxml2 libcurl
@ -28,7 +27,7 @@ and supplies entropy from them to the system kernel's /dev/random machinery.
%build %build
./autogen.sh ./autogen.sh
%configure --without-rtlsdr %configure
%make_build %make_build
%install %install
@ -60,6 +59,10 @@ install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
%{_mandir}/man8/rngd.8.* %{_mandir}/man8/rngd.8.*
%changelog %changelog
* Wed Sep 2 2020 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 6.5-1
- since 6.6, jitterentropy-library is independed from rng-tools,
no any entropy source will lead to rng-tools service fail.
* Thu Jul 30 2020 zhangxingliang <zhangxingliang3@huawei.com> - 6.10-1 * Thu Jul 30 2020 zhangxingliang <zhangxingliang3@huawei.com> - 6.10-1
- update to 6.10 - update to 6.10

Binary file not shown.

BIN
v6.5.tar.gz Normal file

Binary file not shown.