Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id C5398780ECF for <~alpine/aports@lists.alpinelinux.org>; Sat, 20 Mar 2021 13:18:13 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1616246290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Q8MUmzHZ74RK2S2fT4wHCCqVo/FpBbFNqDEmWIqG1Fo=; b=lIjWjR4wrl9VlkxS5HTIr4lfcgPAR+uHiABPfOLQUsYF8v2AwX7Z8T/eCXdk+rkB/cFL1K 8LksUJS3vHWyu+zTk+i7vH0G2E2PpOmE53FVsFvDh+R6cj6Z7uHltQ+JqCbMhH0KILeOx/ cQAxEGiHT7m/0cV9FjUiUMDrHtFgg5L/INDFyKFEBVslISLf/0JGtOC7XK0f0QUJevcXaI 5SzDS+VGMtlohyVxRrAMjfPyh4DiOb+kK7iMy49bjM+/TUg5NiO5bJUa7H7ooYF7uCC4dC dLGYOaYoVLjfn7G42OpM1JKZv4s/175sU2kEG3FdXS2dZc3AhtiTv03v8bQr3Q== From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH] community/firefox: disable "Pocket top stories" Date: Sat, 20 Mar 2021 09:18:07 -0400 Message-Id: <20210320131807.18110-1-sir@cmpwn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: sir@cmpwn.com This "feature" phones home to show ads in the new tab page. Patch courtesy of Debian. --- community/firefox/APKBUILD | 7 +++++-- community/firefox/disable-topstories.patch | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 community/firefox/disable-topstories.patch diff --git a/community/firefox/APKBUILD b/community/firefox/APKBUILD index 79ceead383..3f82965848 100644 --- a/community/firefox/APKBUILD +++ b/community/firefox/APKBUILD @@ -5,7 +5,7 @@ pkgname=firefox pkgver=85.0.2 # Date of release, YY-MM-DD for metainfo file (see package()) _releasedate=2021-02-09 -pkgrel=0 +pkgrel=1 pkgdesc="Firefox web browser" url="https://www.firefox.com/" # Limited on: @@ -82,6 +82,8 @@ source="https://ftp.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkg avoid-redefinition.patch fix-rust-1.50-build.patch + + disable-topstories.patch " subpackages="$pkgname-npapi" @@ -433,4 +435,5 @@ f963fcdba7307a0b1712dfb95ceba4ab49f449f60e550bb69d15d50272e6df9add90862251ee561e db26757b2ebf9f567962e32294b4ae48b3a5d0378a7589dfe650fe3a179ff58befbab5082981c68e1c25fb9e56b2db1e4e510d4bca17c3e3aedbf9a2f21806eb sandbox-sched_setscheduler.patch b7d0a6126bdf6c0569f80aabf5b37ed2c7a35712eb8a0404a2d85381552f5555d4f97d213ea26cec6a45dc2785f22439376ed5f8e78b4fd664ef0223307b333e sandbox-largefile.patch b1cb2db3122634f66d2bae7066e76f2dcd455c464e021db4de3b0a08314df95cb667846081682db549dd2af8a00831cabe44a2420c66cdfb5e3b5fa7e6bd21d3 avoid-redefinition.patch -82ab4acd3a91828f5b6b62cfbb464c3d4887913c3522b4381e08eaf96a5da6e9e35a97a584500cfae84f397a190d0c8e4523b97837a2fce2f13d71abbcf5b1e1 fix-rust-1.50-build.patch" +82ab4acd3a91828f5b6b62cfbb464c3d4887913c3522b4381e08eaf96a5da6e9e35a97a584500cfae84f397a190d0c8e4523b97837a2fce2f13d71abbcf5b1e1 fix-rust-1.50-build.patch +dc82cc5d723b624dd7a90c042e8316159ae4ea4aef31ed82a33a6ca282932cf28cdc01682590ff19d3336e27fc93153fba9b6212affb11bdd6c418fabd896d3a disable-topstories.patch" diff --git a/community/firefox/disable-topstories.patch b/community/firefox/disable-topstories.patch new file mode 100644 index 0000000000..15a351741d --- /dev/null +++ b/community/firefox/disable-topstories.patch @@ -0,0 +1,15 @@ +Description: Disable Pocket Recommendations +Author: Taowa +Last-Update: 2021-03-20 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ + +--- a/browser/app/profile/firefox.js ++++ b/browser/app/profile/firefox.js +@@ -2528,3 +2528,6 @@ + pref("app.normandy.test-prefs.integer", 0); + pref("app.normandy.test-prefs.string", ""); + #endif ++ ++// Disable Pocket Recommendations ++pref("browser.newtabpage.activity-stream.feeds.system.topstories", false); -- 2.31.0