From owner-freebsd-ports Wed Jul 3 9:50:18 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB1B837B400 for ; Wed, 3 Jul 2002 09:50:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8160F43E31 for ; Wed, 3 Jul 2002 09:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g63Go3JU017082 for ; Wed, 3 Jul 2002 09:50:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g63Go3Hd017081; Wed, 3 Jul 2002 09:50:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174F737B4A9 for ; Wed, 3 Jul 2002 09:43:20 -0700 (PDT) Received: from casper.cs.uct.ac.za (casper.cs.uct.ac.za [137.158.96.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 397DD43E42 for ; Wed, 3 Jul 2002 09:43:18 -0700 (PDT) (envelope-from mwest@casper.cs.uct.ac.za) Received: from casper.cs.uct.ac.za (localhost [127.0.0.1]) by casper.cs.uct.ac.za (8.12.3/8.12.3) with ESMTP id g63GedoC020968 for ; Wed, 3 Jul 2002 18:40:39 +0200 (SAST) (envelope-from mwest@casper.cs.uct.ac.za) Received: (from mwest@localhost) by casper.cs.uct.ac.za (8.12.3/8.12.3/Submit) id g63GedFK020967; Wed, 3 Jul 2002 18:40:39 +0200 (SAST) Message-Id: <200207031640.g63GedFK020967@casper.cs.uct.ac.za> Date: Wed, 3 Jul 2002 18:40:39 +0200 (SAST) From: Matthew West Reply-To: Matthew West To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40154: New port: net/cdpr Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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