From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-apps/msr-tools/Manifest | 2 ++ sys-apps/msr-tools/metadata.xml | 7 +++++++ sys-apps/msr-tools/msr-tools-1.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 sys-apps/msr-tools/Manifest create mode 100644 sys-apps/msr-tools/metadata.xml create mode 100644 sys-apps/msr-tools/msr-tools-1.2.ebuild (limited to 'sys-apps/msr-tools') 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 @@ + + + + + kensington@gentoo.org + + 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 +} -- cgit v1.2.3-65-gdbad