aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-25 09:45:35 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-25 09:45:35 +0000
commit2c1455dfbf268e471aa1a41a9089bd97d1e5b009 (patch)
tree9d4b48160b2c27563ccc8f6b437c06cdb395aeb8 /net
parentc669d7c3e85f67d2d8ad6c220c348da7cb12ebf0 (diff)
downloadports-2c1455dfbf268e471aa1a41a9089bd97d1e5b009.tar.gz
ports-2c1455dfbf268e471aa1a41a9089bd97d1e5b009.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/ng_daphne/Makefile34
-rw-r--r--net/ng_daphne/distinfo2
-rw-r--r--net/ng_daphne/pkg-descr8
-rw-r--r--net/ng_daphne/pkg-message4
-rw-r--r--net/ng_daphne/pkg-plist3
6 files changed, 52 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 7ea958fb7288..5083b8e0f889 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -356,6 +356,7 @@
SUBDIR += netstrain
SUBDIR += nettest
SUBDIR += newsbot
+ SUBDIR += ng_daphne
SUBDIR += ng_netflow
SUBDIR += ngrep
SUBDIR += ngrep-lib
diff --git a/net/ng_daphne/Makefile b/net/ng_daphne/Makefile
new file mode 100644
index 000000000000..e01592c6946f
--- /dev/null
+++ b/net/ng_daphne/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: ng_daphne
+# Date created: 8 November 2003
+# Whom: Gerasimos Dimitriadis
+#
+# $FreeBSD$
+#
+
+PORTNAME= ng_daphne
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://newton.ee.auth.gr/ng_daphne/
+
+MAINTAINER= gedimitr@auth.gr
+COMMENT= A simple netgraph module for multihop ad hoc networks
+
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/src/sys/netgraph/netgraph.h)
+IGNORE= "Requires kernel source /usr/src/sys to build"
+.endif
+
+.if ${OSVERSION} < 500000
+IGNORE= "Requires new netgraph architecture ng_item to build"
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ng_daphne.ko ${PREFIX}/lib
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+post-install:
+ @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/net/ng_daphne/distinfo b/net/ng_daphne/distinfo
new file mode 100644
index 000000000000..798763639042
--- /dev/null
+++ b/net/ng_daphne/distinfo
@@ -0,0 +1,2 @@
+MD5 (ng_daphne-1.0.tar.gz) = cc4d4332670d8f44d1df25f64588446f
+SIZE (ng_daphne-1.0.tar.gz) = 13371
diff --git a/net/ng_daphne/pkg-descr b/net/ng_daphne/pkg-descr
new file mode 100644
index 000000000000..99c53c727ed7
--- /dev/null
+++ b/net/ng_daphne/pkg-descr
@@ -0,0 +1,8 @@
+ng_daphne is a FreeBSD netgraph kernel module which allows the easy
+creation of multihop ad hoc networks. ng_daphne employs the GSR
+(Global State Routing) algorithm with hardware addresses, in order to
+give the impression to upper layers that all network nodes are within
+one hop from each other.
+
+- Gerasimos Dimitriadis
+gedimitr@auth.gr
diff --git a/net/ng_daphne/pkg-message b/net/ng_daphne/pkg-message
new file mode 100644
index 000000000000..b576611551d9
--- /dev/null
+++ b/net/ng_daphne/pkg-message
@@ -0,0 +1,4 @@
+
+The ng_daphne.ko module has been installed to %%PREFIX%%/lib. You may
+wish to add this to your kern.module_path sysctl or copy it to
+another location.
diff --git a/net/ng_daphne/pkg-plist b/net/ng_daphne/pkg-plist
new file mode 100644
index 000000000000..b28f2a48e755
--- /dev/null
+++ b/net/ng_daphne/pkg-plist
@@ -0,0 +1,3 @@
+lib/ng_daphne.ko
+%%DOCSDIR%%/README
+@dirrm %%DOCSDIR%%