upgrade to 2.0.32

This commit is contained in:
jinzhimin369 2020-07-22 08:17:13 +00:00
parent f74b1493fd
commit 1ea9985bcd
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 */
-#define MAX_CONNECTIONS 20
-#define MAX_CONNECTIONS 100
+static int capacity = 0;
-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
Version: 2.0.30
Release: 4
Version: 2.0.32
Release: 1
Summary: Advanced Configuration and Power Interface event daemon
License: GPLv2+
URL: http://sourceforge.net/projects/acpid2/
@ -11,7 +11,7 @@ Source3: acpid.service
Source4: acpid.sysconfig
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}
BuildRequires: systemd, gcc
@ -76,6 +76,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid
%systemd_postun_with_restart %{name}.socket %{name}.service
%changelog
* Tue Jul 21 2020 xinghe <xinghe1@huawei.com> - 2.0.32-1
- update version to 2.0.32
* Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4
- fix acpid.service start failed: Mishandling the acpid sysconfig file
as a directory