Optionally disable threading; work around for PR#29323

This commit is contained in:
adam 2005-03-21 12:42:45 +00:00
parent dafb638d17
commit d78394063d
2 changed files with 10 additions and 8 deletions

View file

@ -1,15 +1,15 @@
ntop is a network traffic probe that shows the network usage, similar to what
the popular top Unix command does. ntop is based on libpcap and it has been
written in a portable way in order to virtually run on every Unix platform and
on Win32 as well.
on Win32 as well.
ntop users can use a web browser (e.g. netscape) to navigate through ntop (that
acts as a web server) traffic information and get a dump of the network status.
In the latter case, ntop 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
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)
make ntop easy to use and suitable for monitoring various kind of networks.

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2005/01/26 16:41:02 tv Exp $
# $NetBSD: Makefile,v 1.35 2005/03/21 12:42:45 adam Exp $
DISTNAME= ntop-3.1
PKGREVISION= 3
@ -32,15 +32,17 @@ CONFIGURE_ARGS+= --with-zlib-root=${BUILDLINK_PREFIX.zlib}
# ntop-3.x crashes with IPv6
CONFIGURE_ARGS+= --disable-ipv6
PTHREAD_OPTS+= require
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.8.3
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+= --disable-mt
.endif
.include "../../databases/gdbm/buildlink3.mk"
.include "../../graphics/gdchart/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/gdome2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"