pkgsrc/net/dhcpcd/Makefile
roy 01f592d1c4 Import dhcpcd-7.0.0 with the following changes:
*  dhcp: when unicasting on L3, unicast on L2 as well
  *  dhcp: when rebooting, don't set cidaddr
  *  dhcp6: don't listen on IPv6 addresses when not using DHCPv6
  *  dhcp: only set probe state when probing (fixes REBOOT reason)
  *  linux: use IFA_F_NOPREFIXROUTE for IPv4 addresses
  *  ipv6: disable kernel RA if interface is active
  *  hooks: set protocol to link for link layer events
2018-01-01 11:57:20 +00:00

29 lines
877 B
Makefile

# $NetBSD: Makefile,v 1.70 2018/01/01 11:57:20 roy Exp $
DISTNAME= dhcpcd-7.0.0
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"