$NetBSD: patch-aa,v 1.7 2000/07/03 11:31:04 mjl Exp $ *** Configure.orig Mon Jan 17 17:44:18 2000 --- Configure Mon Jul 3 12:23:05 2000 *************** *** 258,275 **** #--------------------------------------------------------------------------- ! if($have_old && !$opt_d) ! { ! $msg = <. To accept the ! default, hit ! ! EDQ $msg = 'Enter a list of available NNTP hosts :'; $def = $oldcfg{'nntp_hosts'} || [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ]; ! $cfg{'nntp_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 302,322 ---- #--------------------------------------------------------------------------- ! # print <. To accept the ! # default, hit ! # ! # EDQ $msg = 'Enter a list of available NNTP hosts :'; $def = $oldcfg{'nntp_hosts'} || [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ]; ! $cfg{'nntp_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 324,330 **** $def = $oldcfg{'smtp_hosts'} || [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ]; ! $cfg{'smtp_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 325,331 ---- $def = $oldcfg{'smtp_hosts'} || [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ]; ! $cfg{'smtp_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 332,338 **** $def = $oldcfg{'pop3_hosts'} || []; ! $cfg{'pop3_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 333,339 ---- $def = $oldcfg{'pop3_hosts'} || []; ! $cfg{'pop3_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 340,346 **** $def = $oldcfg{'snpp_hosts'} || []; ! $cfg{'snpp_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 341,347 ---- $def = $oldcfg{'snpp_hosts'} || []; ! $cfg{'snpp_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 349,355 **** $def = $oldcfg{'ph_hosts'} || [ default_hostname('dirserv') ]; ! $cfg{'ph_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 350,356 ---- $def = $oldcfg{'ph_hosts'} || [ default_hostname('dirserv') ]; ! $cfg{'ph_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 357,363 **** $def = $oldcfg{'time_hosts'} || []; ! $cfg{'time_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 358,364 ---- $def = $oldcfg{'time_hosts'} || []; ! $cfg{'time_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 365,371 **** $def = $oldcfg{'daytime_hosts'} || $oldcfg{'time_hosts'}; ! $cfg{'daytime_hosts'} = get_host_list($msg,$def); #--------------------------------------------------------------------------- --- 366,372 ---- $def = $oldcfg{'daytime_hosts'} || $oldcfg{'time_hosts'}; ! $cfg{'daytime_hosts'} = $def; #--------------------------------------------------------------------------- *************** *** 378,384 **** (y|n) ? EDQ ! if(get_bool($msg,0)) { $msg = <<'EDQ'; What series of FTP commands do you need to send to your --- 379,386 ---- (y|n) ? EDQ ! # XXX Should probably honor USE_SOCKS? --mjl ! if(0 && get_bool($msg,0)) { $msg = <<'EDQ'; What series of FTP commands do you need to send to your *************** *** 489,503 **** #--------------------------------------------------------------------------- ! print <