From owner-freebsd-current@FreeBSD.ORG Wed Feb 23 23:10:24 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E591106566C; Wed, 23 Feb 2011 23:10:24 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8B98FC12; Wed, 23 Feb 2011 23:10:23 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 0C6101DD748; Thu, 24 Feb 2011 00:10:21 +0100 (CET) Received: by turtle.stack.nl (Postfix, from userid 1677) id E804417363; Thu, 24 Feb 2011 00:10:20 +0100 (CET) Date: Thu, 24 Feb 2011 00:10:20 +0100 From: Jilles Tjoelker To: Hajimu UMEMOTO Message-ID: <20110223231020.GA69292@stack.nl> References: <20110220181713.C13400@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "Bjoern A. Zeeb" , FreeBSD current mailing list Subject: Re: CFR: importing openresolv X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 23:10:24 -0000 On Tue, Feb 22, 2011 at 02:51:06AM +0900, Hajimu UMEMOTO wrote: > >>>>> On Tue, 22 Feb 2011 01:50:17 +0900 > >>>>> Hajimu UMEMOTO said: > bz> Do you have an updated patch for 3.4.1 or 3.3.6? I'd like to help to > bz> you get it in for 9.0-R. I wouldn't even mind if some ports would > bz> conflict with it for a while not making the situation any worse than > bz> it is these days. > ume> I didn't notice that openresolv was updated. I'll soon make a new > ume> diff for 3.4.1. > ume> hrs@ noticed that ppp(8) and uhsoctl(8) in our base tree touch > ume> /etc/resolv.conf. We need to change them to use resovlconf(8). > I've updated a patch for 3.4.1: > http://www.imasy.or.jp/~ume/FreeBSD/openresolv-20110222.diff.gz > If you have the previous patch applied, make sure to remove > src/contrib/openresolv and src/sbin/resolvconf before applying new > one. This looks like it can work, but note that it depends on some 9-CURRENT sh(1) features: * A printf(1) builtin, required to run without /usr. I don't see a sane way to avoid this. * Some of the expansion changes, required for the line: iface="${line#\# resolv.conf from *}" This can be avoided by changing that line to: iface=${line#\# resolv.conf from *} -- Jilles Tjoelker