df9c32fcee
* 20-resolv.conf now uses the correct variable for $IF_METRIC * Compiles on RedHat9 * Exclude interface values when dumping the lease * Parse static value subnet_mask when it exists instead of deriving from ip address * logger calls now resemble dhcpcd calls to syslog(3) * Reject offered IP address if INADDR_BROADCAST or INADDR_ANY * Change the route if source address has changed * Handle partial UDP checksums so we work in Xen domU Thanks to Marius Tomaschewski <mt@suse.de> * Note the address we are requesting in the broadcast log entry * When operating on one interface, respect the timeout for in dhcpcd.conf * Escape | and & characters before passing the value to the shell Ensure we set a valid hostname, DNS domain and NIS domain. Document the need for input validation in dhcpcd-run-hooks(8). Fixes CVE-2011-996 Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
28 lines
769 B
Makefile
28 lines
769 B
Makefile
# $NetBSD: Makefile,v 1.30 2011/04/06 09:12:36 roy Exp $
|
|
#
|
|
|
|
DISTNAME= dhcpcd-5.2.12
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
|
|
MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= roy@NetBSD.org
|
|
HOMEPAGE= http://roy.marples.name/projects/dhcpcd/
|
|
COMMENT= RFC2131 compliant DHCP client
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
USE_LANGUAGES= c99
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-hooks=ntp
|
|
|
|
EGDIR= ${PREFIX}/share/examples
|
|
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
|
|
CONF_FILES+= ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf
|
|
|
|
RCD_SCRIPTS+= dhcpcd
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|