From owner-freebsd-ports@FreeBSD.ORG Wed Sep 22 08:38:11 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45341106566C; Wed, 22 Sep 2010 08:38:11 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 0764A8FC17; Wed, 22 Sep 2010 08:38:10 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id 0A5C57E853; Wed, 22 Sep 2010 18:20:08 +1000 (EST) Message-ID: <4C99BC37.6070400@freebsd.org> Date: Wed, 22 Sep 2010 18:20:07 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100912 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: Wesley Shields X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lauren.room52.net Cc: FreeBSD Ports Subject: net/isc-dhcp41-client, dhclient-script and DHCPv6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 08:38:11 -0000 Hi Wesley, I've been playing with DHCPv6 and in doing so, ran into an apparent problem with the net/isc-dhcp41-client port. It currently overwrites the FreeBSD client script distributed by ISC with a custom script "client::scripts::freebsd" which lives in the net/isc-dhcp41-server port's files directory. I'm not sure what the historical reasoning for this is, but the custom script does not work when the ISC client is used to do DHCPv6 (it barfs with "dhclient: dhclient-script called with invalid reason PREINIT6". There is no mention of PREINIT6 in /usr/local/sbin/dhclient-script, but there is in the ISC stock script.). Do you have any thoughts on if there is still the need to replace the ISC script with a custom one? If the answer is "no longer necessary", then we can simply remove the "post-extract" target from the net/isc-dhcp41-server Makefile. If there is a good reason to keep the custom script, then some further hacking will be required. Cheers, Lawrence