diff options
author | Peter Johanson <latexer@gentoo.org> | 2004-03-08 04:37:28 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2004-03-08 04:37:28 +0000 |
commit | 5f1ef78103451a19b5c2bd950a400a18c00932c1 (patch) | |
tree | 204e298ac3c1f03b59155844d5489850f1e16123 /app-laptop/thinkpad | |
parent | Changed mips back to ~mips in KEYWORDS. (diff) | |
download | historical-5f1ef78103451a19b5c2bd950a400a18c00932c1.tar.gz historical-5f1ef78103451a19b5c2bd950a400a18c00932c1.tar.bz2 historical-5f1ef78103451a19b5c2bd950a400a18c00932c1.zip |
Moved to app-laptop from sys-apps
Diffstat (limited to 'app-laptop/thinkpad')
-rw-r--r-- | app-laptop/thinkpad/ChangeLog | 64 | ||||
-rw-r--r-- | app-laptop/thinkpad/Manifest | 13 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-3.2 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-4.1 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-4.3 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-4.3-r1 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-4.8 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/thinkpad | 15 | ||||
-rw-r--r-- | app-laptop/thinkpad/metadata.xml | 5 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-3.2.ebuild | 54 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-4.1.ebuild | 53 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-4.3-r1.ebuild | 77 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-4.3.ebuild | 68 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-4.8.ebuild | 77 |
14 files changed, 431 insertions, 0 deletions
diff --git a/app-laptop/thinkpad/ChangeLog b/app-laptop/thinkpad/ChangeLog new file mode 100644 index 000000000000..70babda97c26 --- /dev/null +++ b/app-laptop/thinkpad/ChangeLog @@ -0,0 +1,64 @@ +# ChangeLog for sys-apps/thinkpad +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/ChangeLog,v 1.1 2004/03/08 04:37:27 latexer Exp $ + +*thinkpad-3.2 (07 Mar 2004) + + 07 Mar 2004; Peter Johanson <latexer@gentoo.org> metadata.xml, + thinkpad-3.2.ebuild, thinkpad-4.1.ebuild, thinkpad-4.3-r1.ebuild, + thinkpad-4.3.ebuild, thinkpad-4.8.ebuild, files/thinkpad: + Moved to new app-laptop category + +*thinkpad-4.8 (25 Dec 2003) + + 25 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Add thinkpad group for devfs #35706. + + 25 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> thinkpad-4.8.ebuild: + version bump + + 28 Nov 2003; Karl Trygve Kalleberg <karltk@gentoo.org> + thinkpad-4.3-r1.ebuild : + Fixes #33778. No revision bump, as it doesn't change anything for + users who has this installed already. + +*thinkpad-4.3-r1 (27 Jun 2003) + + 25 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Add thinkpad group for devfs #35706. + + 27 Jun 2003; Karl Trygve Kalleberg <karltk@gentoo.org> thinkpad-4.3-r1.ebuild : + version bump, installs man page now. + +*thinkpad-4.3 (04 May 2003) + + 04 May 2003; Wout Mertens <wmertens@gentoo.org> thinkpad-4.3.ebuild : + version bump, fixing #20072. Also improved kernel stuff and discovered + the /etc/devfs.d directory + +*thinkpad-4.1 (17 Feb 2003) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> thinkpad-4.1.ebuild : + This is definitely not for mips. + + 17 Feb 2003; Wout Mertens <wmertens@gentoo.org>: + version bump and correct kernel version detection + +*thinkpad-3.2 (25 April 2002) + + 24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> thinkpad-3.2.ebuild : + This is definitely not for mips. + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: + updated keywords (-ppc) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> thinkpad-3.2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 25 April 2002; Wout Mertens <Wout.Mertens@advalvas.be> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/app-laptop/thinkpad/Manifest b/app-laptop/thinkpad/Manifest new file mode 100644 index 000000000000..baa22c099776 --- /dev/null +++ b/app-laptop/thinkpad/Manifest @@ -0,0 +1,13 @@ +MD5 742c04e0c0ec6676172af5476a55f9b1 thinkpad-4.3-r1.ebuild 2093 +MD5 91683e28581c9bd1fd92baad203b83c9 thinkpad-4.1.ebuild 1524 +MD5 a17daed91415158b41e01ffde52f143a thinkpad-4.8.ebuild 2091 +MD5 c11cedca06db82b92341f0e9c5811682 thinkpad-4.3.ebuild 2063 +MD5 9412f1c0f0bb4471628276b94e8350da thinkpad-3.2.ebuild 1488 +MD5 37fa218f7d9351a46b7d6a9472ed1abf ChangeLog 2336 +MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 67a420196c59076408625a82b1b0f3eb files/digest-thinkpad-3.2 63 +MD5 f6711c6d29ed136c770235acf6bebf4a files/digest-thinkpad-4.1 63 +MD5 c4bd4b11c836429cb452ababe9575efd files/digest-thinkpad-4.3 63 +MD5 feffa2e3a3d70a62bd850ad019807206 files/digest-thinkpad-4.8 63 +MD5 26886c3a2e8b9c3b807371e643dd5c75 files/thinkpad 545 +MD5 c4bd4b11c836429cb452ababe9575efd files/digest-thinkpad-4.3-r1 63 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-3.2 b/app-laptop/thinkpad/files/digest-thinkpad-3.2 new file mode 100644 index 000000000000..92ef91fe42d1 --- /dev/null +++ b/app-laptop/thinkpad/files/digest-thinkpad-3.2 @@ -0,0 +1 @@ +MD5 545dbc10f694b98075c2a57a01638278 thinkpad_3.2.tar.gz 64386 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-4.1 b/app-laptop/thinkpad/files/digest-thinkpad-4.1 new file mode 100644 index 000000000000..98f0219e8da1 --- /dev/null +++ b/app-laptop/thinkpad/files/digest-thinkpad-4.1 @@ -0,0 +1 @@ +MD5 d077a0081553e236e0231fc6076b5128 thinkpad_4.1.tar.gz 84278 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-4.3 b/app-laptop/thinkpad/files/digest-thinkpad-4.3 new file mode 100644 index 000000000000..53dacb1f3fe8 --- /dev/null +++ b/app-laptop/thinkpad/files/digest-thinkpad-4.3 @@ -0,0 +1 @@ +MD5 af8dfd6e1529ee07620c2e4f11f05702 thinkpad_4.3.tar.gz 84492 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-4.3-r1 b/app-laptop/thinkpad/files/digest-thinkpad-4.3-r1 new file mode 100644 index 000000000000..53dacb1f3fe8 --- /dev/null +++ b/app-laptop/thinkpad/files/digest-thinkpad-4.3-r1 @@ -0,0 +1 @@ +MD5 af8dfd6e1529ee07620c2e4f11f05702 thinkpad_4.3.tar.gz 84492 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-4.8 b/app-laptop/thinkpad/files/digest-thinkpad-4.8 new file mode 100644 index 000000000000..05be8a6dd807 --- /dev/null +++ b/app-laptop/thinkpad/files/digest-thinkpad-4.8 @@ -0,0 +1 @@ +MD5 e2ac5d61784fe92d7384322c0718ded6 thinkpad_4.8.tar.gz 88476 diff --git a/app-laptop/thinkpad/files/thinkpad b/app-laptop/thinkpad/files/thinkpad new file mode 100644 index 000000000000..c333d880777f --- /dev/null +++ b/app-laptop/thinkpad/files/thinkpad @@ -0,0 +1,15 @@ +keep +path[thinkpad]=/lib/modules/%KV%/thinkpad + +# Uncomment this with the options you like. +#options thinkpad enable_smapi=1 enable_superio=1 enable_rtcmosram=1 enable_thinkpadpm=1 + +# Uncomment this if you are not using devfs for some reason, and comment the +# rest. Otherwise, leave it as is. +#alias char-major-10-170 thinkpad +alias /dev/thinkpad thinkpad +alias /dev/thinkpad/thinkpad thinkpad +alias /dev/thinkpad/smapi smapi +alias /dev/thinkpad/superio superio +alias /dev/thinkpad/rtcmosram rtcmosram +alias /dev/thinkpad/thinkpadpm thinkpadpm diff --git a/app-laptop/thinkpad/metadata.xml b/app-laptop/thinkpad/metadata.xml new file mode 100644 index 000000000000..96a2d586367d --- /dev/null +++ b/app-laptop/thinkpad/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/app-laptop/thinkpad/thinkpad-3.2.ebuild b/app-laptop/thinkpad/thinkpad-3.2.ebuild new file mode 100644 index 000000000000..019f5ab63bc8 --- /dev/null +++ b/app-laptop/thinkpad/thinkpad-3.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/03/08 04:37:27 latexer Exp $ + +#transform P to match tarball versioning +MYPV=${PV/_beta/beta} +MYP="${PN}_${MYPV}" +KV="" +DESCRIPTION="Thinkpad system control kernel modules" +SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" +HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" +KEYWORDS="x86 amd64 -ppc -mips" +SLOT="0" +LICENSE="GPL-2" + +#virtual/glibc should depend on specific kernel headers +DEPEND="virtual/glibc" + +pkg_setup() { + #thinkpad will compile modules for the kernel pointed to by /usr/src/linux + KV=`readlink /usr/src/linux` + if [ $? -ne 0 ] ; then + echo + echo "/usr/src/linux symlink does not exist; cannot continue." + echo + die + else + KV=${KV/linux-/} + fi +} + +src_compile() { + emake || die "Make failed" +} + +src_install() { + dodoc AUTHORS COPYING 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() { + /usr/sbin/update-modules || return 0 +} + +pkg_prerm() { + /sbin/modprobe -r smapi superion rtcmosram thinkpadpm thinkpad +} diff --git a/app-laptop/thinkpad/thinkpad-4.1.ebuild b/app-laptop/thinkpad/thinkpad-4.1.ebuild new file mode 100644 index 000000000000..a8dd5dc08119 --- /dev/null +++ b/app-laptop/thinkpad/thinkpad-4.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/03/08 04:37:27 latexer Exp $ + +#transform P to match tarball versioning +MYPV=${PV/_beta/beta} +MYP="${PN}_${MYPV}" +DESCRIPTION="Thinkpad system control kernel modules" +SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" +HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" +KEYWORDS="x86 amd64 -ppc -mips" +SLOT="0" +LICENSE="GPL-2" + +#virtual/glibc should depend on specific kernel headers +DEPEND="virtual/glibc" + +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 COPYING 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() { + /usr/sbin/update-modules || return 0 +} + +pkg_prerm() { + /sbin/modprobe -r smapi superion rtcmosram thinkpadpm thinkpad +} diff --git a/app-laptop/thinkpad/thinkpad-4.3-r1.ebuild b/app-laptop/thinkpad/thinkpad-4.3-r1.ebuild new file mode 100644 index 000000000000..5fde218efdf4 --- /dev/null +++ b/app-laptop/thinkpad/thinkpad-4.3-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/03/08 04:37:27 latexer 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 amd64" + +DEPEND="virtual/glibc" + +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 COPYING 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() { + /usr/sbin/update-modules || return 0 + 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 +} + +pkg_prerm() { + /sbin/modprobe -r smapi superion rtcmosram thinkpadpm thinkpad +} diff --git a/app-laptop/thinkpad/thinkpad-4.3.ebuild b/app-laptop/thinkpad/thinkpad-4.3.ebuild new file mode 100644 index 000000000000..7dfd956af297 --- /dev/null +++ b/app-laptop/thinkpad/thinkpad-4.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/03/08 04:37:27 latexer Exp $ + +#transform P to match tarball versioning +MYPV=${PV/_beta/beta} +MYP="${PN}_${MYPV}" +DESCRIPTION="Thinkpad system control kernel modules" +SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" +HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" +KEYWORDS="x86 amd64 -ppc -mips -sparc" +SLOT="0" +LICENSE="GPL-2" + +#virtual/glibc should depend on specific kernel headers +DEPEND="virtual/glibc" + +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 COPYING 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() { + /usr/sbin/update-modules || return 0 + 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 +} + +pkg_prerm() { + /sbin/modprobe -r smapi superion rtcmosram thinkpadpm thinkpad +} diff --git a/app-laptop/thinkpad/thinkpad-4.8.ebuild b/app-laptop/thinkpad/thinkpad-4.8.ebuild new file mode 100644 index 000000000000..3c8e2f885036 --- /dev/null +++ b/app-laptop/thinkpad/thinkpad-4.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/03/08 04:37:27 latexer 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 amd64" + +DEPEND="virtual/glibc" + +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 COPYING 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() { + /usr/sbin/update-modules || return 0 + 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 +} + +pkg_prerm() { + /sbin/modprobe -r smapi superion rtcmosram thinkpadpm thinkpad +} |