[mozilla-adblockplus] Hopefully disable the safe ads feature by default.

Russell William Golden niveusluna at fedoraproject.org
Thu Jan 5 17:02:03 UTC 2012


commit e226b3ed97ac2389219412408d708f80b91ff0cc
Author: Russell William Golden <niveusluna at niveusluna.org>
Date:   Thu Jan 5 10:36:30 2012 -0600

    Hopefully disable the safe ads feature by default.

 disable-safeads.patch    |   12 ++++++++++++
 mozilla-adblockplus.spec |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/disable-safeads.patch b/disable-safeads.patch
new file mode 100644
index 0000000..dc97526
--- /dev/null
+++ b/disable-safeads.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-adblockplus-2.0.3/defaults/preferences/adblockplus.js.old mozilla-adblockplus-2.0.3/defaults/preferences/adblockplus.js
+--- mozilla-adblockplus-2.0.3/defaults/preferences/adblockplus.js.old	2012-01-05 10:26:14.590944737 -0600
++++ mozilla-adblockplus-2.0.3/defaults/preferences/adblockplus.js	2012-01-05 10:26:27.667588231 -0600
+@@ -23,7 +23,7 @@ pref("extensions.adblockplus.subscriptio
+ pref("extensions.adblockplus.subscriptions_listurl", "https://adblockplus.org/subscriptions2.xml");
+ pref("extensions.adblockplus.subscriptions_fallbackurl", "https://adblockplus.org/getSubscription?version=%VERSION%&url=%SUBSCRIPTION%&downloadURL=%URL%&error=%ERROR%&channelStatus=%CHANNELSTATUS%&responseStatus=%RESPONSESTATUS%");
+ pref("extensions.adblockplus.subscriptions_fallbackerrors", 5);
+-pref("extensions.adblockplus.subscriptions_exceptionsurl", "https://easylist-downloads.adblockplus.org/exceptionrules.txt");
++pref("extensions.adblockplus.subscriptions_exceptionsurl", "");
+ pref("extensions.adblockplus.subscriptions_exceptionscheckbox", true);
+ pref("extensions.adblockplus.documentation_link", "https://adblockplus.org/redirect?link=%LINK%&lang=%LANG%");
+ pref("extensions.adblockplus.savestats", true);
diff --git a/mozilla-adblockplus.spec b/mozilla-adblockplus.spec
index 799b3a6..351826a 100644
--- a/mozilla-adblockplus.spec
+++ b/mozilla-adblockplus.spec
@@ -15,7 +15,7 @@
 
 Name:           mozilla-adblockplus
 Version:        2.0.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Adblocking extension for Mozilla Firefox, Thunderbird, and Seamonkey
 
 Group:          Applications/Internet
@@ -26,6 +26,7 @@ Source0:        %{name}-%{version}.tar.bz2
 Source1:        %{name}-%{version}-buildtools.tar.bz2
 Source99:       %{name}-tarball.sh
 Patch0:         mozilla-adblockplus-1.3.8-buildNum.patch
+Patch1:		disable-safeads.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -46,6 +47,7 @@ element hiding over the original Adblock extension.
 %prep
 %setup -q -a 1
 %patch0 -p 1
+%patch1 -p 1
 
 
 %build
@@ -95,6 +97,9 @@ rm -rf %{buildroot}
 %{thunderbird_inst_dir}
 
 %changelog
+* Thu Jan 05 2012 Russell Golden <niveusluna at niveusluna.org> - 2.0.3-2
+- Disable the "safe ads" feature by default
+
 * Thu Jan 05 2012 Russell Golden <niveusluna at niveusluna.org> - 2.0.3-1
 - Update to upstream 2.0.3 release
 


More information about the scm-commits mailing list