From owner-freebsd-ports@FreeBSD.ORG Thu Dec 20 16:25:34 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD5E416A420 for ; Thu, 20 Dec 2007 16:25:34 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 921A713C45B for ; Thu, 20 Dec 2007 16:25:34 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 01C435C2E; Thu, 20 Dec 2007 11:30:58 -0500 (EST) Date: Thu, 20 Dec 2007 11:30:58 -0500 From: Wesley Shields To: Roy Marples Message-ID: <20071220163058.GG36016@atarininja.org> References: <1198147327.1350.4.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1198147327.1350.4.camel@localhost> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: ports@freebsd.org Subject: Re: [RFC] Automated generation of /etc/resolv.conf from the rc.d script 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: Thu, 20 Dec 2007 16:25:34 -0000 On Thu, Dec 20, 2007 at 10:42:07AM +0000, Roy Marples wrote: > > Hi Eygene. You might get some ideas from this implementation then: > > http://packages.debian.org/sid/resolvconf > > At least it contains those ugly sed expression to edit forwarders in a > > named.conf. > > You may also want to look at openresolv, which is a resolvconf implementation > that works on FreeBSD as well as Linux. > http://roy.marples.name/node/343 > > I keep meaning to make a request to put that into ports :) > > Thanks > > Roy [ Moving off current@ and onto ports@ ] I've took a stab at it[1]. If you have a FreeBSD box handy and can test it out I'll be glad to receive feedback. I've never used openresolv nor do I have a use for it at the moment. I'm not sure if my removal of the symlink was the right thing to do or not since I'm not familiar with how the software works. Can you test out the port and let me know if it works normally? Also, if you want to be the maintainer I can change it to your address if I send a PR for it. -- WXS [1]: http://www.atarininja.org/~wxs/patches/openresolv.shar - Just cd /usr/ports/dns && sh /path/to/openresolv.shar