diff --git a/acpid-2.0.30.tar.xz b/acpid-2.0.30.tar.xz deleted file mode 100644 index 650d5ce..0000000 Binary files a/acpid-2.0.30.tar.xz and /dev/null differ diff --git a/acpid-2.0.28-kacpimon-dynamic-connections.patch b/acpid-2.0.32-kacpimon-dynamic-connections.patch similarity index 99% rename from acpid-2.0.28-kacpimon-dynamic-connections.patch rename to acpid-2.0.32-kacpimon-dynamic-connections.patch index b17dcbc..2cd2a7c 100644 --- a/acpid-2.0.28-kacpimon-dynamic-connections.patch +++ b/acpid-2.0.32-kacpimon-dynamic-connections.patch @@ -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]; diff --git a/acpid-2.0.32.tar.xz b/acpid-2.0.32.tar.xz new file mode 100644 index 0000000..05df80f Binary files /dev/null and b/acpid-2.0.32.tar.xz differ diff --git a/acpid.spec b/acpid.spec index f72cebc..86b44d4 100644 --- a/acpid.spec +++ b/acpid.spec @@ -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 +* Thu Jul 23 2020 jinzhimin - 2.0.32-1 +- update version to 2.0.32 + * Tue Jan 21 2020 luochunsheng - 2.0.30-4 - fix acpid.service start failed: Mishandling the acpid sysconfig file as a directory