From owner-freebsd-ports@FreeBSD.ORG Wed Jan 14 16:31:17 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFE0BD01; Wed, 14 Jan 2015 16:31:17 +0000 (UTC) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BAB13909; Wed, 14 Jan 2015 16:31:17 +0000 (UTC) Date: Wed, 14 Jan 2015 08:31:16 -0800 (PST) From: Roger Marquis To: Mathieu Arnold Subject: Re: BIND REPLACE_BASE option In-Reply-To: References: <2A3ABE9AE68B3CE8E1B7C1A1@ogg.in.absolight.net> <20150113163325.3A8FCBDC24@prod2.absolight.net> <67897B782F897C2A66FCD458@atuin.in.mat.cc> <20150113233952.BF862BDC24@prod2.absolight.net> <20150114031156.400F2BDC3E@prod2.absolight.net> <507F8738895177F5640A4090@atuin.in.mat.cc> <20150114120852.GA17865@xtaz.uk> <20150114152306.535ADBDC25@prod2.absolight.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org, Matt Smith X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 16:31:17 -0000 Mathieu Arnold wrote: > | That leaves the issue of cross-platform compatibility, which is still > | broken without REPLACE_BASE. What about those of us who support > | environments that aren't BSD monocultures? > > By using the named_conf variable in /etc/rc.conf ? That enables configuration compatibility but doesn't address binaries or their PATHs. Named perhaps isn't the best example of a port with cross-platform issues. Postfix, OTOH, is a different animal. I spent countless hours trying to accommodate the default BSD PREFIX, usually just installing from source without using ports, before paying Doug to write a patch for postfix' INST_BASE option. That investment has paid of manyfold over the years. Even more effort was put into porting freepbx but that effort failed specifically due to cross-platform (PREFIX) issues, resulting in several RH servers in an otherwise BSD shop. Roger