Hello community,
here is the log from the commit of package pm-utils
checked in at Sat Sep 13 07:01:41 CEST 2008.
--------
--- pm-utils/pm-utils.changes 2008-06-05 14:35:50.000000000 +0200
+++ pm-utils/pm-utils.changes 2008-09-12 14:52:08.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Sep 12 14:49:40 CEST 2008 - seife@suse.de
+
+- Add a config file and hook for calling out to rtcwake, letting
+ the user wake the computer up after N seconds of sleep or
+ hibernation. The hook also respects the NUM_SECONDS_TO_SLEEP
+ environment variable that HAL, for example, might set.
+ [Fate#302448]
+
+-------------------------------------------------------------------
Old:
----
pm-utils-suse-20080605.tar.bz2
New:
----
pm-utils-suse-20080912.tar.bz2
rtcwake.config
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pm-utils.spec ++++++
--- /var/tmp/diff_new_pack.L14075/_old 2008-09-13 07:00:21.000000000 +0200
+++ /var/tmp/diff_new_pack.L14075/_new 2008-09-13 07:00:21.000000000 +0200
@@ -2,9 +2,16 @@
# spec file for package pm-utils (Version 0.99.3.20070618)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# 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/
#
@@ -14,8 +21,8 @@
Name: pm-utils
Url: http://webcvs.freedesktop.org/pm-utils/
Version: 0.99.3.20070618
-Release: 65
-%define pm_utils_suse_version 20080605
+Release: 86
+%define pm_utils_suse_version 20080912
Summary: Tools to suspend and hibernate computers
License: GPL v2 or later
Group: System/Base
@@ -29,6 +36,7 @@
Source1: pm-utils-suse-%{pm_utils_suse_version}.tar.bz2
Source2: README.upstream-hooks
Source3: README.update
+Source4: rtcwake.config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: /usr
Requires: hal
@@ -70,6 +78,7 @@
mv $RPM_BUILD_ROOT/usr/lib/pm-utils/power.d/laptop-tools examples/hooks
cp %{S:2} hooks
cp %{S:3} $RPM_BUILD_ROOT/etc/pm/
+cp %{S:4} $RPM_BUILD_ROOT/etc/pm/config.d/
cd ../pm-utils-suse
cp hooks/sleep.d/* $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/
cp hooks/power.d/* $RPM_BUILD_ROOT/usr/lib/pm-utils/power.d/
@@ -81,7 +90,12 @@
%files
%defattr (-,root,root)
-/etc/pm
+%dir /etc/pm
+%dir /etc/pm/config.d
+%dir /etc/pm/power.d
+%dir /etc/pm/sleep.d
+%doc /etc/pm/README.update
+%config(noreplace) /etc/pm/config.d/rtcwake.config
/usr/sbin/*
/usr/bin/*
/usr/lib/pm-utils
@@ -91,6 +105,12 @@
%ghost %verify(not md5 size mtime) /var/log/pm-suspend.log
%changelog
+* Fri Sep 12 2008 seife@suse.de
+- Add a config file and hook for calling out to rtcwake, letting
+ the user wake the computer up after N seconds of sleep or
+ hibernation. The hook also respects the NUM_SECONDS_TO_SLEEP
+ environment variable that HAL, for example, might set.
+ [Fate#302448]
* Thu Jun 05 2008 seife@suse.de
- fix various small bugs in the power.d hooks for sound and iwl
(bnc #394318)
++++++ pm-utils-suse-20080605.tar.bz2 -> pm-utils-suse-20080912.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/pm-utils-suse/hooks/sleep.d/02rtcwake new/pm-utils-suse/hooks/sleep.d/02rtcwake
--- old/pm-utils-suse/hooks/sleep.d/02rtcwake 1970-01-01 01:00:00.000000000 +0100
+++ new/pm-utils-suse/hooks/sleep.d/02rtcwake 2008-09-12 14:36:48.000000000 +0200
@@ -0,0 +1,104 @@
+#!/bin/sh
+#
+# Written by Gabriel Burt