From nobody@FreeBSD.org  Thu Mar 27 23:44:18 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 52604814
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Mar 2014 23:44:18 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 256829F9
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Mar 2014 23:44:18 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2RNiHbN055364
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Mar 2014 23:44:17 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2RNiHLq055360;
	Thu, 27 Mar 2014 23:44:17 GMT
	(envelope-from nobody)
Message-Id: <201403272344.s2RNiHLq055360@cgiserv.freebsd.org>
Date: Thu, 27 Mar 2014 23:44:17 GMT
From: Nick <decrofn@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: isc-dhcp42-server port install/script issue
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188020
>Category:       ports
>Synopsis:       net/isc-dhcp42-server port install/script issue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    zi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 23:50:00 UTC 2014
>Closed-Date:    Sun Mar 30 13:31:57 UTC 2014
>Last-Modified:  Sun Mar 30 13:40:00 UTC 2014
>Originator:     Nick
>Release:        10.0-RELEASE
>Organization:
n/a
>Environment:
FreeBSD breeze 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When I install net/isc-dhcp42-server with PARANOIA support this creates /usr/local/etc/rc.d/isc-dhcpd which contains %%PARANOIA%% inside this causes warnings on star/restart

/usr/local/etc/rc.d/isc-dhcpd restart
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $dhcpd_chuser_enable is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $dhcpd_chuser_enable is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).
/usr/local/etc/rc.d/isc-dhcpd: WARNING: $paranoia is not set properly - see rc.conf(5).

no matter of the rc.conf content which in my case is

dhcpd_enable="YES"
dhcpd_ifaces="LAN"
dhcpd_flags="-q"                           # command option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf"      # configuration file
dhcpd_withumask="022"
dhcpd_chuser_enable="YES"            # runs w/o privileges?
dhcpd_withuser="dhcpd"              # user name to run as
dhcpd_withgroup="dhcpd"             # group name to run as
dhcpd_chroot_enable="YES"           # runs chrooted?
dhcpd_devfs_enable="YES"            # use devfs if available?
dhcpd_rootdir="/var/db/dhcpd"       # directory to run in
#dhcpd_includedir=""       # directory with config-files to include

here is more detailed description https://forums.freebsd.org/viewtopic.php?f=5&t=45677&p=255277#p255277
>How-To-Repeat:
install net/isc-dhcp42-server and view /usr/local/etc/rc.d/isc-dhcpd
>Fix:
replace %%PARANOIA%% to yes inside /usr/local/etc/rc.d/isc-dhcpd

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->zi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 28 05:42:48 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188020 

From: Jason Unovitch <oneshotuno@yahoo.com>
To: bug-followup@FreeBSD.org, decrofn@gmail.com
Cc:  
Subject: Re: ports/188020: [patch] net/isc-dhcp42-server port install/script
 issue
Date: Sat, 29 Mar 2014 16:36:47 -0400

 This is a multi-part message in MIME format.
 --------------080109040908090103040102
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I came across this issue as well while testing isc-dhcp43-server. This 
 affects isc-dhcp41-server, isc-dhcp42-server, and isc-dhcp43-server.   
 It looks like removing PARANOIA from the SUB_LIST when staging support 
 was added was the cause.  Patch attached to add back the following lines.
 
 SUB_LIST+=      PARANOIA=yes
 .else
 SUB_LIST+=      PARANOIA=no
 
 --------------080109040908090103040102
 Content-Type: text/x-patch;
  name="isc-dhcp-server.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="isc-dhcp-server.diff"
 
 Index: isc-dhcp41-server/Makefile
 ===================================================================
 --- isc-dhcp41-server/Makefile	(revision 349587)
 +++ isc-dhcp41-server/Makefile	(working copy)
 @@ -119,6 +119,9 @@
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=	--enable-paranoia --enable-early-chroot
 +SUB_LIST+=	PARANOIA=yes
 +.else
 +SUB_LIST+=	PARANOIA=no
  .endif
  
  .if ${PORT_OPTIONS:MIPV6}
 Index: isc-dhcp42-server/Makefile
 ===================================================================
 --- isc-dhcp42-server/Makefile	(revision 349587)
 +++ isc-dhcp42-server/Makefile	(working copy)
 @@ -91,6 +91,9 @@
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot
 +SUB_LIST+=	PARANOIA=yes
 +.else
 +SUB_LIST+=	PARANOIA=no
  .endif
  
  .if ${PORT_OPTIONS:MLDAP}
 Index: isc-dhcp43-server/Makefile
 ===================================================================
 --- isc-dhcp43-server/Makefile	(revision 349587)
 +++ isc-dhcp43-server/Makefile	(working copy)
 @@ -91,6 +91,9 @@
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot
 +SUB_LIST+=	PARANOIA=yes
 +.else
 +SUB_LIST+=	PARANOIA=no
  .endif
  
  .if ${PORT_OPTIONS:MLDAP}
 
 --------------080109040908090103040102--
State-Changed-From-To: open->closed 
State-Changed-By: zi 
State-Changed-When: Sun Mar 30 13:31:57 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188020 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188020: commit references a PR
Date: Sun, 30 Mar 2014 13:31:49 +0000 (UTC)

 Author: zi
 Date: Sun Mar 30 13:31:45 2014
 New Revision: 349617
 URL: http://svnweb.freebsd.org/changeset/ports/349617
 QAT: https://qat.redports.org/buildarchive/r349617/
 
 Log:
   - Unbreak botched STAGE conversion
   - Bump PORTREVISION
   
   PR:		ports/188020
   Submitted by:	Nick <decrofn@gmail.com>, Jason Unovitch <oneshotuno@yahoo.com>
 
 Modified:
   head/net/isc-dhcp41-server/Makefile
   head/net/isc-dhcp42-server/Makefile
   head/net/isc-dhcp43-server/Makefile
 
 Modified: head/net/isc-dhcp41-server/Makefile
 ==============================================================================
 --- head/net/isc-dhcp41-server/Makefile	Sun Mar 30 12:50:11 2014	(r349616)
 +++ head/net/isc-dhcp41-server/Makefile	Sun Mar 30 13:31:45 2014	(r349617)
 @@ -17,7 +17,7 @@ COMMENT?=	The ISC Dynamic Host Configura
  LICENSE=	ISCL
  
  PATCHLEVEL=	R7
 -PORTREVISION_SERVER=	7
 +PORTREVISION_SERVER=	8
  PORTREVISION_CLIENT=	2
  PORTREVISION_RELAY=	5
  
 @@ -119,6 +119,9 @@ CONFIGURE_ENV+=	LIBS="-lssl"
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=	--enable-paranoia --enable-early-chroot
 +SUB_LIST+=		PARANOIA="yes"
 +.else
 +SUB_LIST+=		PARANOIA="no"
  .endif
  
  .if ${PORT_OPTIONS:MIPV6}
 
 Modified: head/net/isc-dhcp42-server/Makefile
 ==============================================================================
 --- head/net/isc-dhcp42-server/Makefile	Sun Mar 30 12:50:11 2014	(r349616)
 +++ head/net/isc-dhcp42-server/Makefile	Sun Mar 30 13:31:45 2014	(r349617)
 @@ -19,7 +19,7 @@ LICENSE=	ISCL
  USES=		gmake
  
  PATCHLEVEL=	P1
 -PORTREVISION_SERVER=	0
 +PORTREVISION_SERVER=	1
  PORTREVISION_CLIENT=	0
  PORTREVISION_RELAY=	0
  
 @@ -91,6 +91,9 @@ PKGMESSAGE_SUB=	PREFIX="${PREFIX}" MAN1P
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot
 +SUB_LIST+=	PARANOIA="yes"
 +.else
 +SUB_LIST+=	PARANOIA="no"
  .endif
  
  .if ${PORT_OPTIONS:MLDAP}
 
 Modified: head/net/isc-dhcp43-server/Makefile
 ==============================================================================
 --- head/net/isc-dhcp43-server/Makefile	Sun Mar 30 12:50:11 2014	(r349616)
 +++ head/net/isc-dhcp43-server/Makefile	Sun Mar 30 13:31:45 2014	(r349617)
 @@ -19,7 +19,7 @@ LICENSE=	ISCL
  USES=		gmake
  
  #PATCHLEVEL=	P1
 -PORTREVISION_SERVER=	0
 +PORTREVISION_SERVER=	1
  PORTREVISION_CLIENT=	0
  PORTREVISION_RELAY=	0
  
 @@ -91,6 +91,9 @@ PKGMESSAGE_SUB=	PREFIX="${PREFIX}" MAN1P
  
  .if ${PORT_OPTIONS:MPARANOIA}
  CONFIGURE_ARGS+=--enable-paranoia --enable-early-chroot
 +SUB_LIST+=	PARANOIA="yes"
 +.else
 +SUB_LIST+=	PARANOIA="no"
  .endif
  
  .if ${PORT_OPTIONS:MLDAP}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
