openbsd-ports/net/isc-dhcp/Makefile
sthen 7c0e03bbef update to ISC-DHCP 4.2.4-P1, from Brad
CVE-2012-3570: An Error in the Handling of an Unexpected Client
Identifiers can Cause Server Crash When Serving DHCPv6

CVE-2012-3571: An Error in the Handling of Malformed Client Identifiers
can Cause a Denial-of-Service Condition in Affected Servers

CVE-2012-3954: Memory Leaks Found in ISC DHCP
2012-08-04 21:15:35 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2012/08/04 21:15:35 sthen Exp $
COMMENT-main= ISC DHCP Server
COMMENT-client= ISC DHCP Client
COMMENT-omapi= ISC DHCP OMAPI
VERSION= 4.2.4-P1
DISTNAME= isc-dhcp-${VERSION}
PKGNAME= isc-dhcp-${VERSION:S/-P/./}
PKGNAME-main= isc-dhcp-server-${VERSION:S/-P/./}
PKGNAME-client= isc-dhcp-client-${VERSION:S/-P/./}
PKGNAME-omapi= isc-dhcp-omapi-${VERSION:S/-P/./}
CATEGORIES= net
DISTFILES= dhcp-${VERSION}.tar.gz
WRKDIST= ${WRKDIR}/dhcp-${VERSION}
MASTER_SITES= ${MASTER_SITE_ISC:=dhcp/${VERSION}/} \
${MASTER_SITE_ISC:=dhcp/}
HOMEPAGE= http://www.isc.org/software/dhcp/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MULTI_PACKAGES= -main -omapi -client
USE_GROFF= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-early-chroot \
--enable-paranoia \
NO_REGRESS= Yes
EXAMPLEDIR= share/examples/isc-dhcp
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf ${PREFIX}/${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/client/dhclient.conf ${PREFIX}/${EXAMPLEDIR}
.include <bsd.port.mk>