From 7813b06a24a7b86fe187d329dd0ba35b6ee21e20 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 15 Mar 2024 03:05:24 +0000 Subject: net-analyzer/nstats: update EAPI 7 -> 8, filter LTO, fix DEPEND/BDEPEND * EAPI 8. * Filter LTO as HOMEPAGE is dead (-> nowhere to report the bug) and it has conflicting definitions of quit(). * Fix DEPEND/BDEPEND (pkgconfig). Closes: https://bugs.gentoo.org/861227 Signed-off-by: Sam James --- net-analyzer/nstats/nstats-0.4-r3.ebuild | 38 ----------------------------- net-analyzer/nstats/nstats-0.4-r4.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 38 deletions(-) delete mode 100644 net-analyzer/nstats/nstats-0.4-r3.ebuild create mode 100644 net-analyzer/nstats/nstats-0.4-r4.ebuild diff --git a/net-analyzer/nstats/nstats-0.4-r3.ebuild b/net-analyzer/nstats/nstats-0.4-r3.ebuild deleted file mode 100644 index 65b96057aa7b..000000000000 --- a/net-analyzer/nstats/nstats-0.4-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools flag-o-matic - -DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown" -SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz" -HOMEPAGE="http://trash.net/~reeler/nstats/" -LICENSE="Artistic" - -SLOT="0" -KEYWORDS="amd64 ~ppc x86" - -RDEPEND=" - net-libs/libpcap - sys-libs/ncurses -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" -PATCHES=( - "${FILESDIR}"/${P}-glibc24.patch - "${FILESDIR}"/${P}-makefile.patch - "${FILESDIR}"/${P}-tinfo.patch -) -DOCS=( BUGS doc/TODO doc/ChangeLog ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags -fcommon - default -} diff --git a/net-analyzer/nstats/nstats-0.4-r4.ebuild b/net-analyzer/nstats/nstats-0.4-r4.ebuild new file mode 100644 index 000000000000..29ee8957fee9 --- /dev/null +++ b/net-analyzer/nstats/nstats-0.4-r4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown" +HOMEPAGE="http://trash.net/~reeler/nstats/" +SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +RDEPEND=" + net-libs/libpcap + sys-libs/ncurses +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-glibc24.patch + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-tinfo.patch +) + +DOCS=( BUGS doc/TODO doc/ChangeLog ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cflags -fcommon + # Conflicting definitions of quit() (bug #861227) + filter-lto + default +} -- cgit v1.2.3-65-gdbad