Kill ntop; old, busted and using bad practices.

Upstream ntop-ng is a completely different beast, our version is
unmaintained.

Discussed with and ok sthen@
This commit is contained in:
jca 2015-04-21 11:59:04 +00:00
parent 23aefe4e44
commit 38687c1807
9 changed files with 5 additions and 73 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.219 2015/04/15 09:40:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.220 2015/04/21 11:59:04 jca Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-2.65
PKGNAME = quirks-2.66
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.228 2015/04/15 09:40:16 ajacoutot Exp $
# $OpenBSD: Quirks.pm,v 1.229 2015/04/21 11:59:04 jca Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -517,6 +517,7 @@ my $obsolete_reason = {
'moovida-plugins-bad' => 3,
'moovida-plugins-good' => 3,
'moovida-plugins-ugly' => 3,
'ntop' => 2,
};
# ->is_base_system($handle, $state):

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.899 2015/04/17 18:39:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.900 2015/04/21 11:59:04 jca Exp $
SUBDIR =
SUBDIR += GeoIP
@ -276,7 +276,6 @@
SUBDIR += nsping
SUBDIR += nssl
SUBDIR += ntimed
SUBDIR += ntop
SUBDIR += ntp
SUBDIR += nylon
SUBDIR += ocserv

View File

@ -1,30 +0,0 @@
# $OpenBSD: Makefile,v 1.36 2015/02/16 22:57:11 naddy Exp $
COMMENT= network usage, interface similar to top(1)
DISTNAME= ntop-1.1
REVISION= 2
DISTFILES= ${DISTNAME}-src.tar.gz
CATEGORIES= net
MASTER_SITES= ftp://totem.fix.no/pub/mirrors/misc/
HOMEPAGE= http://www.ntop.org/
# NTOP LICENSE (see COPYING in WRKSRC)
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c ncurses pcap pthread
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-lsof
ALL_TARGET=
INSTALL_TARGET= install install-man
NO_TEST= Yes
post-install:
@chmod 700 ${PREFIX}/sbin/ntop
@strip ${PREFIX}/sbin/ntop
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (ntop-1.1-src.tar.gz) = hRz4c5r+hnQqVbw2Yk2zkZPWpFR78j3WXrbOqZE0CVg=
SIZE (ntop-1.1-src.tar.gz) = 220950

View File

@ -1,11 +0,0 @@
--- configure.orig Tue Aug 15 15:08:53 2000
+++ configure Tue Aug 15 15:09:18 2000
@@ -676,7 +676,7 @@
:
fi
- V_CCOPT="-O"
+ V_CCOPT=""
V_INCLS=""
if test "${srcdir}" != "." ; then
V_INCLS="-I\$\(srcdir\)"

View File

@ -1,18 +0,0 @@
--- ntop.c.orig Tue Aug 15 15:12:47 2000
+++ ntop.c Tue Aug 15 15:13:47 2000
@@ -325,13 +325,8 @@
break;
case 'w':
- if(!isdigit(optarg[0])) {
- printf("FATAL ERROR: flag -w expects a numeric argument.\n");
- exit(-1);
- }
- webMode++;
- webPort = atoi(optarg);
- break;
+ fprintf(stderr, "-w mode is disabled for security reasons.\n");
+ exit(-1);
default:
usage(0);

View File

@ -1,2 +0,0 @@
ntop is a tool that shows the network usage, similar to what the popular top
Unix command does. ntop is based on libpcap.

View File

@ -1,5 +0,0 @@
@comment $OpenBSD: PLIST,v 1.5 2014/01/23 17:21:26 espie Exp $
@man man/man8/ntop.8
@mode 0700
@owner root
@bin sbin/ntop