Hello community,
here is the log from the commit of package tpctl
checked in at Fri Feb 29 02:27:20 CET 2008.
--------
--- arch/i386/tpctl/tpctl.changes 2007-11-09 14:04:31.000000000 +0100
+++ /mounts/work_users/ro/STABLE/tpctl/tpctl.changes 2008-02-29 02:26:53.364581000 +0100
@@ -1,0 +2,5 @@
+Fri Feb 29 02:26:25 CET 2008 - ro(a)suse.de
+
+- hack to build with current kernel
+
+-------------------------------------------------------------------
@@ -84 +89 @@
-Fri Feb 18 14:53:18 CET 2005 - ro(a)suse.de
+Fri Feb 18 21:20:12 CET 2005 - agruen(a)suse.de
@@ -86 +91 @@
-- update tpctl to 4.17
+- get_put_cpu_ptr-gone.diff: Compilation fix.
@@ -89 +94 @@
-Fri Feb 18 21:20:12 CET 2005 - agruen(a)suse.de
+Fri Feb 18 14:53:18 CET 2005 - ro(a)suse.de
@@ -91 +96 @@
-- get_put_cpu_ptr-gone.diff: Compilation fix.
+- update tpctl to 4.17
@@ -312 +316,0 @@
--------------------------------------------------------------------
New:
----
pm_active-gone.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tpctl.spec ++++++
--- /var/tmp/diff_new_pack.yw8881/_old 2008-02-29 02:27:03.000000000 +0100
+++ /var/tmp/diff_new_pack.yw8881/_new 2008-02-29 02:27:03.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package tpctl (Version 4.17)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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.
#
@@ -9,12 +9,13 @@
#
+
Name: tpctl
PreReq: grep coreutils
BuildRequires: kernel-source kernel-syms module-init-tools ncurses-devel udev
%define module_version 5.8
Version: 4.17
-Release: 144
+Release: 161
Summary: ThinkPad configuration tools
License: GPL v2 or later
Group: Hardware/Mobile
@@ -36,6 +37,7 @@
Patch5: get_put_cpu_ptr-gone.diff
Patch6: thinkpad-module_param.dif
Patch7: inter_module-fix.diff
+Patch8: pm_active-gone.dif
%suse_kernel_module_package -p %_sourcedir/preamble kdump um xen xenpae
%description
@@ -80,6 +82,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
mkdir source
mkdir obj
cp -r 2.6/drivers/* \
@@ -137,141 +140,144 @@
%clean
rm -rf %{buildroot}
+
%changelog
-* Fri Nov 09 2007 - seife(a)suse.de
+* Fri Feb 29 2008 ro(a)suse.de
+- hack to build with current kernel
+* Fri Nov 09 2007 seife(a)suse.de
- add PreReq to silence rpmlint, fix various other rpmlint warnings
-* Wed Jun 06 2007 - ro(a)suse.de
+* Wed Jun 06 2007 ro(a)suse.de
- fix build with current kernel
-* Wed Apr 04 2007 - lrupp(a)suse.de
+* Wed Apr 04 2007 lrupp(a)suse.de
- added module-init-tools to BuildRequires
-* Thu Mar 29 2007 - seife(a)suse.de
+* Thu Mar 29 2007 seife(a)suse.de
- add ncurses-devel to BuildRequires
-* Thu Feb 22 2007 - seife(a)suse.de
+* Thu Feb 22 2007 seife(a)suse.de
- fix non-root build
- clean up specfile madness
-* Fri Dec 22 2006 - ro(a)suse.de
+* Fri Dec 22 2006 ro(a)suse.de
- remove apmd from buildreq (dropped package)
-* Wed Aug 23 2006 - ro(a)suse.de
+* Wed Aug 23 2006 ro(a)suse.de
- fix build on 2.6.18
-* Mon Apr 10 2006 - agruen(a)suse.de
+* Mon Apr 10 2006 agruen(a)suse.de
- Add preamble `Enhances: kernel-$flavor' workaround to
KMP sub-packages (156513).
-* Mon Apr 03 2006 - ro(a)suse.de
+* Mon Apr 03 2006 ro(a)suse.de
- change MODULE_PARM to module_param
-* Fri Feb 17 2006 - seife(a)suse.de
+* Sat Feb 18 2006 seife(a)suse.de
- added a dependency to the kernel module
-* Thu Feb 16 2006 - ro(a)suse.de
+* Thu Feb 16 2006 ro(a)suse.de
- ignore xenpae kernel
-* Fri Feb 03 2006 - ro(a)suse.de
+* Fri Feb 03 2006 ro(a)suse.de
- build as kernel module package (KMP)
-* Wed Jan 25 2006 - mls(a)suse.de
+* Wed Jan 25 2006 mls(a)suse.de
- converted neededforbuild to BuildRequires
-* Tue Jun 14 2005 - ro(a)suse.de
+* Tue Jun 14 2005 ro(a)suse.de
- udev rule is now packaged in udev package
-* Thu Mar 17 2005 - seife(a)suse.de
+* Thu Mar 17 2005 seife(a)suse.de
- add a default udev rule, tune the README.SUSE
-* Wed Mar 16 2005 - seife(a)suse.de
+* Wed Mar 16 2005 seife(a)suse.de
- documentation update for udev/rules.d vs udev/permissions.d
-* Fri Feb 18 2005 - agruen(a)suse.de
+* Fri Feb 18 2005 agruen(a)suse.de
- get_put_cpu_ptr-gone.diff: Compilation fix.
-* Fri Feb 18 2005 - ro(a)suse.de
+* Fri Feb 18 2005 ro(a)suse.de
- update tpctl to 4.17
-* Tue Feb 01 2005 - seife(a)suse.de
+* Tue Feb 01 2005 seife(a)suse.de
- bump version to tpctl 4.16, module to 5.8.
-* Tue Nov 30 2004 - seife(a)suse.de
+* Tue Nov 30 2004 seife(a)suse.de
- bump version to tpctl 4.15. Module version 5.8 is still pending!
-* Thu Nov 11 2004 - seife(a)suse.de
+* Thu Nov 11 2004 seife(a)suse.de
- fix autobuild --debug=yes breakage
-* Mon Sep 27 2004 - agruen(a)suse.de
+* Mon Sep 27 2004 agruen(a)suse.de
- Fix compilation for 2.6.9-rc2 kernel.
-* Wed Aug 25 2004 - seife(a)suse.de
+* Wed Aug 25 2004 seife(a)suse.de
- remove /dev/thinkpad (bug #44255)
-* Thu Aug 05 2004 - seife(a)suse.de
+* Thu Aug 05 2004 seife(a)suse.de
- bump version to tpctl 4.14/thinkpad 5.5
-* Mon May 03 2004 - garloff(a)suse.de
+* Mon May 03 2004 garloff(a)suse.de
- Fix build failure with configs having more CPUs than fit in a
long int.
-* Mon Mar 29 2004 - agruen(a)suse.de
+* Mon Mar 29 2004 agruen(a)suse.de
- Next try to fix the very same failure.
-* Mon Mar 29 2004 - agruen(a)suse.de
+* Mon Mar 29 2004 agruen(a)suse.de
- Fix a failure not caught by the Makefile.suse's module tests.
-* Sun Mar 28 2004 - agruen(a)suse.de
+* Sun Mar 28 2004 agruen(a)suse.de
- Fix km_tpctl makefile for 2.6.
-* Wed Mar 17 2004 - behlert(a)suse.de
+* Wed Mar 17 2004 behlert(a)suse.de
- fixes for CONFIG_REGPARM - now kernel crashes no more [#36073]
-* Fri Mar 12 2004 - seife(a)suse.de
+* Fri Mar 12 2004 seife(a)suse.de
- update tpctl version to 4.10, kernel module version to 5.0
-* Sun Mar 07 2004 - ro(a)suse.de
+* Sun Mar 07 2004 ro(a)suse.de
- move build macro before first file installation
-* Fri Jan 23 2004 - jg(a)suse.de
+* Fri Jan 23 2004 jg(a)suse.de
- update tpctl to version 4.8 and thinkpad kernel module to
version 4.999-trial1 (notable change: kernel 2.6 support)
- removed unnecessary kernel-source from neededforbuild
-* Tue Jun 17 2003 - ro(a)suse.de
+* Tue Jun 17 2003 ro(a)suse.de
- added directory to filelist
-* Mon May 12 2003 - jg(a)suse.de
+* Mon May 12 2003 jg(a)suse.de
- readded installation of man pages for apmiser and tpctlir
-* Mon May 12 2003 - jg(a)suse.de
+* Mon May 12 2003 jg(a)suse.de
- tpctl update to 4.4
- apmiser: Don't save power if no battery installed
- documentation fixes
- thinkpad update to 4.3
- compilation fixes
-* Mon May 12 2003 - ro(a)suse.de
+* Mon May 12 2003 ro(a)suse.de
- define cli/sti if missing
-* Mon Feb 17 2003 - jg(a)suse.de
+* Mon Feb 17 2003 jg(a)suse.de
- update to 4.2 (apmiser enhancements)
-* Tue Feb 04 2003 - jg(a)suse.de
+* Tue Feb 04 2003 jg(a)suse.de
- readded tpctlir, tpctlir.8, and README.apmiser
-* Fri Jan 31 2003 - jg(a)suse.de
+* Fri Jan 31 2003 jg(a)suse.de
- update to 4.1
- dropped subpackage modules
-* Tue Dec 03 2002 - ro(a)suse.de
+* Tue Dec 03 2002 ro(a)suse.de
- fix previous patch
-* Mon Dec 02 2002 - ro(a)suse.de
+* Mon Dec 02 2002 ro(a)suse.de
- include errno.h where needed
-* Thu Jul 04 2002 - ro(a)suse.de
+* Thu Jul 04 2002 ro(a)suse.de
- fix specfile
-* Thu Jul 04 2002 - zoz(a)suse.de
+* Thu Jul 04 2002 zoz(a)suse.de
- changed %%ifarch i386 to %%ifarch ix86 in specfile
-* Fri Feb 15 2002 - ro(a)suse.de
+* Fri Feb 15 2002 ro(a)suse.de
- make dep for kernel before build
-* Mon Feb 04 2002 - zoz(a)suse.de
+* Mon Feb 04 2002 zoz(a)suse.de
- use config.default.ikr only if kernel_source has no .config
- added 'MODULE_LICENSE("GPL");' to appropriate header file
-* Wed Aug 15 2001 - ro(a)suse.de
+* Wed Aug 15 2001 ro(a)suse.de
- removed k_deflt from neededforbuild (cyclic dependency)
-* Tue May 08 2001 - zoz(a)suse.de
+* Tue May 08 2001 zoz(a)suse.de
- now using version.h from /boot/vmlinuz.version.h
- changed filelist for tpctl-modules
- make km_tpctl build ("s/Makefile_common/Makefile-common/" in
Makefile.module) Bug: 7579
-* Mon Apr 09 2001 - zoz(a)suse.de
+* Mon Apr 09 2001 zoz(a)suse.de
- update to 2.0
- now using buildroot
- added tpctlir to the filelist
- added tpctl-module package for easier update
-* Tue Mar 13 2001 - uli(a)suse.de
+* Tue Mar 13 2001 uli(a)suse.de
- moved kernel stuff to km_tpctl package
-* Tue Dec 12 2000 - ro(a)suse.de
+* Tue Dec 12 2000 ro(a)suse.de
- comment modprobe calls in install section of Makefile
-* Fri Dec 08 2000 - uli(a)suse.de
+* Fri Dec 08 2000 uli(a)suse.de
- fixed typos in drivers/thinkpad.c
-* Thu Nov 23 2000 - droesch(a)suse.de
+* Thu Nov 23 2000 droesch(a)suse.de
- update to 1.0
-* Thu Jun 08 2000 - zoz(a)suse.de
+* Thu Jun 08 2000 zoz(a)suse.de
- update to 0.8.8
-* Wed Jun 07 2000 - uli(a)suse.de
+* Wed Jun 07 2000 uli(a)suse.de
- doc relocation
-* Wed Mar 08 2000 - bs(a)suse.de
+* Wed Mar 08 2000 bs(a)suse.de
- made %%post more friendly.
-* Mon Feb 28 2000 - ro(a)suse.de
+* Tue Feb 29 2000 ro(a)suse.de
- cleaned neededforbuild
-* Wed Feb 16 2000 - zoz(a)suse.de
+* Wed Feb 16 2000 zoz(a)suse.de
- some cleaning-up
- fixed path in ultrabayd
- prevented tpctlify from changing /etc/ld.so.conf
-* Tue Feb 08 2000 - zoz(a)suse.de
+* Tue Feb 08 2000 zoz(a)suse.de
- new package
- there is a special hdparm.tpctl to (un)registers ide-devices
needed for the IBM ultrabay
++++++ pm_active-gone.dif ++++++
--- thinkpad-5.8/2.6/drivers/thinkpadpm.c 2008/02/29 01:14:02 1.11
+++ thinkpad-5.8/2.6/drivers/thinkpadpm.c 2008/02/29 01:18:48
@@ -475,7 +475,7 @@
{
/*** Set up APM BIOS interface ***/
- if ( !pm_active ) {
+ if ( !(pm_flags & PM_APM) ) {
printk(KERN_INFO "thinkpadpm: Power management not active. :-(\n");
return -ENODEV;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org