diff --git a/.gitignore b/.gitignore index 0ffbf49..8818959 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -acpid-2.0.5.tar.gz -/acpid-2.0.7.tar.gz +/acpid-*.tar.xz diff --git a/acpid-2.0.2-makefile.patch b/acpid-2.0.2-makefile.patch deleted file mode 100644 index 0ba9e79..0000000 --- a/acpid-2.0.2-makefile.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -up acpid-2.0.2/Makefile.makefile acpid-2.0.2/Makefile -diff -up acpid-2.0.2/Makefile.makefile acpid-2.0.2/Makefile -diff -up acpid-2.0.2/Makefile.makefile acpid-2.0.2/Makefile -diff -up acpid-2.0.2/Makefile.makefile acpid-2.0.2/Makefile -diff -up acpid-2.0.2/Makefile.makefile acpid-2.0.2/Makefile ---- acpid-2.0.2/Makefile.makefile 2010-01-27 00:36:23.000000000 +0100 -+++ acpid-2.0.2/Makefile 2010-02-25 16:01:39.641024017 +0100 -@@ -31,8 +31,9 @@ MAN8GZ = $(MAN8:.8=.8.gz) - - DOCS = COPYING Changelog README TESTPLAN TODO - --CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE $(OPT) \ -- -fno-strict-aliasing -g $(DEFS) -+CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE -O2 $(OPT) \ -+ -fno-strict-aliasing -g $(DEFS) $(RPM_OPT_FLAGS) -fPIE -+LDFLAGS = -pie -Wl,-z,relro - DEFS = -DVERSION="\"$(VERSION)\"" - - all: $(PROGS) -@@ -46,8 +47,8 @@ man: $(MAN8) - - install_docs: - mkdir -p $(DESTDIR)/$(DOCDIR) -- for a in $(DOCS); do install -m 0644 $$a $(DESTDIR)/$(DOCDIR) ; done -- cp -a samples $(DESTDIR)/$(DOCDIR) -+ #for a in $(DOCS); do install -m 0644 $$a $(DESTDIR)/$(DOCDIR) ; done -+ #cp -a samples $(DESTDIR)/$(DOCDIR) - - install: $(PROGS) man install_docs - mkdir -p $(DESTDIR)/$(SBINDIR) diff --git a/acpid-2.0.32-kacpimon-dynamic-connections.patch b/acpid-2.0.32-kacpimon-dynamic-connections.patch new file mode 100644 index 0000000..2cd2a7c --- /dev/null +++ b/acpid-2.0.32-kacpimon-dynamic-connections.patch @@ -0,0 +1,131 @@ +diff --git a/kacpimon/connection_list.c b/kacpimon/connection_list.c +index 9b0b0a8..f228186 100644 +--- a/kacpimon/connection_list.c ++++ b/kacpimon/connection_list.c +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "connection_list.h" + +@@ -30,9 +31,9 @@ + /*---------------------------------------------------------------*/ + /* private objects */ + +-#define MAX_CONNECTIONS 100 ++static int capacity = 0; + +-static struct connection connection_list[MAX_CONNECTIONS]; ++static struct connection *connection_list = NULL; + + static int nconnections = 0; + +@@ -51,9 +52,19 @@ add_connection(struct connection *p) + { + if (nconnections < 0) + return; +- if (nconnections >= MAX_CONNECTIONS) { +- printf("add_connection(): Too many connections.\n"); +- return; ++ ++ /* if the list is full, allocate more space */ ++ if (nconnections >= capacity) { ++ /* no more than 1024 */ ++ if (capacity > 1024) { ++ printf("add_connection(): Too many connections.\n"); ++ return; ++ } ++ ++ /* another 20 */ ++ capacity += 20; ++ connection_list = ++ realloc(connection_list, sizeof(struct connection) * capacity); + } + + if (nconnections == 0) +@@ -70,6 +81,30 @@ add_connection(struct connection *p) + + /*---------------------------------------------------------------*/ + ++void ++delete_all_connections(void) ++{ ++ int i = 0; ++ ++ /* For each connection */ ++ for (i = 0; i <= get_number_of_connections(); ++i) ++ { ++ struct connection *p; ++ ++ p = get_connection(i); ++ ++ /* If this connection is invalid, try the next. */ ++ if (p == 0) ++ continue; ++ ++ close(p -> fd); ++ } ++ free(connection_list); ++ connection_list = NULL; ++} ++ ++/*---------------------------------------------------------------*/ ++ + struct connection * + find_connection(int fd) + { +diff --git a/kacpimon/connection_list.h b/kacpimon/connection_list.h +index 1d037cf..a787637 100644 +--- a/kacpimon/connection_list.h ++++ b/kacpimon/connection_list.h +@@ -56,4 +56,7 @@ extern const fd_set *get_fdset(void); + /* get the highest fd that was added to the list */ + extern int get_highestfd(void); + ++/* delete all connections, closing the fds */ ++extern void delete_all_connections(void); ++ + #endif /* CONNECTION_LIST_H__ */ +diff --git a/kacpimon/kacpimon.c b/kacpimon/kacpimon.c +index 1ddb9aa..253d270 100644 +--- a/kacpimon/kacpimon.c ++++ b/kacpimon/kacpimon.c +@@ -164,27 +164,6 @@ static void monitor(void) + + // --------------------------------------------------------------- + +-static void close_all(void) +-{ +- int i = 0; +- +- /* For each connection */ +- for (i = 0; i <= get_number_of_connections(); ++i) +- { +- struct connection *p; +- +- p = get_connection(i); +- +- /* If this connection is invalid, try the next. */ +- if (p == 0) +- continue; +- +- close(p -> fd); +- } +-} +- +-// --------------------------------------------------------------- +- + int main(void) + { + printf("Kernel ACPI Event Monitor...\n"); +@@ -199,7 +178,7 @@ int main(void) + + printf("Closing files...\n"); + +- close_all(); ++ delete_all_connections(); + + printf("Goodbye\n"); + diff --git a/acpid.init b/acpid.init deleted file mode 100755 index 0ddab7a..0000000 --- a/acpid.init +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/bash -# -# /etc/rc.d/init.d/acpid -# -# Starts the acpi daemon -# -# chkconfig: 345 26 74 -# description: Listen and dispatch ACPI events from the kernel -# processname: acpid - -### BEGIN INIT INFO -# Provides: acpid -# Required-Start: $syslog $local_fs -# Required-Stop: $syslog $local_fs -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: start and stop acpid -# Description: Listen and dispatch ACPI events from the kernel -### END INIT INFO - -# Source function library. -. /etc/rc.d/init.d/functions - -# Source networking configuration. -. /etc/sysconfig/acpid - -RETVAL=0 - -# -# See how we were called. -# - -check() { - # Check that we're a privileged user - [ `id -u` = 0 ] || exit 4 - - # Check if acpid is executable - test -x /usr/sbin/acpid || exit 5 -} - -start() { - - check - - # Check if it is already running - if [ ! -f /var/lock/subsys/acpid ]; then - echo -n $"Starting acpi daemon: " - daemon /usr/sbin/acpid $OPTIONS - RETVAL=$? - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/acpid - echo - fi - return $RETVAL -} - -stop() { - - check - - echo -n $"Stopping acpi daemon: " - killproc /usr/sbin/acpid - RETVAL=$? - [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/acpid - echo - return $RETVAL -} - - -restart() { - stop - start -} - -reload() { - - check - - trap "" SIGHUP - action $"Reloading acpi daemon:" killall -HUP acpid - RETVAL=$? - return $RETVAL -} - -case "$1" in -start) - start - ;; -stop) - stop - ;; -reload) - reload - ;; -force-reload) - echo "$0: Unimplemented feature." - RETVAL=3 - ;; -restart) - restart - ;; -condrestart) - if [ -f /var/lock/subsys/acpid ]; then - restart - fi - ;; -status) - status acpid - RETVAL=$? - ;; -*) - echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" - RETVAL=2 -esac - -exit $RETVAL diff --git a/acpid.power.sh b/acpid.power.sh index ebf0770..f1ef088 100644 --- a/acpid.power.sh +++ b/acpid.power.sh @@ -1,10 +1,25 @@ #!/bin/sh -PATH=/sbin:/bin:/usr/bin +PATH=/usr/sbin:/usr/bin -# Get the ID of the first active X11 session: +# $1 = session number +function get_session_processes() { + local uid=$(loginctl show-session $1 | grep '^User=' | sed -r -e 's/^User=(.*)$/\1/') + systemd-cgls "/user.slice/user-${uid}.slice/session-${1}.scope" +} + +# Check session status using systemd +session_ids=$(loginctl list-sessions 2>/dev/null | awk '{print $1}') +for session in ${session_ids} ; do + session_status=$(loginctl show-session ${session}) + session_processes="$(get_session_processes ${session})" + echo "${session_status}" | grep -e 'Active=yes' &> /dev/null && + echo "${session_processes}" | grep -e '\(gnome-settings-daemon\|cinnamon-settings-daemon\|kded[4-5]\|plasmashell\|xfce4-power-manager\|mate-power-manager\)' &> /dev/null && exit 0 +done + +# Get the ID of the first active X11 session: using ConsoleKit uid_session=$( -ck-list-sessions | \ +ck-list-sessions 2>/dev/null | \ awk ' /^Session[0-9]+:$/ { uid = active = x11 = "" ; next } { gsub(/'\''/, "", $3) } @@ -21,9 +36,13 @@ active == "TRUE" && x11 != "" { ps axo uid,cmd | \ awk ' $1 == '$uid_session' && - ($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/ || - $2 ~ /kded4/ || $3 ~ /guidance-power-manager/) \ - { found = 1; exit } + ($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/ || + $2 ~ /mate-power-manager/ || $2 ~ /xfce4-power-manager/ || + $2 ~ /\/usr\/libexec\/gnome-settings-daemon/ || + $2 ~ /\/usr\/libexec\/cinnamon-settings-daemon/ || + $2 ~ /kded[4-5]/ || $2 ~ /guidance-power-manager/ || + $2 ~ /plasmashell/) \ + { found = 1; exit } END { exit !found } ' || shutdown -h now diff --git a/acpid.service b/acpid.service index 553b3e2..56e2c55 100644 --- a/acpid.service +++ b/acpid.service @@ -1,18 +1,13 @@ [Unit] Description=ACPI Event Daemon -After=syslog.target - -# This could probably benefit from socket activation, but honestly I think it -# is time for acpid to go away, and hence I am not planning to spend the time -# to add socket activation here. We use Type=forking to ensure that the -# communication sockets are in place before boot proceeds with any service -# needing this service. Would acpid support socket activation we could use -# Type=simple here. +Documentation=man:acpid(8) +Requires=acpid.socket [Service] -Type=forking +StandardInput=socket EnvironmentFile=/etc/sysconfig/acpid -ExecStart=/usr/sbin/acpid $OPTIONS +ExecStart=/usr/sbin/acpid -f $OPTIONS [Install] +Also=acpid.socket WantedBy=multi-user.target diff --git a/acpid.socket b/acpid.socket new file mode 100644 index 0000000..2f2770a --- /dev/null +++ b/acpid.socket @@ -0,0 +1,9 @@ +[Unit] +Description=ACPID Listen Socket +Documentation=man:acpid(8) + +[Socket] +ListenStream=/run/acpid.socket + +[Install] +WantedBy=sockets.target diff --git a/acpid.spec b/acpid.spec index 7a1f606..6873b63 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,83 +1,77 @@ +# hardened build if not overridden +%{!?_hardened_build:%global _hardened_build 1} + +%if %{?_hardened_build}%{!?_hardened_build:0} +%global harden -pie -Wl,-z,relro,-z,now +%endif + Summary: ACPI Event Daemon Name: acpid -Version: 2.0.7 -Release: 2%{?dist} -License: GPLv2+ -Group: System Environment/Daemons -Source: http://tedfelix.com/linux/acpid-%{version}.tar.gz -Source1: acpid.init -Source2: acpid.video.conf +Version: 2.0.34 +Release: 15%{?dist} +License: GPL-2.0-or-later +Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz Source3: acpid.power.conf Source4: acpid.power.sh Source5: acpid.service Source6: acpid.sysconfig - -Patch1: acpid-2.0.2-makefile.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -ExclusiveArch: ia64 x86_64 %{ix86} -URL: http://tedfelix.com/linux/acpid-netlink.html -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig -Requires(preun): /sbin/service -Requires: systemd-units - +Source7: acpid.socket +# https://sourceforge.net/p/acpid2/tickets/14/ +Patch0: acpid-2.0.32-kacpimon-dynamic-connections.patch +%if 0%{?rhel} +ExclusiveArch: x86_64 aarch64 riscv64 +%endif +URL: http://sourceforge.net/projects/acpid2/ +BuildRequires: systemd, gcc +BuildRequires: make +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +Requires: systemd %description acpid is a daemon that dispatches ACPI events to user-space programs. - %prep %setup -q - -%patch1 -p1 -b .makefile +%patch -P0 -p1 -b .kacpimon-dynamic-connections %build -make %{?_smp_mflags} - +%configure +make %{?_smp_mflags} CFLAGS="%{optflags} %{?harden}" %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot} +mkdir -p %{buildroot} +make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/acpi/actions -mkdir -p $RPM_BUILD_ROOT/lib/systemd/system -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig - -chmod 755 $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events -install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/videoconf -install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/events/powerconf -install -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/acpi/actions/power.sh -install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/lib/systemd/system -install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/acpid - -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d -install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/acpid - - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_sysconfdir}/acpi/events +mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions +mkdir -p %{buildroot}%{_unitdir} +mkdir -p %{buildroot}%{_sysconfdir}/sysconfig +chmod 755 %{buildroot}%{_sysconfdir}/acpi/events +install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/acpi/events/powerconf +install -p -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh +install -p -m 644 %{SOURCE5} %{SOURCE7} %{buildroot}%{_unitdir} +install -p -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/acpid %files -%defattr(-,root,root) -%doc COPYING README Changelog TODO TESTPLAN -/lib/systemd/system/%{name}.service +%doc %{_docdir}/%{name} +%{_unitdir}/%{name}.service +%{_unitdir}/%{name}.socket %dir %{_sysconfdir}/acpi %dir %{_sysconfdir}/acpi/events %dir %{_sysconfdir}/acpi/actions -%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/videoconf %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/powerconf %config(noreplace) %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/acpid %{_bindir}/acpi_listen %{_sbindir}/acpid -%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/acpid +%{_sbindir}/kacpimon %{_mandir}/man8/acpid.8.gz %{_mandir}/man8/acpi_listen.8.gz - +%{_mandir}/man8/kacpimon.8.gz %pre if [ "$1" = "2" ]; then @@ -86,36 +80,337 @@ if [ "$1" = "2" ]; then if [ $RETCODE -eq 0 ]; then for i in $conflist; do rmdot=`echo $i | sed 's/.conf/conf/'` - mv $i $rmdot + mv $i $rmdot done fi fi %post -if [ $1 -eq 1 ]; then - /sbin/chkconfig --add acpid - /bin/systemctl enable %{name}.service > /dev/null 2>&1 || : -fi +%systemd_post %{name}.socket %{name}.service %preun -if [ "$1" = "0" ]; then - /sbin/service acpid stop >/dev/null 2>&1 - /sbin/chkconfig --del acpid - - /bin/systemctl disable %{name}.service %{name}.socket > /dev/null 2>&1 || : - /bin/systemctl stop %{name}.service %{name}.socket > /dev/null 2>&1 || : - -fi +%systemd_preun %{name}.socket %{name}.service %postun -if [ "$1" -ge "1" ]; then - /sbin/service acpid condrestart >/dev/null 2>&1 +%systemd_postun_with_restart %{name}.socket %{name}.service - /bin/systemctl daemon-reload >/dev/null 2>&1 || : - /bin/systemctl try-restart %{name}.service > /dev/null 2>&1 || : -fi +%triggerun -- %{name} < 2.0.10-2 + /sbin/chkconfig --del acpid >/dev/null 2>&1 || : + /bin/systemctl try-restart acpid.service >/dev/null 2>&1 || : %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 2.0.34-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 2.0.34-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Apr 15 2025 Jaroslav Škarvada - 2.0.34-13 +- Used exclusiverch on RHEL + +* Thu Apr 3 2025 Jaroslav Škarvada - 2.0.34-12 +- Dropped exclusivearch, the package is still useless on POWER (no firmware support + yet), but it is required by some dependency + Resolves: rhbz#2355763 + +* Thu Jan 16 2025 Fedora Release Engineering - 2.0.34-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Aug 12 2024 Jaroslav Škarvada - 2.0.34-10 +- Dropped videoconf, obsolete for some time + Resolves: rhbz#2296943 + +* Wed Jul 17 2024 Fedora Release Engineering - 2.0.34-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Feb 23 2024 Songsong Zhang - 2.0.34-8 +- Add riscv64 support + +* Mon Jan 22 2024 Fedora Release Engineering - 2.0.34-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.0.34-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Aug 9 2023 Jaroslav Škarvada - 2.0.34-5 +- SPDX license fix + +* Wed Aug 9 2023 Jaroslav Škarvada - 2.0.34-4 +- Converted license to SPDX + +* Wed Jul 19 2023 Fedora Release Engineering - 2.0.34-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jan 18 2023 Fedora Release Engineering - 2.0.34-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Sep 24 2022 Jaroslav Škarvada - 2.0.34-1 +- New version + Resolves: rhbz#2127331 + +* Wed Jul 20 2022 Fedora Release Engineering - 2.0.33-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 2.0.33-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Oct 5 2021 Jaroslav Škarvada - 2.0.33-1 +- New version + Resolves: rhbz#2004773 + +* Wed Jul 21 2021 Fedora Release Engineering - 2.0.32-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 01 2021 FeRD (Frank Dana) - 2.0.32-6 +- Updated socket path from /var/run => /run in acpid.socket + +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.0.32-5 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + +* Mon Jan 25 2021 Fedora Release Engineering - 2.0.32-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 2.0.32-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 2.0.32-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Aug 20 2019 Jaroslav Škarvada - 2.0.32-1 +- New version + Resolves: rhbz#1742776 + +* Wed Jul 24 2019 Fedora Release Engineering - 2.0.30-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 2.0.30-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Nov 15 2018 Jaroslav Škarvada - 2.0.30-2 +- Dropped sysvinit support + +* Thu Jul 19 2018 Jaroslav Škarvada - 2.0.30-1 +- New version + Resolves: rhbz#1602974 + +* Thu Jul 12 2018 Fedora Release Engineering - 2.0.29-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Apr 19 2018 Jaroslav Škarvada - 2.0.29-1 +- New version + Resolves: rhbz#1568392 + +* Mon Feb 19 2018 Ondřej Lysoněk - 2.0.28-8 +- Add gcc to BuildRequires + +* Wed Feb 07 2018 Fedora Release Engineering - 2.0.28-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 31 2017 Jaroslav Škarvada - 2.0.28-6 +- Switched kacpimon to dynamic connections (increased max connections + from 20 to 1024) + Resolves: rhbz#1450980 +- Consolidated new line delimiters + +* Wed Aug 02 2017 Fedora Release Engineering - 2.0.28-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.0.28-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.0.28-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 18 2017 Ondřej Lysoněk - 2.0.28-2 +- Fixed obtaining process list in power.sh to avoid SELinux denials + Resolves: rhbz#1408457 + +* Fri Sep 16 2016 Jaroslav Škarvada - 2.0.28-1 +- New version + Resolves: rhbz#1376618 + +* Wed Aug 3 2016 Jaroslav Škarvada - 2.0.27-4 +- Fixed service autostart (if enabled) + Resolves: rhbz#1363632 + +* Wed Jul 20 2016 Jaroslav Škarvada - 2.0.27-3 +- Added exception for plasmashell to power.sh + Related: rhbz#1319885 + +* Wed Jul 20 2016 Jaroslav Škarvada - 2.0.27-2 +- Added exception for kded5 to power.sh + Resolves: rhbz#1319885 + +* Wed Mar 16 2016 Jaroslav Škarvada - 2.0.27-1 +- New version + Resolves: rhbz#1299109 + +* Wed Feb 03 2016 Fedora Release Engineering - 2.0.25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Nov 12 2015 Jaroslav Škarvada - 2.0.25-4 +- Preserve timestamps on installed files + +* Wed Sep 2 2015 Jaroslav Škarvada - 2.0.25-3 +- Fixed typo + +* Wed Sep 2 2015 Jaroslav Škarvada - 2.0.25-2 +- Simplified macros check related to hardening + +* Mon Aug 17 2015 Jaroslav Škarvada - 2.0.25-1 +- New version + Resolves: rhbz#1253985 + +* Tue Jun 16 2015 Fedora Release Engineering - 2.0.23-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jun 2 2015 Jaroslav Škarvada - 2.0.23-4 +- Used socket for stdin to support socket activation + +* Tue May 19 2015 Jaroslav Škarvada - 2.0.23-3 +- Changed PATH to /usr/sbin:/usr/bin in power.sh + Resolves: rhbz#1192817 + +* Thu Mar 05 2015 Adam Jackson 2.0.23-2 +- Drop sysvinit subpackage in F23+ + +* Tue Aug 26 2014 Jaroslav Škarvada - 2.0.23-1 +- New version + Resolves: rhbz#1133263 + +* Fri Aug 15 2014 Fedora Release Engineering - 2.0.22-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.0.22-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 Dennis Gilmore - 2.0.22-2 +- enable building on aarch64 and 32 bit arm + +* Mon Mar 17 2014 Jaroslav Škarvada - 2.0.22-1 +- New version + +* Tue Feb 18 2014 Jaroslav Škarvada - 2.0.21-2 +- Used unitdir macro instead of the hardcoded systemd paths + +* Wed Feb 12 2014 Jaroslav Škarvada - 2.0.21-1 +- New version + Resolves: rhbz#1054057 + +* Fri Jan 10 2014 Ville Skyttä - 2.0.20-3 +- Use socket activation, fix rpmlint tabs vs spaces warnings. + +* Wed Nov 13 2013 Jaroslav Škarvada - 2.0.20-2 +- Fixed loginctl and added support for cinnamon and mate (patch by Leigh Scott) + Resolves: rhbz#1029868 + +* Mon Sep 16 2013 Jaroslav Škarvada - 2.0.20-1 +- New version + Resolves: rhbz#1008344 +- Fixed bogus date in changelog (best effort) + +* Wed Aug 14 2013 Jaroslav Škarvada - 2.0.19-6 +- Added systemd build requires + Resolves: rhbz#995158 + +* Mon Aug 12 2013 Jaroslav Škarvada - 2.0.19-5 +- Hardened build + Resolves: rhbz#983609 + +* Fri Aug 9 2013 Jaroslav Škarvada - 2.0.19-4 +- Fixed systemd requires + Resolves: rhbz#995158 + +* Tue Aug 6 2013 Jaroslav Škarvada - 2.0.19-3 +- Used unversioned docs + Resolves: rhbz#993661 + +* Sat Aug 03 2013 Fedora Release Engineering - 2.0.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 28 2013 Jaroslav Škarvada - 2.0.19-1 +- New version + +* Mon Feb 25 2013 Jaroslav Škarvada - 2.0.18-3 +- Switched to systemd-rpm macros + Resolves: rhbz#850020 + +* Fri Feb 15 2013 Jaroslav Škarvada - 2.0.18-2 +- Fixed source URL + +* Fri Feb 15 2013 Jaroslav Škarvada - 2.0.18-1 +- New version +- Replaced RPM_BUILD_ROOT variables by {buildroot} macros +- Updated URLs to project home page and source code +- Dropped mk patch, handled better way in the spec + +* Wed Feb 13 2013 Fedora Release Engineering - 2.0.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Sep 17 2012 Jaroslav Škarvada - 2.0.17-1 +- New version + Resolves: rhbz#857695 + +* Wed Jul 18 2012 Fedora Release Engineering - 2.0.16-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 9 2012 Jaroslav Škarvada - 2.0.16-4 +- Update of power.sh to be compatible with new systemd-loginctl + Resolves: rhbz#819547 + +* Thu Jun 14 2012 Jaroslav Škarvada - 2.0.16-3 +- Silenced possible ck-list-sessions errors in power.sh + +* Thu Jun 14 2012 Jaroslav Škarvada - 2.0.16-2 +- Added support for systemd-loginctl list-sessions + Resolves: rhbz#819559 + +* Thu Mar 29 2012 Jaroslav Škarvada - 2.0.16-1 +- New version + +* Fri Mar 16 2012 Jiri Skala - 2.0.15-1 +- updated to latest upstream 2.0.15 + +* Thu Jan 12 2012 Fedora Release Engineering - 2.0.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jan 02 2012 Jiri Skala - 2.0.14-2 +- fixes #722325 - xfce4-power-manager does not seem to be supported + +* Mon Dec 19 2011 Jiri Skala - 2.0.14-1 +- updated to latest upstream 2.0.14 + +* Wed Nov 16 2011 Jiri Skala - 2.0.13-1 +- updated to latest upstream 2.0.13 + +* Tue Aug 16 2011 Jiri Skala - 2.0.12-1 +- updated to latest upstream 2.0.12 + +* Mon Aug 01 2011 Jiri Skala - 2.0.11-1 +- updated to latest upstream 2.0.11 + +* Mon Jun 27 2011 Jiri Skala - 2.0.10-2 +- fixes #716923 - move SysV initscript file into an optional subpackage + +* Wed May 18 2011 Jiri Skala - 2.0.10-1 +- update to latest upstream 2.0.10 + +* Fri May 06 2011 Bill Nottingham - 2.0.9-4 +- fix systemd scriptlets to properly handle upgrade + +* Tue May 03 2011 Jiri Skala - 2.0.9-3 +- corrected relase number to be min equal to f15 + +* Mon Apr 18 2011 Jiri Skala - 2.0.9-1 +- update to latest upstream 2.0.9 + +* Wed Feb 16 2011 Jiri Skala - 2.0.8-1 +- update to latest upstream 2.0.8 + +* Wed Feb 09 2011 Jiri Skala - 2.0.7-3 +- fixes unused varable and coparison of different var types + * Mon Feb 07 2011 Fedora Release Engineering - 2.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild @@ -186,7 +481,7 @@ fi - Fixed socket leak (#394431) - Fixed dumping useless info to log (#389581) -* Thu Oct 23 2007 Zdenek Prikryl - 1.0.6-3.fc9 +* Tue Oct 23 2007 Zdenek Prikryl - 1.0.6-3.fc9 - Silent initscript - Resolves: #345611 diff --git a/sources b/sources index e9810f3..7ca6fe8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -84832448304e0b19c8cf566fe5b64be0 acpid-2.0.7.tar.gz +SHA512 (acpid-2.0.34.tar.xz) = 2bf92295b55bb44fe83074b3e0c1ae639f63edaeea84b2184ae95b38852be40f380d5413110b8c0fcb2efc2ec01bf4764e1dcb97022fc724bebbfc35c0b63c81