251ed4
# hardened build if not overridden
251ed4
%{!?_hardened_build:%global _hardened_build 1}
251ed4
251ed4
%if %{?_hardened_build}%{!?_hardened_build:0}
251ed4
%global harden -pie -Wl,-z,relro,-z,now
251ed4
%endif
251ed4
251ed4
Summary: ACPI Event Daemon
251ed4
Name: acpid
251ed4
Version: 2.0.30
251ed4
Release: 2%{?dist}
251ed4
License: GPLv2+
251ed4
Group: System Environment/Daemons
251ed4
Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
251ed4
Source2: acpid.video.conf
251ed4
Source3: acpid.power.conf
251ed4
Source4: acpid.power.sh
251ed4
Source5: acpid.service
251ed4
Source6: acpid.sysconfig
251ed4
Source7: acpid.socket
251ed4
# https://sourceforge.net/p/acpid2/tickets/14/
251ed4
Patch0: acpid-2.0.28-kacpimon-dynamic-connections.patch
251ed4
ExclusiveArch: ia64 x86_64 %{ix86} %{arm} aarch64
251ed4
URL: http://sourceforge.net/projects/acpid2/
251ed4
BuildRequires: systemd, gcc
251ed4
Requires(post): systemd
251ed4
Requires(preun): systemd
251ed4
Requires(postun): systemd
251ed4
Requires: systemd
251ed4
251ed4
%description
251ed4
acpid is a daemon that dispatches ACPI events to user-space programs.
251ed4
251ed4
%prep
251ed4
%setup -q
251ed4
%patch0 -p1 -b .kacpimon-dynamic-connections
251ed4
251ed4
%build
251ed4
%configure
251ed4
make %{?_smp_mflags} CFLAGS="%{optflags} %{?harden}"
251ed4
251ed4
%install
251ed4
rm -rf %{buildroot}
251ed4
mkdir -p %{buildroot}
251ed4
make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}
251ed4
251ed4
mkdir -p %{buildroot}%{_sysconfdir}/acpi/events
251ed4
mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions
251ed4
mkdir -p %{buildroot}%{_unitdir}
251ed4
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
251ed4
251ed4
chmod 755 %{buildroot}%{_sysconfdir}/acpi/events
251ed4
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/events/videoconf
251ed4
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/acpi/events/powerconf
251ed4
install -p -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
251ed4
install -p -m 644 %{SOURCE5} %{SOURCE7} %{buildroot}%{_unitdir}
251ed4
install -p -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/acpid
251ed4
251ed4
%files
251ed4
%doc %{_docdir}/%{name}
251ed4
%{_unitdir}/%{name}.service
251ed4
%{_unitdir}/%{name}.socket
251ed4
%dir %{_sysconfdir}/acpi
251ed4
%dir %{_sysconfdir}/acpi/events
251ed4
%dir %{_sysconfdir}/acpi/actions
251ed4
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/videoconf
251ed4
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/acpi/events/powerconf
251ed4
%config(noreplace) %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh
251ed4
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/acpid
251ed4
%{_bindir}/acpi_listen
251ed4
%{_sbindir}/acpid
251ed4
%{_sbindir}/kacpimon
251ed4
%{_mandir}/man8/acpid.8.gz
251ed4
%{_mandir}/man8/acpi_listen.8.gz
251ed4
%{_mandir}/man8/kacpimon.8.gz
251ed4
251ed4
%pre
251ed4
if [ "$1" = "2" ]; then
251ed4
	conflist=`ls %{_sysconfdir}/acpi/events/*.conf 2> /dev/null`
251ed4
	RETCODE=$?
251ed4
	if [ $RETCODE -eq 0 ]; then
251ed4
		for i in $conflist; do
251ed4
			rmdot=`echo $i | sed 's/.conf/conf/'`
251ed4
			mv $i $rmdot
251ed4
		done
251ed4
	fi
251ed4
fi
251ed4
251ed4
%post
251ed4
%systemd_post %{name}.socket %{name}.service
251ed4
251ed4
%preun
251ed4
%systemd_preun %{name}.socket %{name}.service
251ed4
251ed4
%postun
251ed4
%systemd_postun_with_restart %{name}.socket %{name}.service
251ed4
251ed4
%triggerun -- %{name} < 2.0.10-2
251ed4
	/sbin/chkconfig --del acpid >/dev/null 2>&1 || :
251ed4
	/bin/systemctl try-restart acpid.service >/dev/null 2>&1 || :
251ed4
251ed4
%changelog
251ed4
* Thu Nov 15 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.30-2
251ed4
- Dropped sysvinit support
251ed4
  Resolves: rhbz#1610275
251ed4
251ed4
* Thu Jul 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.30-1
251ed4
- New version
251ed4
  Resolves: rhbz#1602974
251ed4
251ed4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.29-2
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
251ed4
251ed4
* Thu Apr 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.29-1
251ed4
- New version
251ed4
  Resolves: rhbz#1568392
251ed4
251ed4
* Mon Feb 19 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.0.28-8
251ed4
- Add gcc to BuildRequires
251ed4
251ed4
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.28-7
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
251ed4
251ed4
* Thu Aug 31 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.28-6
251ed4
- Switched kacpimon to dynamic connections (increased max connections
251ed4
  from 20 to 1024)
251ed4
  Resolves: rhbz#1450980
251ed4
- Consolidated new line delimiters
251ed4
251ed4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.28-5
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
251ed4
251ed4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.28-4
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
251ed4
251ed4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.28-3
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
251ed4
251ed4
* Wed Jan 18 2017 Ondřej Lysoněk <olysonek@redhat.com> - 2.0.28-2
251ed4
- Fixed obtaining process list in power.sh to avoid SELinux denials
251ed4
  Resolves: rhbz#1408457
251ed4
251ed4
* Fri Sep 16 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.28-1
251ed4
- New version
251ed4
  Resolves: rhbz#1376618
251ed4
251ed4
* Wed Aug  3 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.27-4
251ed4
- Fixed service autostart (if enabled)
251ed4
  Resolves: rhbz#1363632
251ed4
251ed4
* Wed Jul 20 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.27-3
251ed4
- Added exception for plasmashell to power.sh
251ed4
  Related: rhbz#1319885
251ed4
251ed4
* Wed Jul 20 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.27-2
251ed4
- Added exception for kded5 to power.sh
251ed4
  Resolves: rhbz#1319885
251ed4
251ed4
* Wed Mar 16 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.27-1
251ed4
- New version
251ed4
  Resolves: rhbz#1299109
251ed4
251ed4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.25-5
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
251ed4
251ed4
* Thu Nov 12 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-4
251ed4
- Preserve timestamps on installed files
251ed4
251ed4
* Wed Sep  2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-3
251ed4
- Fixed typo
251ed4
251ed4
* Wed Sep  2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-2
251ed4
- Simplified macros check related to hardening
251ed4
251ed4
* Mon Aug 17 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.25-1
251ed4
- New version
251ed4
  Resolves: rhbz#1253985
251ed4
251ed4
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.23-5
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
251ed4
251ed4
* Tue Jun  2 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-4
251ed4
- Used socket for stdin to support socket activation
251ed4
251ed4
* Tue May 19 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-3
251ed4
- Changed PATH to /usr/sbin:/usr/bin in power.sh
251ed4
  Resolves: rhbz#1192817
251ed4
251ed4
* Thu Mar 05 2015 Adam Jackson <ajax@redhat.com> 2.0.23-2
251ed4
- Drop sysvinit subpackage in F23+
251ed4
251ed4
* Tue Aug 26 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.23-1
251ed4
- New version
251ed4
  Resolves: rhbz#1133263
251ed4
251ed4
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.22-4
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
251ed4
251ed4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.22-3
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
251ed4
251ed4
* Fri May 23 2014 Dennis Gilmore <dennis@ausil.us> - 2.0.22-2
251ed4
- enable building on aarch64 and 32 bit arm
251ed4
251ed4
* Mon Mar 17 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.22-1
251ed4
- New version
251ed4
251ed4
* Tue Feb 18 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.21-2
251ed4
- Used unitdir macro instead of the hardcoded systemd paths
251ed4
251ed4
* Wed Feb 12 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.21-1
251ed4
- New version
251ed4
  Resolves: rhbz#1054057
251ed4
251ed4
* Fri Jan 10 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.0.20-3
251ed4
- Use socket activation, fix rpmlint tabs vs spaces warnings.
251ed4
251ed4
* Wed Nov 13 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.20-2
251ed4
- Fixed loginctl and added support for cinnamon and mate (patch by Leigh Scott)
251ed4
  Resolves: rhbz#1029868
251ed4
251ed4
* Mon Sep 16 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.20-1
251ed4
- New version
251ed4
  Resolves: rhbz#1008344
251ed4
- Fixed bogus date in changelog (best effort)
251ed4
251ed4
* Wed Aug 14 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-6
251ed4
- Added systemd build requires
251ed4
  Resolves: rhbz#995158
251ed4
251ed4
* Mon Aug 12 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-5
251ed4
- Hardened build
251ed4
  Resolves: rhbz#983609
251ed4
251ed4
* Fri Aug  9 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-4
251ed4
- Fixed systemd requires
251ed4
  Resolves: rhbz#995158
251ed4
251ed4
* Tue Aug  6 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-3
251ed4
- Used unversioned docs
251ed4
  Resolves: rhbz#993661
251ed4
251ed4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.19-2
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
251ed4
251ed4
* Tue May 28 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-1
251ed4
- New version
251ed4
251ed4
* Mon Feb 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.18-3
251ed4
- Switched to systemd-rpm macros
251ed4
  Resolves: rhbz#850020
251ed4
251ed4
* Fri Feb 15 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.18-2
251ed4
- Fixed source URL
251ed4
251ed4
* Fri Feb 15 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.18-1
251ed4
- New version
251ed4
- Replaced RPM_BUILD_ROOT variables by {buildroot} macros
251ed4
- Updated URLs to project home page and source code
251ed4
- Dropped mk patch, handled better way in the spec
251ed4
251ed4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.17-2
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
251ed4
251ed4
* Mon Sep 17 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.17-1
251ed4
- New version
251ed4
  Resolves: rhbz#857695
251ed4
251ed4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-5
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
251ed4
251ed4
* Mon Jul  9 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.16-4
251ed4
- Update of power.sh to be compatible with new systemd-loginctl
251ed4
  Resolves: rhbz#819547
251ed4
251ed4
* Thu Jun 14 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.16-3
251ed4
- Silenced possible ck-list-sessions errors in power.sh
251ed4
251ed4
* Thu Jun 14 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.16-2
251ed4
- Added support for systemd-loginctl list-sessions
251ed4
  Resolves: rhbz#819559
251ed4
251ed4
* Thu Mar 29 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.16-1
251ed4
- New version
251ed4
251ed4
* Fri Mar 16 2012 Jiri Skala <jskala@redhat.com> - 2.0.15-1
251ed4
- updated to latest upstream 2.0.15
251ed4
251ed4
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.14-3
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
251ed4
251ed4
* Mon Jan 02 2012 Jiri Skala <jskala@redhat.com> - 2.0.14-2
251ed4
- fixes #722325 - xfce4-power-manager does not seem to be supported
251ed4
251ed4
* Mon Dec 19 2011 Jiri Skala <jskala@redhat.com> - 2.0.14-1
251ed4
- updated to latest upstream 2.0.14
251ed4
251ed4
* Wed Nov 16 2011 Jiri Skala <jskala@redhat.com> - 2.0.13-1
251ed4
- updated to latest upstream 2.0.13
251ed4
251ed4
* Tue Aug 16 2011 Jiri Skala <jskala@redhat.com> - 2.0.12-1
251ed4
- updated to latest upstream 2.0.12
251ed4
251ed4
* Mon Aug 01 2011 Jiri Skala <jskala@redhat.com> - 2.0.11-1
251ed4
- updated to latest upstream 2.0.11
251ed4
251ed4
* Mon Jun 27 2011 Jiri Skala <jskala@redhat.com> - 2.0.10-2
251ed4
- fixes #716923 - move SysV initscript file into an optional subpackage
251ed4
251ed4
* Wed May 18 2011 Jiri Skala <jskala@redhat.com> - 2.0.10-1
251ed4
- update to latest upstream 2.0.10
251ed4
251ed4
* Fri May 06 2011 Bill Nottingham <notting@redhat.com> - 2.0.9-4
251ed4
- fix systemd scriptlets to properly handle upgrade
251ed4
251ed4
* Tue May 03 2011 Jiri Skala <jskala@redhat.com> - 2.0.9-3
251ed4
- corrected relase number to be min equal to f15
251ed4
251ed4
* Mon Apr 18 2011 Jiri Skala <jskala@redhat.com> - 2.0.9-1
251ed4
- update to latest upstream 2.0.9
251ed4
251ed4
* Wed Feb 16 2011 Jiri Skala <jskala@redhat.com> - 2.0.8-1
251ed4
- update to latest upstream 2.0.8
251ed4
251ed4
* Wed Feb 09 2011 Jiri Skala <jskala@redhat.com> - 2.0.7-3
251ed4
- fixes unused varable and coparison of different var types
251ed4
251ed4
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-2
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
251ed4
251ed4
* Wed Dec 08 2010 Jiri Skala <jskala@redhat.com> - 2.0.7-1
251ed4
- update to latest upstream
251ed4
- fixes #660459 - Should be able to set options with /etc/sysconfig/acpi
251ed4
251ed4
* Wed Nov 03 2010 Jiri Skala <jskala@redhat.com> - 2.0.5-5
251ed4
- fixes #648221 - SELinux is preventing /sbin/iwconfig access to a leaked /dev/input/event0 file descriptor
251ed4
251ed4
* Wed Sep 29 2010 jkeating - 2.0.5-4
251ed4
- Rebuilt for gcc bug 634757
251ed4
251ed4
* Mon Sep 13 2010 Jiri Skala <jskala@redhat.com> - 2.0.5-3
251ed4
- fixes #629740 - acpid doesn't fork, but systemd unit file claims otherwise
251ed4
251ed4
* Wed Aug 11 2010 Jiri Skala <jskala@redhat.com> - 2.0.5-2
251ed4
- fixes #617317 - Providing native systemd file for upcoming F14 Feature Systemd
251ed4
251ed4
* Tue Jul 13 2010 Jiri Skala <jskala@redhat.com> - 2.0.5-1
251ed4
- latest upstream version
251ed4
- fixes #613315 kernel-2.6.35 doesn't create /proc/acpi/event
251ed4
251ed4
* Wed May 05 2010 Jiri Skala <jskala@redhat.com> - 2.0.4-1
251ed4
- latest upstream version
251ed4
251ed4
* Wed Mar 17  2010 Jiri Skala <jskala@redhat.com> - 2.0.3-2
251ed4
- fixes #575320 - acpid fails to load any event config files
251ed4
251ed4
* Thu Feb 25 2010 Jiri Skala <jskala@redhat.com> - 2.0.2-1
251ed4
- latest upstream version
251ed4
- removed spare umask
251ed4
- fixes missing headers
251ed4
251ed4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
251ed4
251ed4
* Thu Apr 23 2009 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.10-1
251ed4
- Updated to version 1.0.10
251ed4
251ed4
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-3
251ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
251ed4
251ed4
* Wed Feb 04 2009 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.8-2
251ed4
- power.sh works with KDE 4.* (#483417)
251ed4
251ed4
* Tue Nov 11 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.8-1
251ed4
- Updated to version 1.0.8
251ed4
- power.sh works with ConsoleKit >= 0.3.0 (#470752)
251ed4
- Fixed conditions in power.sh, which look for power-managers (#470752)
251ed4
- Added check to init script
251ed4
251ed4
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.6-8
251ed4
- fix license tag
251ed4
251ed4
* Thu Apr 17 2008 Bill Nottingham <notting@redhat.com> - 1.0.6-7.fc9
251ed4
- adjust start/stop priority to not conflict with HAL (#442759)
251ed4
251ed4
* Thu Feb 14 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-6.fc9
251ed4
- Update of acpid-1.0.6-makefile.patch, it fix building with gcc 4.3
251ed4
251ed4
* Wed Jan 23 2008 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-5.fc9
251ed4
- Fixed managing of power button (#361501)
251ed4
- Fixed power script to check for KDE power manager (#419331)
251ed4
251ed4
* Fri Nov 23 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-4.fc9
251ed4
- Removed old logrotate file
251ed4
- Fixed socket leak (#394431)
251ed4
- Fixed dumping useless info to log (#389581)
251ed4
251ed4
* Tue Oct 23 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-3.fc9
251ed4
- Silent initscript
251ed4
- Resolves: #345611
251ed4
251ed4
* Wed Sep 26 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-2.fc8
251ed4
- Fixed leak of a file descriptor
251ed4
- Resolves: #304761
251ed4
251ed4
* Tue Aug 07 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.6-1.fc8
251ed4
- Updated to version 1.0.6
251ed4
251ed4
* Wed Jul 25 2007 Zdenek Prikryl <zprikryl@redhat.com> - 1.0.4-8.fc8
251ed4
- Fixed init script to comply with LSB standard
251ed4
- Resolves: #237754
251ed4
251ed4
* Wed Feb 14 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-7.fc7
251ed4
- Dropped /var/log/acpid ownership as per review (225237)
251ed4
251ed4
* Wed Feb 07 2007 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-6.fc7
251ed4
- Tons of specfile changes due to review (#225237)
251ed4
251ed4
* Tue Oct 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-5
251ed4
- Made acpid a PIE binary (#210016)
251ed4
251ed4
* Thu Aug 24 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-4
251ed4
- Made a better fix for the powerdown button which checks if g-p-m is running
251ed4
- Don't install sample.conf anymore, not needed
251ed4
251ed4
* Thu Aug 10 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-3
251ed4
- Disable the automatic shutdown -h via powerdown button by default due to
251ed4
  conflicts with gnome-power-manager
251ed4
251ed4
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-2.1
251ed4
- rebuild
251ed4
251ed4
* Wed Mar 01 2006 Phil Knirsch <pknirsch@redhat.com> - 1.0.4-2
251ed4
- Added video.conf file to turn on DPMS when opening the laptop lid. Disabled
251ed4
  by default.
251ed4
251ed4
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.4-1.2
251ed4
- rebuilt for new gcc4.1 snapshot and glibc changes
251ed4
251ed4
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
251ed4
- rebuilt
251ed4
251ed4
* Wed Mar 16 2005 Bill Nottingham <notting@redhat.com> - 1.0.4-1
251ed4
- update to 1.0.4
251ed4
251ed4
* Mon Aug  9 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.3-2
251ed4
- Update to 1.0.3 (fixes #128834)
251ed4
- s/Copyright/License/
251ed4
- Add logrotate config file (#110677, from Michal Jaegermann)
251ed4
- Don't verify contents of /var/log/acpid (#125862)
251ed4
- Use $RPM_OPT_FLAGS
251ed4
- Fix and cleanup acpid-1.0.1-pm1.patch
251ed4
- Add condrestart to %%postun
251ed4
251ed4
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
251ed4
- rebuilt
251ed4
251ed4
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
251ed4
- rebuilt
251ed4
251ed4
* Wed Oct 22 2003  Bill Nottingham <notting@redhat.com> 1.0.2-5
251ed4
- fix handling of sample.conf (#107160)
251ed4
- mark for translations (#107459)
251ed4
251ed4
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
251ed4
- add %%clean specfile target
251ed4
251ed4
* Wed Oct  1 2003  Bill Nottingham <notting@redhat.com> 1.0.2-3
251ed4
- re-enable x86
251ed4
- don't load the button module
251ed4
251ed4
* Thu Aug  7 2003  Bill Nottingham <notting@redhat.com> 1.0.2-2
251ed4
- no x86 for now
251ed4
251ed4
* Mon Jul  7 2003  Bill Nottingham <notting@redhat.com> 1.0.2-1
251ed4
- update to 1.0.2
251ed4
251ed4
* Wed Dec 11 2002  Bill Nottingham <notting@redhat.com> 1.0.1-4
251ed4
- don't start if /proc/acpi/event isn't there
251ed4
251ed4
* Thu Nov 14 2002  Bill Nottingham <notting@redhat.com> 1.0.1-3
251ed4
- build on more arches
251ed4
251ed4
* Mon Aug 26 2002  Bill Nottingham <notting@redhat.com> 1.0.1-2
251ed4
- tweak default config to run shutdown -h now on a power button event
251ed4
251ed4
* Thu Aug 22 2002  Bill Nottingham <notting@redhat.com> 1.0.1-1
251ed4
- initial build, bang on included specfile
251ed4
251ed4
* Fri Mar 15 2002  Tim Hockin <thockin@sun.com>
251ed4
  - Updated RPM spec with patch from sun for chkconfig on/off
251ed4
  - Add Changelog, make 'make rpm' use it.
251ed4
251ed4
* Wed Mar 13 2002  Tim Hockin <thockin@sun.com>
251ed4
  - Fixed logging bug - not appending to log (O_APPEND needed)
251ed4
  - Fix 'make install' to not need root access
251ed4
  - Fix RPM spec to not need root
251ed4
251ed4
* Thu Sep 6 2001 Tim Hockin <thockin@sun.com>
251ed4
  - 1.0.0
251ed4
251ed4
* Thu Aug 16 2001  Tim Hockin <thockin@sun.com>
251ed4
  - Added commandline options to actions
251ed4
251ed4
* Wed Aug 15 2001  Tim Hockin <thockin@sun.com>
251ed4
  - Added UNIX domain socket support
251ed4
  - Changed /etc/acpid.d to /etc/acpid/events
251ed4
251ed4
* Mon Aug 13 2001  Tim Hockin <thockin@sun.com>
251ed4
  - added changelog
251ed4
  - 0.99.1-1
251ed4