summaryrefslogtreecommitdiff
path: root/perl-libnet-Configure.patch
blob: 921a1d6cb202f496ee03a04dfead52956c98bc54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
--- libnet-3.02/Configure.orig	2014-10-11 00:59:32.000000000 +0200
+++ libnet-3.02/Configure	2014-10-27 17:50:29.824984858 +0100
@@ -322,8 +322,7 @@
 
 $msg = 'Enter a list of available NNTP hosts :';
 
-$def = $oldcfg{'nntp_hosts'} ||
-        [ default_hostname($ENV{NNTPSERVER},$ENV{NEWSHOST},'news') ];
+$def = [];
 
 $cfg{'nntp_hosts'} = get_host_list($msg,$def);
 
@@ -331,8 +330,7 @@
 
 $msg = 'Enter a list of available SMTP hosts :';
 
-$def = $oldcfg{'smtp_hosts'} ||
-        [ default_hostname(split(/:/,$ENV{SMTPHOSTS} || ""), 'mailhost') ];
+$def = [];
 
 $cfg{'smtp_hosts'} = get_host_list($msg,$def);
 
@@ -340,7 +338,7 @@
 
 $msg = 'Enter a list of available POP3 hosts :';
 
-$def = $oldcfg{'pop3_hosts'} || [];
+$def = [];
 
 $cfg{'pop3_hosts'} = get_host_list($msg,$def);
 
@@ -348,7 +346,7 @@
 
 $msg = 'Enter a list of available SNPP hosts :';
 
-$def = $oldcfg{'snpp_hosts'} || [];
+$def = [];
 
 $cfg{'snpp_hosts'} = get_host_list($msg,$def);
 
@@ -356,8 +354,7 @@
 
 $msg = 'Enter a list of available PH Hosts   :'  ;
 
-$def = $oldcfg{'ph_hosts'} ||
-        [ default_hostname('dirserv') ];
+$def = [];
 
 $cfg{'ph_hosts'}   =  get_host_list($msg,$def);
 
@@ -365,7 +362,7 @@
 
 $msg = 'Enter a list of available TIME Hosts   :'  ;
 
-$def = $oldcfg{'time_hosts'} || [];
+$def = [];
 
 $cfg{'time_hosts'} = get_host_list($msg,$def);
 
@@ -373,7 +370,7 @@
 
 $msg = 'Enter a list of available DAYTIME Hosts   :'  ;
 
-$def = $oldcfg{'daytime_hosts'} || $oldcfg{'time_hosts'};
+$def = [];
 
 $cfg{'daytime_hosts'} = get_host_list($msg,$def);
 
@@ -437,7 +434,7 @@
  $def = exists $oldcfg{'ftp_firewall_type'}  ? $oldcfg{'ftp_firewall_type'} : 1;
  $ans = Prompt($msg,$def);
  $cfg{'ftp_firewall_type'} = 0+$ans;
- $def = $oldcfg{'ftp_firewall'} || $ENV{FTP_FIREWALL};
+ $def = [];
 
  $cfg{'ftp_firewall'} = get_hostname("FTP proxy hostname :", $def);
 }