# ChangeLog for app-laptop/tp_smapi
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.18 2007/04/07 13:26:46 genstef Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.19 2007/04/20 13:18:01 chainsaw Exp $
+
+*tp_smapi-0.31 (20 Apr 2007)
+
+ 20 Apr 2007; Tony Vroon <chainsaw@gentoo.org> +tp_smapi-0.31.ebuild:
+ Version bump, closes bug #170106.
29 Dec 2006; Stefan Schweizer <genstef@gentoo.org> tp_smapi-0.30.ebuild:
Fix for wrong kernel source in bug 159039 for jkt and uberlord
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST tp_smapi-0.20.tgz 34365 RMD160 7798ff7da37717333475189c63488ba3d040171a SHA1 bfa0092aefbe989c2f21705bd5fef26833d755c5 SHA256 fd3e538e4f9abcd19177330293beeeb56f7f22c8d1ee3819f53276a911044634
DIST tp_smapi-0.21.tgz 27500 RMD160 ac6858d93e3db4e98e2a2e9df1a0ed0c848f4e30 SHA1 7915953d6bd64f6c6e76df5cde725fee83049f49 SHA256 b02d494e4a25f55a77bebe1c6d6b22c3357c9fba08cfc24362feaac55ea766b9
DIST tp_smapi-0.27.tgz 36124 RMD160 15ae9215c91d5ec3aac6110aa47da71bd66cb0d3 SHA1 dd0ce1b335ad98b08c49bfcc1dc881b35dc4f346 SHA256 a0687e565c3598ca3f343c36ed2df63802965961dbae5ab92202eaee9c8e0369
DIST tp_smapi-0.30.tgz 36980 RMD160 fdb808a33b6c2b6251e344e89bde38afd6a5da3c SHA1 9a4c1ec215ad70dd8d2956de7c5a4ed17b76057a SHA256 6f1d16bffb2bb7fec6aa607b193d5a844a1342fa4004549997033b2107c48285
+DIST tp_smapi-0.31.tgz 35692 RMD160 cdcd032cbb2c315b9336694c8c196b0e563a36af SHA1 6eb29c8f7504666a7d644df886329da31eb50de3 SHA256 aa575491ec07c774eaa0258d6490d3ff5e4780272692e7b8bea043469e4087db
EBUILD tp_smapi-0.20.ebuild 892 RMD160 9852de284536628153556dbaff844a3b0d274a62 SHA1 3d60b479760af3a4c307e7329b8e85a2631c5d1a SHA256 c729b885e75968728f3fcaf3556ceda59e8ff0bb354ff0ac7c9ad180c0efed88
MD5 35b9a454eac9bd90b377bc8d62e9182b tp_smapi-0.20.ebuild 892
RMD160 9852de284536628153556dbaff844a3b0d274a62 tp_smapi-0.20.ebuild 892
MD5 27a63696470a55a235c11ddb9c93d870 tp_smapi-0.27.ebuild 1134
RMD160 77484c93600772d95a4595ab3c480f7a8e7380a8 tp_smapi-0.27.ebuild 1134
SHA256 a06da93ba75e9499c32bb8a9b723b682e69dbae22c5c62c77f6c1810729b7330 tp_smapi-0.27.ebuild 1134
-EBUILD tp_smapi-0.30.ebuild 1150 RMD160 ca5831a4d813d1a9a012a18afa067490d4f988dd SHA1 07a85c20898e5961fe16a68aed2fc4015e09987a SHA256 10b05397bb5e63ab645d2024ebb9da7da6247e85940a08b4e3b50a3ece9f62be
-MD5 cf9e4d097ebcc816291ac48971f8fb7d tp_smapi-0.30.ebuild 1150
-RMD160 ca5831a4d813d1a9a012a18afa067490d4f988dd tp_smapi-0.30.ebuild 1150
-SHA256 10b05397bb5e63ab645d2024ebb9da7da6247e85940a08b4e3b50a3ece9f62be tp_smapi-0.30.ebuild 1150
-MISC ChangeLog 2354 RMD160 cc44dc4c92e5c415d254c147892190b306238a98 SHA1 bcbc69c7ec57de73ed916102675ad59f9a247426 SHA256 c4ab3784265459ce89d36abe3cfdcf8f6744ff1b0a2407a911efa55a66cd15f3
-MD5 2ca07698f126049253852d99c0d2425e ChangeLog 2354
-RMD160 cc44dc4c92e5c415d254c147892190b306238a98 ChangeLog 2354
-SHA256 c4ab3784265459ce89d36abe3cfdcf8f6744ff1b0a2407a911efa55a66cd15f3 ChangeLog 2354
+EBUILD tp_smapi-0.30.ebuild 1151 RMD160 45c69c1854b1cc88bc14e8bef826e0b1ddb90b22 SHA1 3b5b2b152c71973f1d4efef845acb89af22b59a4 SHA256 f3af44efbcbc40280f64a4ee14dd64fef76e4bab93badd63c0a122ea1541f62a
+MD5 036857698d0dbb4488f63e6d4cb5e950 tp_smapi-0.30.ebuild 1151
+RMD160 45c69c1854b1cc88bc14e8bef826e0b1ddb90b22 tp_smapi-0.30.ebuild 1151
+SHA256 f3af44efbcbc40280f64a4ee14dd64fef76e4bab93badd63c0a122ea1541f62a tp_smapi-0.30.ebuild 1151
+EBUILD tp_smapi-0.31.ebuild 1151 RMD160 9a8963b5aa9462a623c5336e46219d3adf05b513 SHA1 22fb1110098806113d6402cb5e72a396a8706c15 SHA256 898dac60286a192ed94816f82e7dc5e88dce2490103b3fb340157ee658d355d9
+MD5 76ac1b759e2ea4199fab3c57bbb4e054 tp_smapi-0.31.ebuild 1151
+RMD160 9a8963b5aa9462a623c5336e46219d3adf05b513 tp_smapi-0.31.ebuild 1151
+SHA256 898dac60286a192ed94816f82e7dc5e88dce2490103b3fb340157ee658d355d9 tp_smapi-0.31.ebuild 1151
+MISC ChangeLog 2493 RMD160 adc93cfa007a168ea2ac1039b81ccea87b91e43a SHA1 714f14723aa7a5a509702ba6216f415185532d8f SHA256 6911bf9d861b8a98af9b37ebc7eca2c7a0b3dc97e83eadec93adf0b8e9ee785d
+MD5 5634548d74de9d0dd193df57d7329775 ChangeLog 2493
+RMD160 adc93cfa007a168ea2ac1039b81ccea87b91e43a ChangeLog 2493
+SHA256 6911bf9d861b8a98af9b37ebc7eca2c7a0b3dc97e83eadec93adf0b8e9ee785d ChangeLog 2493
MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e
MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250
RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250
MD5 a59c515764e25887a59e93c1312cf8b9 files/digest-tp_smapi-0.30 229
RMD160 6bd609628bf106e9126f0a3a4a5083844ef08ca2 files/digest-tp_smapi-0.30 229
SHA256 198baf3fa279f72d3c562fb050a76ba6edfd6fc834f7b4f87fa6a06762903a63 files/digest-tp_smapi-0.30 229
+MD5 e394d43d49e580e4517b52e6b426930f files/digest-tp_smapi-0.31 229
+RMD160 dbd351f7575173fc11416d867cc678fb7eaaa680 files/digest-tp_smapi-0.31 229
+SHA256 1bf25f42dea377f8195f44564f274938f4cf4b369d896e5baad019ef549d29c3 files/digest-tp_smapi-0.31 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGKL1fp5vW4rUFj5oRApjPAJ9UH+6bUtci/ck7eSKvsknUd3vXrwCcDioZ
+N4bEpYQO0B8jN6fXmvcLeQk=
+=6u0O
+-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.31.ebuild,v 1.1 2007/04/20 13:18:01 chainsaw Exp $
+
+inherit linux-mod
+
+DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
+HOMEPAGE="http://tpctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tpctl/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="hdaps"
+
+RESTRICT="userpriv"
+
+# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
+# in dmi.h
+DEPEND="sys-apps/dmidecode"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is lt 2 6 15; then
+ eerror
+ eerror "${P} requires Linux kernel 2.6.15 or above."
+ eerror
+ die "Unsupported kernel version"
+ fi
+
+ MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
+ BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_DIR}"
+ BUILD_TARGETS="default"
+
+ if use hdaps; then
+ MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
+ BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Ug, sudo in a Makefile
+ sed -i 's,sudo ,,' Makefile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc CHANGES README
+}