On Tue, Feb 22, 2011 at 02:51:06AM +0900, Hajimu UMEMOTO wrote:
> >>>>> On Tue, 22 Feb 2011 01:50:17 +0900
> >>>>> Hajimu UMEMOTO <u...@freebsd.org> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to