Date: Mon, 31 May 2004 04:00:47 -0700 (PDT) From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: Re: ports/67407: Maintainer update: net/isc-dhcp3-server(paranoia and jail patch) Message-ID: <200405311100.i4VB0lc5078857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/67407; it has been noted by GNATS. From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: freebsd gnats <freebsd-gnats-submit@freebsd.org> Cc: Subject: Re: Re: ports/67407: Maintainer update: net/isc-dhcp3-server (paranoia and jail patch) Date: Mon, 31 May 2004 12:21:23 +0200 (CEST) please, use the following Makefile instead of the provided one : pre-everything -> OPTIONS thanks in advance. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/isc-dhcp3-server/Makefile,v retrieving revision 1.94 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.94 Makefile --- Makefile 22 Mar 2004 23:33:08 -0000 1.94 +++ Makefile 31 May 2004 00:37:55 -0000 @@ -8,7 +8,7 @@ PORTNAME= dhcp PORTVERSION= 3.0.1.r12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history @@ -117,15 +117,12 @@ RCSCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} PKGMESSAGE_SUB= PREFIX=${PREFIX} MAN1PREFIX=${MAN1PREFIX} -# Pre-everything -# - -.if ${SUBSYS} == client && !defined(WITHOUT_INTERFACE_POLLING) -pre-everything:: - @${ECHO_MSG} - @${ECHO_MSG} "If you want to compile without interface polling support." - @${ECHO_MSG} "hit Ctrl-C right now and use \"make WITHOUT_INTERFACE_POLLING=yes\"" - @${ECHO_MSG} +.if ${SUBSYS} == client +OPTIONS= INTERFACE_POLLING "interface polling support" on +.endif +.if ${SUBSYS} == server +OPTIONS= DHCP_PARANOIA "add -user, -group and -chroot options" on \ + DHCP_JAIL "add -chroot and -jail options" on .endif # Post-extract @@ -156,6 +153,14 @@ .if ${SUBSYS} == client && !defined(WITHOUT_INTERFACE_POLLING) @${ECHO_CMD} CFLAGS += -DENABLE_POLLING_MODE >> ${WRKSRC}/site.conf .endif +.if ${SUBSYS} == server +.if !defined(WITHOUT_DHCP_PARANOIA) + @${ECHO_CMD} CFLAGS += -DPARANOIA >> ${WRKSRC}/site.conf +.endif +.if !defined(WITHOUT_DHCP_JAIL) + @${ECHO_CMD} CFLAGS += -DJAIL >> ${WRKSRC}/site.conf +.endif +.endif patch-makefile-conf: @${REINPLACE_CMD} -e 's|^DEBUG[ ]*=|# DEBUG ?=|g' \ Cyrille Lefevre -- mailto:cyrille.lefevre@laposte.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405311100.i4VB0lc5078857>