1 |
commit: 711e19ade6d70c3b33b175580560bdef1d1b8726 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 16:36:23 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 16:40:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711e19ad |
7 |
|
8 |
net-analyzer/netio: Version 1.33 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Closes: https://bugs.gentoo.org/731196 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/netio/Manifest | 1 + |
15 |
.../netio/files/netio-1.26-linux-include.patch | 3 -- |
16 |
net-analyzer/netio/netio-1.33.ebuild | 44 ++++++++++++++++++++++ |
17 |
3 files changed, 45 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/net-analyzer/netio/Manifest b/net-analyzer/netio/Manifest |
20 |
index cd3890f6d5e..ade3fa30d71 100644 |
21 |
--- a/net-analyzer/netio/Manifest |
22 |
+++ b/net-analyzer/netio/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST netio132.zip 162484 BLAKE2B 921b28d25a8042b5567393b088fbede3f8bff2d4bf6c8afcaab03a76487ddc48e6cd640b2cbe7114b022cacef9fcf5ccc3deaa9eed2b648898d7f2dfb40e133c SHA512 3473b6b41c4a1e054fa0eb3316bc16e799034b4b9402c7751f29724d8ec70c674d3de59140fdbdc301c53f2a24b44d58e8cd50a68f107bd892b1d17b6e695232 |
25 |
+DIST netio133.zip 235931 BLAKE2B e664700b5991e38ad056333b13ba6ec40efd2a9a496dd9235ad40482b281f21ca54f49e037a0155d3ca0b1d77bd54330462d08abe5f809c6ee337b672c979995 SHA512 79a4d8ad5a5d9750a19bf7f8f4cc762e6d1a866a63138bfc1cf8614057eb8ade147817e489f93210990ce9d82be03a5053821663212fbee71c4cd46c2f9c9232 |
26 |
|
27 |
diff --git a/net-analyzer/netio/files/netio-1.26-linux-include.patch b/net-analyzer/netio/files/netio-1.26-linux-include.patch |
28 |
index e006c82d71a..591cae32384 100644 |
29 |
--- a/net-analyzer/netio/files/netio-1.26-linux-include.patch |
30 |
+++ b/net-analyzer/netio/files/netio-1.26-linux-include.patch |
31 |
@@ -1,6 +1,3 @@ |
32 |
-Add missing include (see inet(3)) - JeR |
33 |
- |
34 |
- |
35 |
--- a/netio.c |
36 |
+++ b/netio.c |
37 |
@@ -199,6 +199,7 @@ |
38 |
|
39 |
diff --git a/net-analyzer/netio/netio-1.33.ebuild b/net-analyzer/netio/netio-1.33.ebuild |
40 |
new file mode 100644 |
41 |
index 00000000000..b1b367dca37 |
42 |
--- /dev/null |
43 |
+++ b/net-analyzer/netio/netio-1.33.ebuild |
44 |
@@ -0,0 +1,44 @@ |
45 |
+# Copyright 1999-2020 Gentoo Authors |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI=7 |
49 |
+inherit edos2unix toolchain-funcs |
50 |
+ |
51 |
+DESCRIPTION="Network benchmark using TCP and UDP protocols" |
52 |
+HOMEPAGE="https://web.ars.de/netio/" |
53 |
+SRC_URI="https://www.ars.de/${PN}${PV/.}.zip" |
54 |
+ |
55 |
+LICENSE="free-noncomm" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
58 |
+RESTRICT="mirror" # bug #391789 comment #1 |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ app-arch/unzip |
62 |
+ >=sys-apps/sed-4 |
63 |
+" |
64 |
+S=${WORKDIR} |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ edos2unix *.c *.h *.doc |
68 |
+ |
69 |
+ default |
70 |
+ |
71 |
+ sed -i \ |
72 |
+ -e "s|LFLAGS=\"\"|LFLAGS?=\"${LDFLAGS}\"|g" \ |
73 |
+ -e 's|\(CC\)=|\1?=|g' \ |
74 |
+ -e 's|\(CFLAGS\)=|\1+=|g' \ |
75 |
+ Makefile || die |
76 |
+} |
77 |
+ |
78 |
+src_compile() { |
79 |
+ emake \ |
80 |
+ CC="$(tc-getCC)" \ |
81 |
+ CFLAGS="${CFLAGS}" \ |
82 |
+ linux |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ dobin netio |
87 |
+ dodoc netio.doc |
88 |
+} |