aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp44-client
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2018-01-09 20:51:38 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2018-01-09 20:51:38 +0000
commitbd166fa1a30486144161f9985d5a1b1335a16890 (patch)
tree413794a260d9ac29ede6d49f3722f7eb6e2f580b /net/isc-dhcp44-client
parentbda22d996469948e89281e8d374cbc6bc913f27e (diff)
downloadports-bd166fa1a30486144161f9985d5a1b1335a16890.tar.gz
ports-bd166fa1a30486144161f9985d5a1b1335a16890.zip
Notes
Diffstat (limited to 'net/isc-dhcp44-client')
-rw-r--r--net/isc-dhcp44-client/Makefile9
-rw-r--r--net/isc-dhcp44-client/pkg-descr9
-rw-r--r--net/isc-dhcp44-client/pkg-message10
-rw-r--r--net/isc-dhcp44-client/pkg-plist11
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