summaryrefslogtreecommitdiff
path: root/net/dhcp-agent
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-07 17:30:45 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-10-07 17:30:45 +0000
commita27d9ae3c9a21328887f21eeb3d17adc64243f59 (patch)
tree46666fe782a531624da0179fe65a622ca2950bfe /net/dhcp-agent
parentNew port graphics/pho (version 0.9.1) (diff)
add dhcp-agent 0.41
A portable UNIX Dynamic Host Configuration suite
Notes
Notes: svn path=/head/; revision=90539
Diffstat (limited to 'net/dhcp-agent')
-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
5 files changed, 76 insertions, 0 deletions
diff --git a/net/dhcp-agent/Makefile b/net/dhcp-agent/Makefile
new file mode 100644
index 000000000000..c595b8e08662
--- /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 000000000000..01b6ab4b9ba0
--- /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 000000000000..3209342f280a
--- /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 000000000000..ec628181c2ab
--- /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 000000000000..abff904b83f6
--- /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