pkgsrc/net/dhcpcd/Makefile
roy d84b177b34 Update to dhcpcd-8.1.5 with the following changes:
* inet: Allow forcing a host route from an interface without a lease
 * dhcpcd: Don't wait for an address family to complete if not using it
 * Linux: fix RA time unit confusion

If you are suffering from IPv6 addresses not transitioning from the
tentative state (regression from dhcpcd-8.1 on Linux), you will need
to do one of the following after installing dhcpcd:

 * reboot

   OR

 * dhcpcd -x
 * echo 1000 > /proc/sys/net/ipv6/neigh/$interface/retrans_time_ms
 * ip -f inet6 a flush
 * start dhcpcd as normal
2020-01-03 10:15:18 +00:00

29 lines
877 B
Makefile

# $NetBSD: Makefile,v 1.96 2020/01/03 10:15:18 roy Exp $
DISTNAME= dhcpcd-8.1.5
PKGNAME= ${DISTNAME:S/-rc/rc/}
CATEGORIES= net
MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
MASTER_SITES+= http://cflags.cc/roy/dhcpcd/
EXTRACT_SUFX= .tar.xz
MAINTAINER= roy@NetBSD.org
HOMEPAGE= https://roy.marples.name/projects/dhcpcd/
COMMENT= DHCP / IPv4LL / IPv6RA / DHCPv6 client
LICENSE= modified-bsd
USE_LANGUAGES= c99
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-hooks=ntp
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/examples
EGDIR= ${PREFIX}/share/examples/dhcpcd
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
CONF_FILES+= ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf
RCD_SCRIPTS+= dhcpcd
.include "../../mk/bsd.pkg.mk"