Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 18:40:39 +0200 (SAST)
From:      Matthew West <mwest@uct.ac.za>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40154: New port: net/cdpr
Message-ID:  <200207031640.g63GedFK020967@casper.cs.uct.ac.za>

next in thread | raw e-mail | index | archive | help

>Number:         40154
>Category:       ports
>Synopsis:       New port: net/cdpr
>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:   Wed Jul 03 09:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matthew West
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
University of Cape Town
>Environment:

>Description:
A small utility to decode a Cisco Discovery Protocol (CDP) packet.  It
will report the device ID, device IP address and the port number that
the machine is connected to.  Optionally, it will decode the entire
CDP packet.

WWW: http://www.monkeymental.com/

>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:
#
#	cdpr
#	cdpr/Makefile
#	cdpr/distinfo
#	cdpr/pkg-comment
#	cdpr/pkg-descr
#	cdpr/pkg-plist
#
echo c - cdpr
mkdir -p cdpr > /dev/null 2>&1
echo x - cdpr/Makefile
sed 's/^X//' >cdpr/Makefile << 'END-of-cdpr/Makefile'
X# New ports collection makefile for:	cdpr
X# Date created:		3 July 2002
X# Whom:			mwest@uct.ac.za
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cdpr
XPORTVERSION=	1.0.2
XCATEGORIES=	net
XMASTER_SITES=	http://www.monkeymental.com/mmfiles/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	mwest@uct.ac.za
X
XUSE_REINPLACE=	yes
X
XALL_TARGET=
X
Xdo-patch:
X	@${REINPLACE_CMD} -e "s:-Wall -ggdb:${CFLAGS}:g" ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/cdpr ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/cdpr
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cdpr/README
X.endif
X
X.include <bsd.port.mk>
END-of-cdpr/Makefile
echo x - cdpr/distinfo
sed 's/^X//' >cdpr/distinfo << 'END-of-cdpr/distinfo'
XMD5 (cdpr-1.0.2.tgz) = 1e863e357add0ea4fc5e28f8d151401a
END-of-cdpr/distinfo
echo x - cdpr/pkg-comment
sed 's/^X//' >cdpr/pkg-comment << 'END-of-cdpr/pkg-comment'
XCisco Discovery Protocol Reporter
END-of-cdpr/pkg-comment
echo x - cdpr/pkg-descr
sed 's/^X//' >cdpr/pkg-descr << 'END-of-cdpr/pkg-descr'
XA small utility to decode a Cisco Discovery Protocol (CDP) packet.  It
Xwill report the device ID, device IP address and the port number that
Xthe machine is connected to.  Optionally, it will decode the entire
XCDP packet.
X
XWWW: http://www.monkeymental.com/
X
X-- 
Xmwest@uct.ac.za
END-of-cdpr/pkg-descr
echo x - cdpr/pkg-plist
sed 's/^X//' >cdpr/pkg-plist << 'END-of-cdpr/pkg-plist'
Xbin/cdpr
X%%PORTDOCS%%share/doc/cdpr/README
X%%PORTDOCS%%@dirrm share/doc/cdpr
END-of-cdpr/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207031640.g63GedFK020967>