mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
120e0ba402
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.
32 lines
714 B
Makefile
32 lines
714 B
Makefile
# Created by: Roy Marples <roy@marples.name>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dhcpcd
|
|
PORTVERSION= 8.1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://roy.marples.name/downloads/dhcpcd/ \
|
|
https://cflags.cc/roy/dhcpcd/
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
CONFLICTS_INSTALL= dhcpcd-devel-[0-9]*
|
|
|
|
USES= compiler:c11 cpe tar:xz
|
|
|
|
CPE_VENDOR= dhcpcd_project
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
|
|
USE_RC_SUBR= dhcpcd
|
|
|
|
post-install:
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \
|
|
${STAGEDIR}${PREFIX}/share/examples/dhcpcd
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
|
|
|
|
.include <bsd.port.mk>
|