From 29cb3fa1f8320e852413b6614553c37b36f82dea Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 15 Jul 2022 12:30:09 +0100 Subject: net-analyzer/nast: EAPI 8 Signed-off-by: Sam James --- net-analyzer/nast/nast-0.2.0-r2.ebuild | 46 --------------------------------- net-analyzer/nast/nast-0.2.0-r3.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 46 deletions(-) delete mode 100644 net-analyzer/nast/nast-0.2.0-r2.ebuild create mode 100644 net-analyzer/nast/nast-0.2.0-r3.ebuild (limited to 'net-analyzer/nast') diff --git a/net-analyzer/nast/nast-0.2.0-r2.ebuild b/net-analyzer/nast/nast-0.2.0-r2.ebuild deleted file mode 100644 index bc1d6e76e220..000000000000 --- a/net-analyzer/nast/nast-0.2.0-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools flag-o-matic - -DESCRIPTION="NAST - Network Analyzer Sniffer Tool" -HOMEPAGE="https://sourceforge.net/projects/nast.berlios/" -SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 x86" -IUSE="ncurses" - -RDEPEND=" - >=net-libs/libnet-1.1.1 - net-libs/libpcap - ncurses? ( >=sys-libs/ncurses-5.4:= ) -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cflags -fcommon - default -} - -src_compile() { - emake CFLAGS="${CFLAGS}" -} - -src_install() { - dosbin nast - doman nast.8 - dodoc AUTHORS BUGS CREDITS ChangeLog NCURSES_README README TODO -} diff --git a/net-analyzer/nast/nast-0.2.0-r3.ebuild b/net-analyzer/nast/nast-0.2.0-r3.ebuild new file mode 100644 index 000000000000..9be8146f5f8b --- /dev/null +++ b/net-analyzer/nast/nast-0.2.0-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="NAST - Network Analyzer Sniffer Tool" +HOMEPAGE="https://sourceforge.net/projects/nast.berlios/" +SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 x86" +IUSE="ncurses" + +RDEPEND=" + >=net-libs/libnet-1.1.1 + net-libs/libpcap + ncurses? ( >=sys-libs/ncurses-5.4:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cflags -fcommon + default +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + dosbin nast + doman nast.8 + dodoc AUTHORS BUGS CREDITS ChangeLog NCURSES_README README TODO +} -- cgit v1.2.3-65-gdbad