Ticket #34229: patch-setup.py.diff
File patch-setup.py.diff, 1.3 KB (added by fclaire@…, 13 years ago) |
---|
-
setup.py
old new 62 62 'server' 63 63 ], 64 64 data_files = [ 65 (' /etc/fail2ban',65 ('@@PREFIX@@/etc/fail2ban', 66 66 glob("config/*.conf") 67 67 ), 68 (' /etc/fail2ban/filter.d',68 ('@@PREFIX@@/etc/fail2ban/filter.d', 69 69 glob("config/filter.d/*.conf") 70 70 ), 71 (' /etc/fail2ban/action.d',71 ('@@PREFIX@@/etc/fail2ban/action.d', 72 72 glob("config/action.d/*.conf") 73 73 ), 74 (' /var/run/fail2ban',74 ('@@PREFIX@@/var/run/fail2ban', 75 75 '' 76 76 ) 77 77 ] … … 81 81 # Search for obsolete files. 82 82 obsoleteFiles = [] 83 83 elements = { 84 " /etc/":84 "@@PREFIX@@/etc/": 85 85 [ 86 86 "fail2ban.conf" 87 87 ], 88 " /usr/bin/":88 "@@PREFIX@@/bin/": 89 89 [ 90 90 "fail2ban.py" 91 91 ], 92 " /usr/lib/fail2ban/firewall/":92 "@@PREFIX@@/lib/fail2ban/firewall/": 93 93 [ 94 94 "iptables.py", 95 95 "ipfwadm.py", 96 96 "ipfw.py" 97 97 ], 98 " /usr/lib/fail2ban/":98 "@@PREFIX@@/lib/fail2ban/": 99 99 [ 100 100 "version.py", 101 101 "protocol.py" … … 129 129 if argv[1] == "install": 130 130 print 131 131 print "Please do not forget to update your configuration files." 132 print "They are in /etc/fail2ban/."132 print "They are in @@PREFIX@@/etc/fail2ban/." 133 133 print