summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-11-02 14:40:07 +0100
committerJeroen Roovers <jer@gentoo.org>2019-11-02 14:44:17 +0100
commitf4c6cbe1c290f91328794fafbfcda45a0483da7c (patch)
treecc8d5b14dace99903ac90b1af9227a00c157d50f
parentdev-util/pycharm-community: Version bump (v2019.2.4) (diff)
downloadgentoo-f4c6cbe1c290f91328794fafbfcda45a0483da7c.tar.gz
gentoo-f4c6cbe1c290f91328794fafbfcda45a0483da7c.tar.bz2
gentoo-f4c6cbe1c290f91328794fafbfcda45a0483da7c.zip
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 <jer@gentoo.org>
-rw-r--r--net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild18
1 files changed, 12 insertions, 6 deletions
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
}