!5 update to 2.0.32

Merge pull request !5 from 靳智敏/master
This commit is contained in:
openeuler-ci-bot 2020-07-23 16:16:24 +08:00 committed by Gitee
commit 7d82a3a954
4 changed files with 7 additions and 4 deletions

Binary file not shown.

View File

@ -14,7 +14,7 @@ index 9b0b0a8..f228186 100644
/*---------------------------------------------------------------*/ /*---------------------------------------------------------------*/
/* private objects */ /* private objects */
-#define MAX_CONNECTIONS 20 -#define MAX_CONNECTIONS 100
+static int capacity = 0; +static int capacity = 0;
-static struct connection connection_list[MAX_CONNECTIONS]; -static struct connection connection_list[MAX_CONNECTIONS];

BIN
acpid-2.0.32.tar.xz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: acpid Name: acpid
Version: 2.0.30 Version: 2.0.32
Release: 4 Release: 1
Summary: Advanced Configuration and Power Interface event daemon Summary: Advanced Configuration and Power Interface event daemon
License: GPLv2+ License: GPLv2+
URL: http://sourceforge.net/projects/acpid2/ URL: http://sourceforge.net/projects/acpid2/
@ -11,7 +11,7 @@ Source3: acpid.service
Source4: acpid.sysconfig Source4: acpid.sysconfig
Source5: acpid.socket Source5: acpid.socket
Patch1: acpid-2.0.28-kacpimon-dynamic-connections.patch Patch1: acpid-2.0.32-kacpimon-dynamic-connections.patch
ExclusiveArch: aarch64 x86_64 %{ix86} ExclusiveArch: aarch64 x86_64 %{ix86}
BuildRequires: systemd, gcc BuildRequires: systemd, gcc
@ -76,6 +76,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid
%systemd_postun_with_restart %{name}.socket %{name}.service %systemd_postun_with_restart %{name}.socket %{name}.service
%changelog %changelog
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.32-1
- update version to 2.0.32
* Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4 * Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4
- fix acpid.service start failed: Mishandling the acpid sysconfig file - fix acpid.service start failed: Mishandling the acpid sysconfig file
as a directory as a directory