diff options
author | wxs <wxs@FreeBSD.org> | 2010-05-07 04:24:01 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2010-05-07 04:24:01 +0800 |
commit | d4cf4afc066b8f9c02aa1671eb15ea04beb1f12f (patch) | |
tree | 26ce73653bdf65b17fc27f12edd62022c7b04774 /net/isc-dhcp41-client | |
parent | 6e70cf935f8d48bdc58d9b904f3052d086963339 (diff) | |
download | freebsd-ports-gnome-d4cf4afc066b8f9c02aa1671eb15ea04beb1f12f.tar.gz freebsd-ports-gnome-d4cf4afc066b8f9c02aa1671eb15ea04beb1f12f.tar.zst freebsd-ports-gnome-d4cf4afc066b8f9c02aa1671eb15ea04beb1f12f.zip |
Welcome net/isc-dhcp41-server, net/isc-dhcp41-client and net/isc-dhcp41-relay
to the tree.
There's still a small bit of work to do including adding conflicts for the
existing DHCP ports (which should have been conflicting with each other
already) and add a 41-devel port so people can use the headers and libraries.
Diffstat (limited to 'net/isc-dhcp41-client')
-rw-r--r-- | net/isc-dhcp41-client/Makefile | 13 | ||||
-rw-r--r-- | net/isc-dhcp41-client/pkg-descr | 9 | ||||
-rw-r--r-- | net/isc-dhcp41-client/pkg-message | 10 | ||||
-rw-r--r-- | net/isc-dhcp41-client/pkg-plist | 8 |
4 files changed, 40 insertions, 0 deletions
diff --git a/net/isc-dhcp41-client/Makefile b/net/isc-dhcp41-client/Makefile new file mode 100644 index 000000000000..afe6d36b5ae7 --- /dev/null +++ b/net/isc-dhcp41-client/Makefile @@ -0,0 +1,13 @@ +# Ports collection makefile for: isc-dhcp41-client +# Date created: 28 March 2010 +# Whom: Wesley Shields <wxs@FreeBSD.org> +# +# $FreeBSD$ +# + +COMMENT= The ISC Dynamic Host Configuration Protocol client + +SUBSYS= client +MASTERDIR= ${.CURDIR}/../isc-dhcp41-server + +.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp41-client/pkg-descr b/net/isc-dhcp41-client/pkg-descr new file mode 100644 index 000000000000..0ebf230cdc08 --- /dev/null +++ b/net/isc-dhcp41-client/pkg-descr @@ -0,0 +1,9 @@ +The ISC Dynamic Host Configuration Protocol Distribution provides a +freely redistributable reference implementation of all aspects of the +DHCP protocol, through a suite of DHCP tools: + + * A DHCP server + * A DHCP client (this port) + * A DHCP relay agent + +WWW: http://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp41-client/pkg-message b/net/isc-dhcp41-client/pkg-message new file mode 100644 index 000000000000..106035b3b8ff --- /dev/null +++ b/net/isc-dhcp41-client/pkg-message @@ -0,0 +1,10 @@ +**** To setup dhclient, you may need to edit /etc/rc.conf to replace the + base system dhclient, such as: + + dhcp_program="%%PREFIX%%/sbin/dhclient" + dhcp_flags="-q" + + See dhclient(8), using the following command, for details about other + possible options: + + MANPATH=%%MAN1PREFIX%%/man man 8 dhclient diff --git a/net/isc-dhcp41-client/pkg-plist b/net/isc-dhcp41-client/pkg-plist new file mode 100644 index 000000000000..06b9afd39ee3 --- /dev/null +++ b/net/isc-dhcp41-client/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +sbin/dhclient +sbin/dhclient-script +@unexec if cmp -s %D/etc/dhclient.conf.sample %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi +etc/dhclient.conf.sample +@exec if [ ! -f %D/etc/dhclient.conf ] ; then cp -p %D/%F %B/dhclient.conf; fi +@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases +@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases |