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
This commit is contained in:
agc 2002-07-23 11:34:00 +00:00
parent 9695ef0747
commit e6013e4274
2 changed files with 34 additions and 0 deletions

5
net/ntop2/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2002/07/23 11:34:00 agc Exp $
SHA1 (ntop-2.1.tar.gz) = e99cd319064d9faa6079914e989703fcc38232c0
Size (ntop-2.1.tar.gz) = 1948860 bytes
SHA1 (patch-aa) = 27e1922ba1e517dc31219a5d4302dcffe038a101

View file

@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.1.1.1 2002/07/23 11:34:00 agc Exp $
The ac_mysql variable really means "ac_disable_mysql"
Remove an extraneous ','
--- configure 2002/07/23 10:17:28 1.1
+++ configure 2002/07/23 10:17:52
@@ -2475,9 +2475,9 @@
# Check whether --enable-mysql or --disable-mysql was given.
if test "${enable_mysql+set}" = set; then
enableval="$enable_mysql"
- ac_mysql="yes"
-else
ac_mysql="no"
+else
+ ac_mysql="yes"
fi
@@ -2909,7 +2909,7 @@
#include "confdefs.h"
# include <sys/types.h>
-# include <netinet/in.h>,
+# include <netinet/in.h>
#include <netinet/in_systm.h>
# include <sys/socket.h>
# include <netinet/ip.h>