209a2f8568
DHCPv6-PD, it seems some satellite-based internet provider sends PD from a routable address rather than the usual link-local. Based on a diff from William Graeber but I tweaked a little (mainly removed the src addr limit from the outbound rule and use "received-on none" instead, so that the local machine can send from any address without allowing forwarded packets).
35 lines
729 B
Makefile
35 lines
729 B
Makefile
COMMENT= DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client
|
|
|
|
PORTROACH= site:https://github.com/NetworkConfiguration/dhcpcd/releases/
|
|
|
|
GH_ACCOUNT= NetworkConfiguration
|
|
GH_PROJECT= dhcpcd
|
|
GH_TAGNAME= dhcpcd-9.4.1
|
|
DISTNAME= ${GH_TAGNAME}
|
|
REVISION= 2
|
|
|
|
EPOCH= 0
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= https://roy.marples.name/projects/dhcpcd
|
|
|
|
# BSD-2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB += c
|
|
|
|
MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
|
|
|
|
CONFIGURE_STYLE= simple
|
|
CONFIGURE_ARGS= --enable-privsep \
|
|
--privsepuser=_dhcpcd \
|
|
--prefix='${PREFIX}' \
|
|
--sysconfdir='${SYSCONFDIR}' \
|
|
--mandir='${PREFIX}/man' \
|
|
--localstatedir='${LOCALSTATEDIR}'
|
|
FAKE_FLAGS= SYSCONFDIR=${PREFIX}/share/examples/dhcpcd
|
|
|
|
.include <bsd.port.mk>
|