svn commit: r534304 - head/net/dhcpcd-devel
Ben Woods
woodsb02 at FreeBSD.org
Thu May 7 23:19:07 UTC 2020
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 at 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
More information about the svn-ports-head
mailing list