diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2018-01-09 20:51:38 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2018-01-09 20:51:38 +0000 |
commit | bd166fa1a30486144161f9985d5a1b1335a16890 (patch) | |
tree | 413794a260d9ac29ede6d49f3722f7eb6e2f580b /net/isc-dhcp44-client | |
parent | bda22d996469948e89281e8d374cbc6bc913f27e (diff) | |
download | ports-bd166fa1a30486144161f9985d5a1b1335a16890.tar.gz ports-bd166fa1a30486144161f9985d5a1b1335a16890.zip |
Notes
Diffstat (limited to 'net/isc-dhcp44-client')
-rw-r--r-- | net/isc-dhcp44-client/Makefile | 9 | ||||
-rw-r--r-- | net/isc-dhcp44-client/pkg-descr | 9 | ||||
-rw-r--r-- | net/isc-dhcp44-client/pkg-message | 10 | ||||
-rw-r--r-- | net/isc-dhcp44-client/pkg-plist | 11 |
4 files changed, 39 insertions, 0 deletions
diff --git a/net/isc-dhcp44-client/Makefile b/net/isc-dhcp44-client/Makefile new file mode 100644 index 000000000000..1e76e7a99005 --- /dev/null +++ b/net/isc-dhcp44-client/Makefile @@ -0,0 +1,9 @@ +# Created by: Ryan Steinmetz <zi@FreeBSD.org> +# $FreeBSD$ + +COMMENT= The ISC Dynamic Host Configuration Protocol client + +SUBSYS= client +MASTERDIR= ${.CURDIR}/../isc-dhcp44-server + +.include "${MASTERDIR}/Makefile" diff --git a/net/isc-dhcp44-client/pkg-descr b/net/isc-dhcp44-client/pkg-descr new file mode 100644 index 000000000000..f7aff7b6b485 --- /dev/null +++ b/net/isc-dhcp44-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: https://www.isc.org/products/DHCP/ diff --git a/net/isc-dhcp44-client/pkg-message b/net/isc-dhcp44-client/pkg-message new file mode 100644 index 000000000000..0fe9a2b27a0c --- /dev/null +++ b/net/isc-dhcp44-client/pkg-message @@ -0,0 +1,10 @@ +**** To setup dhclient, you may need to edit /etc/rc.conf to replace the + base system dhclient as follows: + + dhclient_program="%%PREFIX%%/sbin/dhclient" + dhclient_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-dhcp44-client/pkg-plist b/net/isc-dhcp44-client/pkg-plist new file mode 100644 index 000000000000..4eb1147a2138 --- /dev/null +++ b/net/isc-dhcp44-client/pkg-plist @@ -0,0 +1,11 @@ +sbin/dhclient +sbin/dhclient-script +man/man5/dhclient.conf.5.gz +man/man5/dhclient.leases.5.gz +man/man8/dhclient.8.gz +man/man8/dhclient-script.8.gz +@unexec if cmp -s %D/etc/dhclient.conf.example %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi +etc/dhclient.conf.example +@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 |