From owner-freebsd-ports Sun Jul 14 7:30:15 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 98E1337B408 for ; Sun, 14 Jul 2002 07:30:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C5E43E65 for ; Sun, 14 Jul 2002 07:30:04 -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 g6EEU4JU036313 for ; Sun, 14 Jul 2002 07:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6EEU4LH036312; Sun, 14 Jul 2002 07:30:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5C4837B400 for ; Sun, 14 Jul 2002 07:24:51 -0700 (PDT) Received: from freebsdcluster.org (freebsdcluster.dk [195.184.98.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id D255A43E65 for ; Sun, 14 Jul 2002 07:24:50 -0700 (PDT) (envelope-from mich@freebsdcluster.org) Received: by freebsdcluster.org (Postfix, from userid 1001) id 71016AC70B; Sun, 14 Jul 2002 16:24:44 +0200 (CEST) Message-Id: <20020714142444.71016AC70B@freebsdcluster.org> Date: Sun, 14 Jul 2002 16:24:44 +0200 (CEST) From: "Michael L.Hostbaek" Reply-To: "Michael L.Hostbaek" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40551: Update port: [Maintainer update]: 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: 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 +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