1 |
commit: c599dc724f6c90523e5ea53979799c7f29df0ad7 |
2 |
Author: Andrey Mazo <ahippo <AT> yandex <DOT> com> |
3 |
AuthorDate: Sun Aug 12 01:34:05 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 26 07:18:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c599dc72 |
7 |
|
8 |
net-analyzer/nload: migrate to EAPI=7, shorten description |
9 |
|
10 |
Add -r1 ebuild to fix the following repoman warnings: |
11 |
""" |
12 |
DESCRIPTION.toolong 1 |
13 |
net-analyzer/nload/nload-0.7.4.ebuild: DESCRIPTION is 83 characters (max 80) |
14 |
repo.eapi-deprecated 1 |
15 |
net-analyzer/nload/nload-0.7.4.ebuild: 5 |
16 |
""" |
17 |
|
18 |
The description string is suggested by @jonasstein. |
19 |
|
20 |
Correct the package license in the ebuild as pointed out by @mgorny. |
21 |
The source code says: |
22 |
""" |
23 |
/*************************************************************************** |
24 |
* * |
25 |
* This program is free software; you can redistribute it and/or modify * |
26 |
* it under the terms of the GNU General Public License as published by * |
27 |
* the Free Software Foundation; either version 2 of the License, or * |
28 |
* (at your option) any later version. * |
29 |
* * |
30 |
***************************************************************************/ |
31 |
""" |
32 |
|
33 |
Link: https://github.com/gentoo/gentoo/pull/9543#discussion_r209724049 |
34 |
Link: https://github.com/gentoo/gentoo/pull/9543#discussion_r212440187 |
35 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
36 |
|
37 |
net-analyzer/nload/nload-0.7.4-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ |
38 |
1 file changed, 32 insertions(+) |
39 |
|
40 |
diff --git a/net-analyzer/nload/nload-0.7.4-r1.ebuild b/net-analyzer/nload/nload-0.7.4-r1.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..d65af8f4202 |
43 |
--- /dev/null |
44 |
+++ b/net-analyzer/nload/nload-0.7.4-r1.ebuild |
45 |
@@ -0,0 +1,32 @@ |
46 |
+# Copyright 1999-2018 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+inherit autotools |
52 |
+ |
53 |
+DESCRIPTION="Real time network traffic monitor for the command line interface" |
54 |
+HOMEPAGE="http://www.roland-riegel.de/nload/index.html" |
55 |
+SRC_URI="http://www.roland-riegel.de/nload/${P}.tar.gz" |
56 |
+ |
57 |
+LICENSE="GPL-2+" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" |
60 |
+ |
61 |
+RDEPEND=">=sys-libs/ncurses-5.2:0=" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND="virtual/pkgconfig" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}"/${P}-tinfo.patch |
67 |
+) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ eautoreconf |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ # --enable-debug means do not strip debugging symbols (default no) |
76 |
+ econf --enable-debug |
77 |
+} |