aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-05-27 09:25:57 +0800
committeranders <anders@FreeBSD.org>2002-05-27 09:25:57 +0800
commitbfe5e52657e61165541199fe31665071cca880c3 (patch)
tree8a64221d6024cfb50ee01ce901daeb7bf4bbe84b /net
parent18e9e01ca1da68de21c67d99c618a36ec1321de3 (diff)
downloadfreebsd-ports-gnome-bfe5e52657e61165541199fe31665071cca880c3.tar.gz
freebsd-ports-gnome-bfe5e52657e61165541199fe31665071cca880c3.tar.zst
freebsd-ports-gnome-bfe5e52657e61165541199fe31665071cca880c3.zip
Add libdnet, a simplified, portable interface to low-level networking
routines. Complement to pcap. PR: 37118 Submitted by: Dominic Marks <dominic_marks@btinternet.com>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/libdnet/Makefile21
-rw-r--r--net/libdnet/distinfo1
-rw-r--r--net/libdnet/pkg-comment1
-rw-r--r--net/libdnet/pkg-descr10
-rw-r--r--net/libdnet/pkg-plist18
6 files changed, 52 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2bf9068bb229..738aa3a9003a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -213,6 +213,7 @@
SUBDIR += lam
SUBDIR += lambdamoo
SUBDIR += ldapsdk
+ SUBDIR += libdnet
SUBDIR += libfreenet
SUBDIR += libicq
SUBDIR += libicq2000
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
new file mode 100644
index 000000000000..e5f001d2b2b6
--- /dev/null
+++ b/net/libdnet/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: libdnet
+# Date created: 15 April 2002
+# Whom: Dominic Marks <dominic_marks@btinternet.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdnet
+PORTVERSION= 1.4
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= dominc_marks@btinternet.com
+
+GNU_CONFIGURE= yes
+
+MAN3= dnet.3
+MAN8= dnet.8
+
+.include <bsd.port.mk>
diff --git a/net/libdnet/distinfo b/net/libdnet/distinfo
new file mode 100644
index 000000000000..fcca79040d3f
--- /dev/null
+++ b/net/libdnet/distinfo
@@ -0,0 +1 @@
+MD5 (libdnet-1.4.tar.gz) = 6bbe2c99d8e9e8e750d1b695e6096094
diff --git a/net/libdnet/pkg-comment b/net/libdnet/pkg-comment
new file mode 100644
index 000000000000..50fc242a3c46
--- /dev/null
+++ b/net/libdnet/pkg-comment
@@ -0,0 +1 @@
+A simple interface to level networking routines
diff --git a/net/libdnet/pkg-descr b/net/libdnet/pkg-descr
new file mode 100644
index 000000000000..bebd9f04bb36
--- /dev/null
+++ b/net/libdnet/pkg-descr
@@ -0,0 +1,10 @@
+libdnet provides a simplified, portable interface to several low-level
+networking routines, including network address manipulation, kernel
+arp(4) cache and route(4) table lookup and manipulation, network
+firewalling, network interface lookup and manipulation, and raw IP
+packet and Ethernet frame transmission. It is intended to complement
+the functionality provided by pcap(3).
+
+WWW: http://libdnet.sourceforge.net/
+
+- Dominic <dominic_marks@btinternet.com>
diff --git a/net/libdnet/pkg-plist b/net/libdnet/pkg-plist
new file mode 100644
index 000000000000..5d31fa46b61f
--- /dev/null
+++ b/net/libdnet/pkg-plist
@@ -0,0 +1,18 @@
+bin/dnet-config
+sbin/dnet
+lib/libdnet.a
+include/dnet/addr.h
+include/dnet/arp.h
+include/dnet/blob.h
+include/dnet/eth.h
+include/dnet/fw.h
+include/dnet/icmp.h
+include/dnet/intf.h
+include/dnet/ip.h
+include/dnet/os.h
+include/dnet/rand.h
+include/dnet/route.h
+include/dnet/tcp.h
+include/dnet/udp.h
+include/dnet.h
+@dirrm include/dnet