1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/dhcpcd/Makefile
Lucas Toole 128e4bb46e net/dhcpcd: Switch keyword from nojail to nojailvnet in rc script
The keyword was added in 2007 following git history, c7e6df5974. This
is a remnant of the pre-VNET days. dhcpcd is perfectly capable of
running in a VNET jail so relax keyword. This allows dhcpcd to start in
a VNET jail.

PR:			258185
Approved by:		0mp (mentor), philip (mentor)
Differential Revision:	https://reviews.freebsd.org/D32959
2021-11-13 17:06:23 +01:00

30 lines
691 B
Makefile

# Created by: Roy Marples <roy@marples.name>
PORTNAME= dhcpcd
DISTVERSION= 9.4.1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= https://roy.marples.name/downloads/dhcpcd/
MAINTAINER= driesm@FreeBSD.org
COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 cpe tar:xz
CPE_VENDOR= dhcpcd_project
USE_RC_SUBR= dhcpcd
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \
--prefix=${PREFIX} \
--privsepuser="_dhcp" \
--without-udev
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf.sample
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
.include <bsd.port.mk>