From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 23 07:00:26 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCAD937B404 for ; Wed, 23 Apr 2003 07:00:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 106E343FBD for ; Wed, 23 Apr 2003 07:00:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3NE0PUp080419 for ; Wed, 23 Apr 2003 07:00:25 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3NE0PC9080417; Wed, 23 Apr 2003 07:00:25 -0700 (PDT) Resent-Date: Wed, 23 Apr 2003 07:00:25 -0700 (PDT) Resent-Message-Id: <200304231400.h3NE0PC9080417@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kirill Ponomarew Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0665337B401 for ; Wed, 23 Apr 2003 06:56:35 -0700 (PDT) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D3743FB1 for ; Wed, 23 Apr 2003 06:56:34 -0700 (PDT) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10) id 198Kjd-000Ndb-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 23 Apr 2003 15:56:29 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.10) id 198Kjr-00019C-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 23 Apr 2003 15:56:43 +0200 Message-Id: Date: Wed, 23 Apr 2003 15:56:43 +0200 From: Kirill Ponomarew Sender: krion To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/51310: New port: net/nast X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 14:00:27 -0000 >Number: 51310 >Category: ports >Synopsis: New port: net/nast >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 23 07:00:25 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-RELEASE i386 >Organization: Oberon.net >Environment: >Description: New port: net/nast Nast is a packet sniffer and a LAN analyzer based on Libnet and Libpcap. As analyzer tool, it has many features like: * Build LAN hosts list * Follow a TCP-DATA stream * Find LAN internet gateways * Discorver promiscous nodes * Reset an established connection * Perform a single half-open portscanner * Perform a multi half-open portscanner * Find link type (hub or switch) * Catch daemon banner of LAN nodes * Control arp answers to discover possible arp-spoofings * Byte couting with an optional filter * Write reports logging It also provides a ncurses menu. >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: # # net/nast/Makefile # net/nast/distinfo # net/nast/files # net/nast/pkg-descr # net/nast/pkg-plist # net/nast/files/patch-configure # echo x - net/nast/Makefile sed 's/^X//' >net/nast/Makefile << 'END-of-net/nast/Makefile' X# New ports collection makefile for: nast X# Date created: Sun Apr 6 10:12:16 CEST 2003 X# Whom: Kirill Ponomarew X# X# $FreeBSD$ X# X XPORTNAME= nast XPORTVERSION= 0.1.7d XCATEGORIES= net XMASTER_SITES= http://nast.berlios.de/src/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= ponomarew@oberon.net XCOMMENT= Nast is a packet sniffer X XBUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel XLIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config X XMAN8= nast.8 X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes X X.include X Xpre-everything:: X @${ECHO_MSG} "" X @${ECHO_MSG} ""####################################################### X @${ECHO_MSG} "" X @${ECHO_MSG} "You need /usr/ports/net/libnet-devel to build this port X @${ECHO_MSG} "" X @${ECHO_MSG} ""####################################################### X @${ECHO_MSG} "" X Xpost-patch: X @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/ X Xpost-install: X ${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME} X X.include END-of-net/nast/Makefile echo x - net/nast/distinfo sed 's/^X//' >net/nast/distinfo << 'END-of-net/nast/distinfo' XMD5 (nast-0.1.7d.tar.gz) = 9470ca94be6cd7a359212f1d5888b58e END-of-net/nast/distinfo echo c - net/nast/files mkdir -p net/nast/files > /dev/null 2>&1 echo x - net/nast/pkg-descr sed 's/^X//' >net/nast/pkg-descr << 'END-of-net/nast/pkg-descr' XNast is a packet sniffer and a LAN analyzer based on Libnet and Libpcap. XAs analyzer tool, it has many features like: X X * Build LAN hosts list X * Follow a TCP-DATA stream X * Find LAN internet gateways X * Discorver promiscous nodes X * Reset an established connection X * Perform a single half-open portscanner X * Perform a multi half-open portscanner X * Find link type (hub or switch) X * Catch daemon banner of LAN nodes X * Control arp answers to discover possible arp-spoofings X * Byte couting with an optional filter X * Write reports logging X XIt also provides a ncurses menu. X XWWW: http://nast.berlios.de END-of-net/nast/pkg-descr echo x - net/nast/pkg-plist sed 's/^X//' >net/nast/pkg-plist << 'END-of-net/nast/pkg-plist' Xbin/nast END-of-net/nast/pkg-plist echo x - net/nast/files/patch-configure sed 's/^X//' >net/nast/files/patch-configure << 'END-of-net/nast/files/patch-configure' X--- configure.orig Wed Apr 23 15:02:33 2003 X+++ configure Wed Apr 23 15:08:08 2003 X@@ -252,7 +252,7 @@ X # X # Initializations. X # X-ac_default_prefix=/usr/local X+ac_default_prefix=${PREFIX} X ac_config_libobj_dir=. X cross_compiling=no X subdirs= X@@ -273,7 +273,7 @@ X PACKAGE_BUGREPORT='embyte@madlab.it' X X ac_unique_file="main.c" X-ac_default_prefix=/usr/local X+ac_default_prefix=${PREFIX} X # Factoring default headers for most tests. X ac_includes_default="\ X #include X@@ -320,11 +320,11 @@ X # The variables have the same names as the options, with X # dashes changed to underlines. X cache_file=/dev/null X-exec_prefix=NONE X+exec_prefix=${PREFIX} X no_create= X no_recursion= X-prefix=NONE X-program_prefix=NONE X+prefix=${PREFIX} X+program_prefix=${PREFIX} X program_suffix=NONE X program_transform_name=s,x,x, X silent= X@@ -1157,7 +1157,7 @@ X # Let the site file select an alternate cache file if it wants to. X # Prefer explicitly selected file to automatically selected ones. X if test -z "$CONFIG_SITE"; then X- if test "x$prefix" != xNONE; then X+ if test "x$prefix" != x${PREFIX}; then X CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" X else X CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" X@@ -1430,17 +1430,6 @@ X echo "$as_me: WARNING: Your OS seems to be officially unsupported yet" >&2;} X ;; X esac X- X- X-################ X-# Setup prefix # X-################ X- X- X-if test "$prefix" = "NONE"; then X- prefix="/usr/local" X- fi X- X X ####################### X # Checks for compiler # END-of-net/nast/files/patch-configure exit >Release-Note: >Audit-Trail: >Unformatted: