MD5 14d63612d0c27a7582a6c9481ddd587b ChangeLog 1047
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 2c462a1603125ac086c0a062452b8498 x86info-1.11.ebuild 1798
MD5 d5090cdf4c4046b43fc19a32fe832d16 x86info-1.12b.ebuild 1220
-MD5 14514d85680a44ebe1a0625f76262b3a files/digest-x86info-1.11 60
MD5 1759a81bcf65ea2266520c18b934df09 files/digest-x86info-1.12b 61
MD5 e622e47087f8556df73aae8e3c4dd896 files/x86info-modules.conf-rc 330
MD5 8a96e3de09ecff97079a248d217c407f files/1.12b-pic.patch 594
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBbbxPHTu7gpaalycRAqIyAKCoJNuuT7nV4mlRYrViLOfmlwcT8gCgjzi/
-SdkfGYxLSuTxwzpMlD96YkQ=
-=pbvb
+iD8DBQFBbbx6HTu7gpaalycRAtVAAJ9oUmGpx++nVyAvta2LVXHEEMrmTwCfaDo4
+vlZ2L6BB9NI+207zmrdACVk=
+=/Bsp
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/x86info/x86info-1.11.ebuild,v 1.9 2004/07/15 02:47:51 agriffis Exp $
-
-inherit eutils
-
-DESCRIPTION="Dave Jones' handy, informative x86 CPU diagnostic utility"
-
-HOMEPAGE="http://www.codemonkey.org.uk/x86info/"
-
-SRC_URI="http://www.codemonkey.org.uk/x86info/${P}.tgz"
-
-LICENSE="GPL-2"
-
-SLOT="0"
-
-KEYWORDS="x86 -amd64 -ppc -sparc -mips -alpha -hppa"
-
-DEPEND="virtual/kernel"
-
-RDEPEND=""
-
-IUSE=""
-
-src_compile() {
- emake x86info CFLAGS="${CFLAGS}" ||die "emake failed"
-}
-
-src_install() {
- # binaries first
- into /usr
- dobin x86info
- # modules stuff next
- insinto /etc/modules.d
- newins ${FILESDIR}/x86info-modules.conf-rc x86info
- # now we all all the docs
- dodoc TODO README COPYING ChangeLog
- doman x86info.1
- cp -a results ${D}/usr/share/doc/${PF}
- # prepalldocs rocks! I saw it in net-fs/samba/samba-2.2.8
- prepalldocs
- # create device nodes for x86info
- # based off the scripts/makenode
- # there isn't any proper devfs support in cpuid/msr
- mkdir -p ${D}/dev/cpu
- local numprocs
- #subtract one because we are using a 0-based count
- numprocs=$((`grep '^processor' /proc/cpuinfo | wc -l`-1))
- for i in `seq 0 $numprocs`; do
- mkdir ${D}/dev/cpu/$i
- mknod ${D}/dev/cpu/$i/cpuid c 203 $i 2>/dev/null
- mknod ${D}/dev/cpu/$i/msr c 202 $i 2>/dev/null
- done
-}
-
-pkg_postinst() {
- ewarn "Your kernel must be built with the following options"
- ewarn "set to Y or M"
- ewarn " Processor type and features ->"
- ewarn " [*] /dev/cpu/*/msr - Model-specific register support"
- ewarn " [*] /dev/cpu/*/cpuid - CPU information support"
- # copied from media-libs/svgalib/svgalib-1.9.17
- [ "${ROOT}" = "/" ] && /sbin/modules-update &> /dev/null
-}