summaryrefslogtreecommitdiff
path: root/net/ntopng/patches/patch-include_ntop__includes.h
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2016-04-08 16:59:07 +0000
committeradam <adam@pkgsrc.org>2016-04-08 16:59:07 +0000
commit583cb382761a25b729ee2102af72f27325a9a43c (patch)
treeefbc684a51dab23e4711cc5bd74ef3f0506c92ae /net/ntopng/patches/patch-include_ntop__includes.h
parentd57147d581a02c65dac0fc6f6184ff35bf437c24 (diff)
downloadpkgsrc-583cb382761a25b729ee2102af72f27325a9a43c.tar.gz
ntopng is the next generation version of the original ntop, a network traffic
probe that shows the network usage, similar to what the popular top Unix command does. ntopng is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Windows as well. ntopng users can use a a web browser to navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. In the latter case, ntopng can be seen as a simple RMON-like agent with an embedded web interface. The use of: * a web interface. * limited configuration and administration via the web interface. * reduced CPU and memory usage (they vary according to network size and traffic)
Diffstat (limited to 'net/ntopng/patches/patch-include_ntop__includes.h')
-rw-r--r--net/ntopng/patches/patch-include_ntop__includes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ntopng/patches/patch-include_ntop__includes.h b/net/ntopng/patches/patch-include_ntop__includes.h
new file mode 100644
index 00000000000..1daabc3e1db
--- /dev/null
+++ b/net/ntopng/patches/patch-include_ntop__includes.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_ntop__includes.h,v 1.1 2016/04/08 16:59:07 adam Exp $
+
+Add NetBSD support.
+
+--- include/ntop_includes.h.orig 2016-04-04 12:57:38.000000000 +0000
++++ include/ntop_includes.h
+@@ -43,7 +43,7 @@
+ #include <arpa/inet.h>
+ #include <poll.h>
+
+-#if defined(__OpenBSD__)
++#if defined(__NetBSD__) || defined(__OpenBSD__)
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>