Hello community, here is the log from the commit of package pm-utils checked in at Tue Sep 25 21:15:52 CEST 2007. -------- --- pm-utils/pm-utils.changes 2007-08-16 11:58:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/STABLE/pm-utils/pm-utils.changes 2007-09-24 19:12:07.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Sep 24 19:09:58 CEST 2007 - seife@suse.de + +- add README.update in /etc/pm and fix the README in the documen- + tation to no longer mention /etc/pm/config but the correct paths + (novell bug 327828). + +------------------------------------------------------------------- New: ---- pm-utils-0.99.3-README-fix.diff README.update ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pm-utils.spec ++++++ --- /var/tmp/diff_new_pack.C19731/_old 2007-09-25 21:15:39.000000000 +0200 +++ /var/tmp/diff_new_pack.C19731/_new 2007-09-25 21:15:39.000000000 +0200 @@ -11,9 +11,9 @@ # norootforbuild Name: pm-utils -URL: http://webcvs.freedesktop.org/pm-utils/ +Url: http://webcvs.freedesktop.org/pm-utils/ Version: 0.99.3.20070618 -Release: 9 +Release: 17 %define pm_utils_suse_version 20070724 Summary: Tools to suspend and hibernate computers License: GPL v2 or later @@ -22,9 +22,11 @@ Patch1: pm-utils-0.99.3-fix-config-loading.diff Patch2: pm-utils-0.99.3-uswsusp-support.diff Patch3: pm-utils-0.99.3-comment-configfile.diff +Patch4: pm-utils-0.99.3-README-fix.diff Patch99: pm-utils-0.99.3-suse.diff Source1: pm-utils-suse-%{pm_utils_suse_version}.tar.gz Source2: README.upstream-hooks +Source3: README.update BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /usr Requires: hal @@ -48,6 +50,7 @@ %patch1 -p0 %patch2 -p0 %patch3 -p0 +%patch4 -p0 %patch99 -p0 %build @@ -62,6 +65,7 @@ mv $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/$i examples/hooks done cp %{S:2} hooks +cp %{S:3} $RPM_BUILD_ROOT/etc/pm/ cd ../pm-utils-suse cp hooks/* $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/ @@ -77,8 +81,11 @@ %_mandir/man1/* %doc README ChangeLog AUTHORS %doc examples - %changelog +* Mon Sep 24 2007 - seife@suse.de +- add README.update in /etc/pm and fix the README in the documen- + tation to no longer mention /etc/pm/config but the correct paths + (novell bug 327828). * Thu Aug 16 2007 - hmacht@suse.de - remove '-s' option from openvt (00clear hook) to avoid flickering before suspend to disk ++++++ pm-utils-0.99.3-README-fix.diff ++++++ --- README +++ README @@ -7,7 +7,7 @@ Why do we need it? -* As all the main distros are re-implimenting the same thing, over and over, to +* As all the main distros are re-implementing the same thing, over and over, to do something that's really quite trivial. Having the common locations for stuff means that software and hardware vendors can just install one file to do the clever stuff. @@ -26,27 +26,30 @@ How do "hooks" work? -* You put a file in /etc/pm/hooks, which is executable. When suspend or +* You put a file in /etc/pm/sleep.d, which is executable. When suspend or hibernate is called, several things happen: 1) a new virtual terminal is alloced and switched to - 2) /etc/pm/config is evaluated . This config file that should only be - modified by end-users. + 2) /usr/lib/pm-utils/defaults is evaluated. This config file should not + be modified by end-users. 3) /etc/pm/config.d/* are evaluated in C sort order. These files can be provided by individual packages outside of pm-utils. If a global config variable is set, the value set to will be appended to the previous value. If any other variable is set, it will be ignored. - 4) each of /etc/pm/hooks/* are executed in C sort order. The first command - line argument is "suspend" or "hibernate". These files may source - configuration files from /etc/pm/config.d/ on their own in order to pick - up variables set there that aren't part of the global list. Note that - hooks should take care to preserve any global configuration variable - which _that_ hook will later need to use, as sourcing this config file - will clobber any such variables. + 4) each of /etc/pm/sleep.d/* and /usr/lib/pm-utils/sleep.d/* are executed in + C sort order, not regarding the directory. A equally named file in + /etc/pm/sleep.d/ takes precedence over one in /usr/lib/pm-utils/sleep.d. + The first command line argument is "suspend" or "hibernate". These files + may source configuration files from /etc/pm/config.d/ on their own in + order to pick up variables set there that aren't part of the global list. + Note that hooks should take care to preserve any global configuration + variable which _that_ hook will later need to use, as sourcing this + config file will clobber any such variables. 5) the system suspends or hibernates. 6) some event happens to wake the machine up - 7) each of /etc/pm/hooks/* are executed in reverse C sort order. The first - command line argument is "resume" or "thaw". + 7) each of /etc/pm/sleep.d/* and /usr/lib/pm-utils/sleep.d/* are executed in + reverse C sort order. The first command line argument is "resume" or + "thaw". 8) the system switches back to the original virtual terminal from step 1. That's it! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de