1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/net/dual-dhclient-daemon/Makefile
Colin Percival 7f351d8fcd Add net/dual-dhclient-daemon port.
This serves the same purpose as net/dual-dhclient, but does it
better: While net/dual-dhclient is a trivial shell script which
launches two dhclients, this is a daemon which
(a) can be signalled by /etc/rc.d/dhclient stop, and
(b) relays that signal to the two "child" dhclient daemons.

This is deliberately not replacing the net/dual-dhclient port
since in the unlikely event that something is broken I don't
want to see pkg automatically upgrading people; but EC2 AMIs
will be making use of this new port and I intend to remove the
old dual-dhclient port at some point.
2019-10-02 21:31:35 +00:00

26 lines
476 B
Makefile

# $FreeBSD$
PORTNAME= dual-dhclient-daemon
PORTVERSION= 0.1
CATEGORIES= net
MAINTAINER= cperciva@FreeBSD.org
COMMENT= Spawns dhclients for a dual-stack network
LICENSE= PD
RUN_DEPENDS= ${LOCALBASE}/sbin/dhclient:net/isc-dhcp44-client
USE_GITHUB= yes
GH_ACCOUNT= cperciva
GH_PROJECT= dual-dhclient
PLIST_FILES= sbin/dual-dhclient
CONFLICTS_INSTALL= dual-dhclient
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dual-dhclient ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>