summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-10-07 17:30:45 +0000
committerijliao <ijliao@FreeBSD.org>2003-10-07 17:30:45 +0000
commitf66784481e6ea25589456a512bcfd4e9e6f81c39 (patch)
tree7ee5c5e43a4321d34739d0f292d21fcad38d6cd3 /net
parentfc7660534d4093ec3ebb4d64c1ff63c4961711c5 (diff)
downloadFreeBSD-ports-f66784481e6ea25589456a512bcfd4e9e6f81c39.zip
FreeBSD-ports-f66784481e6ea25589456a512bcfd4e9e6f81c39.tar.gz
add dhcp-agent 0.41
A portable UNIX Dynamic Host Configuration suite
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/dhcp-agent/Makefile28
-rw-r--r--net/dhcp-agent/distinfo1
-rw-r--r--net/dhcp-agent/files/patch-ltmain.sh15
-rw-r--r--net/dhcp-agent/pkg-descr16
-rw-r--r--net/dhcp-agent/pkg-plist16
6 files changed, 77 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index aadd76c..71fb593 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -99,6 +99,7 @@
SUBDIR += dgd
SUBDIR += dgd-lpmud
SUBDIR += dgd-net
+ SUBDIR += dhcp-agent
SUBDIR += dhcpconf
SUBDIR += dhcpdump
SUBDIR += dhcping
diff --git a/net/dhcp-agent/Makefile b/net/dhcp-agent/Makefile
new file mode 100644
index 0000000..c595b8e
--- /dev/null
+++ b/net/dhcp-agent/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# Ports collection makefile for: dhcp-agent
+# Date created: Oct 7, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= dhcp-agent
+PORTVERSION= 0.41
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A portable UNIX Dynamic Host Configuration suite
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet
+LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile
+
+GNU_CONFIGURE= yes
+
+INSTALLS_SHLIB= yes
+
+MAN1= dhcp-client.1 dhcp-sniff.1
+INFO= dhcp-agent
+
+.include <bsd.port.mk>
diff --git a/net/dhcp-agent/distinfo b/net/dhcp-agent/distinfo
new file mode 100644
index 0000000..01b6ab4
--- /dev/null
+++ b/net/dhcp-agent/distinfo
@@ -0,0 +1 @@
+MD5 (dhcp-agent-0.41.tar.gz) = 78b6f1ba38072589cddd9e5d3079aa24
diff --git a/net/dhcp-agent/files/patch-ltmain.sh b/net/dhcp-agent/files/patch-ltmain.sh
new file mode 100644
index 0000000..3209342
--- /dev/null
+++ b/net/dhcp-agent/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig Wed Oct 8 01:18:12 2003
++++ ltmain.sh Wed Oct 8 01:19:24 2003
+@@ -5425,10 +5425,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/net/dhcp-agent/pkg-descr b/net/dhcp-agent/pkg-descr
new file mode 100644
index 0000000..ec62818
--- /dev/null
+++ b/net/dhcp-agent/pkg-descr
@@ -0,0 +1,16 @@
+dhcp-agent is a suite, or a set of tools, that allow a UNIX host to make use
+of the Dynamic Host Configuration protocol.
+
+Currently the suite is packaged with the following tools:
+ * dhcp-client : A highly configurable and extendable DHCP client.
+ * dhcp-sniff : A command line DHCP sniffer.
+
+In good time the suite will also be packaged with:
+ * dhcp-server : A configurable and extendable DHCP server.
+ * dhcp-relay : A DHCP relay agent.
+
+Under FreeBSD the client will make use of two bpf devices. This is because
+of a limitation in dnet. If you run out of bpf devices you may need to
+compile a kernel with more bpf devices.
+
+WWW: http://dhcp-agent.sourceforge.net/
diff --git a/net/dhcp-agent/pkg-plist b/net/dhcp-agent/pkg-plist
new file mode 100644
index 0000000..abff904
--- /dev/null
+++ b/net/dhcp-agent/pkg-plist
@@ -0,0 +1,16 @@
+etc/dhcp-agent/dhcp-client/default.conf
+etc/dhcp-agent/dhcp-client/default.sysconf
+etc/dhcp-agent/dhcp-server/lease.conf.example
+@dirrm etc/dhcp-agent/dhcp-client
+@dirrm etc/dhcp-agent/dhcp-server
+@dirrm etc/dhcp-agent
+sbin/dhcp-sniff
+sbin/dhcp-client
+sbin/dhcp-server
+lib/libdhcputil.a
+lib/libdhcputil.so
+lib/libdhcputil.so.0
+@dirrm var/dhcp-agent/dhcp-client
+@dirrm var/dhcp-agent/dhcp-server
+@dirrm var/dhcp-agent
+@dirrm var
OpenPOWER on IntegriCloud