Hello community,
here is the log from the commit of package acpid for openSUSE:12.1:Update:Test checked in at 2012-01-05 16:50:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/acpid (Old)
and /work/SRC/openSUSE:12.1:Update:Test/.acpid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "acpid", Maintainer is "hmacht@suse.com"
Changes:
--------
New Changes file:
--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /work/SRC/openSUSE:12.1:Update:Test/.acpid.new/acpid.changes 2012-01-05 16:50:09.000000000 +0100
@@ -0,0 +1,639 @@
+-------------------------------------------------------------------
+Mon Sep 26 16:20:40 UTC 2011 - fcrozat@suse.com
+
+- Use latest systemd RPM macros.
+
+-------------------------------------------------------------------
+Fri Sep 23 14:18:54 UTC 2011 - fcrozat@suse.com
+
+- Ensure acpid is enabled on initial install, under systemd
+
+-------------------------------------------------------------------
+Sat Sep 17 10:46:41 UTC 2011 - jengelh@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+-------------------------------------------------------------------
+Wed Aug 24 16:30:58 UTC 2011 - fcrozat@suse.com
+
+- Use systemd macros to enable acpid service.
+
+-------------------------------------------------------------------
+Tue Aug 23 12:07:59 UTC 2011 - aj@suse.de
+
+- Remove _service file.
+
+-------------------------------------------------------------------
+Tue Aug 23 02:54:40 UTC 2011 - glin@suse.com
+
+- Add the check for gnome-settings-daemon in power_button since
+ gnome-power-manager has been integrated into
+ gnome-settings-daemon. bnc#711148
+
+-------------------------------------------------------------------
+Sat May 21 16:09:14 UTC 2011 - vlado.paskov@gmail.com
+
+- Version update to 2.0.10 for systemd support
+
+-------------------------------------------------------------------
+Wed Mar 9 13:07:22 UTC 2011 - coolo@novell.com
+
+- update to 2.0.8:
+ - Fixed "comparison between signed and unsigned integer expressions"
+ error with gcc 4.6. (libnetlink.c) (Eugeni Dodonov)
+ - Fixed unused variable "type" with gcc 4.6. (libnetlink.c) (Jiri Skala)
+
+-------------------------------------------------------------------
+Wed Dec 22 03:36:31 UTC 2010 - aj@suse.de
+
+- Update to 2.0.7:
+ * Reduced the startup logging and skipped processing of "." and ".."
+ in the config files directory
+ * Added CD-related buttons.
+ * Removed the "getppid() == 1" hack from daemonize().
+ * Added FD_CLOEXEC to the input layer fd's.
+ Obsoletes patches acpid-2.0.5-forking.patch and
+ acpid-2.0.6-event-skip-messages.patch.
+
+-------------------------------------------------------------------
+Fri Nov 19 16:34:01 UTC 2010 - seife@opensuse.org
+
+- fix systemd service file (acpid is in /sbin, not /usr/sbin)
+
+-------------------------------------------------------------------
+Tue Nov 9 15:42:19 UTC 2010 - cristian.rodriguez@opensuse.org
+
+- use full RELRO here.
+
+-------------------------------------------------------------------
+Tue Oct 12 18:51:58 UTC 2010 - cristian.rodriguez@opensuse.org
+
+- fix logic
+
+-------------------------------------------------------------------
+Tue Oct 12 15:28:20 UTC 2010 - cristian.rodriguez@opensuse.org
+
+- Do not warn on "skipping .. and ." directory entries
+
+-------------------------------------------------------------------
+Sat Oct 2 19:49:08 UTC 2010 - aj@suse.de
+
+- Add systemd configuration.
+- Always fork, even if called from PID 1.
+
+-------------------------------------------------------------------
+Sat Oct 2 19:27:50 UTC 2010 - aj@suse.de
+
+- Update to version 2.0.6:
+ * cleanup of code and build infrastructure
+ * Support netlink and input layer
+
+-------------------------------------------------------------------
+Sat Oct 2 19:26:45 UTC 2010 - aj@suse.de
+
+- Split up acpi in its own package.
+
+-------------------------------------------------------------------
+Wed Sep 2 17:58:25 CEST 2009 - glin@novell.com
+
+- Don't shutdown if dalston-power-applet is running.
+
+-------------------------------------------------------------------
+Sun Aug 30 11:56:59 UTC 2009 - aj@suse.de
+
+- Remove enable from hotkey setting for think_acpi to get rid of this
+ kernel message:
+ "Please remove the hotkey=enable module parameter, it is deprecated.
+ Hotkeys are always enabled."
+
+-------------------------------------------------------------------
+Thu Jul 9 15:17:58 CEST 2009 - seife@suse.de
+
+- remove obsolete cruft from acpid init script
+- fix syntax error in "rcacpid probe" (bnc#508574)
+
+-------------------------------------------------------------------
+Wed Apr 22 20:57:52 CEST 2009 - seife@suse.de
+
+- update to version 1.0.10
+ - Add a -C (--clientmax) command line flag to set max number of
+ non-root socket connections.
+ - Set the maximum number of socket clients to 256 by default.
+ - Close clients that have disconnected.
+ - Give up and exit() if 5 accept() calls fail in a row.
+ - Open /dev/null O_RDWR, rather than O_RDONLY.
+- this fixes bnc#491455
+
+-------------------------------------------------------------------
+Wed Apr 15 14:35:11 CEST 2009 - crrodriguez@suse.de
+
+- fix boot warning about /etc/modprobe.d/thinkpad_acpi
+
+-------------------------------------------------------------------
+Mon Mar 9 21:00:17 CET 2009 - mmarek@suse.cz
+
+- renamed modprobe config to /etc/modprobe.d/50-thinkpad_acpi.conf
+ (required by new module-init-tools).
+
+-------------------------------------------------------------------
+
+Wed Feb 4 21:10:28 CET 2009 - seife@suse.de
+
+- update to version 1.0.8:
+ - various code cleanups, enable stricter compiler warnings
+ - fix typos in man pages. (acpid.8, acpi_listen.8)
+ - stop processing ACPI events when a lockfile exists (see acpid.8)
+ - add -l (--logevents) option to enable logging of all events.
+ Due to a number of reports of log flooding (bad ACPI BIOS?), the
+ new default is to NOT log events
+ - add pidfile support and a -p (--pidfile) option to change it
+ - close client file descriptors on exec()
+ - fix a fd leak on error
+
+-------------------------------------------------------------------
+Mon Jan 26 11:53:42 CET 2009 - ro@suse.de
+
+- change fillup call from "-Y" to "-y" the boot script has
+ been present in this package for long enough (SLES10-GA)
+
+-------------------------------------------------------------------
+Sun Nov 16 13:31:51 CET 2008 - hmacht@suse.de
+
+- Don't shutdown if a kde4 session is running and the power button
+ is pressed, powerdevil will care (bnc#443210)
+
+-------------------------------------------------------------------
+Thu Oct 16 14:44:39 CEST 2008 - thoenig@suse.de
+
+- Fix documentation reference and vendor names in thinkpad_acpi
+ (bnc#410684)
+
+-------------------------------------------------------------------
+Wed Oct 15 18:51:22 CEST 2008 - seife@suse.de
+
+- fix syntax error in acpid init script (bnc#435503)
+
+-------------------------------------------------------------------
+Mon Sep 1 18:37:13 CEST 2008 - hmacht@suse.de
+
+- different config files for different rules:
+ events.thinkpad and events.power_button
+
+-------------------------------------------------------------------
+Thu Aug 7 23:03:40 CEST 2008 - hmacht@suse.de
+
+- add power_button script to care about button presses if there
+ is no active X session
+
+-------------------------------------------------------------------
+Sun Jun 8 18:01:52 CEST 2008 - hmacht@suse.de
+
+- minor fixes to the thinkpad_handler script (bnc#371927)
+
+-------------------------------------------------------------------
+Fri Jun 6 12:34:11 CEST 2008 - hmacht@suse.de
+
+- add script for enabling/disabling bluetooth via hotkey on
++++ 442 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.1:Update:Test/.acpid.new/acpid.changes
New:
----
README.SuSE
_link
acpid-2.0.10.tar.gz
acpid-makefile.patch
acpid.changes
acpid.service
acpid.spec
events.power_button
events.thinkpad
power_button
rcacpid
thinkpad_acpi.modprobe
thinkpad_handler
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ acpid.spec ++++++
#
# spec file for package acpid
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: acpid
Url: http://tedfelix.com/linux/acpid-netlink.html
Version: 2.0.10
Release: 5
License: GPLv2+
Group: System/Daemons
PreReq: %insserv_prereq %fillup_prereq
Summary: Executes Actions at ACPI Events
Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz
Source2: rcacpid
Source3: README.SuSE
Source4: thinkpad_acpi.modprobe
Source5: events.power_button
Source9: events.thinkpad
Source6: thinkpad_handler
Source7: power_button
Source8: acpid.service
Patch1: acpid-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: systemd
ExclusiveArch: %ix86 x86_64 ia64
%systemd_requires
%description
ACPID is a completely flexible, totally extensible daemon for
delivering ACPI events. It listens to a file (/proc/acpi/event) and,
when an event occurs, executes programs to handle the event. The start
script loads all needed modules.
Configure it in /etc/sysconfig/powermanagement.
%prep
%setup -q
%patch1 -p0
cp %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:9} .
%build
export LDFLAGS="-Wl,-z,relro,-z,now"
make OPT="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT SBINDIR=/sbin
install -Dm 744 rcacpid %{buildroot}/etc/init.d/acpid
install -Dm 644 thinkpad_acpi.modprobe %{buildroot}/etc/modprobe.d/50-thinkpad_acpi.conf
install -Dm 744 thinkpad_handler %{buildroot}/usr/lib/acpid/thinkpad_handler
install -Dm 744 power_button %{buildroot}/usr/lib/acpid/power_button
mkdir -p %{buildroot}/usr/sbin
ln -sf ../../etc/init.d/acpid %{buildroot}/usr/sbin/rcacpid
install -Dm 644 events.power_button %{buildroot}/etc/acpi/events/power_button
install -Dm 644 events.thinkpad %{buildroot}/etc/acpi/events/thinkpad
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%{_unitdir}
# for the rpmlint fascists
mv samples examples
# keep the logfile
install -dm 755 %buildroot%_var/log
touch %buildroot%_var/log/acpid
%pre
%service_add_pre acpid.service
%post
%{fillup_and_insserv -y -f acpid}
%service_add_post acpid.service
%postun
%restart_on_update acpid
%{insserv_cleanup}
%service_del_postun acpid.service
%preun
%stop_on_removal acpid
%service_del_preun acpid.service
%files
%defattr(-,root,root)
%dir /etc/modprobe.d
%dir /etc/acpi
%dir /etc/acpi/events
/etc/acpi/events/thinkpad
/etc/acpi/events/power_button
/usr/lib/acpid
/etc/init.d/acpid
/etc/modprobe.d/50-thinkpad_acpi.conf
%_unitdir/%{name}.service
/usr/sbin/rcacpid
/sbin/acpid
/usr/bin/acpi_listen
%doc README.SuSE README Changelog examples
/usr/share/man/man8/acpid.8.gz
/usr/share/man/man8/acpi_listen.8.gz
%ghost %config(noreplace,missingok) %_var/log/acpid
%changelog
++++++ README.SuSE ++++++
Dokumentation for acpid can be found in 'man acpid'.
Be aware that the acpid is only used to hand over ACPI events
(caught from /proc/acpi/events) to other services
(e.g. hal, powersaved, iald, ...).
The events are handled by those services.
Most of them are processed by the powersave daemon.
For further documentation, please have a look at:
/usr/share/doc/packages/powersave/
or
http://powersave.sourceforge.net/
++++++ _link ++++++
<link project="openSUSE:12.1" package="acpid" baserev="c16997e0d3141d1c0f718bba3482ed26">
<patches>
<branch/>
</patches>
</link>
++++++ acpid-makefile.patch ++++++
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -49,7 +49,7 @@ install_docs:
for a in $(DOCS); do install -m 0644 $$a $(DESTDIR)/$(DOCDIR) ; done
cp -a samples $(DESTDIR)/$(DOCDIR)
-install: $(PROGS) man install_docs
+install: $(PROGS) man
mkdir -p $(DESTDIR)/$(SBINDIR)
mkdir -p $(DESTDIR)/$(BINDIR)
install -m 0750 acpid $(DESTDIR)/$(SBINDIR)
++++++ acpid.service ++++++
[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.
[Service]
Type=forking
ExecStart=/sbin/acpid
[Install]
WantedBy=multi-user.target
++++++ events.power_button ++++++
# care about the power button
event=button/power.*
action=/usr/lib/acpid/power_button
++++++ events.thinkpad ++++++
# forward acpi events to the thinkpad handler (bluetooth etc.)
event=ibm/.*
action=/usr/lib/acpid/thinkpad_handler "%e"
++++++ power_button ++++++
#!/bin/bash
#
# check if a X session is running and active.
# If not, shut down the system
#
# Copyright (C) 2008 Holger Macht