--- mozilla-noscript-1.1.4.8.070602.orig/debian/patches/00list +++ mozilla-noscript-1.1.4.8.070602/debian/patches/00list @@ -0,0 +1 @@ +50_whitelist.dpatch --- mozilla-noscript-1.1.4.8.070602.orig/debian/patches/50_whitelist.dpatch +++ mozilla-noscript-1.1.4.8.070602/debian/patches/50_whitelist.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 50_whitelist.dpatch by Arnaud Renevier +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: remove all web sites from whitelist + +@DPATCH@ +diff -Nur temp/defaults/preferences/noscript.js temp~/defaults/preferences/noscript.js +--- temp/defaults/preferences/noscript.js 2007-05-06 15:10:57.000000000 +0200 ++++ temp~/defaults/preferences/noscript.js 2007-05-06 15:11:15.000000000 +0200 +@@ -13,7 +13,7 @@ + pref("noscript.showBaseDomain", true); + pref("noscript.showGlobal", true); + pref("noscript.permanent", ""); +-pref("noscript.default", "chrome: resource: about:blank about:neterror about:config about:plugins about:credits addons.mozilla.org flashgot.net gmail.com google.com googlesyndication.com informaction.com yahoo.com yimg.com maone.net noscript.net hotmail.com msn.com passport.com passport.net passportimages.com live.com"); ++pref("noscript.default", "chrome: resource: about:blank about:neterror about:config about:plugins about:credits"); + pref("noscript.forbidJava", true); + pref("noscript.forbidFlash", false); + pref("noscript.forbidPlugins", false); --- mozilla-noscript-1.1.4.8.070602.orig/debian/changelog +++ mozilla-noscript-1.1.4.8.070602/debian/changelog @@ -0,0 +1,11 @@ +mozilla-noscript (1.1.4.8.070602-1) unstable; urgency=low + + * New upstream release + + -- Arnaud Renevier Thu, 07 Jun 2007 10:31:28 +0200 + +mozilla-noscript (1.1.4.8.070502-1) unstable; urgency=low + + * Initial release. (Closes: #411403) + + -- Arnaud Renevier Thu, 17 May 2007 00:04:38 +0200 --- mozilla-noscript-1.1.4.8.070602.orig/debian/README.Debian-source +++ mozilla-noscript-1.1.4.8.070602/debian/README.Debian-source @@ -0,0 +1,11 @@ +Noscript for Debian +------------------- + +As upstream sources are packaged in a Cross-Platform Install (XPInstall) file, +sources have to be repackaged. Original debian package was created from version +1.1.4.8.070502 as follows: + + mkdir mozilla-noscript-1.1.4.8.070502 + unzip noscript-1.1.4.8.070502.xpi -d mozilla-noscript-1.1.4.8.070502/ + tar zcvf mozilla-noscript_1.1.4.8.070502.orig.tar.gz mozilla-noscript-1.1.4.8.070502 + -- Arnaud Renevier Thu, 17 May 2007 19:43:42 +0200 --- mozilla-noscript-1.1.4.8.070602.orig/debian/compat +++ mozilla-noscript-1.1.4.8.070602/debian/compat @@ -0,0 +1 @@ +5 --- mozilla-noscript-1.1.4.8.070602.orig/debian/copyright +++ mozilla-noscript-1.1.4.8.070602/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Arnaud Renevier on +Wed, 31 Jan 2007 23:44:45 +0100. + +It was downloaded from http://noscript.net/getit + +Upstream Author: Giorgio Maone + +Copyright (C) 2004-2007 Giorgio Maone + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Arnaud Renevier and is +licensed under the GPL, see above. --- mozilla-noscript-1.1.4.8.070602.orig/debian/postinst +++ mozilla-noscript-1.1.4.8.070602/debian/postinst @@ -0,0 +1,50 @@ +#! /bin/sh +# postinst script for mozilla-noscript +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + + if which update-iceape-chrome 2> /dev/null > /dev/null + then + update-iceape-chrome + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mozilla-noscript-1.1.4.8.070602.orig/debian/control +++ mozilla-noscript-1.1.4.8.070602/debian/control @@ -0,0 +1,23 @@ +Source: mozilla-noscript +Section: web +Priority: optional +Maintainer: Arnaud Renevier +Build-Depends: debhelper (>= 5), dpatch +Build-Depends-Indep: unzip +Standards-Version: 3.7.2 + +Package: mozilla-noscript +Architecture: all +Depends: iceweasel | iceape-browser +Description: Javascript/plugins permissions manager for Iceweasel and Iceape + This extension brings a powerful control over the way external scripts or + embedded programs, such as Java or Flash, are loaded. + . + By blocking scripts and/or plugins, it improves security and disables annoying + behaviours caused by malicious scripts. + . + When a script is blocked, you are notified, and you can unblock a site or a + page, either temporarily or permanently. You can then set a whitelist of + trusted sites based on url or on domain name. + . + Homepage: http://noscript.net/ --- mozilla-noscript-1.1.4.8.070602.orig/debian/dirs +++ mozilla-noscript-1.1.4.8.070602/debian/dirs @@ -0,0 +1,3 @@ +usr/share/mozilla-extensions/noscript/chrome +usr/share/mozilla-extensions/noscript/components +usr/share/mozilla-extensions/conquery/defaults/preferences --- mozilla-noscript-1.1.4.8.070602.orig/debian/watch +++ mozilla-noscript-1.1.4.8.070602/debian/watch @@ -0,0 +1,5 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://noscript.net/getit \ + http://software.informaction.com/data/releases/noscript-([\d\.]+).xpi --- mozilla-noscript-1.1.4.8.070602.orig/debian/postrm +++ mozilla-noscript-1.1.4.8.070602/debian/postrm @@ -0,0 +1,42 @@ +#! /bin/sh +# postrm script for mozilla-noscript +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "$1" in + remove|abort-install) + if which update-iceape-chrome 2> /dev/null > /dev/null + then + update-iceape-chrome + fi + ;; + purge|upgrade|failed-upgrade|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mozilla-noscript-1.1.4.8.070602.orig/debian/rules +++ mozilla-noscript-1.1.4.8.070602/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +build: build-stamp + +build-stamp: patch-stamp + dh_testdir + unzip -o -j chrome/noscript.jar content/noscript/CHANGELOG + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f CHANGELOG + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + dh_install + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i CHANGELOG + dh_installdocs -i debian/README.Debian-source + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + +binary: binary-indep binary-arch + +.PHONY: build clean clean-patched binary-indep binary-arch binary install --- mozilla-noscript-1.1.4.8.070602.orig/debian/chrome.d +++ mozilla-noscript-1.1.4.8.070602/debian/chrome.d @@ -0,0 +1,36 @@ +content,install,url,jar:resource:/chrome/noscript.jar!/content/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/content/noscript/en-US/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/de-DE/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/fr-FR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/fi-FI/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/it-IT/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/nl-NL/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/pt-PT/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/pt-BR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/ca-AD/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/ja-JP/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/pl-PL/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/cs-CZ/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/tr-TR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/ru-RU/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/zh-CN/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/zh-TW/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/nb-NO/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/bg-BG/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/ro-RO/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/sk-SK/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/hu-HU/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/mk-MK/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/da-DK/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/sv-SE/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/uk-UA/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/th-TH/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/fa-IR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/el-GR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/en-GB/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/hr-HR/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/be-BY/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/lt-LT/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/sr-YU/noscript/ +locale,install,url,jar:resource:/chrome/noscript.jar!/locale/es-ES/noscript/ +skin,install,url,jar:resource:/chrome/noscript.jar!/skin/classic/noscript/ --- mozilla-noscript-1.1.4.8.070602.orig/debian/README.Debian +++ mozilla-noscript-1.1.4.8.070602/debian/README.Debian @@ -0,0 +1,26 @@ +This is the mozilla-noscript Debian package. + +The following patch has been applied: + + - Remove all sites from default whitelist. Those sites where + * addons.mozilla.org + * flashgot.net + * gmail.com + * google.com + * googlesyndication.com + * informaction.com + * yahoo.com + * yimg.com + * maone.net + * noscript.net + * hotmail.com + * msn.com + * passport.com + * passport.net + * passportimages.com + * live.com + If you wish to enable scripts on one or more of those sites, you need to add + them to the whitelist manually. + +-- +Arnaud Renevier Wed, 16 May 2007 23:56:24 +0200 --- mozilla-noscript-1.1.4.8.070602.orig/debian/mozilla-noscript.install +++ mozilla-noscript-1.1.4.8.070602/debian/mozilla-noscript.install @@ -0,0 +1,7 @@ +install.rdf usr/share/mozilla-extensions/noscript/ +.autoreg usr/share/mozilla-extensions/noscript/ +chrome.manifest usr/share/mozilla-extensions/noscript/ +chrome/noscript.jar usr/share/mozilla-extensions/noscript/chrome/ +components/noscriptService.js usr/share/mozilla-extensions/noscript/components/ +defaults/preferences/noscript.js usr/share/mozilla-extensions/noscript/defaults/preferences/ +debian/chrome.d usr/share/mozilla-extensions/noscript/ --- mozilla-noscript-1.1.4.8.070602.orig/debian/mozilla-noscript.links +++ mozilla-noscript-1.1.4.8.070602/debian/mozilla-noscript.links @@ -0,0 +1,5 @@ +usr/share/mozilla-extensions/noscript/ usr/lib/iceweasel/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232} +usr/share/mozilla-extensions/noscript/chrome/noscript.jar usr/share/iceape/chrome/noscript.jar +usr/share/mozilla-extensions/noscript/chrome.d var/lib/iceape/chrome.d/20noscript +usr/share/mozilla-extensions/noscript/components/noscriptService.js usr/lib/iceape/components/noscriptService.js +usr/share/mozilla-extensions/noscript/defaults/preferences/noscript.js usr/share/iceape/defaults/pref/noscript.js --- mozilla-noscript-1.1.4.8.070602.orig/.autoreg +++ mozilla-noscript-1.1.4.8.070602/.autoreg @@ -0,0 +1 @@ +