1 |
commit: 0192a00a6f8831cb64e6359045105b6d525fdc36 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 05:50:20 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 05:53:43 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0192a00a |
7 |
|
8 |
net-analyzer/nodebrain: pkgmove |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
net-analyzer/nodebrain/Manifest | 2 + |
13 |
.../nodebrain/files/nodebrain-0.8.14-include.patch | 30 +++++++++++++++ |
14 |
net-analyzer/nodebrain/metadata.xml | 8 ++++ |
15 |
net-analyzer/nodebrain/nodebrain-0.9.03.ebuild | 45 ++++++++++++++++++++++ |
16 |
net-analyzer/nodebrain/nodebrain-0.9.04.ebuild | 45 ++++++++++++++++++++++ |
17 |
5 files changed, 130 insertions(+) |
18 |
|
19 |
diff --git a/net-analyzer/nodebrain/Manifest b/net-analyzer/nodebrain/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..09443dd |
22 |
--- /dev/null |
23 |
+++ b/net-analyzer/nodebrain/Manifest |
24 |
@@ -0,0 +1,2 @@ |
25 |
+DIST nodebrain-0.9.03.tar.gz 2485735 SHA256 e9fce23525da8c6b3e553492b724eb2122faf22aed92ed45b15c6018eb643fef SHA512 bf81ef4be1518b72d8ef0cccf42747cfe2926ed6cecfde97c05c161c2f2d00525d07da2e24b1c05debb84fa6f35dca7d7dbbc3292471f41dd322ea80175fb96c WHIRLPOOL 0ae2c4f8085cbc725662ee758768a7684523350ebe59ab6f50f374c6b5d0b55588697f84bb395bf946eaa3546a052f08f4fa067532b42eafcf84a9a84baecd7c |
26 |
+DIST nodebrain-0.9.04.tar.gz 2475665 SHA256 4fd936050fa08d5639312fca32528034b82e2c4caf10c23126db6bb8d0eb0175 SHA512 a6cbebef09569d2d086954fc06b7a0bbc2828a5041289fdb7b537bd75b354610f3cf28baded5fce9679d89ffea3e245ab59323a00d060e98819d367775fd5226 WHIRLPOOL b7bc9f4417ac14574c7a3db8be46a695cbbac66cc9bdc7ceff7346002e7849a919750089e16fc618ad9bde996b69b832ffe48c903b4b41b5ad52948bf3cc09ee |
27 |
|
28 |
diff --git a/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch b/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch |
29 |
new file mode 100644 |
30 |
index 0000000..c34965b |
31 |
--- /dev/null |
32 |
+++ b/net-analyzer/nodebrain/files/nodebrain-0.8.14-include.patch |
33 |
@@ -0,0 +1,30 @@ |
34 |
+--- a/lib/nbbfi.c |
35 |
++++ b/lib/nbbfi.c |
36 |
+@@ -197,6 +197,7 @@ |
37 |
+ *============================================================================= |
38 |
+ */ |
39 |
+ #include <nb/nbi.h> |
40 |
++#include <ctype.h> /* isdigit() */ |
41 |
+ |
42 |
+ /************************************************************************** |
43 |
+ * Index Routines |
44 |
+--- a/lib/nbkit.c |
45 |
++++ b/lib/nbkit.c |
46 |
+@@ -51,6 +51,7 @@ |
47 |
+ #include <pwd.h> |
48 |
+ #include <errno.h> |
49 |
+ #include <unistd.h> |
50 |
++#include <stdlib.h> /* system() */ |
51 |
+ |
52 |
+ static int nbKitUsage(void){ |
53 |
+ printf("Usage:\n"); |
54 |
+--- a/module/webster/nb_webster.c |
55 |
++++ b/module/webster/nb_webster.c |
56 |
+@@ -78,6 +78,7 @@ |
57 |
+ */ |
58 |
+ #include "config.h" |
59 |
+ #include <nb/nb.h> |
60 |
++#include <ctype.h> /* isalnum() */ |
61 |
+ |
62 |
+ #if defined(WIN32) |
63 |
+ |
64 |
|
65 |
diff --git a/net-analyzer/nodebrain/metadata.xml b/net-analyzer/nodebrain/metadata.xml |
66 |
new file mode 100644 |
67 |
index 0000000..d646f58 |
68 |
--- /dev/null |
69 |
+++ b/net-analyzer/nodebrain/metadata.xml |
70 |
@@ -0,0 +1,8 @@ |
71 |
+<?xml version="1.0" encoding="UTF-8"?> |
72 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
73 |
+<pkgmetadata> |
74 |
+ <herd>netmon</herd> |
75 |
+ <upstream> |
76 |
+ <remote-id type="sourceforge">nodebrain</remote-id> |
77 |
+ </upstream> |
78 |
+</pkgmetadata> |
79 |
|
80 |
diff --git a/net-analyzer/nodebrain/nodebrain-0.9.03.ebuild b/net-analyzer/nodebrain/nodebrain-0.9.03.ebuild |
81 |
new file mode 100644 |
82 |
index 0000000..0afe27b |
83 |
--- /dev/null |
84 |
+++ b/net-analyzer/nodebrain/nodebrain-0.9.03.ebuild |
85 |
@@ -0,0 +1,45 @@ |
86 |
+# Copyright 1999-2014 Gentoo Foundation |
87 |
+# Distributed under the terms of the GNU General Public License v2 |
88 |
+# $Id$ |
89 |
+ |
90 |
+EAPI=5 |
91 |
+inherit eutils |
92 |
+ |
93 |
+DESCRIPTION="Nodebrain is a tool to monitor and do event correlation" |
94 |
+HOMEPAGE="http://nodebrain.sourceforge.net/" |
95 |
+SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz" |
96 |
+ |
97 |
+LICENSE="MIT" |
98 |
+SLOT="0" |
99 |
+KEYWORDS="~amd64 ~ppc ~x86" |
100 |
+IUSE="static-libs" |
101 |
+ |
102 |
+CDEPEND="dev-libs/libedit" |
103 |
+DEPEND=" |
104 |
+ ${CDEPEND} |
105 |
+ dev-lang/perl |
106 |
+ virtual/pkgconfig |
107 |
+ sys-apps/texinfo |
108 |
+" |
109 |
+RDEPEND=" |
110 |
+ ${CDEPEND} |
111 |
+ !sys-boot/netboot |
112 |
+ !www-apps/nanoblogger |
113 |
+" |
114 |
+ |
115 |
+src_prepare() { |
116 |
+ epatch "${FILESDIR}"/${PN}-0.8.14-include.patch |
117 |
+} |
118 |
+ |
119 |
+src_configure() { |
120 |
+ econf \ |
121 |
+ $(use_enable static-libs static) \ |
122 |
+ --include=/usr/include |
123 |
+} |
124 |
+ |
125 |
+src_install() { |
126 |
+ default |
127 |
+ use static-libs || prune_libtool_files |
128 |
+ dodoc AUTHORS NEWS README THANKS sample/* |
129 |
+ dohtml html/* |
130 |
+} |
131 |
|
132 |
diff --git a/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild b/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild |
133 |
new file mode 100644 |
134 |
index 0000000..0afe27b |
135 |
--- /dev/null |
136 |
+++ b/net-analyzer/nodebrain/nodebrain-0.9.04.ebuild |
137 |
@@ -0,0 +1,45 @@ |
138 |
+# Copyright 1999-2014 Gentoo Foundation |
139 |
+# Distributed under the terms of the GNU General Public License v2 |
140 |
+# $Id$ |
141 |
+ |
142 |
+EAPI=5 |
143 |
+inherit eutils |
144 |
+ |
145 |
+DESCRIPTION="Nodebrain is a tool to monitor and do event correlation" |
146 |
+HOMEPAGE="http://nodebrain.sourceforge.net/" |
147 |
+SRC_URI="mirror://sourceforge/nodebrain/nodebrain-${PV}.tar.gz" |
148 |
+ |
149 |
+LICENSE="MIT" |
150 |
+SLOT="0" |
151 |
+KEYWORDS="~amd64 ~ppc ~x86" |
152 |
+IUSE="static-libs" |
153 |
+ |
154 |
+CDEPEND="dev-libs/libedit" |
155 |
+DEPEND=" |
156 |
+ ${CDEPEND} |
157 |
+ dev-lang/perl |
158 |
+ virtual/pkgconfig |
159 |
+ sys-apps/texinfo |
160 |
+" |
161 |
+RDEPEND=" |
162 |
+ ${CDEPEND} |
163 |
+ !sys-boot/netboot |
164 |
+ !www-apps/nanoblogger |
165 |
+" |
166 |
+ |
167 |
+src_prepare() { |
168 |
+ epatch "${FILESDIR}"/${PN}-0.8.14-include.patch |
169 |
+} |
170 |
+ |
171 |
+src_configure() { |
172 |
+ econf \ |
173 |
+ $(use_enable static-libs static) \ |
174 |
+ --include=/usr/include |
175 |
+} |
176 |
+ |
177 |
+src_install() { |
178 |
+ default |
179 |
+ use static-libs || prune_libtool_files |
180 |
+ dodoc AUTHORS NEWS README THANKS sample/* |
181 |
+ dohtml html/* |
182 |
+} |