Re: LAST CALL FOR TEST: Re: Suggestion: Removal of BIND from bas

看板DFBSD_submit作者時間15年前 (2010/04/13 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/14 (看更多)
Justin C. Sherrill wrote: > On Sun, April 11, 2010 10:45 pm, Aggelos Economopoulos wrote: > >> Perhaps we can provide a 'host' script that generates mostly-compatible >> output using drill in the background? > > Me nitpicking: What happens if people install BIND from pkgsrc? Which > 'host' would run? I think it would the native version, which would have > strange output. If it was changed to the pkgsrc version, the change in > output style may confuse things. Beh. There could be scripts using host to do nontrivial queries I guess. Scrap that idea. > My thought is that a behind-the-scenes change that makes it look like host > or dig are still present, but really aren't, may lead to more overall > confusion than having bind need to come from pkgsrc; that may be the > preferred solution. Agreed. Another idea would be to make host an alias (so it wouldn't matter for scripts) for if test -z `which host`; then echo "DragonFly no longer includes the BIND tools in the base system" echo "You need to install BIND from pkgsrc" echo "Alternatively, you can use drill(1)" else exec `which host` fi in /etc/profile (and the csh equivalent). OTOH I'm not sure we want to add stuff like that when we remove things from base. Dunno. Are we going to install the BIND package by default? Aggelos
文章代碼(AID): #1Bms076q (DFBSD_submit)
討論串 (同標題文章)
完整討論串 (本文為第 14 之 14 篇):
文章代碼(AID): #1Bms076q (DFBSD_submit)