diff options
-rw-r--r-- | sys-apps/iotools/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/iotools/Manifest | 30 | ||||
-rw-r--r-- | sys-apps/iotools/iotools-1.5.ebuild | 50 |
3 files changed, 72 insertions, 15 deletions
diff --git a/sys-apps/iotools/ChangeLog b/sys-apps/iotools/ChangeLog index 18a29f668647..6af4335836e7 100644 --- a/sys-apps/iotools/ChangeLog +++ b/sys-apps/iotools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/iotools # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/iotools/ChangeLog,v 1.4 2013/02/18 19:24:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/iotools/ChangeLog,v 1.5 2013/04/23 18:31:41 vapier Exp $ + +*iotools-1.5 (23 Apr 2013) + + 23 Apr 2013; Mike Frysinger <vapier@gentoo.org> +iotools-1.5.ebuild: + Version bump. 18 Feb 2013; Mike Frysinger <vapier@gentoo.org> iotools-1.4.ebuild: Use LC_ALL=C sorting for cmds #457850 by Jason Mours. diff --git a/sys-apps/iotools/Manifest b/sys-apps/iotools/Manifest index e91e5864cd99..8fac70aa4b07 100644 --- a/sys-apps/iotools/Manifest +++ b/sys-apps/iotools/Manifest @@ -4,23 +4,25 @@ Hash: SHA256 AUX iotools-1.4-cpuid-pic.patch 617 SHA256 078c0b040d9d7d89fda30f7628fbefad1a70356c26c9c2ac7fcc03070fff2c29 SHA512 81c9f1d20fa87b847e5c49909639d35b604a991f7a87077a1b8e5fe36707d9e24289f861d6ce9468de5621e84adedc60f76086cacafc67aa2d1b9aa5f52ba364 WHIRLPOOL 2678c18cd692a90d9fe03305ffb58c1966ef3d1a7097548a4f26fc362639bcfb2a4c5ffad4563aeb6e0293e8d23c9fb594dbd1c8341db103974e73d7a03ebd59 AUX iotools-1.4-ldflags.patch 302 SHA256 eb3b884dbbe872849bc1a6f02b72716f07428d7b1a2d9c75fd1b18b01668485c SHA512 bc20c64b46f5e6fd6526e4a3fb9ce4e6817b6f4c66330d5c5ea721a5be55410603c16898162b9be41ed607cd4287e6bc187deadb83aeb1a813aeceaf88258ce0 WHIRLPOOL 33a655b7f523e00a2c7b5a7c5844762a8005f6fa00bee043ccd89213cbea98b0d89cd27dc2f8d55fe646aba5bba72d7a4e2c258ff2115163fa4cbd631ea99b99 DIST iotools-1.4.tar.gz 22217 SHA256 56e7348bb5b91f6b93a9b2759993545575eeb3fa5f9203a9cbb95dad9883807b SHA512 10b5f5c4183fb78900c254359b1d40d681519d4b0a79d10795c44d6f1691d73b93d02ede57cf84b5bac67e6083bc5a0de45c464caccbad8b2127a2c53cd7e94b WHIRLPOOL 808ba3b70c602ff0cdfe38ffcf7c1a3c4ab72cacf977ee8db34049159f20b034b48949f0bd70f1b27436f1183dda5cb677338f80afaf65ba1e1a0ec96a973418 +DIST iotools-1.5.tar.gz 23422 SHA256 3186ba296072f644dda881b78d77e3774b79e8cef3e828fffc947d558b08830d SHA512 d298343ee814c8b7d8404bc6af4050df730e89963a7c53798b3d251e94fd2b13e04c36e6da7ec5fd4126ea3a961be26a937910f791844e1b1d5b7dc5aa638c44 WHIRLPOOL 52d5aedf0ae4ee3257e19a6868f792e54b6ac9d79c0816c934b714811e4da0bc288a7f597098fd9ff2ed65f11cf486db1e2db76c85c0ecde0a095e09f24b2fbe EBUILD iotools-1.4.ebuild 1851 SHA256 3fa2d3668c403c893ef2b14e8133b33a78dae99b3e50da1217a97a8578c284fc SHA512 9bb18ffbe9666b513548fea1cdd06f6c313198b2f98a5022aa3f5b4a3328150725aac12af5b916c9c62c5433b729698cc769c502a19139598ff9a6076447ec0b WHIRLPOOL 3f5480a315eeac3454432c7ba160b9e8dbb4c427dee63c09f287f891d938f8918f15b1ef1506a337b323a6360a0c2ae16f055270e25c17c159e8871103f2f6d0 -MISC ChangeLog 847 SHA256 7201c46199e227367fcf3fa3dc793ae06e6d4c1d236e9d5f167c1dc57ca3afe9 SHA512 fe80929cb3d79d1ab1a12e4b4e4efac4516404da3df3dd4d61386f478f4193a4e472ff502d0cbf6a731e203eb71839d92c50cf08cc620ec33644703fdd7a7070 WHIRLPOOL 9d675ba65054dde7182838488f6f2707b8b857fe130109645134ad7453a58014ffbc40bdf701cad6e26dfbf3d0f9f1daa3c22906d0c9705e753437e389946dce +EBUILD iotools-1.5.ebuild 1866 SHA256 1afb1eba2f6668a48f027fe86af62143c3da03a675d68179a4e230073a709664 SHA512 a5ca55ac774b93e3a5f264b319f8aa8497061c1740c760ae8656022f45e3ecf2cd12ea0e7e0cf2e53416316c393504c6a0eda37d7c7e8b7c16de094944c91d96 WHIRLPOOL 4d1be132341cfad7bf136c88f1f20f52eb221f62dfc00c08737d248f221f96a46142918953db11f9dc87ebfa3238707f74bdd6d2c350acb5cf4e37f635b4583f +MISC ChangeLog 963 SHA256 004da179fc0f31f63fb3eb53374572317c39efea5fbcf3e7caf50be3864e91f3 SHA512 0e29df8e047f8ae17ea2adf68eacc0946efe91a19403098c0566f797668b97ba0dc1beb47c97388ab8adc76ade61fac6549c1e84c061c48ffe3e79eaa4e527bd WHIRLPOOL 36eb563d4495292a0c0511ee475f57c661b417d7750be6678eebe3e4b25ebf56f415d0b18141093932835f325a411867fd44f8857172b1231393615229ad61fe MISC metadata.xml 330 SHA256 8b09954bdf3c58145c3db190012a5c0de10115c6cc925a617c255edad71ec339 SHA512 35601f65ee9fb4bb56dcdca9c9390cbcf659a54404d039519432691ec594c91a16ed11f78309b0169b3805a55775a947ef8cedb14c258026fed14da6033d2361 WHIRLPOOL 593ef468ed0cb8b99cfe8b9345a3dfd3d0f67e23d2c63987f52c2f204b1c5bc778f34cae86ccd82ee28ebca2d5b4e51f15ae4904f61a2f23a4785497da3f7e45 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJRIoAEAAoJELEHsLL7fEFW/p4P/Rf6ClIiBDujXEMfGZln3qgz -8/eA0u7rF63cVM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6Ws9vDrwrFAgKEUisrc9GhcLHLNUknfM3fNj +JQkaSbPwggHCnL1JNGEeuUoyZSVl/DkBVFiUYvDNIDnQs2ccMRnAn50W2tmfvbJX +g4nXNW6lxiZjvcRqD7tz2qTabuYhwkTY4UtlcgmQaBIT0MKo62ab+tv2l2xlcCRC +vWY9VtEWoalqRecUtGn7VGuIUzz2xNcKl1aUEHozpjxgybJ27Riv+2hopb81bQep ++DLdya7U2Zptc/66k3NUpg6/fVQpi26cXpFILXHeKpIOJOl2YfUCuOFkYBEUlrzR +liBtNguD+hqET7P7meKK +=DfbF -----END PGP SIGNATURE----- diff --git a/sys-apps/iotools/iotools-1.5.ebuild b/sys-apps/iotools/iotools-1.5.ebuild new file mode 100644 index 000000000000..bab503af02d8 --- /dev/null +++ b/sys-apps/iotools/iotools-1.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/iotools/iotools-1.5.ebuild,v 1.1 2013/04/23 18:31:41 vapier Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Simple commands to access hardware device registers" +HOMEPAGE="http://code.google.com/p/iotools/" +SRC_URI="http://iotools.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static make-symlinks" + +src_prepare() { + sed -i 's:-Werror::' Makefile || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + STATIC=$(usex static 1 0) \ + IOTOOLS_DEBUG="${CFLAGS}" +} + +src_install() { + dosbin iotools + + # Note: This is done manually because invoking the iotools binary + # when cross-compiling will likely fail. + local known_cmds="and btr bts busy_loop cmos_read cmos_write cpu_list cpuid io_read16 io_read32 io_read8 io_write16 io_write32 io_write8 mem_dump mem_read16 mem_read32 mem_read64 mem_read8 mem_write16 mem_write32 mem_write64 mem_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" + if ! tc-is-cross-compiler ; then + local check_cmds=$(echo $(./iotools --list-cmds 2>/dev/null | grep '^ ' | LC_ALL=C sort)) + if [[ ${known_cmds} != "${check_cmds:-${known_cmds}}" ]] ; then + eerror "known_cmds = ${known_cmds}" + eerror "check_cmds = ${check_cmds}" + die "need to update known_cmds cache in the ebuild" + fi + fi + + if use make-symlinks ; then + local cmd + for cmd in ${known_cmds} ; do + dosym iotools /usr/sbin/${cmd} + done + fi +} |