[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: 06a0ef611ef88169158f73205940559df713d841 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Dec 29 22:09:15 2023 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Dec 31 02:46:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a0ef61 app-benchmarks/ioping: fix LICENSE, fix bug #866722 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/866722 Closes: https://github.com/gentoo/gentoo/pull/34553 Signed-off-by: Conrad Kostecki gentoo.org> app-benchmarks/ioping/ioping-1.3.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-benchmarks/ioping/ioping-1.3.ebuild b/app-benchmarks/ioping/ioping-1.3.ebuild index b9411df0feee..d466ce4f1b5c 100644 --- a/app-benchmarks/ioping/ioping-1.3.ebuild +++ b/app-benchmarks/ioping/ioping-1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,12 +9,12 @@ DESCRIPTION="Simple disk I/0 latency measuring tool" HOMEPAGE="https://github.com/koct9i/ioping"; SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -src_configure() { - tc-export CC +src_compile() { + emake CC="$(tc-getCC)" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: b367d1c264925a473857cba4733d85558341b13b Author: Sam James gentoo org> AuthorDate: Fri Aug 26 11:56:21 2022 + Commit: Sam James gentoo org> CommitDate: Fri Aug 26 12:04:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b367d1c2 app-benchmarks/ioping: fix build w/ glibc 2.36 Closes: https://bugs.gentoo.org/864455 Signed-off-by: Sam James gentoo.org> app-benchmarks/ioping/Manifest | 1 + app-benchmarks/ioping/ioping-1.3.ebuild | 24 2 files changed, 25 insertions(+) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index 9d246c51f907..3e64362c4df6 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1,2 +1,3 @@ DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201 DIST ioping-1.2.tar.gz 30819 BLAKE2B 5f46ee783d51e4bea88a6036fba97c053e507f53183344d17fbfa6dd304d6cb76737ccff23c46ccce1fff8107d94e4e192264a3bf22062a7ea96b2a4475fb311 SHA512 4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96 +DIST ioping-1.3.tar.gz 33507 BLAKE2B 91d5eb2337aa4d403f9b335a2212ae3eec5c8786f382abec5bce852f5fd79cb0e0f25d83856cb42b1598032d10630b49bf1905eaa04856b5438e9e1e494c0c7d SHA512 52ca9596d0d54a02e58e40b777d31b44a3f10fd45b76d25ab491f7e6d126dfb9c4205c9b427b69bdc2012282ec8c5846db964d420913f4d91fa5101baa99089d diff --git a/app-benchmarks/ioping/ioping-1.3.ebuild b/app-benchmarks/ioping/ioping-1.3.ebuild new file mode 100644 index ..b9411df0feee --- /dev/null +++ b/app-benchmarks/ioping/ioping-1.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Simple disk I/0 latency measuring tool" +HOMEPAGE="https://github.com/koct9i/ioping"; +SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +src_configure() { + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + + dodoc changelog README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: 4872fa4de8760bbc1b69dc035e86805a3f90ada0 Author: Sam James gentoo org> AuthorDate: Mon Jun 21 18:52:07 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jun 21 18:53:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4872fa4d app-benchmarks/ioping: drop IUSE=netdata in 1.2 Patch was rejected upstream. Closes: https://bugs.gentoo.org/797391 Signed-off-by: Sam James gentoo.org> app-benchmarks/ioping/ioping-1.2.ebuild | 6 -- 1 file changed, 6 deletions(-) diff --git a/app-benchmarks/ioping/ioping-1.2.ebuild b/app-benchmarks/ioping/ioping-1.2.ebuild index 7a53e98ef21..4be915c0f72 100644 --- a/app-benchmarks/ioping/ioping-1.2.ebuild +++ b/app-benchmarks/ioping/ioping-1.2.ebuild @@ -12,12 +12,6 @@ SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="netdata" - -src_prepare() { - use netdata && eapply "${FILESDIR}/${P}-netdata.patch" - eapply_user -} src_configure() { tc-export CC
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: 62de2001a767b918eb0b9e63847b3d1a70a1d84d Author: Sam James gentoo org> AuthorDate: Sat Jun 12 04:44:10 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jun 12 04:44:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62de2001 app-benchmarks/ioping: add 1.2 Signed-off-by: Sam James gentoo.org> app-benchmarks/ioping/Manifest | 1 + app-benchmarks/ioping/ioping-1.2.ebuild | 30 ++ 2 files changed, 31 insertions(+) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index eb34bea7266..9d246c51f90 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1 +1,2 @@ DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201 +DIST ioping-1.2.tar.gz 30819 BLAKE2B 5f46ee783d51e4bea88a6036fba97c053e507f53183344d17fbfa6dd304d6cb76737ccff23c46ccce1fff8107d94e4e192264a3bf22062a7ea96b2a4475fb311 SHA512 4029f1b50dc292734088dc741e594c56021610aad16a0b9f42875b5fe91fbdf8d566a41dab0384aa739350f74e62688efdaf88168ab0d838b9c848ddd1c5dd96 diff --git a/app-benchmarks/ioping/ioping-1.2.ebuild b/app-benchmarks/ioping/ioping-1.2.ebuild new file mode 100644 index 000..7a53e98ef21 --- /dev/null +++ b/app-benchmarks/ioping/ioping-1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Simple disk I/0 latency measuring tool" +HOMEPAGE="https://github.com/koct9i/ioping"; +SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="netdata" + +src_prepare() { + use netdata && eapply "${FILESDIR}/${P}-netdata.patch" + eapply_user +} + +src_configure() { + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + dodoc changelog README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/, app-benchmarks/ioping/
commit: 9ad1d86bf46034c554fa5f5193c45a28d8d56f0d Author: Sam James gentoo org> AuthorDate: Mon Apr 19 19:32:27 2021 + Commit: Sam James gentoo org> CommitDate: Mon Apr 19 19:40:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ad1d86b app-benchmarks/ioping: drop 0.9, 1.0 Signed-off-by: Sam James gentoo.org> app-benchmarks/ioping/Manifest | 2 -- .../ioping/files/ioping-0.9-sysmacros.patch| 29 app-benchmarks/ioping/ioping-0.9.ebuild| 39 -- app-benchmarks/ioping/ioping-1.0.ebuild| 33 -- 4 files changed, 103 deletions(-) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index 5cddcbf192e..eb34bea7266 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1,3 +1 @@ -DIST ioping-0.9.tar.gz 23695 BLAKE2B 41b37ad8dabd2c2e16f26798d878807c38e0d03bc4964a001f8800d0f398ba48335b1187e1f04cd235a980c5dce7e864c471fce8d46ca24a65f2022847eb8ebd SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c -DIST ioping-1.0.tar.gz 28824 BLAKE2B bb0f28e560419167450b27846650ff131c9cbb23c5df7f518afa8cea6a83bd97142d7ad8920b9ec86754deea0dcbf36af923223c78df6488f3623f2df852b59c SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201 diff --git a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch deleted file mode 100644 index 837d395201b..000 --- a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://bugs.gentoo.org/579982 - -From c56a8a442e79a8837074e0e573f6319efa492ba8 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Tue, 19 Apr 2016 02:44:33 -0400 -Subject: [PATCH] ioping: include sys/sysmacros.h for makedev - -The makedev prototype is in sys/sysmacros.h, so include it. - -Signed-off-by: Mike Frysinger - ioping.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/ioping.c b/ioping.c -index aae4704..80f4bb4 100644 a/ioping.c -+++ b/ioping.c -@@ -48,6 +48,7 @@ - #ifdef __linux__ - # include - # include -+# include - # define HAVE_POSIX_FADVICE - # define HAVE_POSIX_MEMALIGN - # define HAVE_DIRECT_IO --- -2.7.4 - diff --git a/app-benchmarks/ioping/ioping-0.9.ebuild b/app-benchmarks/ioping/ioping-0.9.ebuild deleted file mode 100644 index 432a18e7506..000 --- a/app-benchmarks/ioping/ioping-0.9.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Simple disk I/0 latency measuring tool" -HOMEPAGE="https://github.com/koct9i/ioping"; -SRC_URI="https://github.com/koct9i/ioping/releases/download/v${PV}/${P}.tar.gz"; - -SLOT="0" -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch ) - -src_prepare() { - default - sed \ - -e 's: -g : :g' \ - -e 's: $(LDFLAGS) : :g' \ - -e 's: -o : $(LDFLAGS) -o :g' \ - -e 's:-s -m:-m:g' \ - -e 's:LICENSE::g' \ - -e 's:-O2.*::g' \ - -i Makefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" -} - -src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install -} diff --git a/app-benchmarks/ioping/ioping-1.0.ebuild b/app-benchmarks/ioping/ioping-1.0.ebuild deleted file mode 100644 index 2c18dfe8efa..000 --- a/app-benchmarks/ioping/ioping-1.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Simple disk I/0 latency measuring tool" -HOMEPAGE="https://github.com/koct9i/ioping"; -SRC_URI="https://github.com/koct9i/ioping/archive/v1.0.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -src_prepare() { - default - sed \ - -e 's:LICENSE::g' \ - -i Makefile || die -} - -src_compile() { - emake \ - CFLAGS="${CFLAGS}" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" -} - -src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install -}
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: acd8558fe8264151c545635eb3932da6418c1407 Author: Petr Vaněk atlas cz> AuthorDate: Thu Oct 24 08:50:35 2019 + Commit: Patrice Clement gentoo org> CommitDate: Wed Dec 11 20:53:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd8558f app-benchmarks/ioping: version bump to v1.1. Bug: https://bugs.gentoo.org/693596 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/13411 Signed-off-by: Patrice Clement gentoo.org> app-benchmarks/ioping/Manifest | 1 + app-benchmarks/ioping/ioping-1.1.ebuild | 25 + 2 files changed, 26 insertions(+) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index 3dd778ca9aa..5cddcbf192e 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1,2 +1,3 @@ DIST ioping-0.9.tar.gz 23695 BLAKE2B 41b37ad8dabd2c2e16f26798d878807c38e0d03bc4964a001f8800d0f398ba48335b1187e1f04cd235a980c5dce7e864c471fce8d46ca24a65f2022847eb8ebd SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c DIST ioping-1.0.tar.gz 28824 BLAKE2B bb0f28e560419167450b27846650ff131c9cbb23c5df7f518afa8cea6a83bd97142d7ad8920b9ec86754deea0dcbf36af923223c78df6488f3623f2df852b59c SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 +DIST ioping-1.1.tar.gz 29251 BLAKE2B 2f0ec642c3545b8e603f90187f48bf44e1ef665a99bc04af4d5e6441016c9509875e8e05c1cc8715fd080c8a498c7374cf5db562a3203d7075edbe85683ccdbb SHA512 67802a6ab552ad1fdb8894f4d814601c2f66154f4bfc50fa0001d881694864c1a70882b4ba2d0f50cbd484472dc649a22b312f802a3bacc3317671971bdc0201 diff --git a/app-benchmarks/ioping/ioping-1.1.ebuild b/app-benchmarks/ioping/ioping-1.1.ebuild new file mode 100644 index 000..2add6686071 --- /dev/null +++ b/app-benchmarks/ioping/ioping-1.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Simple disk I/0 latency measuring tool" +HOMEPAGE="https://github.com/koct9i/ioping"; +SRC_URI="https://github.com/koct9i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +src_configure() { + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + dodoc changelog README.md +}
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/, app-benchmarks/ioping/files/
commit: e851a507222a4e4d0a104919cce436c07ec4d203 Author: Petr Vaněk atlas cz> AuthorDate: Thu Oct 24 09:10:11 2019 + Commit: Patrice Clement gentoo org> CommitDate: Wed Dec 11 20:53:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e851a507 app-benchmarks/ioping: introduce USE flag netdata. netdata USE applies patch [1] necessary for netdata support. [1] https://github.com/koct9i/ioping/pull/41 Closes: https://bugs.gentoo.org/693596 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk atlas.cz> Signed-off-by: Patrice Clement gentoo.org> .../ioping/files/ioping-1.1-netdata.patch | 141 + app-benchmarks/ioping/ioping-1.1.ebuild| 7 +- app-benchmarks/ioping/metadata.xml | 3 + 3 files changed, 150 insertions(+), 1 deletion(-) diff --git a/app-benchmarks/ioping/files/ioping-1.1-netdata.patch b/app-benchmarks/ioping/files/ioping-1.1-netdata.patch new file mode 100644 index 000..b93a77e36bb --- /dev/null +++ b/app-benchmarks/ioping/files/ioping-1.1-netdata.patch @@ -0,0 +1,141 @@ +From 43d15a5f7b4e3f03cb3ae2b4efca9442834e2a98 Mon Sep 17 00:00:00 2001 +From: Vladimir Kobal +Date: Thu, 28 Mar 2019 20:36:20 +0200 +Subject: [PATCH 1/1] Add support for netdata + +--- + ioping.1 | 5 - + ioping.c | 52 ++-- + 2 files changed, 54 insertions(+), 3 deletions(-) + +diff --git a/ioping.1 b/ioping.1 +index 9c66997..534fc61 100644 +--- a/ioping.1 b/ioping.1 +@@ -3,7 +3,7 @@ + ioping \- simple disk I/O latency monitoring tool + .SH SYNOPSYS + .SY ioping +-.OP \-ABCDLRWGYykq ++.OP \-ABCDLRWGYykqN + .OP \-c count + .OP \-i interval + .OP \-l speed +@@ -107,6 +107,9 @@ Keep and reuse temporary working file "ioping.tmp" (only for directory target). + .B \-q + Suppress periodical human-readable output. + .TP ++.B \-N ++Use output format compatible with netdata. ++.TP + .B \-h + Display help message and exit. + .TP +diff --git a/ioping.c b/ioping.c +index 1742d96..41790c4 100644 +--- a/ioping.c b/ioping.c +@@ -327,6 +327,7 @@ void usage(void) + " -y use data sync I/O (O_DSYNC)\n" + " -k keep and reuse temporary file (ioping.tmp)\n" + " -q suppress human-readable output\n" ++ " -N use output format compatible with netdata\n" + " -h display this message and exit\n" + " -v display version and exit\n" + "\n" +@@ -487,6 +488,7 @@ int fd; + void *buf; + + int quiet = 0; ++int netdata_output = 0; + int batch_mode = 0; + int direct = 0; + int cached = 0; +@@ -531,7 +533,7 @@ void parse_options(int argc, char **argv) + exit(1); + } + +- while ((opt = getopt(argc, argv, "hvkALRDCWGYBqyi:t:T:w:s:S:c:o:p:P:l:")) != -1) { ++ while ((opt = getopt(argc, argv, "hvkALRDCWGYBNqyi:t:T:w:s:S:c:o:p:P:l:")) != -1) { + switch (opt) { + case 'h': + usage(); +@@ -608,6 +610,9 @@ void parse_options(int argc, char **argv) + case 'q': + quiet = 1; + break; ++ case 'N': ++ netdata_output = 1; ++ break; + case 'B': + quiet = 1; + batch_mode = 1; +@@ -629,6 +634,19 @@ void parse_options(int argc, char **argv) + if (optind < argc-1) + errx(1, "more than one destination specified"); + path = argv[optind]; ++ ++ if (netdata_output) { ++ if (stop_at_request || custom_deadline || period_request || period_time || custom_deadline || write_read_test) ++ errx(1, "-c, -w, -p, -P, -R, and -G options are incompatible with netdata output (-N)"); ++ ++ if (interval < NSEC_PER_SEC) { ++ interval = NSEC_PER_SEC; ++ warnx("the minimal interval for netdata is 1 second"); ++ } else { ++ interval = roundl(interval / NSEC_PER_SEC) * NSEC_PER_SEC; ++ warnx("round interval to %lld seconds", interval / NSEC_PER_SEC); ++ } ++ } + } + + #ifdef __linux__ +@@ -1152,6 +1170,34 @@ static void dump_statistics(struct statistics *s) { + (unsigned long)s->load_time); + } + ++void print_netdata(ssize_t ret_size, long long time_now, long long this_time) { ++ static int sent_chart = 0; ++ static long long time_prev = 0; ++ ++ fflush(stdout); ++ ++ if (!sent_chart) { ++ printf("CHART 'ioping.%s_", path); ++ print_size(ret_size); ++
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: 25dce8f8969b5226c66493887a4536108fda880e Author: Justin Lecher gentoo org> AuthorDate: Tue Dec 27 11:29:35 2016 + Commit: Justin Lecher gentoo org> CommitDate: Tue Dec 27 17:58:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25dce8f8 app-benchmarks/ioping: Version Bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher gentoo.org> app-benchmarks/ioping/Manifest | 1 + app-benchmarks/ioping/ioping-1.0.ebuild | 34 + 2 files changed, 35 insertions(+) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index f60ffbc..4e8dad1 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1 +1,2 @@ DIST ioping-0.9.tar.gz 23695 SHA256 951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c WHIRLPOOL e9dec9d139b1b85f379c65d99676bfbbda30b78bf8cfa9a2a238db0e9eb43f6a2cb119ba64e35f9a81dc530b29015062b6e9585661f97449a22c35dc930dbcdd +DIST ioping-1.0.tar.gz 28824 SHA256 db999abb0f9de00bce800267965cdd9b826ebce6052e905b12d9f40076157088 SHA512 a6763ac800e98c819a74af80634ac723f413ffa183297918389e1e1f5fc83713b683d53b594f5bd20f11d168c21de5da9d42a215d78531ee8b619aff8b9b0b84 WHIRLPOOL cd3c4d373b705300e27a66b5858ec265f4de1d0f9530830a4a55f3b326135fa4608a010e973121f51e6a5ffc5713b0797988fbb20bc54b5fa08a091e6f6641bb diff --git a/app-benchmarks/ioping/ioping-1.0.ebuild b/app-benchmarks/ioping/ioping-1.0.ebuild new file mode 100644 index ..bf91819 --- /dev/null +++ b/app-benchmarks/ioping/ioping-1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +DESCRIPTION="Simple disk I/0 latency measuring tool" +HOMEPAGE="https://github.com/koct9i/ioping"; +SRC_URI="https://github.com/koct9i/ioping/archive/v1.0.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +src_prepare() { + default + sed \ + -e 's:LICENSE::g' \ + -i Makefile || die +} + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +}
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/
commit: 8582afef24ed6f51bcfffa225cc38a715289483d Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 5 11:12:31 2016 + Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 5 11:12:46 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8582afef app-benchmarks/ioping: Drop old, bump to EAPI=6 Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher gentoo.org> app-benchmarks/ioping/Manifest | 1 - app-benchmarks/ioping/ioping-0.8.ebuild | 35 - app-benchmarks/ioping/ioping-0.9.ebuild | 10 ++ 3 files changed, 6 insertions(+), 40 deletions(-) diff --git a/app-benchmarks/ioping/Manifest b/app-benchmarks/ioping/Manifest index c9154a7..f60ffbc 100644 --- a/app-benchmarks/ioping/Manifest +++ b/app-benchmarks/ioping/Manifest @@ -1,2 +1 @@ -DIST ioping-0.8.tar.gz 10590 SHA256 e23fdbd7298e26b63986137d6007e5a72d495da7265b9edea4c12f1b0c55fe48 SHA512 f15716eb60d40db2509c51b7448dbe0d2443888ccf83f708618d72bc41c8ff8d5da2a342fd68131536c7bcb316d7f68461940797366b7c2f277cfb9b2c3b87a2 WHIRLPOOL 07e312a660a7fffbbe9c85b5b4109e130e6f41ec6486313c7ee8bd9ad730191589108db4de537529e3d8448be434be0694ea94ee1ea87a7796045b83329714f1 DIST ioping-0.9.tar.gz 23695 SHA256 951e430875987c8cfe0ed85a0bcfe1081788121a34102eb6f7c91330c63a775d SHA512 609e19c31a16a5961be0e468255f2853311162ad988d07404a8198042bec1e20cab37e192ad148536a0772efe8034a94d594671ec6fde7d37badee859796de1c WHIRLPOOL e9dec9d139b1b85f379c65d99676bfbbda30b78bf8cfa9a2a238db0e9eb43f6a2cb119ba64e35f9a81dc530b29015062b6e9585661f97449a22c35dc930dbcdd diff --git a/app-benchmarks/ioping/ioping-0.8.ebuild b/app-benchmarks/ioping/ioping-0.8.ebuild deleted file mode 100644 index 0983ec3.. --- a/app-benchmarks/ioping/ioping-0.8.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils - -DESCRIPTION="Simple disk I/0 latency measuring tool" -HOMEPAGE="https://code.google.com/p/ioping/"; -SRC_URI="https://ioping.googlecode.com/files/${P}.tar.gz"; - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -LICENSE="GPL-3" -IUSE="" - -src_prepare() { - sed \ - -e 's: -g : :g' \ - -e 's: $(LDFLAGS) : :g' \ - -e 's: -o : $(LDFLAGS) -o :g' \ - -e 's:-s -m:-m:g' \ - -i Makefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" -} - -src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install -} diff --git a/app-benchmarks/ioping/ioping-0.9.ebuild b/app-benchmarks/ioping/ioping-0.9.ebuild index ee40cf8..2fad05d 100644 --- a/app-benchmarks/ioping/ioping-0.9.ebuild +++ b/app-benchmarks/ioping/ioping-0.9.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit eutils @@ -11,12 +11,14 @@ HOMEPAGE="https://github.com/koct9i/ioping"; SRC_URI="https://github.com/koct9i/ioping/releases/download/v${PV}/${P}.tar.gz"; SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" +PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch ) + src_prepare() { - epatch "${FILESDIR}"/${P}-sysmacros.patch #579982 + default sed \ -e 's: -g : :g' \ -e 's: $(LDFLAGS) : :g' \
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/
commit: 79dd01ecab2f132d9c6a575f56e44491433cf636 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sun Jul 3 14:12:38 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu Jul 7 07:18:17 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79dd01ec app-benchmarks/ioping: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/1826 Signed-off-by: Patrice Clement gentoo.org> .../ioping/files/ioping-0.6-makefile.patch | 26 -- 1 file changed, 26 deletions(-) diff --git a/app-benchmarks/ioping/files/ioping-0.6-makefile.patch b/app-benchmarks/ioping/files/ioping-0.6-makefile.patch deleted file mode 100644 index b583669..000 --- a/app-benchmarks/ioping/files/ioping-0.6-makefile.patch +++ /dev/null @@ -1,26 +0,0 @@ - Makefile |8 - 1 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Makefile b/Makefile -index b3d741e..79022e9 100644 a/Makefile -+++ b/Makefile -@@ -1,6 +1,6 @@ --CFLAGS+=-std=c99 -g -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 --LDFLAGS=-lm --PREFIX=/usr/local -+CFLAGS+=-std=c99 -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -+LIBS=-lm -+PREFIX?=/usr/local - BINDIR=$(PREFIX)/bin - MAN1DIR=$(PREFIX)/share/man/man1 - -@@ -30,7 +30,7 @@ install: $(BINS) $(MANS) - $(CC) $(CFLAGS) -DVERSION=\"${VERSION}\" -c -o $@ $^ - - ioping: $(OBJS) -- $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) - - dist: $(DISTDIR).tar.gz -
[gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ioping/files/, app-benchmarks/ioping/
commit: d4ba6009f6a27fbc13de33957ee145dd5f1351dd Author: Mike Frysinger gentoo org> AuthorDate: Tue Apr 19 06:50:02 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Tue Apr 19 06:50:02 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ba6009 app-benchmarks/ioping: fix build w/newer glibc #579982 .../ioping/files/ioping-0.9-sysmacros.patch| 29 ++ app-benchmarks/ioping/ioping-0.9.ebuild| 1 + 2 files changed, 30 insertions(+) diff --git a/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch new file mode 100644 index 000..837d395 --- /dev/null +++ b/app-benchmarks/ioping/files/ioping-0.9-sysmacros.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/579982 + +From c56a8a442e79a8837074e0e573f6319efa492ba8 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Tue, 19 Apr 2016 02:44:33 -0400 +Subject: [PATCH] ioping: include sys/sysmacros.h for makedev + +The makedev prototype is in sys/sysmacros.h, so include it. + +Signed-off-by: Mike Frysinger +--- + ioping.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ioping.c b/ioping.c +index aae4704..80f4bb4 100644 +--- a/ioping.c b/ioping.c +@@ -48,6 +48,7 @@ + #ifdef __linux__ + # include + # include ++# include + # define HAVE_POSIX_FADVICE + # define HAVE_POSIX_MEMALIGN + # define HAVE_DIRECT_IO +-- +2.7.4 + diff --git a/app-benchmarks/ioping/ioping-0.9.ebuild b/app-benchmarks/ioping/ioping-0.9.ebuild index b6079a3..ee40cf8 100644 --- a/app-benchmarks/ioping/ioping-0.9.ebuild +++ b/app-benchmarks/ioping/ioping-0.9.ebuild @@ -16,6 +16,7 @@ LICENSE="GPL-3" IUSE="" src_prepare() { + epatch "${FILESDIR}"/${P}-sysmacros.patch #579982 sed \ -e 's: -g : :g' \ -e 's: $(LDFLAGS) : :g' \