# ChangeLog for app-laptop/thinkpad
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/ChangeLog,v 1.17 2006/10/20 19:01:59 phreak Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/ChangeLog,v 1.18 2007/02/10 07:19:47 steev Exp $
+
+ 10 Feb 2007; Steev Klimaszewski <steev@gentoo.org>
+ -files/thinkpad-5.8-cpu_ptr.patch, -thinkpad-3.2.ebuild,
+ -thinkpad-4.1.ebuild, -thinkpad-4.3.ebuild, -thinkpad-4.3-r1.ebuild,
+ -thinkpad-4.8.ebuild:
+ Remove old thinkpad versions. Fixes bug #159708
20 Oct 2006; Christian Heim <phreak@gentoo.org> thinkpad-5.9-r1.ebuild:
Moving the asm-file around (thanks to Daniel in #149354), fixing compilation
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX thinkpad 545 RMD160 6ac014699371fccc7387315fbaf09080e5368977 SHA1 aa90a5ae350609c3aa51ee9d94aa77aecfe89b71 SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee
MD5 26886c3a2e8b9c3b807371e643dd5c75 files/thinkpad 545
RMD160 6ac014699371fccc7387315fbaf09080e5368977 files/thinkpad 545
SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee files/thinkpad 545
-AUX thinkpad-5.8-cpu_ptr.patch 634 RMD160 0fd6cc16f71e228f13a9cce01055f4bc4a96f806 SHA1 9258b0dae64a24b8e894e040aa655fef1c4c49fd SHA256 48418d14851cba7c9f3b280e4c0674ac2214348ccd543248fd24d6e6747e693a
-MD5 53ea99e36366006d376acc68b63762eb files/thinkpad-5.8-cpu_ptr.patch 634
-RMD160 0fd6cc16f71e228f13a9cce01055f4bc4a96f806 files/thinkpad-5.8-cpu_ptr.patch 634
-SHA256 48418d14851cba7c9f3b280e4c0674ac2214348ccd543248fd24d6e6747e693a files/thinkpad-5.8-cpu_ptr.patch 634
AUX thinkpad-5.9-module-param.patch 992 RMD160 80bc42d8d92da4174e6e9d23f733f3658c9e1a7f SHA1 6cd5facfcb3d9745f769bc7422e917e8acd39014 SHA256 4bc08dae456cf96bcfcaf416967657c079982b38a1b89ec6d71b684f2a4688bf
MD5 4ad05575956f8ff9619a3a2084dea724 files/thinkpad-5.9-module-param.patch 992
RMD160 80bc42d8d92da4174e6e9d23f733f3658c9e1a7f files/thinkpad-5.9-module-param.patch 992
RMD160 e1c7831dea7ace73cb619005ade0652d6b0ab992 files/thinkpad-5.9-remove-thinkpadapm-argument.patch 1052
SHA256 57fe17e7d1644f16815d8b052efd8a5cbd34564b5539247b57a23f27a05eb1c8 files/thinkpad-5.9-remove-thinkpadapm-argument.patch 1052
DIST thinkpad-5.9.tar.gz 74779 RMD160 93d3d8ff6d64191ff07252654489a9bc5d878457 SHA1 c3f88d36ed39f83e6d888c9d174de9bc80724ea6 SHA256 49d2eab42e57d71cb0f175a645c703fce458a852552842ea56e0c81547d8f715
-DIST thinkpad_3.2.tar.gz 64386 RMD160 2b0ab66ad52edf3ade7e4af89f438c695b5b77cb SHA1 838e6f5106b035807b9f504dc6741794af036fb0 SHA256 da1b16c5bffccc0fe6f1241eecb59c4b9f52083e064a039b7530cd14b8ad7feb
-DIST thinkpad_4.1.tar.gz 84278 RMD160 4d4adbce9258c01f92d6c6c52f173c8de19d536b SHA1 631a2564d78925a2d919e8bc3ca08284036a34fc SHA256 32fab98027a943453de77d98fb06517e5d8147942dcd0e53be9b29d123fb3481
-DIST thinkpad_4.3.tar.gz 84492 RMD160 6ff84cae894165d09262cce0ad6468768bd9cc45 SHA1 2e9ca96e964f5acf14bce1b7f99ebfcee076d867 SHA256 611a6be19b1970f18c2899685afcc44742c4b9a1550b5847e264d5689afe5213
-DIST thinkpad_4.8.tar.gz 88476 RMD160 2bc9fb8560c12e0f2e5ac4be83d79e893438ff95 SHA1 25411babcbb1cc86e9751b35cdadde62ea956ac6 SHA256 1c8cbbbd9ed6705e542eb4b4937df064641944e89cf7457ac56e00edefbf7281
-EBUILD thinkpad-3.2.ebuild 1102 RMD160 3fb34954ac2cd8a6be405a557d067ba4c4834230 SHA1 7537345f9b82f61f2364d685e952c8f993c05383 SHA256 c5e4cfb4037377935a401c9ff7947be53a9a731ec40db6935191b8c851ff1fc2
-MD5 f931aa8596c2b096214b3cb7af3b894f thinkpad-3.2.ebuild 1102
-RMD160 3fb34954ac2cd8a6be405a557d067ba4c4834230 thinkpad-3.2.ebuild 1102
-SHA256 c5e4cfb4037377935a401c9ff7947be53a9a731ec40db6935191b8c851ff1fc2 thinkpad-3.2.ebuild 1102
-EBUILD thinkpad-4.1.ebuild 1372 RMD160 fcade7f8150de84c048754a3127093ae3ea975ce SHA1 bf9b4d18c7ca84d4f682066453060f84c03a9548 SHA256 d3d97934a2778d07893a23ecc8c9f8c47fbbd2f0d993f73feeedcfa43fb2bb7e
-MD5 4f4f4791f1af04f2382bddbece4f9520 thinkpad-4.1.ebuild 1372
-RMD160 fcade7f8150de84c048754a3127093ae3ea975ce thinkpad-4.1.ebuild 1372
-SHA256 d3d97934a2778d07893a23ecc8c9f8c47fbbd2f0d993f73feeedcfa43fb2bb7e thinkpad-4.1.ebuild 1372
-EBUILD thinkpad-4.3-r1.ebuild 2007 RMD160 450bf138d65256a8ee739a4cdd310aedcbd6ece5 SHA1 bcdd6e7c4d45e6e1019de1d01c7b42b633d263d1 SHA256 9de4d3b3b878b0088e10610cc8041f589669f26ff92ff946236e9a98b6f55944
-MD5 70d35cbb2f6698600a92fc3df76541d2 thinkpad-4.3-r1.ebuild 2007
-RMD160 450bf138d65256a8ee739a4cdd310aedcbd6ece5 thinkpad-4.3-r1.ebuild 2007
-SHA256 9de4d3b3b878b0088e10610cc8041f589669f26ff92ff946236e9a98b6f55944 thinkpad-4.3-r1.ebuild 2007
-EBUILD thinkpad-4.3.ebuild 1907 RMD160 504976d6de206f48d1614120eb4219fb0505dddf SHA1 ea4694478b94399ff0b9981f6f9205a73913f1aa SHA256 8c530f6c469ee0db8324f745df686ade2f734acb5dbdab1d9dbf5bc1b6492a21
-MD5 b70dc4d648e03a18b73d8f69e5a96ec8 thinkpad-4.3.ebuild 1907
-RMD160 504976d6de206f48d1614120eb4219fb0505dddf thinkpad-4.3.ebuild 1907
-SHA256 8c530f6c469ee0db8324f745df686ade2f734acb5dbdab1d9dbf5bc1b6492a21 thinkpad-4.3.ebuild 1907
-EBUILD thinkpad-4.8.ebuild 2004 RMD160 79dfab40f86bb56ea62df660cc83b665b6f766df SHA1 b032e8d69639cdee68f1b0029777d24daffdc3f7 SHA256 3cd71ce210ad60245eb38f80884a99b9aa19495a8bee4a47ceceb7ef57d41bc8
-MD5 5a3b38a8550c1f5f07daa4e60052bfe1 thinkpad-4.8.ebuild 2004
-RMD160 79dfab40f86bb56ea62df660cc83b665b6f766df thinkpad-4.8.ebuild 2004
-SHA256 3cd71ce210ad60245eb38f80884a99b9aa19495a8bee4a47ceceb7ef57d41bc8 thinkpad-4.8.ebuild 2004
EBUILD thinkpad-5.9-r1.ebuild 1393 RMD160 321590b5a4b99764593c49a6526d47ce1f8c8571 SHA1 fc87690032161a6e0e34380a611374f46a41bf29 SHA256 08eb77b377fc514824a1db08aac0b9409c13bb63ef5ce2d69c6d31f3f2bcea6e
MD5 4299b25d1bc1a835cb12a8a12c19bbb0 thinkpad-5.9-r1.ebuild 1393
RMD160 321590b5a4b99764593c49a6526d47ce1f8c8571 thinkpad-5.9-r1.ebuild 1393
SHA256 08eb77b377fc514824a1db08aac0b9409c13bb63ef5ce2d69c6d31f3f2bcea6e thinkpad-5.9-r1.ebuild 1393
-MISC ChangeLog 4677 RMD160 4149f4a80978d2f7687c7b3ecd5cfdde0ded79d8 SHA1 20435f9e683e05bfdc7e1d9ebfa0a3b0f571c5d0 SHA256 f6a58cdd2c22e4a667f261878d8719f39933967d797fae2df506c5512481af46
-MD5 d5fb008fdfda5c6c8fa68b9c630bcf9f ChangeLog 4677
-RMD160 4149f4a80978d2f7687c7b3ecd5cfdde0ded79d8 ChangeLog 4677
-SHA256 f6a58cdd2c22e4a667f261878d8719f39933967d797fae2df506c5512481af46 ChangeLog 4677
+MISC ChangeLog 4935 RMD160 b1efa81a26204099db17a12eb5f46ba0b952a834 SHA1 315ecba6dbd0128c2a6ad768b8532a21048782ac SHA256 2db3553a6f60753102d34781b6fa046f7fa41c6971b5c2153f285c4c00a38c9b
+MD5 042eb8039c77e4c0c4b17898e76abc78 ChangeLog 4935
+RMD160 b1efa81a26204099db17a12eb5f46ba0b952a834 ChangeLog 4935
+SHA256 2db3553a6f60753102d34781b6fa046f7fa41c6971b5c2153f285c4c00a38c9b ChangeLog 4935
MISC metadata.xml 257 RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 SHA1 5dcc7e2d25909c0340fcba06a149e0bc79162c2e SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe
MD5 9cb8c919fc98f51c73bb8e42f2057867 metadata.xml 257
RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 metadata.xml 257
SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe metadata.xml 257
-MD5 35fb8eee63227e2567b3ace905bdc87b files/digest-thinkpad-3.2 235
-RMD160 0c73f5a1f9cf106042c043f365dc5dac7f155aa7 files/digest-thinkpad-3.2 235
-SHA256 b57403d25caefbb14185fa7ae1c3d29d575fcb7ea5caf2018c627ade3fc5b2c0 files/digest-thinkpad-3.2 235
-MD5 b37be30d0e813cee8c2505f571af5210 files/digest-thinkpad-4.1 235
-RMD160 138d97c167f538ad13dd561117a968576f28f7b6 files/digest-thinkpad-4.1 235
-SHA256 baeb9b8e38d54b43ff66e1d81f2401f2032c465617929790fca1d6768e49a53c files/digest-thinkpad-4.1 235
-MD5 0f5816047d46ec751538e7feefb49405 files/digest-thinkpad-4.3 235
-RMD160 1e92d4cdd8943a741c83c921639414ba1ce6bf30 files/digest-thinkpad-4.3 235
-SHA256 f94ab11a2c76c70100425caf3f77800a5be78f41911385b7a599c2dee5f26823 files/digest-thinkpad-4.3 235
-MD5 0f5816047d46ec751538e7feefb49405 files/digest-thinkpad-4.3-r1 235
-RMD160 1e92d4cdd8943a741c83c921639414ba1ce6bf30 files/digest-thinkpad-4.3-r1 235
-SHA256 f94ab11a2c76c70100425caf3f77800a5be78f41911385b7a599c2dee5f26823 files/digest-thinkpad-4.3-r1 235
-MD5 0540e63fbcb6a69792648daf4d5dca08 files/digest-thinkpad-4.8 235
-RMD160 542959a6d7220a777071e6bcff532f5186ca75df files/digest-thinkpad-4.8 235
-SHA256 7df34853a954641d72983664ba8bc4044049cef840906c202c11a312ee8ad2ba files/digest-thinkpad-4.8 235
MD5 c35ad826276df3cf38204f217c633902 files/digest-thinkpad-5.9-r1 235
RMD160 d5c3f521d5bc24abe05caa4e230afaaa13a806c5 files/digest-thinkpad-5.9-r1 235
SHA256 8178715d1dd873c669ce74f5ff1a6a300dce69c2af42ec7bcca9fc457b579ecf files/digest-thinkpad-5.9-r1 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFOR0vyuNVb5qfaOYRAhXuAKDB7YMgQ1+irzRuWyhY5wGqgJvZsgCgxyX1
-4ykjLbzyqz67EDLXmzeTJf0=
-=uoYA
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 545dbc10f694b98075c2a57a01638278 thinkpad_3.2.tar.gz 64386
-RMD160 2b0ab66ad52edf3ade7e4af89f438c695b5b77cb thinkpad_3.2.tar.gz 64386
-SHA256 da1b16c5bffccc0fe6f1241eecb59c4b9f52083e064a039b7530cd14b8ad7feb thinkpad_3.2.tar.gz 64386
+++ /dev/null
-MD5 d077a0081553e236e0231fc6076b5128 thinkpad_4.1.tar.gz 84278
-RMD160 4d4adbce9258c01f92d6c6c52f173c8de19d536b thinkpad_4.1.tar.gz 84278
-SHA256 32fab98027a943453de77d98fb06517e5d8147942dcd0e53be9b29d123fb3481 thinkpad_4.1.tar.gz 84278
+++ /dev/null
-MD5 af8dfd6e1529ee07620c2e4f11f05702 thinkpad_4.3.tar.gz 84492
-RMD160 6ff84cae894165d09262cce0ad6468768bd9cc45 thinkpad_4.3.tar.gz 84492
-SHA256 611a6be19b1970f18c2899685afcc44742c4b9a1550b5847e264d5689afe5213 thinkpad_4.3.tar.gz 84492
+++ /dev/null
-MD5 af8dfd6e1529ee07620c2e4f11f05702 thinkpad_4.3.tar.gz 84492
-RMD160 6ff84cae894165d09262cce0ad6468768bd9cc45 thinkpad_4.3.tar.gz 84492
-SHA256 611a6be19b1970f18c2899685afcc44742c4b9a1550b5847e264d5689afe5213 thinkpad_4.3.tar.gz 84492
+++ /dev/null
-MD5 e2ac5d61784fe92d7384322c0718ded6 thinkpad_4.8.tar.gz 88476
-RMD160 2bc9fb8560c12e0f2e5ac4be83d79e893438ff95 thinkpad_4.8.tar.gz 88476
-SHA256 1c8cbbbd9ed6705e542eb4b4937df064641944e89cf7457ac56e00edefbf7281 thinkpad_4.8.tar.gz 88476
+++ /dev/null
-diff -urp thinkpad-5.8/2.6/drivers/thinkpadpm.c thinkpad-5.8-cpu_ptr/2.6/drivers/thinkpadpm.c
---- thinkpad-5.8/2.6/drivers/thinkpadpm.c 2004-09-19 11:32:57.000000000 +0200
-+++ thinkpad-5.8-cpu_ptr/2.6/drivers/thinkpadpm.c 2005-01-08 21:50:29.136392080 +0100
-@@ -171,8 +171,8 @@ static inline void apm_restore_cpus(cpum
- #define get_gdt_table() (cpu_gdt_table[get_cpu()])
- #define put_gdt_table() put_cpu()
- #else
--#define get_gdt_table() (get_cpu_ptr(cpu_gdt_table))
--#define put_gdt_table() put_cpu_ptr(cpu_gdt_table)
-+#define get_gdt_table() (per_cpu_ptr(cpu_gdt_table, get_cpu()))
-+#define put_gdt_table() put_cpu()
- #endif
-
- /**
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-3.2.ebuild,v 1.6 2006/01/11 15:34:27 config Exp $
-
-#transform P to match tarball versioning
-MYPV=${PV/_beta/beta}
-MYP="${PN}_${MYPV}"
-KV=""
-DESCRIPTION="Thinkpad system control kernel modules"
-HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
-SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-pkg_setup() {
- check_KV
-}
-
-src_compile() {
- emake || die "Make failed"
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES
- dodir /lib/modules/${KV}/thinkpad
- cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.o \
- ${D}/lib/modules/${KV}/thinkpad
- insinto /etc/modules.d
- doins ${FILESDIR}/thinkpad
- (cat /etc/devfsd.conf; echo; echo '# Thinkpad config';
- echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664') \
- > ${D}/etc/devfsd.conf
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && /usr/sbin/update-modules
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-4.1.ebuild,v 1.6 2006/01/11 15:34:27 config Exp $
-
-#transform P to match tarball versioning
-MYPV=${PV/_beta/beta}
-MYP="${PN}_${MYPV}"
-DESCRIPTION="Thinkpad system control kernel modules"
-HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
-SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A} || die
- cd ${S}
-
- # These instructions come from the webpage and make it compile
- # on Linux 2.4
- mkdir 2.5
- mv drivers include 2.5
- ln -s 2.4/drivers drivers
- ln -s 2.4/include include
-}
-
-src_compile() {
- check_KV
- emake DIR_MOD_VER=/lib/modules/${KV} || die "Make failed"
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES
- dodir /lib/modules/${KV}/thinkpad
- cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.o \
- ${D}/lib/modules/${KV}/thinkpad
- dodir /etc/modules.d
- sed 's/%KV%/'${KV}'/g' ${FILESDIR}/thinkpad > ${D}/etc/modules.d/thinkpad
- (cat /etc/devfsd.conf; echo; echo '# Thinkpad config';
- echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664') \
- > ${D}/etc/devfsd.conf
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && /usr/sbin/update-modules
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-4.3-r1.ebuild,v 1.6 2006/01/11 15:34:27 config Exp $
-
-inherit eutils
-
-#transform P to match tarball versioning
-MYPV=${PV/_beta/beta}
-MYP="${PN}_${MYPV}"
-DESCRIPTION="Thinkpad system control kernel modules"
-HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
-SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-pkg_setup() {
- enewgroup thinkpad
-}
-
-src_unpack() {
- check_KV
- unpack ${A} || die
- cd ${S}
-
- # Use the correct drivers for your kernel. The standard distro comes
- # with 2.5.
- mkdir 2.5
- mv drivers include 2.5
- # Use your kernel version to build.
- local ver=${KV:0:3} # first 3 chars of $KV, thank you bash :)
- ln -s $ver/drivers drivers
- ln -s $ver/include include
-}
-
-src_compile() {
- check_KV
- emake DIR_MOD_VER=/lib/modules/${KV} \
- DIR_MODULES_VER=/lib/modules/${KV} \
- || die "Make failed"
-
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES
- dodir /lib/modules/${KV}/thinkpad
- cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.o \
- ${D}/lib/modules/${KV}/thinkpad
- dodir /etc/modules.d
- sed 's/%KV%/'${KV}'/g' ${FILESDIR}/thinkpad > ${D}/etc/modules.d/thinkpad
- dodir /etc/devfs.d
- echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664' \
- > ${D}/etc/devfs.d/thinkpad
- doman man/*.4
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && /usr/sbin/update-modules
- if ! grep -q '^ *INCLUDE.*devfs\.d' /etc/devfsd.conf; then
- ewarn 'Your /etc/devfsd.conf is missing the include for'
- ewarn '/etc/devfs.d/! Please fix this by adding'
- ewarn 'INCLUDE /etc/devfs.d'
- ewarn 'to your /etc/devfs.conf'
- fi
- if grep -q thinkpad /etc/devfsd.conf; then
- ewarn 'The thinkpad devfsd entry has moved to'
- ewarn '/etc/devfs.d/thinkpad, so you can remove it from'
- ewarn '/etc/devfsd.conf if you like.'
- fi
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-4.3.ebuild,v 1.6 2006/01/11 15:34:27 config Exp $
-
-#transform P to match tarball versioning
-MYPV=${PV/_beta/beta}
-MYP="${PN}_${MYPV}"
-DESCRIPTION="Thinkpad system control kernel modules"
-HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
-SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- check_KV
- unpack ${A} || die
- cd ${S}
-
- # Use the correct drivers for your kernel. The standard distro comes
- # with 2.5.
- mkdir 2.5
- mv drivers include 2.5
- # Use your kernel version to build.
- local ver=${KV:0:3} # first 3 chars of $KV, thank you bash :)
- ln -s $ver/drivers drivers
- ln -s $ver/include include
-}
-
-src_compile() {
- check_KV
- emake DIR_MOD_VER=/lib/modules/${KV} || die "Make failed"
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES
- dodir /lib/modules/${KV}/thinkpad
- cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.o \
- ${D}/lib/modules/${KV}/thinkpad
- dodir /etc/modules.d
- sed 's/%KV%/'${KV}'/g' ${FILESDIR}/thinkpad > ${D}/etc/modules.d/thinkpad
- dodir /etc/devfs.d
- echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664' \
- > ${D}/etc/devfs.d/thinkpad
- doman man/*.1
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && /usr/sbin/update-modules
- if ! grep -q '^ *INCLUDE.*devfs\.d' /etc/devfsd.conf; then
- ewarn 'Your /etc/devfsd.conf is missing the include for'
- ewarn '/etc/devfs.d/! Please fix this by adding'
- ewarn 'INCLUDE /etc/devfs.d'
- ewarn 'to your /etc/devfs.conf'
- fi
- if grep -q thinkpad /etc/devfsd.conf; then
- ewarn 'The thinkpad devfsd entry has moved to'
- ewarn '/etc/devfs.d/thinkpad, so you can remove it from'
- ewarn '/etc/devfsd.conf if you like.'
- fi
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-4.8.ebuild,v 1.8 2006/01/11 15:34:27 config Exp $
-
-inherit eutils
-
-#transform P to match tarball versioning
-MYPV=${PV/_beta/beta}
-MYP="${PN}_${MYPV}"
-DESCRIPTION="Thinkpad system control kernel modules"
-HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm"
-SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-pkg_setup() {
- enewgroup thinkpad
-}
-
-src_unpack() {
- check_KV
- unpack ${A} || die
- cd ${S}
-
- # Use the correct drivers for your kernel. The standard distro comes
- # with 2.5.
- mkdir 2.5
- mv drivers include 2.5
- # Use your kernel version to build.
- local ver=${KV:0:3} # first 3 chars of $KV, thank you bash :)
- ln -s $ver/drivers drivers
- ln -s $ver/include include
-}
-
-src_compile() {
- check_KV
- emake DIR_MOD_VER=/lib/modules/${KV} \
- DIR_MODULES_VER=/lib/modules/${KV} \
- || die "Make failed"
-
-}
-
-src_install() {
- dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES
- dodir /lib/modules/${KV}/thinkpad
- cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.o \
- ${D}/lib/modules/${KV}/thinkpad
- dodir /etc/modules.d
- sed 's/%KV%/'${KV}'/g' ${FILESDIR}/thinkpad > ${D}/etc/modules.d/thinkpad
- dodir /etc/devfs.d
- echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664' \
- > ${D}/etc/devfs.d/thinkpad
- doman man/*.4
-}
-
-pkg_postinst() {
- [ "${ROOT}" == "/" ] && /usr/sbin/update-modules
- if ! grep -q '^ *INCLUDE.*devfs\.d' /etc/devfsd.conf; then
- ewarn 'Your /etc/devfsd.conf is missing the include for'
- ewarn '/etc/devfs.d/! Please fix this by adding'
- ewarn 'INCLUDE /etc/devfs.d'
- ewarn 'to your /etc/devfs.conf'
- fi
- if grep -q thinkpad /etc/devfsd.conf; then
- ewarn 'The thinkpad devfsd entry has moved to'
- ewarn '/etc/devfs.d/thinkpad, so you can remove it from'
- ewarn '/etc/devfsd.conf if you like.'
- fi
-}