Name: haveged Version: 1.9.22 Release: 1%{?dist} Summary: Entropy generator for systems with a shortage of random data Summary(ru): Генератор энтропии для систем с недостатком случайных данных License: GPL-3.0-or-later URL: http://www.irisa.fr/caps/projects/hipsor Packager: NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 Vendor: NiceSOFT Distribution: NiceOS.Core BugURL: https://bugs.niceos.ru/ VCS: https://specs.niceos.ru/rmps/%{name} Source0: https://github.com/jirka-h/haveged/archive/refs/tags/v%{version}.tar.gz#%{name}-%{version}.tar.gz Source1: %{name}.service BuildRequires: coreutils BuildRequires: automake BuildRequires: glibc BuildRequires: systemd-devel Requires: systemd %description haveged is an entropy generator for Linux systems that improves the availability of randomness for the kernel RNG. It gathers entropy from CPU timing variations and feeds it into the kernel entropy pool, which is particularly useful on systems with low entropy such as VMs or minimal hardware. %description -l ru haveged — генератор энтропии для Linux, улучшающий работу генератора случайных чисел (RNG) ядра. Он собирает энтропию из источников вроде вариаций времени выполнения инструкций CPU и передаёт её в пул энтропии ядра. Это особенно полезно для систем с низким уровнем энтропии (например, ВМ). %package devel Summary: Development files for haveged: libraries and header files Summary(ru): Разработка для haveged: библиотеки и заголовочные файлы Requires: %{name} = %{version}-%{release} %description devel Development subpackage for haveged. It contains header files and development symlinks required to build applications that use libhavege. %description -l ru devel Подпакет разработки haveged. Содержит заголовочные файлы и симлинки библиотек, необходимые для сборки приложений, использующих libhavege. %prep %autosetup -p1 %build %configure %make_build %install %make_install %{?_smp_mflags} rm -rf %{buildroot}%{_sysconfdir}/init.d \ %{buildroot}%{_libdir}/libhavege.*a mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %if 0%{?with_check} %check make check %{?_smp_mflags} %endif %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun -p /sbin/ldconfig %systemd_postun_with_restart %{name}.service %files %defattr(-,root,root,-) %{_sbindir}/%{name} %{_unitdir}/%{name}.service %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %dir %{_includedir}/%{name} %{_includedir}/%{name}/havege.h %{_libdir}/*.so %{_mandir}/man3/libhavege.3* %{_mandir}/man8/%{name}.8* %changelog * Mon May 25 2026 NiceOS Team - 1.9.22-1 - EN: Update haveged to 1.9.22. Upstream change: add ReadWritePaths=/dev/shm to the systemd service so semaphore creation works under ProtectSystem=full sandboxing. - RU: Обновить haveged до 1.9.22. Изменение upstream: добавить ReadWritePaths=/dev/shm в systemd-сервис, чтобы создание семафора работало при sandboxing ProtectSystem=full. * Sat May 02 2026 NiceOS Team - 1.9.20-1 - EN: * Update haveged to 1.9.20. - Upstream notes: create /dev/shm if missing so haveged can start, fix typo in havege_sample.c, and correct typoed comments in source/build scripts. - RU: * Обновление haveged до 1.9.20. - По upstream: создавать /dev/shm, если он отсутствует, чтобы haveged мог стартовать; исправить опечатку в havege_sample.c; исправить опечатки в комментариях source/build scripts. * Sun Jan 11 2026 NiceOS Team - 1.9.19-1 - Initial build for NiceOS (Первая сборка для НАЙС.ОС)