freebsd-ports/net/dual-dhclient/Makefile
Colin Percival d02eae1e93 Add "dual dhclient" script, which can be specified as dhclient_program in
rc.conf in order to launch the base system dhclient for IPv4 and the ISC
dhcp client for IPv6.

I'm not sure if this will be useful to anyone else, but adding this trivial
port will simplify the configuration of IPv6 on Amazon EC2 instances.  I
hope this port becomes redundant in the future due to the base system
gaining support for IPv6 DHCP.
2017-01-15 09:00:18 +00:00

25 lines
465 B
Makefile

# $FreeBSD$
PORTNAME= dual-dhclient
PORTVERSION= 1.0
CATEGORIES= net
MASTER_SITES= # none
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= cperciva@FreeBSD.org
COMMENT= Spawns dhclients for a dual-stack network
LICENSE= PD
RUN_DEPENDS= ${LOCALBASE}/sbin/dhclient:net/isc-dhcp43-client
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= sbin/dual-dhclient
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/dual-dhclient ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>