aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cdpr
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-14 17:14:02 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-14 17:14:02 +0000
commit7e1fc3b6389ef1b8229efd163254332534503b08 (patch)
tree95c9914cbf4d1f100d357a21bf0e13654c734282 /net-mgmt/cdpr
parent6d0ca64b72be5ae15d68c5cbb1938dc7a23ff54b (diff)
downloadports-7e1fc3b6389ef1b8229efd163254332534503b08.tar.gz
ports-7e1fc3b6389ef1b8229efd163254332534503b08.zip
Notes
Diffstat (limited to 'net-mgmt/cdpr')
-rw-r--r--net-mgmt/cdpr/Makefile4
-rw-r--r--net-mgmt/cdpr/distinfo2
-rw-r--r--net-mgmt/cdpr/files/patch-aa14
-rw-r--r--net-mgmt/cdpr/files/patch-ab11
-rw-r--r--net-mgmt/cdpr/pkg-descr3
5 files changed, 6 insertions, 28 deletions
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 <lance@monkeymental.com>
+WWW: http://www.monkeymental.com/nuke/
+
- Michael L. Hostbaek
mich@freebsdcluster.org