summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-apps/msr-tools
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-apps/msr-tools')
-rw-r--r--sys-apps/msr-tools/Manifest2
-rw-r--r--sys-apps/msr-tools/metadata.xml7
-rw-r--r--sys-apps/msr-tools/msr-tools-1.2.ebuild32
3 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/msr-tools/Manifest b/sys-apps/msr-tools/Manifest
new file mode 100644
index 000000000000..19fc9289b823
--- /dev/null
+++ b/sys-apps/msr-tools/Manifest
@@ -0,0 +1,2 @@
+DIST msr-tools-1.2.tar.gz 3382 SHA256 5184cdcabd3e88e37023a5ca5a1c3d5cac22f17c7f2e47023336738209f1e94a SHA512 5f4265a1ab4b2dd78e7e964e2f3eb26997ccf1eac8abb273b18ffc9e5f6671c4983d99b8f734ef6b80a82c3eb75b672fbb4769f84e5df8a398f835f5f6194971 WHIRLPOOL ce5bbd25a1392d864288141df972af1f71062e6a11e819d28b6236890cdf6d92c63245a2a76c533f2c708ec8bcb847d1f7a93532f00fa687aae8c060f99c4b33
+DIST msr-tools_1.2-3.diff.gz 2276 SHA256 da0f4e9f4822a1b715190f4302f4cdeeb6545da7daebf82ab8ea299d62f1593c SHA512 eeaa35e45356042cb93ce0d1473dfebacbe9cf9099498827220bd5ec0036c88ee5c9842d602b5d147b2a0f2030358e9a02cec5bc77e4eb45e23b7ff2804fd6bd WHIRLPOOL 8e32d3adc4396e2136a96dc507495029b0d03105810a9bc08abe15f5c48db39ff30b432f928c19796b0fb885122d8775727a23a140bf7e4ddaf2258d4cef311b
diff --git a/sys-apps/msr-tools/metadata.xml b/sys-apps/msr-tools/metadata.xml
new file mode 100644
index 000000000000..07339f6f0ce8
--- /dev/null
+++ b/sys-apps/msr-tools/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-apps/msr-tools/msr-tools-1.2.ebuild b/sys-apps/msr-tools/msr-tools-1.2.ebuild
new file mode 100644
index 000000000000..208075366290
--- /dev/null
+++ b/sys-apps/msr-tools/msr-tools-1.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CONFIG_CHECK="~X86_MSR"
+DEB_P="msr-tools_1.2-3"
+
+inherit eutils linux-info toolchain-funcs
+
+DESCRIPTION="Utilities allowing the read and write of CPU model-specific registers (MSR)"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/cpu/msr-tools/"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.gz mirror://debian/pool/main/m/${PN}/${DEB_P}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ epatch "${WORKDIR}"/${DEB_P}.diff
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dosbin rdmsr
+ dosbin wrmsr
+
+ doman ${P}/debian/rdmsr.1 ${P}/debian/wrmsr.1
+}