Bug 64728 - New port: net-mgmt/sdig Find which switch/router port a given host is on
Summary: New port: net-mgmt/sdig Find which switch/router port a given host is on
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 21:10 UTC by Russell Jackson
Modified: 2004-03-28 14:34 UTC (History)
0 users

See Also:


Attachments
file.shar (4.28 KB, text/plain)
2004-03-25 21:10 UTC, Russell Jackson
no flags Details
sdig.shar (2.97 KB, application/x-shar)
2004-03-27 02:51 UTC, Russell Jackson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Jackson 2004-03-25 21:10:14 UTC
Find which switch/router port a given host is on
Comment 1 Russell Jackson 2004-03-27 02:51:32 UTC
I realized there was a new version out soon after subitting the port

New shar included.

-- 
Russell A. Jackson (rjackson@cserv62.csub.edu)
Comment 2 Russell Jackson 2004-03-27 05:22:17 UTC
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 <rjackson@cserv62.csub.edu>
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 <bsd.port.mk>
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)
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-28 14:33:56 UTC
State Changed
From-To: open->closed

New port added, thanks!