From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 31 04:00:48 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF9A916A4CE for ; Mon, 31 May 2004 04:00:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B8643D49 for ; Mon, 31 May 2004 04:00:48 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4VB0lvd078984 for ; Mon, 31 May 2004 04:00:48 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4VB0lc5078857; Mon, 31 May 2004 04:00:47 -0700 (PDT) (envelope-from gnats) Date: Mon, 31 May 2004 04:00:47 -0700 (PDT) Message-Id: <200405311100.i4VB0lc5078857@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Cyrille Lefevre Subject: Re: Re: ports/67407: Maintainer update: net/isc-dhcp3-server(paranoia and jail patch) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cyrille Lefevre List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 11:00:49 -0000 The following reply was made to PR ports/67407; it has been noted by GNATS. From: Cyrille Lefevre To: freebsd gnats 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