From f4c6cbe1c290f91328794fafbfcda45a0483da7c Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 2 Nov 2019 14:40:07 +0100 Subject: net-analyzer/iptraf-ng: Update live ebuild Package-Manager: Portage-2.3.78, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/656982 Signed-off-by: Jeroen Roovers --- net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild') diff --git a/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild index ea4ed84750bc..284d4bb322e4 100644 --- a/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild +++ b/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils git-r3 toolchain-funcs +EAPI=7 +inherit git-r3 toolchain-funcs DESCRIPTION="A console-based network monitoring utility" -HOMEPAGE="http://fedorahosted.org/iptraf-ng/" -EGIT_REPO_URI="https://git.fedorahosted.org/git/iptraf-ng.git" +HOMEPAGE="https://github.com/iptraf-ng/iptraf-ng" +EGIT_REPO_URI="https://github.com/iptraf-ng/iptraf-ng" LICENSE="GPL-2 doc? ( FDL-1.1 )" SLOT="0" @@ -25,6 +25,8 @@ DEPEND=" " src_prepare() { + default + sed -i \ -e '/^CC =/d' \ -e '/^CFLAGS/s:= -g -O2:+= :' \ @@ -54,7 +56,11 @@ src_install() { doman src/*.8 dodoc AUTHORS CHANGES FAQ README* RELEASE-NOTES - use doc && dohtml -a gif,html,png -r Documentation/* + + if use doc; then + docinto html + dodoc -r Documentation + fi keepdir /var/{lib,log}/iptraf-ng #376157 } -- cgit v1.2.3-65-gdbad