[Pkg-mozext-commits] [ubiquity-extension] 07/08: Do not get remote images.

Gabriele Giacone gg0-guest at moszumanska.debian.org
Wed Jul 30 00:24:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

gg0-guest pushed a commit to branch master
in repository ubiquity-extension.

commit 3af66cf5d199655744bc8cc36c6b1c1024695081
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date:   Wed Jul 30 02:08:14 2014 +0200

    Do not get remote images.
---
 debian/changelog                     |  5 +++--
 debian/patches/03noremoteicons.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ba0d53..fc6e578 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ ubiquity-extension (0.6.4~pre20140729-1) UNRELEASED; urgency=medium
 
   * Hg snapshot.
   * Switch PTS to new Package Tracker.
-  * Missing sources: copied under d/missing-sources, added copyright
-    entries.
+  * Missing sources under d/missing-sources, added copyright
+    entries [source-is-missing].
+  * Add patch to avoid getting remote images [privacy-breach-logo].
   * Bump Standards-Version to 3.9.5 (no changes).
 
  -- Gabriele Giacone <1o5g4r8o at gmail.com>  Tue, 29 Jul 2014 16:53:16 +0200
diff --git a/debian/patches/03noremoteicons.patch b/debian/patches/03noremoteicons.patch
new file mode 100644
index 0000000..e1613c0
--- /dev/null
+++ b/debian/patches/03noremoteicons.patch
@@ -0,0 +1,24 @@
+Description: Do not download remote images.
+ See privacy-breach-logo lintian tag.
+Author: Gabriele Giacone <1o5g4r8o at gmail.com>
+
+--- a/standard-feeds/social.js
++++ b/standard-feeds/social.js
+@@ -293,7 +293,7 @@ CmdUtils.CreateCommand({
+ 
+     var tmpl;
+ 
+-    var delicious = '<img src="http://delicious.com/favicon.ico"> '
++    var delicious = ''
+       +'<b><a style="color: #3774D0" href="http://delicious.com">delicious.com</a></b>';
+ 
+     if (!bm.bookmarkable) {
+@@ -318,7 +318,7 @@ CmdUtils.CreateCommand({
+ 
+     } else {
+ 
+-      delicious = '<img src="http://delicious.com/favicon.ico"> '
++      delicious = ''
+         +'<b><a href="http://delicious.com/${user_name}">delicious.com/${user_name}</a></b>';
+ 
+       // Attempt to construct a vaguely delicious-esque preview of a bookmark.
diff --git a/debian/patches/series b/debian/patches/series
index 7121194..b0fc3a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01debiancmds.patch
 02defaultkeys.patch
+03noremoteicons.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/ubiquity-extension.git



More information about the Pkg-mozext-commits mailing list