summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-14 02:17:49 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-14 02:17:49 +0000
commit8e72b58f8548c843117296b7742c9bedb4caf056 (patch)
tree001c64b0b249f40795373d4746951bd61e1f0608 /net
parentAdd dhcping 1.0, a program to send DHCP request to DHCP server (diff)
Add dhcpdump 1.0, a program to decode and diagnose sniffed
DHCP packets. PR: 25481 Submitted by: Edwin Groothuis (edwin@mavetju.org)
Notes
Notes: svn path=/head/; revision=39807
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/dhcpdump/Makefile22
-rw-r--r--net/dhcpdump/distinfo1
-rw-r--r--net/dhcpdump/pkg-comment1
-rw-r--r--net/dhcpdump/pkg-descr7
-rw-r--r--net/dhcpdump/pkg-plist1
6 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index cd0df6744767..9ec076bcd86f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -62,6 +62,7 @@
SUBDIR += dgd
SUBDIR += dgd-lpmud
SUBDIR += dgd-net
+ SUBDIR += dhcpdump
SUBDIR += dhcping
SUBDIR += dhid
SUBDIR += dhcpconf
diff --git a/net/dhcpdump/Makefile b/net/dhcpdump/Makefile
new file mode 100644
index 000000000000..c69db873be1e
--- /dev/null
+++ b/net/dhcpdump/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: dhcpdump
+# Date created: 1 March 2001
+# Whom: Edwin Groothuis (edwin@mavetju.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= dhcpdump
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://www.mavetju.org/download/
+
+MAINTAINER= edwin@mavetju.org
+
+MAN1= dhcpdump.1
+
+pre-build:
+ ${PERL} -pi -e "s@gcc@${CC}@g; \
+ s@-Wall -g@-Wall ${CFLAGS}@g; \
+ s@/usr/local@${PREFIX}@g" ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/net/dhcpdump/distinfo b/net/dhcpdump/distinfo
new file mode 100644
index 000000000000..b65c76416a2e
--- /dev/null
+++ b/net/dhcpdump/distinfo
@@ -0,0 +1 @@
+MD5 (dhcpdump-1.0.tar.gz) = 48b9ded6e8354423640a00260e200b2b
diff --git a/net/dhcpdump/pkg-comment b/net/dhcpdump/pkg-comment
new file mode 100644
index 000000000000..12a00eafb753
--- /dev/null
+++ b/net/dhcpdump/pkg-comment
@@ -0,0 +1 @@
+Decode and diagnose sniffed DHCP packets
diff --git a/net/dhcpdump/pkg-descr b/net/dhcpdump/pkg-descr
new file mode 100644
index 000000000000..c4874cd1c55e
--- /dev/null
+++ b/net/dhcpdump/pkg-descr
@@ -0,0 +1,7 @@
+This command parses the output of tcpdump to display the dhcp-packets
+for easier checking and debugging.
+
+WWW: http://www.mavetju.org
+
+- Edwin Groothuis
+edwin@mavetju.org
diff --git a/net/dhcpdump/pkg-plist b/net/dhcpdump/pkg-plist
new file mode 100644
index 000000000000..683c026e7cd2
--- /dev/null
+++ b/net/dhcpdump/pkg-plist
@@ -0,0 +1 @@
+bin/dhcpdump