openbsd-ports/net/isc-dhcp/Makefile
sthen 3bbd34b389 update to ISC DHCP 4.2.4-P2; CVE-2012-3955 ok jakob@
An issue with the use of lease times was found and fixed.  Making
  certain changes to the end time of an IPv6 lease could cause the
  server to abort.  Thanks to Glen Eustace of Massey University,
  New Zealand for finding this issue.
2012-09-15 10:43:40 +00:00

51 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.28 2012/09/15 10:43:40 sthen Exp $
COMMENT-main= ISC DHCP Server
COMMENT-client= ISC DHCP Client
COMMENT-omapi= ISC DHCP OMAPI
VERSION= 4.2.4-P2
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>