From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 26 21:30:09 2004 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 D31B216A4CE for ; Fri, 26 Mar 2004 21:30:09 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C71BE43D2D for ; Fri, 26 Mar 2004 21:30:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2R5U9bv026882 for ; Fri, 26 Mar 2004 21:30:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2R5U9Bs026881; Fri, 26 Mar 2004 21:30:09 -0800 (PST) (envelope-from gnats) Date: Fri, 26 Mar 2004 21:30:09 -0800 (PST) Message-Id: <200403270530.i2R5U9Bs026881@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Russell Jackson Subject: Re: ports/64728 New port: net-mgmt/sdig Find which switch/router a given host is on X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Russell Jackson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 05:30:10 -0000 The following reply was made to PR ports/64728; it has been noted by GNATS. From: Russell Jackson To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/64728 New port: net-mgmt/sdig Find which switch/router a given host is on Date: Fri, 26 Mar 2004 21:22:17 -0800 Looks like gnats doesn't like MIME attachments # 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: # # . # ./files # ./files/patch-Makefile.in # ./Makefile # ./pkg-plist # ./distinfo # ./pkg-descr # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-Makefile.in sed 's/^X//' >./files/patch-Makefile.in << 'END-of-./files/patch-Makefile.in' X--- Makefile.in.orig Fri Apr 4 08:35:54 2003 X+++ Makefile.in Thu Mar 25 13:36:34 2004 X@@ -9,8 +9,8 @@ X MANDIR = $(DESTDIR)@mandir@ X X # other definitions X-CC = @CC@ X-CFLAGS = -Iinclude -O2 -Wall # -g -static X+CC ?= @CC@ X+CFLAGS += -Iinclude -I/usr/local/include X X INSTALLCMD = @INSTALL@ X INSTALLMODE_BIN = 0755 X@@ -32,6 +32,9 @@ X $(CC) $(CFLAGS) -o sdig sdig.o common.o snmpget.o \ X $(NETSNMP_LIBS) X X+snmpget.o: snmpget.c X+ $(CC) $(CFLAGS) -c snmpget.c X+ X clean: X rm -f $(PROGS) *.o X X@@ -49,12 +52,7 @@ X X install-conf: X ./install-sh -d $(CONFDIR) X- @if ( test -f $(CONFDIR)/sdig.conf ) \ X- then \ X- echo Not replacing existing file: $(CONFDIR)/sdig.conf; \ X- else \ X- $(INSTALLCMD) -m $(INSTALLMODE_CONF) sdig.conf $(CONFDIR); \ X- fi X+ $(INSTALLCMD) -m $(INSTALLMODE_CONF) sdig.conf $(CONFDIR)/sdig.conf-sample X X install-man: X ./install-sh -d $(MANDIR)/man5 END-of-./files/patch-Makefile.in echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: sdig X# Date created: 25 May 2004 X# Whom: Russell A. Jackson X# X# $FreeBSD$ X# X XPORTNAME= sdig XPORTVERSION= 0.40 XCATEGORIES= net-mgmt XMASTER_SITES= http://www.exploits.org/sdig/ X XMAINTAINER= rjackson@cserv62.csub.edu XCOMMENT= Find which switch/router port a given host is on X XLIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp:install X XUSE_GMAKE=yes XGNU_CONFIGURE=yes X XMAN5= sdig.conf.5 XMAN8= sdig.8 X X.include END-of-./Makefile echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xbin/sdig Xetc/sdig.conf-sample END-of-./pkg-plist echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (sdig-0.40.tar.gz) = 60132d49076f0e51d7cccc99cb72b7f4 XSIZE (sdig-0.40.tar.gz) = 72623 END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XThis program is designed to track down computers to the finest level of Xinformation available at the moment. Sometimes this can mean an exact Xdescription of a port in a building anywhere in an enterprise. Other Xtimes this may just be a vague notion of a faraway network. The results Xare only as good as the data you feed to it. X XWWW: http://www.exploits.org/sdig X X- Russell A. Jackson Xrjackson@cserv62.csub.edu END-of-./pkg-descr exit -- Russell A. Jackson (rjackson@cserv62.csub.edu)