Hello community,

here is the log from the commit of package pm-utils.1923 for 
openSUSE:12.3:Update checked in at 2013-08-19 17:16:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/pm-utils.1923 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.pm-utils.1923.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pm-utils.1923"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:12.3:Update/.pm-utils.1923.new/pm-utils.changes  
2013-08-19 17:16:53.000000000 +0200
@@ -0,0 +1,642 @@
+-------------------------------------------------------------------
+Tue Aug  6 09:45:36 UTC 2013 - [email protected]
+
+- Remove all power.d hooks as a next step to dropping pm-utils.
+bnc#827854
+
+
+-------------------------------------------------------------------
+Thu Apr  4 14:30:20 UTC 2013 - [email protected]
+
+- Removed patches pm-utils-dont-fail-modunload-silently.diff and
+  intel-audio-powersave_logoutput.diff - applied them in git repo.
+ 
+- Deleted 80acpi-fan, since it used /proc/acpi/fan/ and it was removed from
+  kernel long ago. bnc#806635
+
+- bnc#806632:  rm pm/sleep.d/55NetworkManager, networkmanager
+  now uses Upower and listens   to dbus resume/suspend signals.
+
+- remove rc.cpufreq - bnc#806641
+ 
+
+-------------------------------------------------------------------
+Mon Feb  4 12:19:54 UTC 2013 - [email protected]
+
+-      Adopted to query network.service alias, that obsoletes the
+    NETWORKMANAGER variable in /etc/sysconfig/network/config
+    introduced in sysconfig-0.80.
+-      bnc#782891 unified grub2 and grub2-efi making grub2-efi just an
+    architecture of GRUB 2. Unify handling of both loaders to not
+    depend on compatibility grub2-efi-* links.
+
+
+-------------------------------------------------------------------
+Sun Jan 13 16:46:34 UTC 2013 - [email protected]
+
+- correction for bnc#797966
+intel-audio-powersave creates error entries in /var/log/pm-powersave.log
+when it finds supported hw looping over /sys/module/snd_*
+these errors are caused by simple typos 
+
+-------------------------------------------------------------------
+Sun Oct 21 12:59:40 UTC 2012 - [email protected]
+
+- be more verbose on modunload failures (inspired by bnc#633491)
+
+-------------------------------------------------------------------
+Thu Sep 13 23:26:44 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections from specfile
+- Parallel build with %_smp_mflags
+- Use "modutils" provides for requiring a kernel module utility
+  implementation
+
+-------------------------------------------------------------------
+Wed Sep 12 12:02:50 UTC 2012 - [email protected]
+
+-Changed licence to GPL 2.0 (without +) - bnc#768867 
+
+-------------------------------------------------------------------
+Wed Sep 12 11:41:09 UTC 2012 - [email protected]
+
+-Added Michael Chang's patch to fix grub2 menu shown after s2disk
+(bnc#771587).
+
+-------------------------------------------------------------------
+Tue Jul 10 10:30:37 UTC 2012 - [email protected]
+
+-Further fix for bnc#753589 - powersave was not activated when
+resuming from suspend on battery.
+
+-------------------------------------------------------------------
+Thu Jun 21 17:06:30 UTC 2012 - [email protected]
+
+-Fixed bnc#697379 - Powermanagement snd_hda_intel - Skript 
/usr/lib/pm-utils/intel-audio-powersave doesnt' work
+
+
+-------------------------------------------------------------------
+Wed Jun 20 14:20:38 UTC 2012 - [email protected]
+
+-Fixed 06autofs, it now works only if NetworkManager is not
+running, because it has it's own way to start autofs.
+Fix regression caused by fix for bnc#753589-Using a savestate/restorestate 
scheme instead  
+
+-------------------------------------------------------------------
+Fri May 11 09:27:30 UTC 2012 - [email protected]
+
+-bnc#751621 (again): Test systemd presence (/proc/1/comm) and
+choose either systemctl or /sbin/service when stopping and
+restarting services. This should make the services stop and start properly,
+but avoid dumping binary crap in the log (bnc#75181).
+
+
+-------------------------------------------------------------------
+Thu Apr 19 08:24:13 UTC 2012 - [email protected]
+
+-Created a git repository at [email protected]:opensuse/pm-utils.git as a 
branch of
+git://anongit.freedesktop.org/git/pm-utils, to avoid having suse
+hooks in a separate package, using this repository (all patches
+removed as they are included there)
+-Fixed  bnc#751887 - Hibernation failure after security patches applied;
+-Fixed  bnc#751621 - /usr/lib/pm-utils/sleep.d/06autofs unconditionally 
(re)starts autofs 
+-Fixed  bnc#751811 - pm-suspend generates defective /var/log/pm-suspend.log 
file
+-Fixed bnc#753589 - sysctl.conf settings are lost when changing
+powerstate
+-Fixed bnc#633496 - /usr/lib/pm-utils/sleep.d/75modules should cancel 
suspend2disk when unloading a module fails
+-------------------------------------------------------------------
+Tue Feb 28 14:45:13 UTC 2012 - [email protected]
+
+- fix script 50rcnetwork error and update savestate/restorestate
+  functions(bnc#749031).
+- obsolete pm-utils-1.4.1-vtXX-upower-battery-AC-adapter.patch already in git
+
+-------------------------------------------------------------------
+Tue Feb 14 17:45:32 UTC 2012 - [email protected]
+
+- Remove init script, obsoleted by opensuse-kernel commit 
+  6efe9b5949513b33987e51400da8c75e7225970d
+
+-------------------------------------------------------------------
+Wed Mar  2 14:01:03 UTC 2011 - [email protected]
+
+- Show battery and AC-adpater (power adapter) status when working
+  without X under a console: upower is used (bnc#670074)
+
+-------------------------------------------------------------------
+Tue Mar  1 08:29:54 UTC 2011 - [email protected]
+
+- Fix bnc#663067 - remove harddrive power.d hook 
+
+-------------------------------------------------------------------
+Sun Feb 13 23:19:38 CET 2011 - [email protected]
+
+- Use a %triggerun on pm-utils < 1.4.1-3 (should be this version)
+  to forcefully enable the cpufreq service, since else, it's not
+  enabled on upgrades. Thanks to Kay Sievers for the hint!
+  Fix bnc#653540.
+
+-------------------------------------------------------------------
+Wed Jan 26 23:28:22 CET 2011 - [email protected]
+
+- Update rc.cpufreq:
+  + Use acpi_cpufreq instead of acpi-cpufreq for consistency.
+  + Do not report failure on start when hardware doesn't support
+    frequency scaling. Report "skipped" instead. Based on patch
+    from Per Jessen <[email protected]>. Fix bnc#660417.
+
+-------------------------------------------------------------------
+Mon Jan  3 13:21:12 UTC 2011 - [email protected]
+
+- rccpufreq fixups:
+   speedstep_centrino functionality is replaced by acpi-cpufreq for quite some
+   time and is not compiled on our latest kernels anymore
+   (CONFIG_X86_SPEEDSTEP_CENTRINO)
+   Try to load mostly used cpufreq driver (acpi-cpufreq) first for speedup
+   reasons
+
+-------------------------------------------------------------------
+>>>>>>> ./pm-utils.changes.rc13d0ced37ad6aae6e3d140dad6f4c2b
+Tue Oct 12 13:45:13 CEST 2010 - [email protected]
+
+- Add a cpufreq init script, with code that was originally in hal
+  init script. Since hal is getting killed, we need to move this
+  elsewhere. This will help with bnc#612131.
+  + Install rc.cpufreq as /etc/init.d/cpufreq and link it from
+    /usr/sbin/rccpufreq.
+  + Add %insserv_prereq PreReq.
+  + Add scriptlets to handle this init script. We enable it by
+    default.
+
+-------------------------------------------------------------------
+Mon Sep 20 11:40:15 UTC 2010 - [email protected]
+
+- Update to 1.4.1
+  * New power.d hooks:
+    - disable_wol (obsoletes wol, $WOL)
+    - hal-cd-polling
+    - harddrive,
+    - intel-audio-powersave (obsoletes sound-pm, $SOUND_PM),
+    - journal-commit,
+    - laptop-mode
+    - pcie_aspm,
+    - readahead,
+    - sata_alpm (obsoletes sata_pm, $SATA_PM)
+    - wireless (obsoletes iwl-pm, $IWL_PM)
+    - xfs_buffer
+  * Load hook blacklist for power.d hooks
+  * Fix paths for sched_powersave script
+  * Try falling back to standby suspend of mem is not available.
+  * Use flock for more robust lock file handling
+  * Make tuxonice methods chvt if using a userspace UI.
+  * Autodetect sleep modules by default instead of forcing the kernel one.
+  * Rewrote the sched-powersave hook to eliminate redundancy.
+  * Help functionality to pm-powersave
+- SUSE aditions
+  * set and check the governors via sysfs - bnc#619750
+  * do a sanity check on S2DISK_CONF
++++ 445 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.3:Update/.pm-utils.1923.new/pm-utils.changes

New:
----
  intel-audio-powersave_logoutput.diff
  pm-quirks-20100316.tar.bz2
  pm-utils-1.4.1-suse-15.tar.bz2
  pm-utils.changes
  pm-utils.spec
  rc.cpufreq

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pm-utils.spec ++++++
#
# spec file for package pm-utils
#
# Copyright (c) 2013 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/
#


%define pm_libdir %{_prefix}/lib/%{name}/
%define pm_quirkdbdir %{pm_libdir}/video-quirks
%define pm_sysconfdir %{_sysconfdir}/pm/config.d/
# Please submit patches to git://gitorious.org/opensuse/pm-utils.git,
# unless they are opensuse-version-specific.
%define gitversion 15

Name:           pm-utils
Version:        1.4.1
Release:        0
Summary:        Tools to suspend and hibernate computers
License:        GPL-2.0
Group:          System/Base
Url:            http://pm-utils.freedesktop.org/wiki/
Source0:        %{name}-%{version}-suse-%{gitversion}.tar.bz2
# http://gitorious.org/opensuse/pm-utils
Source1:        
http://pm-utils.freedesktop.org/releases/pm-quirks-20100316.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

PreReq:         %insserv_prereq

# hooks requires some external tools
BuildRequires:  xmlto
Requires:       coreutils
Requires:       ethtool
Requires:       gawk
Requires:       grep
Requires:       modutils
Requires:       sed

Requires:       upower

%description
pm-utils provide simple shell command line tools to suspend and
hibernate computers that can be used to run vendor or distro supplied
scripts on suspend and resume.

%package ndiswrapper
Summary:        The pm-utils hook for ndiswrapper
Group:          System/Base
Supplements:    ndiswrapper
Requires:       %{name} = %{version}

%description ndiswrapper
pm-utils provide simple shell command line tools to suspend and
hibernate computers that can be used to run vendor or distro supplied
scripts on suspend and resume. This package installs the 75ndiswrapper hook.

%prep
%setup -n %{name} -a 1 

%build
%{configure} \
  --docdir=%{_defaultdocdir}/%{name} \
  --libdir=%{_prefix}/lib
make -d %{?_smp_mflags}

%install
%{makeinstall}
# bnc#663067
%{__rm} %{buildroot}/%{pm_libdir}/power.d/*
#FIXME: should be installed by make install
%{__install} -m 644 man/*.1 %{buildroot}/%{_mandir}/man1
%{__install} -m 644 man/*.8 %{buildroot}/%{_mandir}/man8
#quirks
%{__install} -d -m 0755 %{buildroot}%{pm_quirkdbdir}
%{__install} -m 0644 *.quirkdb %{buildroot}%{pm_quirkdbdir}
#SUSE hooks
%{__install} -m 0755 pm/sleep.d/02rtcwake %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/06autofs %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/30s2disk-check 
%{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/45pcmcia %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/50rcnetwork %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/75ndiswrapper %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/80videobios %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0755 pm/sleep.d/99info %{buildroot}/%{pm_libdir}/sleep.d/
%{__install} -m 0644 pm/config.d/* %{buildroot}/%{pm_sysconfdir}/
# powersave command is back
%{__install} -m 0755 bin/powersave %{buildroot}/%{_bindir}
%{__install} -d -m 0755 %{buildroot}/%{_localstatedir}/log
touch %{buildroot}/%{_localstatedir}/log/pm-suspend.log
# changing libdir in configure has the side-effect of misinstalling the
# pkg-config file (/usr/lib/pkgconfig is not searched on x86_64). Since we have
# no arch-specific data, we put it in datadir.
%{__install} -d -m 0755 %{buildroot}%{_datadir}/pkgconfig
mv %{buildroot}%{_prefix}/lib/pkgconfig/%{name}.pc 
%{buildroot}%{_datadir}/pkgconfig

%postun
%insserv_cleanup

%files
%defattr (-,root,root)
%doc README AUTHORS README.smart-suspend-to-RAM
%attr(0755,root,root) %{_bindir}/*
%{_sbindir}/*
%{_sysconfdir}/pm/
%config(noreplace) %{_sysconfdir}/pm/config.d/rtcwake.config
%{pm_libdir}
%exclude %{pm_libdir}/sleep.d/75ndiswrapper
%{_mandir}/man1/*
%{_mandir}/man8/*
%ghost %verify(not md5 size mtime) /var/log/pm-suspend.log
%{_datadir}/pkgconfig/%{name}.pc

%files ndiswrapper
%defattr (-,root,root)
%{pm_libdir}/sleep.d/75ndiswrapper

%changelog
++++++ intel-audio-powersave_logoutput.diff ++++++
Author: [email protected]
Date: 2013-01-13
Upstream: not yet.

correction for bnc#797966
intel-audio-powersave creates error entries in /var/log/pm-powersave.log
when it finds supported hw looping over /sys/module/snd_*
these errors are caused by simple typos

diff -Pdpru 

--- a/pm/power.d/intel-audio-powersave  2012-07-13 11:39:57.000000000 +0200
+++ b/pm/power.d/intel-audio-powersave  2013-01-10 23:10:37.000000000 +0100
@@ -22,7 +22,7 @@ audio_powersave() {
     [ "$INTEL_AUDIO_POWERSAVE" = "true" ] || exit $NA
     for dev in /sys/module/snd_*; do
        [ -w "$dev/parameters/power_save" ] || continue
-       printf "Setting power savings for $s to %d..." "{$dev##*/}" "$1"
+       printf "Setting power savings for %s to %d..." "${dev##*/}" "$1"
        echo $1 > "$dev/parameters/power_save" && echo Done. || echo Failed.
     done
 }
++++++ rc.cpufreq ++++++
#!/bin/sh
# Author: Danny Kukawka <[email protected]>
# Author: Vincent Untz <[email protected]>
#
# /etc/init.d/cpufreq
#
### BEGIN INIT INFO
# Provides:          cpufreq
# Required-Start:    $null
# Should-Start:      $null
# Required-Stop:     $null
# Should-Stop:       $null
# Default-Start:     2 3 5
# Default-Stop:      
# Short-Description: CPUFreq modules loader
# Description:       This script loads the relevant CPUFreq modules in the 
kernel.
#                    
### END INIT INFO

# Parameters (startup)
CPUFREQ_SYSFS_PATH="/sys/devices/system/cpu/cpu0/cpufreq"
LOGGER="/bin/logger -t rc.cpufreq"

load_governors()
{
    if [ ! -r $CPUFREQ_SYSFS_PATH ];then
        $LOGGER Cannot load cpufreq governors - No cpufreq driver available
        return 1
    fi
    read govs < $CPUFREQ_SYSFS_PATH/scaling_available_governors
    case "$govs" in
        *powersave*) 
            ;;
        *) 
            modprobe -q cpufreq_powersave >/dev/null 2>&1
            [ $? != 0 ] && $LOGGER powersave cpufreq governor could not be 
loaded
            ;;
    esac
    case "$govs" in
        *performance*) 
            ;;
        *) 
            modprobe -q cpufreq_performance >/dev/null 2>&1
            [ $? != 0 ] && $LOGGER perfromance cpufreq governor could not be 
loaded
            ;;
    esac
    case "$govs" in
        *userspace*) 
            ;;
        *) 
            modprobe -q cpufreq_userspace >/dev/null 2>&1
            [ $? != 0 ] && $LOGGER userspace cpufreq governor could not be 
loaded
            ;;
    esac
    case "$govs" in
        *ondemand*)
            ;;
        *) 
            modprobe -q cpufreq_ondemand >/dev/null 2>&1
            [ $? != 0 ] && $LOGGER ondemand cpufreq governor could not be loaded
            ;;
    esac
    case "$govs" in
        *conservative*)
            ;;
        *) 
            modprobe -q cpufreq_conservative >/dev/null 2>&1
            [ $? != 0 ] && $LOGGER conservative cpufreq governor could not be 
loaded
            ;;
    esac
    return 0
}

function load_cpufreq_driver()
{
    CPUFREQ_MODULES="acpi_cpufreq powernow_k8 powernow_k7 powernow_k6 longrun 
speedstep_ich"
    
CPUFREQ_MODULES_GREP="^acpi_cpufreq\|^speedstep_ich\|^powernow_k8\|^powernow_k7\|^powernow_k6\|^longrun\|^longhaul"
    
    # if the drivers are compiled in, $CPUFREQ_SYSFS_PATH already exists
    if [ ! -d $CPUFREQ_SYSFS_PATH ]; then
        # test for already loaded modules
        ALREADY_LOADED_MODS=`grep $CPUFREQ_MODULES_GREP /proc/modules`
        if [ -z "$ALREADY_LOADED_MODS" ] ; then 
            for MODULE in $CPUFREQ_MODULES; do
                modprobe $MODULE &>/dev/null
                RETVAL=$?
                [ "$RETVAL" = 0 ] && break
            done
            # skip if no module could be loaded!
            if [ "$RETVAL" != 0 ]; then
                $LOGGER "CPU frequency scaling is not supported by your 
processor."
                $LOGGER "boot with 'CPUFREQ=no' in to avoid this warning."
                # remove eventually loaded modules, bug 150381
                rmmod speedstep_lib cpufreq_stats freq_table 2>/dev/null
                return $RETVAL
            fi
        fi
    fi

    return 0
}

. /etc/rc.status

rc_reset

case "$1" in
    start)
        echo -n "Loading CPUFreq modules"
        load_cpufreq_driver

        if [ "$?" != 0 ]; then
                echo -n " - hardware support not available"
                rc_status -s
                rc_exit
        fi

        load_governors
            
        if [ "$?" != 0 ]; then
                rc_failed 1
        fi

        rc_status -v
        ;;
    stop)
        rc_failed 0
        rc_status
        ;;
    try-restart|restart|reload|force-reload)
        $0 start
        ;;
    status)
        echo -n "Checking CPUFreq modules"
        if [ -r $CPUFREQ_SYSFS_PATH ]; then
                rc_failed 0
        else
                rc_failed 3
        fi
        rc_status -v
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload}"
        exit 1
        ;;
esac

rc_exit
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to