Date: Thu, 7 May 2020 23:19:06 +0000 (UTC) From: Ben Woods <woodsb02@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534304 - head/net/dhcpcd-devel Message-ID: <202005072319.047NJ649069406@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: woodsb02 Date: Thu May 7 23:19:06 2020 New Revision: 534304 URL: https://svnweb.freebsd.org/changeset/ports/534304 Log: net/dhcpcd-devel: Update tp 2020-05-07 - Ensure chrootdir is not set for DragonFlyBSD Changes this release: Enable capsicum for network facing processes All fd's in network facing processes are fully limited. Capability mode is only enabled for BPF processes because it's too restrictive otherwise - the reasons are noted in the commit. https://roy.marples.name/cgit/dhcpcd.git/commit/?id=727b7e9bf8b2fe810913c76c5fd36767869944bb Modified: head/net/dhcpcd-devel/Makefile head/net/dhcpcd-devel/distinfo Modified: head/net/dhcpcd-devel/Makefile ============================================================================== --- head/net/dhcpcd-devel/Makefile Thu May 7 23:00:58 2020 (r534303) +++ head/net/dhcpcd-devel/Makefile Thu May 7 23:19:06 2020 (r534304) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= dhcpcd -PORTVERSION= g20200504 +PORTVERSION= g20200507 CATEGORIES= net MASTER_SITES= https://roy.marples.name/cgit/dhcpcd.git/snapshot/ PKGNAMESUFFIX= -devel DISTNAME= ${PORTNAME}-${GITTAG} -GITTAG= 725b0bd +GITTAG= 727b7e9 MAINTAINER= woodsb02@FreeBSD.org COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client @@ -22,14 +22,19 @@ USES= compiler:c11 cpe tar:xz CPE_VENDOR= dhcpcd_project GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \ - --privsepuser="_dhcp" \ - --chrootdir="${CHROOTDIR}" + --privsepuser="_dhcp" USE_RC_SUBR= dhcpcd -CHROOTDIR= /var/chroot/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 -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/net/dhcpcd-devel/distinfo ============================================================================== --- head/net/dhcpcd-devel/distinfo Thu May 7 23:00:58 2020 (r534303) +++ head/net/dhcpcd-devel/distinfo Thu May 7 23:19:06 2020 (r534304) @@ -1,3 +1,3 @@ -TIMESTAMP = 1588676946 -SHA256 (dhcpcd-725b0bd.tar.xz) = 202bd9cc65487c89e8add0912f3994dcde27732d46724467b8545ae615f7849f -SIZE (dhcpcd-725b0bd.tar.xz) = 245420 +TIMESTAMP = 1588893196 +SHA256 (dhcpcd-727b7e9.tar.xz) = 909ad77fe51dba2ffa0ed1ea04e8c801f4505a0372caacff3cb21c4135c8ad89 +SIZE (dhcpcd-727b7e9.tar.xz) = 246100
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005072319.047NJ649069406>