aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/02_use_packaged_openlayers_js.patch
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2015-08-15 21:10:20 +0200
committerBalint Reczey <balint@balintreczey.hu>2015-08-19 19:12:45 +0000
commitbb96725754e5d0cfe68994b52141e70a3406286f (patch)
tree8b93fcb1ed1d607153d8dc5d46a02f0487791659 /debian/patches/02_use_packaged_openlayers_js.patch
parent9380d066e266751786df82afe93a3165d62bcd22 (diff)
Use system's OpenLayers.js on Debian
Change-Id: Id790ee61d3443e2f96a83260514fa3a6d31d09da Reviewed-on: https://code.wireshark.org/review/10050 Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'debian/patches/02_use_packaged_openlayers_js.patch')
-rw-r--r--debian/patches/02_use_packaged_openlayers_js.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/02_use_packaged_openlayers_js.patch b/debian/patches/02_use_packaged_openlayers_js.patch
new file mode 100644
index 0000000000..593efa9a9d
--- /dev/null
+++ b/debian/patches/02_use_packaged_openlayers_js.patch
@@ -0,0 +1,17 @@
+Description: Use system's OpenLayers.js to avoid privacy breach
+Forwarded: not-needed
+Author: Balint Reczey <balint@balintreczey.hu>
+
+diff --git a/ipmap.html b/ipmap.html
+index c1e83d0..94f4535 100644
+--- a/ipmap.html
++++ b/ipmap.html
+@@ -8,7 +8,7 @@
+ line-height: 17px;
+ }
+ </style>
+- <script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
++ <script type="text/javascript" src="file:///usr/share/javascript/openlayers/OpenLayers.js"></script>
+ <script type="text/javascript" src="http://openstreetmap.org/openlayers/OpenStreetMap.js"></script>
+
+ <script type="text/javascript">