Skip to content

Commit

Permalink
Bumnped version to 1.9.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Jirka Hladky committed Jan 14, 2022
1 parent 1ff7627 commit 82c58fd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v1.9.18 (TBD)

v1.9.17 (Jan 08, 2022)
* Added new verbose mode [Jirka Hladky]
* haveged-once.service - use @SBIN_DIR@ instead of hard-coded path [Jirka Hladky]
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Minimum Autoconf version

AC_PREREQ([2.59])
AC_INIT([haveged],[1.9.17])
AC_INIT([haveged],[1.9.18])
AC_CONFIG_AUX_DIR(config)
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_HEADER([config.h])
Expand Down
14 changes: 13 additions & 1 deletion contrib/Fedora/haveged.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%define dracutlibdir lib/dracut
Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged
Version: 1.9.15
Version: 1.9.17
Release: 1%{?dist}
License: GPLv3+
URL: https://github.com/jirka-h/haveged
Expand Down Expand Up @@ -60,8 +60,11 @@ chmod 0644 COPYING README ChangeLog AUTHORS

#Install systemd service file
sed -e 's:@SBIN_DIR@:%{_sbindir}:g' -i contrib/Fedora/*service
sed -i '/^ConditionKernelVersion/d' contrib/Fedora/*service

install -Dpm 0644 contrib/Fedora/haveged.service %{buildroot}%{_unitdir}/%{name}.service
install -Dpm 0644 contrib/Fedora/haveged-switch-root.service %{buildroot}%{_unitdir}/%{name}-switch-root.service
install -Dpm 0644 contrib/Fedora/haveged-once.service %{buildroot}%{_unitdir}/%{name}-once.service
install -Dpm 0755 contrib/Fedora/haveged-dracut.module %{buildroot}/%{_prefix}/%{dracutlibdir}/modules.d/98%{name}/module-setup.sh
install -Dpm 0644 contrib/Fedora/90-haveged.rules %{buildroot}%{_udevrulesdir}/90-%{name}.rules

Expand Down Expand Up @@ -101,6 +104,15 @@ cp -p COPYING README ChangeLog AUTHORS contrib/build/havege_sample.c %{buildroot


%changelog
* Sat Jan 08 2022 Jirka Hladky <[email protected]> - 1.9.17-1
- Update to 1.9.17

* Mon Jan 03 2022 Jirka Hladky <[email protected]> - 1.9.16-2
- Fixed ExecStart in haveged-once.service

* Sun Jan 02 2022 Jirka Hladky <[email protected]> - 1.9.16-1
- Update to 1.9.16

* Thu Sep 30 2021 Jirka Hladky <[email protected]> - 1.9.15-1
- Update to 1.9.15

Expand Down
2 changes: 1 addition & 1 deletion src/havege.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {
* header/package version as a numeric major, minor, patch triple. See havege_version()
* below for usage.
*/
#define HAVEGE_PREP_VERSION "1.9.17"
#define HAVEGE_PREP_VERSION "1.9.18"
/**
* Basic types
*/
Expand Down
4 changes: 2 additions & 2 deletions src/haveged.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ static void run_daemon( /* RETURN: nothing */
error_exit("Stopping due to signal %d\n", params->exit_code - 128);

t[1] = time(NULL);
if (t[1] - t[0] > 60) {
/* add entropy on daemon start and then every 60 seconds unconditionally */
if (t[1] - t[0] > 600) {
/* add entropy on daemon start and then every 600 seconds unconditionally */
nbytes = poolSize / 2;
r = (nbytes+sizeof(H_UINT)-1)/sizeof(H_UINT);
fills = h->n_fills;
Expand Down

0 comments on commit 82c58fd

Please sign in to comment.