diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index cf13b33cc4ad..866acf51dcd3 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -1,29 +1,29 @@ # Created by: Roy Marples PORTNAME= dhcpcd DISTVERSION= 9.4.1 -PORTREVISION= 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 diff --git a/net/dhcpcd/files/dhcpcd.in b/net/dhcpcd/files/dhcpcd.in index 3d6c670f289a..14ca0c29bb96 100644 --- a/net/dhcpcd/files/dhcpcd.in +++ b/net/dhcpcd/files/dhcpcd.in @@ -1,43 +1,43 @@ #!/bin/sh # PROVIDE: dhclient dhcpcd -# KEYWORD: nojail +# KEYWORD: nojailvnet # . /etc/rc.subr . /etc/network.subr name="dhcpcd" ifn="$2" command="%%PREFIX%%/sbin/dhcpcd" command_args="$ifn" if [ -n "$ifn" ]; then specific="$(get_if_var $ifn dhcpcd_flags_IF)" if [ -z "$flags" -a -n "$specific" ]; then rc_flags="$specific" fi pidfile="/var/run/dhcpcd/dhcpcd-$ifn.pid" else pidfile="$($command -P $rc_flags)" : ${dhcpcd_enable:=NO} rcvar=dhcpcd_enable fi start_precmd="dhcpcd_precmd" dhcpcd_precmd() { # dhcpcd may need local binaries export PATH=${PATH}:/usr/local/sbin:/usr/local/bin } load_rc_config $name load_rc_config network if [ -n "$ifn" ]; then if ! dhcpif $ifn; then err 1 "$ifn is not enabled for DHCP" fi fi run_rc_command "$1"