Several changes from Debian package 3.0.12 to 3.0.19-1.
[privoxy.git] / debian / patches / 28_listen_localhost.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 28_listen_localhost.dpatch by Roland Rosenfeld <roland@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Listen on localhost:8118 instead of 127.0.0.1:8118, because
6 ## DP: this is independent from localhost IP (127.0.0.1 vs. 127.0.1.1)
7 ## DP: and also supports IPv6 (Closes: #512888)
8
9 @DPATCH@
10 diff -urNad '--exclude=CVS' '--exclude=.svn' privoxy~/config privoxy/config
11 --- privoxy~/config
12 +++ privoxy/config
13 @@ -773,7 +773,7 @@
14  #
15  #        listen-address [::1]:8118
16  #
17 -listen-address  127.0.0.1:8118
18 +listen-address  localhost:8118
19  #
20  #
21  #  4.2. toggle