From f29e2841d579d4e17efc0ce87d905da794b2681d Mon Sep 17 00:00:00 2001 From: pat Date: Sun, 14 Jul 2002 17:14:02 +0000 Subject: Update to 1.0.4 PR: 40551 Submitted by: maintainer --- net-mgmt/cdpr/Makefile | 4 ++-- net-mgmt/cdpr/distinfo | 2 +- net-mgmt/cdpr/files/patch-aa | 14 -------------- net-mgmt/cdpr/files/patch-ab | 11 ----------- net-mgmt/cdpr/pkg-descr | 3 +++ 5 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 net-mgmt/cdpr/files/patch-aa delete mode 100644 net-mgmt/cdpr/files/patch-ab (limited to 'net-mgmt/cdpr') diff --git a/net-mgmt/cdpr/Makefile b/net-mgmt/cdpr/Makefile index d05c5d822805..bfed19f6561c 100644 --- a/net-mgmt/cdpr/Makefile +++ b/net-mgmt/cdpr/Makefile @@ -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} @@ -19,7 +19,7 @@ MAINTAINER= mich@freebsdcluster.org USE_GCC= yes ALL_TARGET= cdpr -DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} diff --git a/net-mgmt/cdpr/distinfo b/net-mgmt/cdpr/distinfo index 3ae6341f2406..a1e9868fc026 100644 --- a/net-mgmt/cdpr/distinfo +++ b/net-mgmt/cdpr/distinfo @@ -1 +1 @@ -MD5 (cdpr-1.0.2.tgz) = 1e863e357add0ea4fc5e28f8d151401a +MD5 (cdpr-1.0.4.tgz) = 040e0bc584ac3e003ba559e6c3711baf diff --git a/net-mgmt/cdpr/files/patch-aa b/net-mgmt/cdpr/files/patch-aa deleted file mode 100644 index b8a15ef9e223..000000000000 --- a/net-mgmt/cdpr/files/patch-aa +++ /dev/null @@ -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 --git a/net-mgmt/cdpr/files/patch-ab b/net-mgmt/cdpr/files/patch-ab deleted file mode 100644 index 02091fff0929..000000000000 --- a/net-mgmt/cdpr/files/patch-ab +++ /dev/null @@ -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 --git a/net-mgmt/cdpr/pkg-descr b/net-mgmt/cdpr/pkg-descr index ce827dc3c673..4a3316b7fdae 100644 --- a/net-mgmt/cdpr/pkg-descr +++ b/net-mgmt/cdpr/pkg-descr @@ -5,5 +5,8 @@ help network/system administrators find out about the equipment that i 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 -- cgit