summaryrefslogtreecommitdiff
path: root/sys-block/seekwatcher
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/seekwatcher
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/seekwatcher')
-rw-r--r--sys-block/seekwatcher/Manifest6
-rw-r--r--sys-block/seekwatcher/files/seekwatcher-0.12_p20091015-dash-fix.patch26
-rw-r--r--sys-block/seekwatcher/metadata.xml11
-rw-r--r--sys-block/seekwatcher/seekwatcher-0.12_p20091015-r1.ebuild30
4 files changed, 73 insertions, 0 deletions
diff --git a/sys-block/seekwatcher/Manifest b/sys-block/seekwatcher/Manifest
new file mode 100644
index 000000000000..b74e806a4a81
--- /dev/null
+++ b/sys-block/seekwatcher/Manifest
@@ -0,0 +1,6 @@
+AUX seekwatcher-0.12_p20091015-dash-fix.patch 949 SHA256 43a78a7b1a8b9bac1d835c4f05248d639fd5bdca44c3b19bb35ee31e2a20873e SHA512 ff2e92adaacd5b4636bcfa626df079c021cbf92cd13fbc7c736a933d64d2cc3d568156582e0f99f736a60c1764c94511ca511fcff591107006c4a172bf29283a WHIRLPOOL 3d37c2f3c96501ffa4bda7f71924d6e4ba4968127fce24e90b2e2fb492ee42af75b0686c4cd5a7e82e05803347b4842df6afc4b5c2b605f69f2d965312b0ab9f
+DIST seekwatcher-0.12_p20091015.tar.gz 105328 SHA256 e3e989ef1a978c1382d6762902813044a374598eb4c3288b634a3cf3784d4590 SHA512 fc35399900fac83bf2921a137059f1af23e65a778aad105a9cbb8bb869328723f7e2b3bb19b28e7eed04eca65a39cb637ba5932ee4f5f3a882a7b52715a9aded WHIRLPOOL 375484a490859b37ebe9704f0193ef4063c5de607c531d1be009e23c0df5fc440aaff74360fcc3b604cd139175a41be33a0cc64cd02eb7e6f76fc08da6ad7b86
+EBUILD seekwatcher-0.12_p20091015-r1.ebuild 778 SHA256 a0b821a59840f04506d632c3a4f4ea4db4a73fc900756eb4d315eeeeba60c572 SHA512 476d3ef18711a94af22f028c3fa55567566d8a71eb6afcea21f7fd6c0175cd927bbf46d84541aa81f5b8bc95e77dcfad8fbd014e5926022d6ce75f91d116ad12 WHIRLPOOL e3e2fee069620f41e0bc09bd5788cbff5cfe2efca92338024d21d30046dc16a11d9405a6b632f0c710b241fd94b074a04948e7b2f18793b51ffda03c4695b6e4
+MISC ChangeLog 3429 SHA256 43d673102711ba08f4d3ec7b63488f5c2946f24ceb73a255c59748f35e72d898 SHA512 6db94eb0103e4638501cc5c3171233e5ae02c3d8e569b3d37c15dcf1a0b84331210096068b5069bfffbeb73f0567e8c5f40c98211832d9c80b65c016e8f3c28a WHIRLPOOL 554dc5a3e06847f4886fcc4a9b175fed3ad301386631be1d36df21d057bfe5c77e08aeb911e331103f5874c10537fe934b402d7c383982d0ed52b12f3e5d89bd
+MISC ChangeLog-2015 1691 SHA256 8edf6b0db5582d358d24fb4e12595f961b4b8a9675473cb6a9314bbd25a31352 SHA512 1ab91ac48e01f5f68979f5e8e4299fd4436b60edfbe6a75b072698f10aaf5ac4fcf917af57372cd473a3d430ecd3f475e524816263fe4be0450fc352d9ed318a WHIRLPOOL 49ba063b0c4a801f4505f611b9ed0b59b134cfde1ce01e63d24beeb164915c4e77f27e780598b6821c2f5c8fb5e4f87d4126c7e1ed2bd04f7deeafd79c82bf71
+MISC metadata.xml 326 SHA256 828310a3c41f5a9a5a84c07297eefd576436edc4741f876c4882233dc5984761 SHA512 0a77e934710066157e808d2848283a9d25d9db5c1ccd03292ddb35b812b996918c8ae731b75eb1d60518cf1d6ece5ee9db51ae4e8a964357cb66e77fcd1c3b06 WHIRLPOOL 4f9fa6e2ade4e7ee7c70b5f1f9e7d7882a779e53a3f7752ddfef0aecb4f8b2c5f6d6997aa07016b1d93bbac00ede4750d7ed4a7a1655977808482a3515069120
diff --git a/sys-block/seekwatcher/files/seekwatcher-0.12_p20091015-dash-fix.patch b/sys-block/seekwatcher/files/seekwatcher-0.12_p20091015-dash-fix.patch
new file mode 100644
index 000000000000..0742fb9d5dff
--- /dev/null
+++ b/sys-block/seekwatcher/files/seekwatcher-0.12_p20091015-dash-fix.patch
@@ -0,0 +1,26 @@
+commit e594df5c73ab550fb76895f75f71109eb3640c41
+Author: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Thu Feb 23 22:28:28 2012 +0300
+
+ seekwatcher: fix failure when /bin/sh points to dash
+
+ Before the patch:
+ $ ./seekwatcher -t test.trace -o test.png -p 'sleep 5' -d /dev/sda2
+ > using tracefile ./test.trace
+ > sh: Syntax error: Bad fd number
+ > Empty blktrace run found, exiting
+
+Upstream status: sent, not applied yet
+diff --git a/cmd/seekwatcher b/cmd/seekwatcher
+index 7e96bd2..23cba1c 100755
+--- a/cmd/seekwatcher
++++ b/cmd/seekwatcher
+@@ -610,7 +610,7 @@ def run_blkparse(trace):
+ print "using tracefile %s" % os.path.join(trace_dir, x)
+ fh = tempfile.NamedTemporaryFile(dir=".")
+ os.system('blkparse -q -D ' + trace_dir + ' -i ' + x +
+- ' -d ' + fh.name + ' -O >& /dev/null')
++ ' -d ' + fh.name + ' -O > /dev/null 2>&1')
+ loaddata(fh, rd)
+ return rd
+
diff --git a/sys-block/seekwatcher/metadata.xml b/sys-block/seekwatcher/metadata.xml
new file mode 100644
index 000000000000..888bfebd33fc
--- /dev/null
+++ b/sys-block/seekwatcher/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-block/seekwatcher/seekwatcher-0.12_p20091015-r1.ebuild b/sys-block/seekwatcher/seekwatcher-0.12_p20091015-r1.ebuild
new file mode 100644
index 000000000000..27f43ceb58af
--- /dev/null
+++ b/sys-block/seekwatcher/seekwatcher-0.12_p20091015-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils distutils-r1
+
+DESCRIPTION="generates graphs from blktrace to help visualize IO patterns and performance"
+HOMEPAGE="http://oss.oracle.com/~mason/seekwatcher/"
+#SRC_URI="http://oss.oracle.com/~mason/seekwatcher/${P}.tar.bz2"
+SRC_URI="https://dev.gentoo.org/~slyfox/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/pyrex"
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=sys-block/blktrace-0.0.20070730162628
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S=${WORKDIR}/${PN}-b392aeaf693b # hg snapshot
+
+PATCHES=("${FILESDIR}"/${P}-dash-fix.patch)