ports/64728 New port: net-mgmt/sdig Find which switch/router a given host is on

Russell Jackson rjackson at cserv62.csub.edu
Sat Mar 27 03:00:53 UTC 2004


The following reply was made to PR ports/64728; it has been noted by GNATS.

From: Russell Jackson <rjackson at cserv62.csub.edu>
To: freebsd-gnats-submit at 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 18:51:32 -0800

 --7JfCtLOvnd9MIVvH
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 I realized there was a new version out soon after subitting the port
 
 New shar included.
 
 -- 
 Russell A. Jackson (rjackson at cserv62.csub.edu)
 
 --7JfCtLOvnd9MIVvH
 Content-Type: application/x-shar
 Content-Disposition: attachment; filename="sdig.shar"
 Content-Transfer-Encoding: quoted-printable
 
 # This is a shell archive.  Save it in a file, remove anything before=0A# t=
 his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
 e directories; files and directories will be owned by you and=0A# have defa=
 ult permissions.=0A#=0A# This archive contains:=0A#=0A#	.=0A#	./files=0A#	.=
 /files/patch-Makefile.in=0A#	./Makefile=0A#	./pkg-plist=0A#	./distinfo=0A#	=
 ./pkg-descr=0A#=0Aecho c - .=0Amkdir -p . > /dev/null 2>&1=0Aecho c - ./fil=
 es=0Amkdir -p ./files > /dev/null 2>&1=0Aecho x - ./files/patch-Makefile.in=
 =0Ased 's/^X//' >./files/patch-Makefile.in << 'END-of-./files/patch-Makefil=
 e.in'=0AX--- Makefile.in.orig	Fri Apr  4 08:35:54 2003=0AX+++ Makefile.in	T=
 hu Mar 25 13:36:34 2004=0AX@@ -9,8 +9,8 @@=0AX MANDIR	=3D $(DESTDIR)@mandir=
 @=0AX =0AX # other definitions=0AX-CC	=3D @CC@=0AX-CFLAGS	=3D -Iinclude -O2=
  -Wall # -g -static=0AX+CC	?=3D @CC@=0AX+CFLAGS	+=3D -Iinclude -I/usr/local=
 /include =0AX =0AX INSTALLCMD       =3D @INSTALL@=0AX INSTALLMODE_BIN	 =3D =
 0755=0AX@@ -32,6 +32,9 @@=0AX 	$(CC) $(CFLAGS) -o sdig sdig.o common.o snmp=
 get.o \=0AX 	$(NETSNMP_LIBS)=0AX =0AX+snmpget.o: snmpget.c=0AX+	$(CC) $(CFL=
 AGS) -c snmpget.c=0AX+=0AX clean:=0AX 	rm -f $(PROGS) *.o=0AX =0AX@@ -49,12=
  +52,7 @@=0AX =0AX install-conf:=0AX 	./install-sh -d $(CONFDIR)=0AX-	@if (=
  test -f $(CONFDIR)/sdig.conf ) \=0AX-	then \=0AX-		echo Not replacing exis=
 ting file: $(CONFDIR)/sdig.conf; \=0AX-	else \=0AX-		$(INSTALLCMD) -m $(INS=
 TALLMODE_CONF) sdig.conf $(CONFDIR); \=0AX-	fi=0AX+	$(INSTALLCMD) -m $(INST=
 ALLMODE_CONF) sdig.conf $(CONFDIR)/sdig.conf-sample=0AX =0AX install-man:=
 =0AX 	./install-sh -d $(MANDIR)/man5=0AEND-of-./files/patch-Makefile.in=0Ae=
 cho x - ./Makefile=0Ased 's/^X//' >./Makefile << 'END-of-./Makefile'=0AX# N=
 ew ports collection makefile for: sdig=0AX# Date created: 25 May 2004=0AX# =
 Whom: Russell A. Jackson <rjackson at cserv62.csub.edu>=0AX#=0AX# $FreeBSD$=0A=
 X#=0AX=0AXPORTNAME=3D	sdig=0AXPORTVERSION=3D	0.40=0AXCATEGORIES=3D	net-mgmt=
 =0AXMASTER_SITES=3D	http://www.exploits.org/sdig/=0AX=0AXMAINTAINER=3D	rjac=
 kson at cserv62.csub.edu=0AXCOMMENT=3D	Find which switch/router port a given h=
 ost is on=0AX=0AXLIB_DEPENDS=3D	netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp:ins=
 tall=0AX=0AXUSE_GMAKE=3Dyes=0AXGNU_CONFIGURE=3Dyes=0AX=0AXMAN5=3D		sdig.con=
 f.5=0AXMAN8=3D		sdig.8=0AX=0AX.include <bsd.port.mk>=0AEND-of-./Makefile=0A=
 echo x - ./pkg-plist=0Ased 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'=0A=
 Xbin/sdig=0AXetc/sdig.conf-sample=0AEND-of-./pkg-plist=0Aecho x - ./distinf=
 o=0Ased 's/^X//' >./distinfo << 'END-of-./distinfo'=0AXMD5 (sdig-0.40.tar.g=
 z) =3D 60132d49076f0e51d7cccc99cb72b7f4=0AXSIZE (sdig-0.40.tar.gz) =3D 7262=
 3=0AEND-of-./distinfo=0Aecho x - ./pkg-descr=0Ased 's/^X//' >./pkg-descr <<=
  'END-of-./pkg-descr'=0AXThis program is designed to track down computers t=
 o the finest level of=0AXinformation available at the moment. Sometimes thi=
 s can mean an exact=0AXdescription of a port in a building anywhere in an e=
 nterprise. Other=0AXtimes this may just be a vague notion of a faraway netw=
 ork. The results=0AXare only as good as the data you feed to it.=0AX=0AXWWW=
 : http://www.exploits.org/sdig=0AX=0AX- Russell A. Jackson=0AXrjackson at cser=
 v62.csub.edu=0AEND-of-./pkg-descr=0Aexit=0A=0A
 --7JfCtLOvnd9MIVvH--



More information about the freebsd-ports-bugs mailing list