1 --- libnet-3.02/Configure.orig 2014-10-11 00:59:32.000000000 +0200
2 +++ libnet-3.02/Configure 2014-10-27 17:50:29.824984858 +0100
5 $msg = 'Enter a list of available NNTP hosts :';
7 -$def = $oldcfg{'nntp_hosts'} ||
8 - [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ];
11 $cfg{'nntp_hosts'} = get_host_list($msg,$def);
15 $msg = 'Enter a list of available SMTP hosts :';
17 -$def = $oldcfg{'smtp_hosts'} ||
18 - [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ];
21 $cfg{'smtp_hosts'} = get_host_list($msg,$def);
25 $msg = 'Enter a list of available POP3 hosts :';
27 -$def = $oldcfg{'pop3_hosts'} || [];
30 $cfg{'pop3_hosts'} = get_host_list($msg,$def);
34 $msg = 'Enter a list of available SNPP hosts :';
36 -$def = $oldcfg{'snpp_hosts'} || [];
39 $cfg{'snpp_hosts'} = get_host_list($msg,$def);
43 $msg = 'Enter a list of available PH Hosts :' ;
45 -$def = $oldcfg{'ph_hosts'} ||
46 - [ default_hostname('dirserv') ];
49 $cfg{'ph_hosts'} = get_host_list($msg,$def);
53 $msg = 'Enter a list of available TIME Hosts :' ;
55 -$def = $oldcfg{'time_hosts'} || [];
58 $cfg{'time_hosts'} = get_host_list($msg,$def);
62 $msg = 'Enter a list of available DAYTIME Hosts :' ;
64 -$def = $oldcfg{'daytime_hosts'} || $oldcfg{'time_hosts'};
67 $cfg{'daytime_hosts'} = get_host_list($msg,$def);
70 $def = exists $oldcfg{'ftp_firewall_type'} ? $oldcfg{'ftp_firewall_type'} : 1;
71 $ans = Prompt($msg,$def);
72 $cfg{'ftp_firewall_type'} = 0+$ans;
73 - $def = $oldcfg{'ftp_firewall'} || $ENV{FTP_FIREWALL};
76 $cfg{'ftp_firewall'} = get_hostname("FTP proxy hostname :", $def);