From owner-freebsd-ports Mon Aug 10 18:50:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA10585 for freebsd-ports-outgoing; Mon, 10 Aug 1998 18:50:09 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA10548 for ; Mon, 10 Aug 1998 18:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA27056; Mon, 10 Aug 1998 18:50:01 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA10098; Mon, 10 Aug 1998 18:44:08 -0700 (PDT) (envelope-from nobody) Message-Id: <199808110144.SAA10098@hub.freebsd.org> Date: Mon, 10 Aug 1998 18:44:08 -0700 (PDT) From: billf@jade.chc-chimes.com To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/7566: [re]submission of new port: net/ntop Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7566 >Category: ports >Synopsis: [re]submission of new port: net/ntop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 10 18:50:01 PDT 1998 >Last-Modified: >Originator: Bill Fumerola >Organization: Computer Horizons Corp >Release: FreeBSD jade.chc-chimes.com 2.2.7-STABLE >Environment: FreeBSD jade.chc-chimes.com 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Mon Aug 10 14:34:07 EDT 1998 billf@jade.chc-chimes.com:/usr/cvs-update/src/sys/compile/JADED i386 >Description: shar follows. I still had to use most of my old patches because for some reason they still try to include headers that aren't installed and aren't needed. next release they should make some sort of #ifdef. Also for some ungodly reason they include /usr/5include and they try and usr /usr/5lib as a libdir. perhaps it's just my lack of knowledge of C, but WTF are they trying to do. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./files # ./files/md5 # ./pkg # ./pkg/COMMENT # ./pkg/DESCR # ./pkg/PLIST # ./patches # ./patches/patch-aa # ./patches/patch-ab # ./patches/patch-ac # ./patches/patch-ad # ./patches/patch-ae # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: ntop X# Version required: 0.2.2 X# Date created: 10 August 1998 X# Whom: Bill Fumerola X# X# $Id: $ X# X XDISTNAME= ntop-0.4-src XPKGNAME= ntop-0.4 XCATEGORIES= net XMASTER_SITES= http://jake.unipi.it/~deri/ntop/ X XMAINTAINER= billf@chc-chimes.com X XWRKSRC= ${WRKDIR}/${PKGNAME} XUSE_AUTOCONF= yes XALL_TARGET= X Xpost-install: X X strip ${PREFIX}/sbin/ntop X X.include END-of-./Makefile echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/md5 sed 's/^X//' >./files/md5 << 'END-of-./files/md5' XMD5 (ntop-0.4-src.tar.gz) = 6867ac4fd7390de478ce0c401c11e23e END-of-./files/md5 echo c - ./pkg mkdir -p ./pkg > /dev/null 2>&1 echo x - ./pkg/COMMENT sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT' Xshows the network usage, with an interface similar to top(1) END-of-./pkg/COMMENT echo x - ./pkg/DESCR sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR' Xntop is a tool that shows the network usage, similar to what the popular top XUnix command does. ntop is based on pcapture X Xhttp://jake.unipi.it/~deri/ntop/ X XBill Fumerola END-of-./pkg/DESCR echo x - ./pkg/PLIST sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST' Xsbin/ntop END-of-./pkg/PLIST echo c - ./patches mkdir -p ./patches > /dev/null 2>&1 echo x - ./patches/patch-aa sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' X--- ntop.h.old Mon Aug 10 21:17:29 1998 X+++ ntop.h Mon Aug 10 21:17:50 1998 X@@ -38,7 +38,9 @@ X #include X #include X #include X+/* X #include X+*/ X #include X #include X END-of-./patches/patch-aa echo x - ./patches/patch-ab sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab' X--- interface.h.old Mon Aug 10 21:18:53 1998 X+++ interface.h Mon Aug 10 21:19:12 1998 X@@ -25,8 +25,9 @@ X * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. X */ X X- X+/* X #include X+*/ X #ifdef HAVE_OS_PROTO_H X #include "os-proto.h" X #endif END-of-./patches/patch-ab echo x - ./patches/patch-ac sed 's/^X//' >./patches/patch-ac << 'END-of-./patches/patch-ac' X--- setsignal.c.old Mon Aug 10 21:20:09 1998 X+++ setsignal.c Mon Aug 10 21:20:31 1998 X@@ -40,7 +40,9 @@ X #include X #endif X X+/* X #include X+*/ X #ifdef HAVE_OS_PROTO_H X #include "os-proto.h" X #endif END-of-./patches/patch-ac echo x - ./patches/patch-ad sed 's/^X//' >./patches/patch-ad << 'END-of-./patches/patch-ad' X--- Makefile.in.old Mon Aug 10 21:23:13 1998 X+++ Makefile.in Mon Aug 10 21:23:39 1998 X@@ -38,17 +38,17 @@ X CC = @CC@ X PROG = ntop X CCOPT = @V_CCOPT@ X-INCLS = -I. -I/usr/5include @V_INCLS@ X+INCLS = -I. -I/usr/include @V_INCLS@ X DEFS = @DEFS@ X X # Standard CFLAGS X CFLAGS = $(CCOPT) $(DEFS) $(INCLS) X X # Standard LDFLAGS X-LDFLAGS = @LDFLAGS@ -L/usr/5lib X+LDFLAGS = @LDFLAGS@ -L/usr/lib X X # Standard LIBS X-LIBS = @LIBS@ X+LIBS = @LIBS@ -lncurses X X INSTALL = @INSTALL@ X END-of-./patches/patch-ad echo x - ./patches/patch-ae sed 's/^X//' >./patches/patch-ae << 'END-of-./patches/patch-ae' X--- ntop.c.old Mon Aug 10 21:25:09 1998 X+++ ntop.c Mon Aug 10 21:25:44 1998 X@@ -298,11 +298,11 @@ X usage() X { X extern char version[]; X- extern char pcap_version[]; X+/* extern char pcap_version[]; */ X X (void)fprintf(stderr, "%s v.%s for %s\n", program_name, X version, osName); X- (void)fprintf(stderr, "[libpcap version %s]\n", pcap_version); X+/* (void)fprintf(stderr, "[libpcap version %s]\n", pcap_version); */ X (void)fprintf(stderr, "Written by %s.\n", author); X (void)fprintf(stderr, "\nUsage: %s [-r (refresh time [default 3 secs]]\n\t" X " [-n (numeric IP addresses)]\n\t" END-of-./patches/patch-ae exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message