Index: head/net/dhcpcd-devel/Makefile =================================================================== --- head/net/dhcpcd-devel/Makefile (revision 533927) +++ head/net/dhcpcd-devel/Makefile (revision 533928) @@ -1,34 +1,35 @@ # Created by: Roy Marples # $FreeBSD$ PORTNAME= dhcpcd -PORTVERSION= 8.99.0.g20200219 +PORTVERSION= g20200501 CATEGORIES= net MASTER_SITES= https://roy.marples.name/cgit/dhcpcd.git/snapshot/ PKGNAMESUFFIX= -devel DISTNAME= ${PORTNAME}-${GITTAG} -GITTAG= 53848fe +GITTAG= edec47c MAINTAINER= woodsb02@FreeBSD.org COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -CONFLICTS_INSTALL= dhcpcd-[0-9]* +CONFLICTS_INSTALL= dhcpcd USES= compiler:c11 cpe tar:xz CPE_VENDOR= dhcpcd_project GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \ - --privsepuser="_dhcp" + --privsepuser="_dhcp" \ + --chrootdir="${CHROOTDIR}" USE_RC_SUBR= dhcpcd +CHROOTDIR= /var/chroot/dhcpcd post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \ ${STAGEDIR}${PREFIX}/share/examples/dhcpcd @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd - ${MKDIR} ${STAGEDIR}/var/run/dhcpcd .include Index: head/net/dhcpcd-devel/distinfo =================================================================== --- head/net/dhcpcd-devel/distinfo (revision 533927) +++ head/net/dhcpcd-devel/distinfo (revision 533928) @@ -1,3 +1,3 @@ -TIMESTAMP = 1582327192 -SHA256 (dhcpcd-53848fe.tar.xz) = 0f1a40d64a190054d3143871acb6c7c240df8137da2f2dc0366a61728192be51 -SIZE (dhcpcd-53848fe.tar.xz) = 244588 +TIMESTAMP = 1588602303 +SHA256 (dhcpcd-edec47c.tar.xz) = baf04e436fe85f7af32a9bdd37f64558157799ff94020a71b354d83abd888151 +SIZE (dhcpcd-edec47c.tar.xz) = 245448 Index: head/net/dhcpcd-devel/pkg-descr =================================================================== --- head/net/dhcpcd-devel/pkg-descr (revision 533927) +++ head/net/dhcpcd-devel/pkg-descr (revision 533928) @@ -1,9 +1,11 @@ dhcpcd is a DHCP/IPv4LL/IPv6RS/DHCPv6 client. It can also act as a network manager, responding to new interfaces, listening for carrier up/down events and managing routes. +dhcpcd-9 includes privilege separation; operations which do not require +root privileges are run in a chroot (/var/chroot/dhcpcd) as the +unprivileged user _dhcp. + This is an experimental version for testing purposes. -Notably this new development version includes privilege separation; -operations which do not require root are run as the user _dhcp. WWW: https://roy.marples.name/projects/dhcpcd Index: head/net/dhcpcd-devel/pkg-plist =================================================================== --- head/net/dhcpcd-devel/pkg-plist (revision 533927) +++ head/net/dhcpcd-devel/pkg-plist (revision 533928) @@ -1,17 +1,14 @@ libexec/dhcpcd-hooks/01-test -libexec/dhcpcd-hooks/02-dump libexec/dhcpcd-hooks/20-resolv.conf libexec/dhcpcd-hooks/30-hostname libexec/dhcpcd-hooks/50-ntp.conf libexec/dhcpcd-run-hooks man/man5/dhcpcd.conf.5.gz man/man8/dhcpcd-run-hooks.8.gz man/man8/dhcpcd.8.gz sbin/dhcpcd %%EXAMPLESDIR%%/hooks/10-wpa_supplicant %%EXAMPLESDIR%%/hooks/15-timezone %%EXAMPLESDIR%%/hooks/29-lookup-hostname %%EXAMPLESDIR%%/hooks/50-ypbind -@dir(_dhcp,_dhcp,) /var/db/dhcpcd -@dir(_dhcp,_dhcp,) /var/run/dhcpcd @sample %%EXAMPLESDIR%%/dhcpcd.conf etc/dhcpcd.conf