public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2018-10-13 19:46 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2018-10-13 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     cdcdbc149200748e188be96f0b23aea2a5d0e463
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Oct  6 08:38:05 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 13 19:43:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdcdbc14

sys-apps/ethq: new ebuild

Displays an auto-updating per-second count of the number
of packets and bytes being handled by each queue on
a multi-queue NIC.

Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Close: https://github.com/gentoo/gentoo/pull/10082

 sys-apps/ethq/Manifest          |  1 +
 sys-apps/ethq/ethq-0.5.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
 sys-apps/ethq/ethq-9999.ebuild  | 51 ++++++++++++++++++++++++++++++++++++++
 sys-apps/ethq/metadata.xml      | 19 +++++++++++++++
 4 files changed, 125 insertions(+)

diff --git a/sys-apps/ethq/Manifest b/sys-apps/ethq/Manifest
new file mode 100644
index 00000000000..e96200ec104
--- /dev/null
+++ b/sys-apps/ethq/Manifest
@@ -0,0 +1 @@
+DIST ethq-0_5_0.tar.gz 15830 BLAKE2B b18326f1564d08f94500aa934838053a3b84b78f3d6fa90984c3730ac8922fbe3fd5141d5e9ff4a2c8db54bb8d2c2e493f5583f46b287324d4327583f29b8bf5 SHA512 989978e0dfbb553497f5325807f2d09e4e2842de9df5f5717e832312141adba3e99ef1d57dde4ac0fdd2919c9f5a0eadef5b5f76a300ab4ac7e881c8509fbbec

diff --git a/sys-apps/ethq/ethq-0.5.0.ebuild b/sys-apps/ethq/ethq-0.5.0.ebuild
new file mode 100644
index 00000000000..71eae77cf75
--- /dev/null
+++ b/sys-apps/ethq/ethq-0.5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV//./_}
+MY_P=${PN}-${MY_PV}
+
+inherit toolchain-funcs
+
+DESCRIPTION="Ethernet NIC Queue stats viewer"
+HOMEPAGE="https://github.com/isc-projects/ethq"
+SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	# Respect FLAGS
+	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+
+	if ! use test ; then
+		sed -i '/TARGETS/s/ethq_test//' Makefile \
+			|| die "sed failed for USE flag test"
+	fi
+}
+
+src_compile() {
+	# override for ncurses[tinfo]
+	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}
+
+src_test() {
+	local driver
+	for driver in tests/* ; do
+		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+			|| die "test failed on ${driver}"
+	done
+}
+
+src_install() {
+	einstalldocs
+	dobin ethq
+}

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
new file mode 100644
index 00000000000..a5106e0c357
--- /dev/null
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git"
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Ethernet NIC Queue stats viewer"
+HOMEPAGE="https://github.com/isc-projects/ethq"
+SRC_URI=""
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+
+	# Respect FLAGS
+	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+
+	if ! use test ; then
+		sed -i '/TARGETS/s/ethq_test//' Makefile \
+			|| die "sed failed for USE flag test"
+	fi
+}
+
+src_compile() {
+	# override for ncurses[tinfo]
+	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}
+
+src_test() {
+	local driver
+	for driver in tests/* ; do
+		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+			|| die "test failed on ${driver}"
+	done
+}
+
+src_install() {
+	einstalldocs
+	dobin ethq
+}

diff --git a/sys-apps/ethq/metadata.xml b/sys-apps/ethq/metadata.xml
new file mode 100644
index 00000000000..61adaf0931b
--- /dev/null
+++ b/sys-apps/ethq/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>spiderx@spiderx.dp.ua</email>
+		<name>Vladimir Pavljuchenkov</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+	Displays an auto-updating per-second count of the number of packets
+	and bytes being handled by each queue on a multi-queue NIC.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">isc-projects/ethq</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2018-10-15  7:47 Jeroen Roovers
  0 siblings, 0 replies; 10+ messages in thread
From: Jeroen Roovers @ 2018-10-15  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1062368801351eb3e062a3bc8d7bdfa743858f71
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 15 07:43:41 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Oct 15 07:47:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10623688

sys-apps/ethq: Drop -Werror

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 sys-apps/ethq/ethq-0.5.0.ebuild | 4 +++-
 sys-apps/ethq/ethq-9999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ethq/ethq-0.5.0.ebuild b/sys-apps/ethq/ethq-0.5.0.ebuild
index 71eae77cf75..eaaf909be1a 100644
--- a/sys-apps/ethq/ethq-0.5.0.ebuild
+++ b/sys-apps/ethq/ethq-0.5.0.ebuild
@@ -26,7 +26,9 @@ src_prepare() {
 	default
 
 	# Respect FLAGS
-	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+	sed -i \
+		-e '/CXXFLAGS/s/= -O3/+=/' \
+		-e 's/ -Werror//' \
 		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index a5106e0c357..a64bcead00a 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -23,7 +23,9 @@ src_prepare() {
 	default
 
 	# Respect FLAGS
-	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+	sed -i \
+		-e '/CXXFLAGS/s/= -O3/+=/' \
+		-e 's/ -Werror//' \
 		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2018-11-03  9:43 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2018-11-03  9:43 UTC (permalink / raw
  To: gentoo-commits

commit:     01dd122f505e72061b26a082ff84338ed77986f0
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Fri Oct 26 21:26:31 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  3 09:40:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dd122f

sys-apps/ethq: version bump to 0.6.1

Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10244
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-apps/ethq/Manifest          |  1 +
 sys-apps/ethq/ethq-0.6.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sys-apps/ethq/Manifest b/sys-apps/ethq/Manifest
index e96200ec104..42447071549 100644
--- a/sys-apps/ethq/Manifest
+++ b/sys-apps/ethq/Manifest
@@ -1 +1,2 @@
 DIST ethq-0_5_0.tar.gz 15830 BLAKE2B b18326f1564d08f94500aa934838053a3b84b78f3d6fa90984c3730ac8922fbe3fd5141d5e9ff4a2c8db54bb8d2c2e493f5583f46b287324d4327583f29b8bf5 SHA512 989978e0dfbb553497f5325807f2d09e4e2842de9df5f5717e832312141adba3e99ef1d57dde4ac0fdd2919c9f5a0eadef5b5f76a300ab4ac7e881c8509fbbec
+DIST ethq-0_6_1.tar.gz 23475 BLAKE2B 04d933294ba432ed69108022b0a2b13c47537902f66c6969bbd5afca144a977a6215a2164cbefd975d0f599bd8503feca79ef9e38856d8c9e6943c2cd2c3f99f SHA512 72c38ecb0cb6c7d6f522d99f2a6ec08bd2c42065d5f83d86890706a52420006fcdb5774a1457a66ccd5e174113e09c2a4285d311af334616a01c32ad8753126d

diff --git a/sys-apps/ethq/ethq-0.6.1.ebuild b/sys-apps/ethq/ethq-0.6.1.ebuild
new file mode 100644
index 00000000000..71eae77cf75
--- /dev/null
+++ b/sys-apps/ethq/ethq-0.6.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV//./_}
+MY_P=${PN}-${MY_PV}
+
+inherit toolchain-funcs
+
+DESCRIPTION="Ethernet NIC Queue stats viewer"
+HOMEPAGE="https://github.com/isc-projects/ethq"
+SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	# Respect FLAGS
+	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+
+	if ! use test ; then
+		sed -i '/TARGETS/s/ethq_test//' Makefile \
+			|| die "sed failed for USE flag test"
+	fi
+}
+
+src_compile() {
+	# override for ncurses[tinfo]
+	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}
+
+src_test() {
+	local driver
+	for driver in tests/* ; do
+		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+			|| die "test failed on ${driver}"
+	done
+}
+
+src_install() {
+	einstalldocs
+	dobin ethq
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2022-06-11  5:48 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-06-11  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     5825e3e87d5e64c79ab62adbbf034ef4f53dad23
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Feb 20 16:18:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 05:48:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5825e3e8

sys-apps/ethq: cosmetic changes to live ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/19561
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/ethq-9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index 76ff4fd29c74..ce1c594d966b 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -24,10 +24,9 @@ BDEPEND="virtual/pkgconfig"
 src_prepare() {
 	default
 
-	# Respect FLAGS
-	sed -i \
-		-e '/CXXFLAGS/s/= -O3/+=/' \
-		-e 's/ -Werror//' \
+	# Respect FLAGS, remove Werror
+	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/CXXFLAGS/s/ -Werror//' \
 		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2022-06-11  5:48 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-06-11  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     6159690ee96fdf2dc3473f5de08ac8e361dc8804
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Feb 20 16:17:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 05:48:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6159690e

sys-apps/ethq: wrt 770943

Closes: https://bugs.gentoo.org/770943
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/ethq-0.6.1-r1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/sys-apps/ethq/ethq-0.6.1-r1.ebuild b/sys-apps/ethq/ethq-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..b95aba17d42b
--- /dev/null
+++ b/sys-apps/ethq/ethq-0.6.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV//./_}
+MY_P=${PN}-${MY_PV}
+
+inherit toolchain-funcs
+
+DESCRIPTION="Ethernet NIC Queue stats viewer"
+HOMEPAGE="https://github.com/isc-projects/ethq"
+SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	# Respect FLAGS, remove Werror
+	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/CXXFLAGS/s/ -Werror//' \
+		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+
+	if ! use test ; then
+		sed -i '/TARGETS/s/ethq_test//' Makefile \
+			|| die "sed failed for USE flag test"
+	fi
+}
+
+src_compile() {
+	# override for ncurses[tinfo]
+	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
+}
+
+src_test() {
+	local driver
+	for driver in tests/* ; do
+		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+			|| die "test failed on ${driver}"
+	done
+}
+
+src_install() {
+	einstalldocs
+	dobin ethq
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2022-06-11  5:48 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-06-11  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     57dc9f52aa59e0f9430aa7a46579190f316ee9e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 11 05:43:51 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 05:48:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dc9f52

sys-apps/ethq: don't revbump for Werror fix

Bug: https://bugs.gentoo.org/770943
See: https://github.com/gentoo/gentoo/pull/19561
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/ethq-0.6.1-r1.ebuild | 56 --------------------------------------
 sys-apps/ethq/ethq-0.6.1.ebuild    | 10 +++----
 sys-apps/ethq/ethq-9999.ebuild     |  4 +--
 3 files changed, 7 insertions(+), 63 deletions(-)

diff --git a/sys-apps/ethq/ethq-0.6.1-r1.ebuild b/sys-apps/ethq/ethq-0.6.1-r1.ebuild
deleted file mode 100644
index b95aba17d42b..000000000000
--- a/sys-apps/ethq/ethq-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV//./_}
-MY_P=${PN}-${MY_PV}
-
-inherit toolchain-funcs
-
-DESCRIPTION="Ethernet NIC Queue stats viewer"
-HOMEPAGE="https://github.com/isc-projects/ethq"
-SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="sys-libs/ncurses:0"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	default
-
-	# Respect FLAGS, remove Werror
-	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
-		-e '/CXXFLAGS/s/ -Werror//' \
-		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
-
-	if ! use test ; then
-		sed -i '/TARGETS/s/ethq_test//' Makefile \
-			|| die "sed failed for USE flag test"
-	fi
-}
-
-src_compile() {
-	# override for ncurses[tinfo]
-	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
-}
-
-src_test() {
-	local driver
-	for driver in tests/* ; do
-		"${S}"/ethq_test "${driver##*/}" "${driver}" \
-			|| die "test failed on ${driver}"
-	done
-}
-
-src_install() {
-	einstalldocs
-	dobin ethq
-}

diff --git a/sys-apps/ethq/ethq-0.6.1.ebuild b/sys-apps/ethq/ethq-0.6.1.ebuild
index 6749cb3094e6..172f1ef054f7 100644
--- a/sys-apps/ethq/ethq-0.6.1.ebuild
+++ b/sys-apps/ethq/ethq-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,17 +18,17 @@ KEYWORDS="~amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="sys-libs/ncurses:0="
+DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
 	default
 
-	# Respect FLAGS
-	sed -i -e '/CXXFLAGS/s/= -O3/+=/' \
+	# Respect FLAGS, remove Werror
+	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
+		-e '/CXXFLAGS/s/ -Werror//' \
 		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index ce1c594d966b..11b6f2389400 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-DEPEND="sys-libs/ncurses:0="
+DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2024-03-15  6:47 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-03-15  6:47 UTC (permalink / raw
  To: gentoo-commits

commit:     19ca4b64661c42325c76e3bf01641b3163361e75
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 06:40:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 06:46:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ca4b64

sys-apps/ethq: filter LTO

Horribly broken, already reported upstream by RH.

Closes: https://bugs.gentoo.org/879893
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/ethq-0.6.1.ebuild | 11 +++++++++--
 sys-apps/ethq/ethq-9999.ebuild  | 12 ++++++++++--
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/sys-apps/ethq/ethq-0.6.1.ebuild b/sys-apps/ethq/ethq-0.6.1.ebuild
index 172f1ef054f7..9165d5a82da5 100644
--- a/sys-apps/ethq/ethq-0.6.1.ebuild
+++ b/sys-apps/ethq/ethq-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 MY_PV=${PV//./_}
 MY_P=${PN}-${MY_PV}
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Ethernet NIC Queue stats viewer"
 HOMEPAGE="https://github.com/isc-projects/ethq"
@@ -37,6 +37,13 @@ src_prepare() {
 	fi
 }
 
+src_configure() {
+	# https://github.com/isc-projects/ethq/issues/30 (bug #879893)
+	filter-lto
+
+	default
+}
+
 src_compile() {
 	# override for ncurses[tinfo]
 	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index 11b6f2389400..521424c89c38 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git"
 
-inherit git-r3 toolchain-funcs
+inherit git-r3 flag-o-matic toolchain-funcs
 
 DESCRIPTION="Ethernet NIC Queue stats viewer"
 HOMEPAGE="https://github.com/isc-projects/ethq"
@@ -35,6 +35,14 @@ src_prepare() {
 	fi
 }
 
+
+src_configure() {
+	# https://github.com/isc-projects/ethq/issues/30 (bug #879893)
+	filter-lto
+
+	default
+}
+
 src_compile() {
 	# override for ncurses[tinfo]
 	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2024-03-15  6:47 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-03-15  6:47 UTC (permalink / raw
  To: gentoo-commits

commit:     f5f91f73727b18960f73265d92f3cb883c22f96f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 06:38:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 06:46:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f91f73

sys-apps/ethq: drop 0.5.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/Manifest          |  1 -
 sys-apps/ethq/ethq-0.5.0.ebuild | 58 -----------------------------------------
 2 files changed, 59 deletions(-)

diff --git a/sys-apps/ethq/Manifest b/sys-apps/ethq/Manifest
index 424470715491..3c03cf67dacc 100644
--- a/sys-apps/ethq/Manifest
+++ b/sys-apps/ethq/Manifest
@@ -1,2 +1 @@
-DIST ethq-0_5_0.tar.gz 15830 BLAKE2B b18326f1564d08f94500aa934838053a3b84b78f3d6fa90984c3730ac8922fbe3fd5141d5e9ff4a2c8db54bb8d2c2e493f5583f46b287324d4327583f29b8bf5 SHA512 989978e0dfbb553497f5325807f2d09e4e2842de9df5f5717e832312141adba3e99ef1d57dde4ac0fdd2919c9f5a0eadef5b5f76a300ab4ac7e881c8509fbbec
 DIST ethq-0_6_1.tar.gz 23475 BLAKE2B 04d933294ba432ed69108022b0a2b13c47537902f66c6969bbd5afca144a977a6215a2164cbefd975d0f599bd8503feca79ef9e38856d8c9e6943c2cd2c3f99f SHA512 72c38ecb0cb6c7d6f522d99f2a6ec08bd2c42065d5f83d86890706a52420006fcdb5774a1457a66ccd5e174113e09c2a4285d311af334616a01c32ad8753126d

diff --git a/sys-apps/ethq/ethq-0.5.0.ebuild b/sys-apps/ethq/ethq-0.5.0.ebuild
deleted file mode 100644
index a22a412539ae..000000000000
--- a/sys-apps/ethq/ethq-0.5.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PV=${PV//./_}
-MY_P=${PN}-${MY_PV}
-
-inherit toolchain-funcs
-
-DESCRIPTION="Ethernet NIC Queue stats viewer"
-HOMEPAGE="https://github.com/isc-projects/ethq"
-SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="sys-libs/ncurses:0="
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	default
-
-	# Respect FLAGS
-	sed -i \
-		-e '/CXXFLAGS/s/= -O3/+=/' \
-		-e 's/ -Werror//' \
-		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
-
-	if ! use test ; then
-		sed -i '/TARGETS/s/ethq_test//' Makefile \
-			|| die "sed failed for USE flag test"
-	fi
-}
-
-src_compile() {
-	# override for ncurses[tinfo]
-	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
-}
-
-src_test() {
-	local driver
-	for driver in tests/* ; do
-		"${S}"/ethq_test "${driver##*/}" "${driver}" \
-			|| die "test failed on ${driver}"
-	done
-}
-
-src_install() {
-	einstalldocs
-	dobin ethq
-}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2024-03-15  8:58 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-03-15  8:58 UTC (permalink / raw
  To: gentoo-commits

commit:     9e2703812bf96d744de23011ad5001286f882609
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 07:15:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 07:15:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e270381

sys-apps/ethq: fix DoubleEmptyLine

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ethq/ethq-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index 521424c89c38..da954c3b0cc6 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -35,7 +35,6 @@ src_prepare() {
 	fi
 }
 
-
 src_configure() {
 	# https://github.com/isc-projects/ethq/issues/30 (bug #879893)
 	filter-lto


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/
@ 2024-05-25  5:05 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2024-05-25  5:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c2ac73108b835b054a4ad7e4ffdfe666d2079ccd
Author:     Vladimir Pavljuchenkov <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sun May  5 10:09:39 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 05:05:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ac7310

sys-apps/ethq: add 0.6.3, update live ebuild

Closes: https://bugs.gentoo.org/927049

Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/36560
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-apps/ethq/Manifest                             |  1 +
 .../ethq/{ethq-9999.ebuild => ethq-0.6.3.ebuild}   | 24 +++++++++-------------
 sys-apps/ethq/ethq-9999.ebuild                     | 18 +++++-----------
 3 files changed, 16 insertions(+), 27 deletions(-)

diff --git a/sys-apps/ethq/Manifest b/sys-apps/ethq/Manifest
index 3c03cf67dacc..cab1dbdd2f1e 100644
--- a/sys-apps/ethq/Manifest
+++ b/sys-apps/ethq/Manifest
@@ -1 +1,2 @@
 DIST ethq-0_6_1.tar.gz 23475 BLAKE2B 04d933294ba432ed69108022b0a2b13c47537902f66c6969bbd5afca144a977a6215a2164cbefd975d0f599bd8503feca79ef9e38856d8c9e6943c2cd2c3f99f SHA512 72c38ecb0cb6c7d6f522d99f2a6ec08bd2c42065d5f83d86890706a52420006fcdb5774a1457a66ccd5e174113e09c2a4285d311af334616a01c32ad8753126d
+DIST ethq-0_6_3.tar.gz 32610 BLAKE2B c381eeea2192397084968894fb7f272b4129f1ffd6492b33c0012f0e2d874ba08f5feea3b218c7c57190c31997d39c78fce037e2a2fb55677d7ccf9009b2fab6 SHA512 400c443dab051f121542e81639036071386f79557bd60cf34d744ec5fde193464a0d745a3d818ea1a88698d02264440ec2008c7cd0f4e70a426f18e4f71e0fad

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-0.6.3.ebuild
similarity index 64%
copy from sys-apps/ethq/ethq-9999.ebuild
copy to sys-apps/ethq/ethq-0.6.3.ebuild
index da954c3b0cc6..917a1697503d 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-0.6.3.ebuild
@@ -1,33 +1,34 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git"
+inherit flag-o-matic
 
-inherit git-r3 flag-o-matic toolchain-funcs
+MY_PV=${PV//./_}
+MY_P=${PN}-${MY_PV}
 
 DESCRIPTION="Ethernet NIC Queue stats viewer"
 HOMEPAGE="https://github.com/isc-projects/ethq"
-SRC_URI=""
+SRC_URI="https://github.com/isc-projects/ethq/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="MPL-2.0"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default
 
-	# Respect FLAGS, remove Werror
+	# respect FLAGS, remove Werror and strip
 	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
 		-e '/CXXFLAGS/s/ -Werror//' \
-		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+		-e '/LDFLAGS/s/= -s/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then
 		sed -i '/TARGETS/s/ethq_test//' Makefile \
@@ -42,15 +43,10 @@ src_configure() {
 	default
 }
 
-src_compile() {
-	# override for ncurses[tinfo]
-	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
-}
-
 src_test() {
 	local driver
 	for driver in tests/* ; do
-		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+		"${S}"/ethq_test "$(basename "${driver%%-*}")" "${driver}" \
 			|| die "test failed on ${driver}"
 	done
 }

diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild
index da954c3b0cc6..c414380f9b29 100644
--- a/sys-apps/ethq/ethq-9999.ebuild
+++ b/sys-apps/ethq/ethq-9999.ebuild
@@ -1,33 +1,30 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git"
 
-inherit git-r3 flag-o-matic toolchain-funcs
+inherit git-r3 flag-o-matic
 
 DESCRIPTION="Ethernet NIC Queue stats viewer"
 HOMEPAGE="https://github.com/isc-projects/ethq"
-SRC_URI=""
 
 LICENSE="MPL-2.0"
 SLOT="0"
-KEYWORDS=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 
 DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
 	default
 
-	# Respect FLAGS, remove Werror
+	# respect FLAGS, remove Werror and strip
 	sed -i  -e '/CXXFLAGS/s/= -O3/+=/' \
 		-e '/CXXFLAGS/s/ -Werror//' \
-		-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile"
+		-e '/LDFLAGS/s/= -s/+=/' Makefile || die "sed failed for Makefile"
 
 	if ! use test ; then
 		sed -i '/TARGETS/s/ethq_test//' Makefile \
@@ -42,15 +39,10 @@ src_configure() {
 	default
 }
 
-src_compile() {
-	# override for ncurses[tinfo]
-	emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)"
-}
-
 src_test() {
 	local driver
 	for driver in tests/* ; do
-		"${S}"/ethq_test "${driver##*/}" "${driver}" \
+		"${S}"/ethq_test "$(basename "${driver%%-*}")" "${driver}" \
 			|| die "test failed on ${driver}"
 	done
 }


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-05-25  5:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15  8:58 [gentoo-commits] repo/gentoo:master commit in: sys-apps/ethq/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25  5:05 Arthur Zamarin
2024-03-15  6:47 Sam James
2024-03-15  6:47 Sam James
2022-06-11  5:48 Sam James
2022-06-11  5:48 Sam James
2022-06-11  5:48 Sam James
2018-11-03  9:43 Michał Górny
2018-10-15  7:47 Jeroen Roovers
2018-10-13 19:46 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox