1 diff -ur libnet-1.0703.orig/Configure libnet-1.0703/Configure
2 --- libnet-1.0703.orig/Configure Mon Jan 17 17:44:18 2000
3 +++ libnet-1.0703/Configure Wed Aug 2 20:51:54 2000
6 $msg = 'Enter a list of available NNTP hosts :';
8 -$def = $oldcfg{'nntp_hosts'} ||
9 - [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ];
12 $cfg{'nntp_hosts'} = get_host_list($msg,$def);
16 $msg = 'Enter a list of available SMTP hosts :';
18 -$def = $oldcfg{'smtp_hosts'} ||
19 - [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ];
22 $cfg{'smtp_hosts'} = get_host_list($msg,$def);
26 $msg = 'Enter a list of available POP3 hosts :';
28 -$def = $oldcfg{'pop3_hosts'} || [];
31 $cfg{'pop3_hosts'} = get_host_list($msg,$def);
35 $msg = 'Enter a list of available SNPP hosts :';
37 -$def = $oldcfg{'snpp_hosts'} || [];
40 $cfg{'snpp_hosts'} = get_host_list($msg,$def);
44 $msg = 'Enter a list of available PH Hosts :' ;
46 -$def = $oldcfg{'ph_hosts'} ||
47 - [ default_hostname('dirserv') ];
50 $cfg{'ph_hosts'} = get_host_list($msg,$def);
54 $msg = 'Enter a list of available TIME Hosts :' ;
56 -$def = $oldcfg{'time_hosts'} || [];
59 $cfg{'time_hosts'} = get_host_list($msg,$def);
63 $msg = 'Enter a list of available DAYTIME Hosts :' ;
65 -$def = $oldcfg{'daytime_hosts'} || $oldcfg{'time_hosts'};
68 $cfg{'daytime_hosts'} = get_host_list($msg,$def);
71 $def = exists $oldcfg{'ftp_firewall_type'} ? $oldcfg{'ftp_firewall_type'} : 1;
72 $ans = Prompt($msg,$def);
73 $cfg{'ftp_firewall_type'} = 0+$ans;
74 - $def = $oldcfg{'ftp_firewall'} || $ENV{FTP_FIREWALL};
77 $cfg{'ftp_firewall'} = get_hostname("FTP proxy hostname :", $def);