1 |
commit: f4c6cbe1c290f91328794fafbfcda45a0483da7c |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 2 13:40:07 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 2 13:44:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c6cbe1 |
7 |
|
8 |
net-analyzer/iptraf-ng: Update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Fixes: https://bugs.gentoo.org/656982 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild | 18 ++++++++++++------ |
15 |
1 file changed, 12 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild |
18 |
index ea4ed84750b..284d4bb322e 100644 |
19 |
--- a/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild |
20 |
+++ b/net-analyzer/iptraf-ng/iptraf-ng-9999.ebuild |
21 |
@@ -1,12 +1,12 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
-inherit eutils git-r3 toolchain-funcs |
28 |
+EAPI=7 |
29 |
+inherit git-r3 toolchain-funcs |
30 |
|
31 |
DESCRIPTION="A console-based network monitoring utility" |
32 |
-HOMEPAGE="http://fedorahosted.org/iptraf-ng/" |
33 |
-EGIT_REPO_URI="https://git.fedorahosted.org/git/iptraf-ng.git" |
34 |
+HOMEPAGE="https://github.com/iptraf-ng/iptraf-ng" |
35 |
+EGIT_REPO_URI="https://github.com/iptraf-ng/iptraf-ng" |
36 |
|
37 |
LICENSE="GPL-2 doc? ( FDL-1.1 )" |
38 |
SLOT="0" |
39 |
@@ -25,6 +25,8 @@ DEPEND=" |
40 |
" |
41 |
|
42 |
src_prepare() { |
43 |
+ default |
44 |
+ |
45 |
sed -i \ |
46 |
-e '/^CC =/d' \ |
47 |
-e '/^CFLAGS/s:= -g -O2:+= :' \ |
48 |
@@ -54,7 +56,11 @@ src_install() { |
49 |
|
50 |
doman src/*.8 |
51 |
dodoc AUTHORS CHANGES FAQ README* RELEASE-NOTES |
52 |
- use doc && dohtml -a gif,html,png -r Documentation/* |
53 |
+ |
54 |
+ if use doc; then |
55 |
+ docinto html |
56 |
+ dodoc -r Documentation |
57 |
+ fi |
58 |
|
59 |
keepdir /var/{lib,log}/iptraf-ng #376157 |
60 |
} |