From fb1414d3f057c4f098b37ba8515f86714a485280 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 5 Dec 2006 10:44:35 +0000 Subject: [PATCH] New version, fixes #157185 thanks to Anton Bolshakov. Package-Manager: portage-2.1.2_rc2-r5 --- app-laptop/tp_smapi/ChangeLog | 7 ++- app-laptop/tp_smapi/Manifest | 16 ++++-- .../tp_smapi/files/digest-tp_smapi-0.30 | 3 + app-laptop/tp_smapi/tp_smapi-0.30.ebuild | 55 +++++++++++++++++++ 4 files changed, 76 insertions(+), 5 deletions(-) create mode 100644 app-laptop/tp_smapi/files/digest-tp_smapi-0.30 create mode 100644 app-laptop/tp_smapi/tp_smapi-0.30.ebuild diff --git a/app-laptop/tp_smapi/ChangeLog b/app-laptop/tp_smapi/ChangeLog index 56b7f279d65a..69b1acc5f405 100644 --- a/app-laptop/tp_smapi/ChangeLog +++ b/app-laptop/tp_smapi/ChangeLog @@ -1,6 +1,11 @@ # 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.14 2006/08/14 12:04:15 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.15 2006/12/05 10:44:35 uberlord Exp $ + +*tp_smapi-0.30 (05 Dec 2006) + + 05 Dec 2006; Roy Marples +tp_smapi-0.30.ebuild: + New version, fixes #157185 thanks to Anton Bolshakov. *tp_smapi-0.27 (14 Aug 2006) diff --git a/app-laptop/tp_smapi/Manifest b/app-laptop/tp_smapi/Manifest index 99698f41199e..c3d0723d9085 100644 --- a/app-laptop/tp_smapi/Manifest +++ b/app-laptop/tp_smapi/Manifest @@ -1,6 +1,7 @@ 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 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 @@ -13,10 +14,14 @@ EBUILD tp_smapi-0.27.ebuild 1134 RMD160 77484c93600772d95a4595ab3c480f7a8e7380a8 MD5 27a63696470a55a235c11ddb9c93d870 tp_smapi-0.27.ebuild 1134 RMD160 77484c93600772d95a4595ab3c480f7a8e7380a8 tp_smapi-0.27.ebuild 1134 SHA256 a06da93ba75e9499c32bb8a9b723b682e69dbae22c5c62c77f6c1810729b7330 tp_smapi-0.27.ebuild 1134 -MISC ChangeLog 2065 RMD160 a38ec0e5a9d243bfbc4d08522a9942133564a05f SHA1 abc17bca3f7ab0d9d8c35eee13c41c4d5dc2d394 SHA256 858b63c76e2c053d9ff948c765703457cd51e8c9835eee1cea42dc79cdd4bfd6 -MD5 ea5ede0bad219f3052744360171505cf ChangeLog 2065 -RMD160 a38ec0e5a9d243bfbc4d08522a9942133564a05f ChangeLog 2065 -SHA256 858b63c76e2c053d9ff948c765703457cd51e8c9835eee1cea42dc79cdd4bfd6 ChangeLog 2065 +EBUILD tp_smapi-0.30.ebuild 1134 RMD160 fdecb97db5e673ce07589421470124ac99ad25d6 SHA1 1054df10abcf35e94d3827140df27fe98899dfbd SHA256 46bd16d2b3ec70f3a65948bbf2c5a05a6ad68c88b679330bed028433fd5e4696 +MD5 509d937a388bde5fe90a574e8970d5da tp_smapi-0.30.ebuild 1134 +RMD160 fdecb97db5e673ce07589421470124ac99ad25d6 tp_smapi-0.30.ebuild 1134 +SHA256 46bd16d2b3ec70f3a65948bbf2c5a05a6ad68c88b679330bed028433fd5e4696 tp_smapi-0.30.ebuild 1134 +MISC ChangeLog 2224 RMD160 4f5bb97241fb114c4f546be358510e7a5d0d0fdf SHA1 6952944e928a1f7acf7b38c6ed11da9f1b557227 SHA256 4030d5b4eb2c6e55cbe4edf87fd0ed957de35db02f8f7c2c6e61dd95158ed182 +MD5 a5a0b74877f496d07c3695a20e143580 ChangeLog 2224 +RMD160 4f5bb97241fb114c4f546be358510e7a5d0d0fdf ChangeLog 2224 +SHA256 4030d5b4eb2c6e55cbe4edf87fd0ed957de35db02f8f7c2c6e61dd95158ed182 ChangeLog 2224 MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250 @@ -30,3 +35,6 @@ SHA256 0c8e444dedaba37f944c11b33f223c601757177646de394816929455bb5d78a0 files/di MD5 54ca4561f9486ef7a7192595bf148c16 files/digest-tp_smapi-0.27 229 RMD160 7237be297ae53efe7bcc07fed28d17442048dd43 files/digest-tp_smapi-0.27 229 SHA256 b7c7ead6b7e57a6b1f5b8e2db79737fdaf36de5aa3644497255cd7ba1006782b files/digest-tp_smapi-0.27 229 +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 diff --git a/app-laptop/tp_smapi/files/digest-tp_smapi-0.30 b/app-laptop/tp_smapi/files/digest-tp_smapi-0.30 new file mode 100644 index 000000000000..175ef48c182f --- /dev/null +++ b/app-laptop/tp_smapi/files/digest-tp_smapi-0.30 @@ -0,0 +1,3 @@ +MD5 06e15345276d8389950bd89c8bd96717 tp_smapi-0.30.tgz 36980 +RMD160 fdb808a33b6c2b6251e344e89bde38afd6a5da3c tp_smapi-0.30.tgz 36980 +SHA256 6f1d16bffb2bb7fec6aa607b193d5a844a1342fa4004549997033b2107c48285 tp_smapi-0.30.tgz 36980 diff --git a/app-laptop/tp_smapi/tp_smapi-0.30.ebuild b/app-laptop/tp_smapi/tp_smapi-0.30.ebuild new file mode 100644 index 000000000000..e6e87c5fe949 --- /dev/null +++ b/app-laptop/tp_smapi/tp_smapi-0.30.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 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.30.ebuild,v 1.1 2006/12/05 10:44:35 uberlord 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}" + 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 +} -- 2.26.2