summaryrefslogtreecommitdiff
path: root/net/ntop2
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-23 11:36:01 +0000
committeragc <agc@pkgsrc.org>2002-07-23 11:36:01 +0000
commit55eec8a565d34e6dc1482e2299fb813ca627775e (patch)
tree37cac89cf606e211c8cb3d71512799acb1a22e1d /net/ntop2
parente6013e42748ffaecd066e53e6e9966703916382d (diff)
downloadpkgsrc-55eec8a565d34e6dc1482e2299fb813ca627775e.tar.gz
Import an ntop-2.1 package into the NetBSD Packages Collection as ntop2-2.1
This is an updated and cleaned up version of the older ntop2 package. ntop version 2 is a tool to sniff traffic on the network and display statistics about it. It has a built-in web server for displaying the results of the data it collects, and it can also generate data in various formats (such as NetFlow) to be passed on to other systems. Note that version 2 of ntop is significantly different from version 1. It is much larger and has many more features. If you're looking for a more light-weight tool, you may find that version 1 (the "ntop" package) suits you better. Differences from the previous version: + multi-threading has been enabled (it wouldn't compile otherwise) + dependencies have been specified properly + the Makefile has been cleaned up + two bugs in the configure script have been fixed + we now use a distfile that can be found + the homepage is the official ntop homepage + it appears that the editline emulation of GNU readline is sufficient
Diffstat (limited to 'net/ntop2')
-rw-r--r--net/ntop2/DESCR9
-rw-r--r--net/ntop2/Makefile33
-rw-r--r--net/ntop2/PLIST57
3 files changed, 99 insertions, 0 deletions
diff --git a/net/ntop2/DESCR b/net/ntop2/DESCR
new file mode 100644
index 00000000000..8efdc58c065
--- /dev/null
+++ b/net/ntop2/DESCR
@@ -0,0 +1,9 @@
+ntop version 2 is a tool to sniff traffic on the network and display
+statistics about it. It has a built-in web server for displaying the
+results of the data it collects, and it can also generate data in
+various formats (such as NetFlow) to be passed on to other systems.
+
+Note that version 2 of ntop is significantly different from version 1.
+It is much larger and has many more features. If you're looking for a
+more light-weight tool, you may find that version 1 (the "ntop" package)
+suits you better.
diff --git a/net/ntop2/Makefile b/net/ntop2/Makefile
new file mode 100644
index 00000000000..74206b7a54c
--- /dev/null
+++ b/net/ntop2/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.3 2002/07/23 11:36:01 agc Exp $
+
+DISTNAME= ntop-2.1
+PKGNAME= ntop2-2.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.ntop.org/
+COMMENT= shows network usage (similar to "top" for processes)
+
+CONFLICTS= ntop-[0-9]*
+
+WRKSRC= ${WRKDIR}/ntop
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+# --enable-micro-ntop causes compile to fail
+CONFIGURE_ARGS+= --disable-mysql
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+USE_BUILDLINK_ONLY= yes
+
+USE_PTHREAD= native pth
+
+.include "../../net/libpcap/buildlink.mk"
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../databases/gdbm/buildlink.mk"
+.include "../../devel/readline/buildlink.mk"
+.include "../../graphics/gdchart/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ntop2/PLIST b/net/ntop2/PLIST
new file mode 100644
index 00000000000..fb06aaa10cc
--- /dev/null
+++ b/net/ntop2/PLIST
@@ -0,0 +1,57 @@
+@comment $NetBSD: PLIST,v 1.3 2002/07/23 11:36:01 agc Exp $
+bin/intop
+bin/ntop
+bin/ntop-config
+lib/libicmpPlugin.a
+lib/libicmpPlugin.so
+lib/libicmpPlugin.so.0
+lib/libicmpPlugin.so.0.0
+lib/liblastSeenPlugin.a
+lib/liblastSeenPlugin.so
+lib/liblastSeenPlugin.so.0
+lib/liblastSeenPlugin.so.0.0
+lib/libnetflowPlugin.a
+lib/libnetflowPlugin.so
+lib/libnetflowPlugin.so.0
+lib/libnetflowPlugin.so.0.0
+lib/libnfsPlugin.a
+lib/libnfsPlugin.so
+lib/libnfsPlugin.so.0
+lib/libnfsPlugin.so.0.0
+lib/libntop-${PKGVERSION}.so
+lib/libntop-${PKGVERSION}.so.0
+lib/libntop-${PKGVERSION}.so.0.0
+lib/libntop.a
+lib/libntop.la
+lib/libntop.so
+lib/libntopreport-${PKGVERSION}.so
+lib/libntopreport-${PKGVERSION}.so.0
+lib/libntopreport-${PKGVERSION}.so.0.0
+lib/libntopreport.a
+lib/libntopreport.la
+lib/libntopreport.so
+lib/libpdaPlugin.a
+lib/libpdaPlugin.so
+lib/libpdaPlugin.so.0
+lib/libpdaPlugin.so.0.0
+lib/libsflowPlugin.a
+lib/libsflowPlugin.so
+lib/libsflowPlugin.so.0
+lib/libsflowPlugin.so.0.0
+lib/ntop/plugins/icmpPlugin.so
+lib/ntop/plugins/lastSeenPlugin.so
+lib/ntop/plugins/netflowPlugin.so
+lib/ntop/plugins/nfsPlugin.so
+lib/ntop/plugins/pdaPlugin.so
+lib/ntop/plugins/sflowPlugin.so
+man/man1/intop.1
+man/man8/ntop.8
+@dirrm share/ntop/html/statsicons/os
+@dirrm share/ntop/html/statsicons/flags
+@dirrm share/ntop/html/statsicons
+@dirrm share/ntop/html
+@dirrm share/ntop
+@exec ${MKDIR} %D/lib/plugins
+@dirrm lib/plugins
+@dirrm lib/ntop/plugins
+@dirrm lib/ntop