Date: Sun, 14 Jul 2002 16:24:44 +0200 (CEST) From: "Michael L.Hostbaek" <mich@freebsdcluster.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40551: Update port: [Maintainer update]: net/cdpr Message-ID: <20020714142444.71016AC70B@freebsdcluster.org>
next in thread | raw e-mail | index | archive | help
>Number: 40551 >Category: ports >Synopsis: Update port: [Maintainer update]: net/cdpr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 14 07:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Michael L. Hostbaek >Release: FreeBSD 4.6-STABLE i386 >Organization: FreeBSDCluster.org >Environment: System: FreeBSD freebsdcluster.dk 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 6 13:54:50 CEST 2002 root@freebsdcluster.dk:/space1/usr-linked/obj/space1/usr-linked/src/sys/COP_KERNEL_1 i386 >Description: Port updated to latest version. >How-To-Repeat: >Fix: diff -u -ruN cdpr.bak/Makefile cdpr/Makefile --- cdpr.bak/Makefile Sun Jul 14 16:09:37 2002 +++ cdpr/Makefile Sun Jul 14 16:10:16 2002 @@ -7,7 +7,7 @@ # PORTNAME= cdpr -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.4 CATEGORIES= net MASTER_SITES= http://www.monkeymental.com/mmfiles/ \ ${MASTER_SITE_LOCAL} diff -u -ruN cdpr.bak/distinfo cdpr/distinfo --- cdpr.bak/distinfo Sun Jul 14 16:09:37 2002 +++ cdpr/distinfo Sun Jul 14 16:13:03 2002 @@ -1 +1 @@ -MD5 (cdpr-1.0.2.tgz) = 1e863e357add0ea4fc5e28f8d151401a +MD5 (cdpr-1.0.4.tgz) = 040e0bc584ac3e003ba559e6c3711baf diff -u -ruN cdpr.bak/files/patch-aa cdpr/files/patch-aa --- cdpr.bak/files/patch-aa Sun Jul 14 16:09:37 2002 +++ cdpr/files/patch-aa Thu Jan 1 01:00:00 1970 @@ -1,14 +0,0 @@ ---- cdpr.c.orig Tue Jul 2 09:18:44 2002 -+++ cdpr.c Wed Jul 3 13:07:38 2002 -@@ -452,7 +452,10 @@ - - /* Get the next packet that comes in, we only need one */ - printf("Waiting for CDP advertisement, default config is to transmit CDP packets every 60 seconds\n"); -- packet = pcap_next(handle, &header); -+ do -+ { -+ packet = pcap_next(handle, &header); -+ } while (!packet); - - /* Print its length */ - if(verbose > 0) diff -u -ruN cdpr.bak/files/patch-ab cdpr/files/patch-ab --- cdpr.bak/files/patch-ab Sun Jul 14 16:09:37 2002 +++ cdpr/files/patch-ab Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- cdpr.c.orig 2002-07-09 21:13:43.000000000 -0700 -+++ cdpr.c 2002-07-09 21:12:33.000000000 -0700 -@@ -437,7 +437,7 @@ - pcap_lookupnet(dev, &net, &mask, errbuf); - - /* Open the pcap device */ -- if((handle = pcap_open_live(dev, BUFSIZ, 1, 0, errbuf)) == NULL) -+ if((handle = pcap_open_live(dev, BUFSIZ, 1, 1, errbuf)) == NULL) - { - printf("Error opening device (%s)\n", errbuf); - exit(1); diff -u -ruN cdpr.bak/pkg-descr cdpr/pkg-descr --- cdpr.bak/pkg-descr Sun Jul 14 16:09:37 2002 +++ cdpr/pkg-descr Sun Jul 14 16:12:35 2002 @@ -5,5 +5,8 @@ a machine is connected to. This is done by capturing and decoding a Cisco Discovery Protocol (CDP) packet. +AUTHOR: Lance O'Connor <lance@monkeymental.com> +WWW: http://www.monkeymental.com/nuke/ + - Michael L. Hostbaek mich@freebsdcluster.org >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?20020714142444.71016AC70B>