[Pkg-mozext-maintainers] Bug#922396: Updated package / patch and status information

Helge Kreutzmann debian at helgefjell.de
Mon Jul 27 12:08:13 BST 2020

tags 922396 + patch

this is a central package, so I had a look at it. Unfortunately,
README.source is outdated, the following recipe works:

 * apt-get source
 * cd mozilla-noscript-
 * uscan
 * create appropriate directory, cd into it and tar xJvf ../mozilla-noscript_….orig.tar.xz
 * copy over debian directory from
 * export QUILT_PATCHES=debian/patches
 * quilt new 0002b-remove-websites-from-default-white-list.patch
 * quilt edit common/Policy.js
 * quilt refresh
 * comment out 0002 (original) patch in debian/patches/series
 * dch -i und Changelog-Eintrag vorgenommen (Note: version number)
 * debuild

for version 11.0.34 the (new/updated) patch is as follows:
Author: Ximin Luo <infinity0 at debian.org>, Helge Kreutzmann <debian at helgefjell.de>
Description: remove websites from default white list
 Original patch by
 From: arno <arenevier at fdn.fr>
 Date: Tue, 25 Aug 2009 23:32:30 +0200
 Subject: remove websites from default white list

Index: mozilla-noscript-11.0.34/common/Policy.js
--- mozilla-noscript-11.0.34.orig/common/Policy.js
+++ mozilla-noscript-11.0.34/common/Policy.js
@@ -294,21 +294,7 @@ var {Permissions, Policy, Sites} = (() =
   function defaultOptions() {
     return {
-        trusted: `addons.mozilla.org
-          afx.ms ajax.aspnetcdn.com
-          ajax.googleapis.com bootstrapcdn.com
-          code.jquery.com firstdata.com firstdata.lv gfx.ms
-          google.com googlevideo.com gstatic.com
-          hotmail.com live.com live.net
-          maps.googleapis.com mozilla.net
-          netflix.com nflxext.com nflximg.com nflxvideo.net
-          noscript.net
-          outlook.com passport.com passport.net passportimages.com
-          paypal.com paypalobjects.com
-          securecode.com securesuite.net sfx.ms tinymce.cachefly.net
-          wlxrs.com
-          yahoo.com yahooapis.com
-          yimg.com youtube.com ytimg.com`.split(/\s+/).map(Sites.secureDomainKey),
+        trusted: ``.split(/\s+/).map(Sites.secureDomainKey),
         untrusted: [],
         custom: {},

Now I have to check if this updated version works …

Btw., version still seems to work in firefox 68.10.0esr-1.



P.S. If someone takes over mozilla-noscript, README.source should be 
     updated as well
      Dr. Helge Kreutzmann                     debian at helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mozext-maintainers/attachments/20200727/da92164d/attachment.sig>

More information about the Pkg-mozext-maintainers mailing list