net/dhcpcd-devel: Update to 2020-05-12

This change removes the chroot directory, as dhcpcd can now work with an
empty chroot directory.
This commit is contained in:
Ben Woods 2020-05-12 11:53:41 +00:00
parent ed4533a5dd
commit 2d68394eca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534990
4 changed files with 9 additions and 14 deletions

View File

@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= dhcpcd
PORTVERSION= g20200507
PORTVERSION= g20200512
CATEGORIES= net
MASTER_SITES= https://roy.marples.name/cgit/dhcpcd.git/snapshot/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${GITTAG}
GITTAG= 727b7e9
GITTAG= 5ccec78
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
@ -25,16 +25,10 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \
--privsepuser="_dhcp"
USE_RC_SUBR= dhcpcd
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CHROOTDIR= /var/chroot/dhcpcd
CONFIGURE_ARGS+= --chrootdir="${CHROOTDIR}"
.endif
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \
${STAGEDIR}${PREFIX}/share/examples/dhcpcd
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
${MKDIR} ${STAGEDIR}/var/db/dhcpcd
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1588893196
SHA256 (dhcpcd-727b7e9.tar.xz) = 909ad77fe51dba2ffa0ed1ea04e8c801f4505a0372caacff3cb21c4135c8ad89
SIZE (dhcpcd-727b7e9.tar.xz) = 246100
TIMESTAMP = 1589282909
SHA256 (dhcpcd-5ccec78.tar.xz) = a5a05d914d5765167fd24180354097f273a31c8d16226fc3a52802c4f3d936dc
SIZE (dhcpcd-5ccec78.tar.xz) = 246156

View File

@ -4,7 +4,7 @@ listening for carrier up/down events and managing routes.
dhcpcd-9 introduces a number of security improvements:
- privilege separation; operations which do not require root privileges
are run in a chroot /var/chroot/dhcpcd as the unprivileged user _dhcp
are run as the unprivileged user _dhcp
- capsicumized all network facing processes; all fd's in network facing
processes are fully limited

View File

@ -12,3 +12,4 @@ sbin/dhcpcd
%%EXAMPLESDIR%%/hooks/29-lookup-hostname
%%EXAMPLESDIR%%/hooks/50-ypbind
@sample %%EXAMPLESDIR%%/dhcpcd.conf etc/dhcpcd.conf
@dir(_dhcp,_dhcp,) /var/db/dhcpcd