Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535944 - app-admin/dio-1.5 - device I/O analysis tool
Summary: app-admin/dio-1.5 - device I/O analysis tool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal enhancement (vote)
Assignee: Donald McIntosh
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-07 15:29 UTC by Donald McIntosh
Modified: 2015-03-16 08:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dio screenshot (dioScreenshot.png,67.45 KB, image/png)
2015-01-07 15:29 UTC, Donald McIntosh
Details
dio ebuild file (dio-1.5.ebuild,473 bytes, text/plain)
2015-01-12 21:28 UTC, Donald McIntosh
Details
Out from local ebuild executino (dio_ebuild.out,3.10 KB, text/plain)
2015-03-14 16:47 UTC, Donald McIntosh
Details
New ebuild file (dio-1.5.2.ebuild,470 bytes, text/plain)
2015-03-14 16:53 UTC, Donald McIntosh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donald McIntosh 2015-01-07 15:29:58 UTC
Created attachment 393426 [details]
dio screenshot

I wrote dio (device I/O) about 10+ years ago for Solaris.  If you search on the web enough there are still some lingering links/references to it and it is still available on sunfreeware.com.  I finally decided to port it to Linux and I'd like to make it available to all now on Gentoo.  It's like iostat, but with a readable/intuitive terminal interface.

I've attached a screenshot.

What's next as far as getting this added to the Portage/Gentoo?

Thanks,
Donald.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-07 15:35:50 UTC
1) Explain in a single line what it is.
2) Point to its official homepage.
3) Attach an ebuild if you have one.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-09 01:05:18 UTC
ftp://sunsite.rediris.es/mirror/solaris-freeware/SOURCES/dio-1.4.tar.gz maybe?
Comment 3 Donald McIntosh 2015-01-09 09:12:05 UTC
Yep, that's the one.  This version runs on Solaris and used Sun's kstat (kernel statistics) library, so the new version (1.5) uses Linux diskstats.  I don't have a website for dio yet, hopefully have this sorted in a couple of days.
Comment 4 Donald McIntosh 2015-01-12 21:28:26 UTC
Created attachment 393810 [details]
dio ebuild file
Comment 5 Donald McIntosh 2015-01-12 21:30:25 UTC
Got the information you requested now:

1) dio - device I/O analysis tool
2) Home page is https://github.com/donaldmcintosh/dio
3) ebuild file attached or here also https://github.com/donaldmcintosh/dio/blob/master/portage/sys-apps/dio/dio-1.5.ebuild

Thanks, and let me know if you need anything else.
Comment 6 Donald McIntosh 2015-01-20 09:41:03 UTC
Any update on this?
Comment 7 Donald McIntosh 2015-02-01 19:00:43 UTC
(In reply to Jeroen Roovers from comment #1)
> 1) Explain in a single line what it is.
> 2) Point to its official homepage.
> 3) Attach an ebuild if you have one.

Hi Jer... I'm hoping to get dio added to Gentoo but the bug I raised has not progressed.  Can you let me know if there is anything I can/need to do to move it on?

Thanks,
Donald.
Comment 8 Yixun Lan archtester gentoo-dev 2015-03-12 10:29:56 UTC
1) we generally do not accept live ebuild, you are using git-r3 eclass here.. reason is that a) live ebuild will become broken as time goes b) user have to always fetch source from the original git server, it's not a distributed model

since you also are the upstream author, I'd highly recommend you do a version release.

2) possible sys-libs/ncurses also belong to RDEPEND?

3) possible it also works on ARCH=amd64, it's more popular the x86 now

4) possible to improve the build system? or you may simply set S="${WORKDIR}/${P}/src", so can get rid of src_compile()

please check http://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 9 Donald McIntosh 2015-03-14 16:47:56 UTC
Created attachment 398904 [details]
Out from local ebuild executino
Comment 10 Donald McIntosh 2015-03-14 16:49:19 UTC
I've updated the ebuild as per your comments and it seems to working fine.  I've attached the output when running the ebuild locally on my machine.  Please can you try it out and let me know if it works alright for you.

Thanks.
Comment 11 Donald McIntosh 2015-03-14 16:52:40 UTC
New gitub location of tarball is here...

https://github.com/donaldmcintosh/dio/archive/1.5.2.tar.gz

... and attaching new ebuild file now.
Comment 12 Donald McIntosh 2015-03-14 16:53:29 UTC
Created attachment 398906 [details]
New ebuild file
Comment 13 Yixun Lan archtester gentoo-dev 2015-03-16 04:48:59 UTC
+*dio-1.5.2 (16 Mar 2015)
+
+  16 Mar 2015; Yixun Lan <dlan@gentoo.org> +dio-1.5.2.ebuild, +metadata.xml:
+  initial ebuild, contributed by Donald McIntosh

I‘ve taken the liberty to adjust the ebuild

1) no ">=sys-libs/ncurses-5.10-r2“
2) testedkeyword on amd64
3) src_compile(), respect CC, see bug 243502

thanks for your contribution!
Comment 14 Donald McIntosh 2015-03-16 08:24:47 UTC
Thank you - just did an emerge --sync and see it there.  Fantastic. :)