mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-01 03:41:11 +02:00
sys-apps/iotools: Drop dead package
This commit is contained in:
parent
77cda40f96
commit
95ab688a5e
@ -1,11 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install
|
|
||||||
DESCRIPTION=Simple commands to access hardware device registers
|
|
||||||
EAPI=0
|
|
||||||
HOMEPAGE=http://code.google.com/p/iotools/
|
|
||||||
IUSE=hardened
|
|
||||||
KEYWORDS=x86 amd64
|
|
||||||
LICENSE=GPL-2
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/iotools-1.2.tar.gz
|
|
||||||
_eclasses_=desktop b1d22ac8bdd4679ab79c71aca235009d epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 ltprune 08f9e1d9ee0af8f5d9a7854efbcd8c0e multilib b2f01ad412baf81650c23fcf0975fa33 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs f164325a2cdb5b3ea39311d483988861 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
|
|
||||||
_md5_=622bd785753b621d7210cf24cf074237
|
|
@ -1 +0,0 @@
|
|||||||
DIST iotools-1.2.tar.gz 21514 SHA256 e4a961fea98c8e545982372732d486e8f118afa809da449816378a397d6be001 SHA512 fe52e28e2a1c5a039dccbd405e7e1eb1dcf1d2fd6584932379590bcffc92d65d0bf8827b716a3cd36bf6bf725619f7484d04d157a50b73bce3b76d031cc2ab54 WHIRLPOOL 3918e21d3dd9d8c895a4fe9c1dc13064df177aa03c321236c645f287d0b51bf200ca3b4f36b2cb6889aa4fe37d9aa42db3eee41146b19814ecc0b56e9ee724fb
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Naur Makefile Makefile
|
|
||||||
--- Makefile 2009-04-09 12:33:32.000000000 -0700
|
|
||||||
+++ Makefile 2010-05-14 15:14:25.000000000 -0700
|
|
||||||
@@ -33,7 +33,7 @@
|
|
||||||
IOTOOLS_DEBUG = -O2 -DNDEBUG
|
|
||||||
endif
|
|
||||||
|
|
||||||
-CFLAGS = -Wall -Werror $(DEFS) $(ARCHFLAGS) $(IOTOOLS_STATIC) $(IOTOOLS_DEBUG)
|
|
||||||
+CFLAGS = -Wall -Werror $(DEFS) $(ARCHFLAGS) $(IOTOOLS_STATIC) $(IOTOOLS_DEBUG) -nopie
|
|
||||||
DEFS = -D_GNU_SOURCE -DVER_MAJOR=$(VER_MAJOR) -DVER_MINOR=$(VER_MINOR)
|
|
||||||
SBINDIR ?= /usr/local/sbin
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 2010 Google Inc.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Simple commands to access hardware device registers"
|
|
||||||
HOMEPAGE="http://code.google.com/p/iotools/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="x86 amd64"
|
|
||||||
IUSE="hardened"
|
|
||||||
|
|
||||||
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${P}.tar.gz"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# If we are on hardened/x86, turn off PIE because the code uses %ebx
|
|
||||||
if use x86 ; then
|
|
||||||
if use hardened ; then
|
|
||||||
epatch "${FILESDIR}"/iotools-1.2.nopie.patch
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake CC="$(tc-getCC)" || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
IOTOOLS_COMMANDS="and btr bts busy_loop cmos_read cmos_write cpu_list \
|
|
||||||
cpuid io_read16 io_read32 io_read8 io_write16 io_write32 \
|
|
||||||
io_write8 mmio_dump mmio_read16 mmio_read32 mmio_read64 \
|
|
||||||
mmio_read8 mmio_write16 mmio_write32 mmio_write64 \
|
|
||||||
mmio_write8 not or pci_list pci_read16 pci_read32 pci_read8 \
|
|
||||||
pci_write16 pci_write32 pci_write8 rdmsr rdtsc runon shl \
|
|
||||||
shr smbus_quick smbus_read16 smbus_read8 smbus_readblock \
|
|
||||||
smbus_receive_byte smbus_send_byte smbus_write16 \
|
|
||||||
smbus_write8 smbus_writeblock wrmsr xor"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dosbin iotools || die
|
|
||||||
|
|
||||||
echo "installing symbolic link shortcuts for iotools"
|
|
||||||
# Note: This is done manually because invoking the iotools binary
|
|
||||||
# when cross-compiling will likely fail.
|
|
||||||
cd "${D}/usr/sbin"
|
|
||||||
for COMMAND in ${IOTOOLS_COMMANDS} ; do
|
|
||||||
ln -s iotools ${COMMAND}
|
|
||||||
done
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer>
|
|
||||||
<email>vapier@gentoo.org</email>
|
|
||||||
</maintainer>
|
|
||||||
<use>
|
|
||||||
<flag name='make-symlinks'>Generate sub-command symlinks to iotools -- note that a lot are simple like "xor"</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
Loading…
x
Reference in New Issue
Block a user