logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 254c20cacd455eb9e2adecad749397a73b007fe9
parent 855fabc1e457b0bfa376bab5dd0684ffc8d16069
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  9 Mar 2021 06:30:38 +0100

www-plugins: Killed by Mozilla

Diffstat:

Dwww-plugins/decentraleyes/Manifest1-
Dwww-plugins/decentraleyes/decentraleyes-2.0.10.ebuild28----------------------------
Dwww-plugins/decentraleyes/metadata.xml14--------------
Dwww-plugins/firefox-user-js/files/local-settings.js2--
Dwww-plugins/firefox-user-js/firefox-user-js-9999.ebuild36------------------------------------
Dwww-plugins/firefox-user-js/metadata.xml8--------
Dwww-plugins/lightspark/Manifest1-
Dwww-plugins/lightspark/lightspark-0.8.3.ebuild93-------------------------------------------------------------------------------
Dwww-plugins/ublock/Manifest1-
Dwww-plugins/ublock/metadata.xml8--------
Dwww-plugins/ublock/ublock-1.19.6.ebuild28----------------------------
Dwww-plugins/umatrix/Manifest1-
Dwww-plugins/umatrix/metadata.xml8--------
Dwww-plugins/umatrix/umatrix-1.3.16.ebuild28----------------------------
14 files changed, 0 insertions(+), 257 deletions(-)

diff --git a/www-plugins/decentraleyes/Manifest b/www-plugins/decentraleyes/Manifest @@ -1 +0,0 @@ -DIST decentraleyes-2.0.10-an+fx.xpi 6825629 BLAKE2B 7f3f966e278316fdd38a57e091a2f9cb3242ffecf03976f0ede598e1e9d4db8a85aff527d12c9495f4fa536fd1c40ab36d97a13a9caaeaeb37fd29be01e923b3 SHA512 f3622a25dd0e19c1208297ab5d392b35912fbb0ce106fb82d870867a033d6369f274bbba32575d3bac29b25c512638e9893a07efa2ef9ae815d4c58f2e2ac8a6 diff --git a/www-plugins/decentraleyes/decentraleyes-2.0.10.ebuild b/www-plugins/decentraleyes/decentraleyes-2.0.10.ebuild @@ -1,28 +0,0 @@ -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_XPINAME="${P}-an+fx" - -DESCRIPTION="Local CDN Emulation" -HOMEPAGE="https://decentraleyes.org/" -SRC_URI="https://addons.mozilla.org/firefox/downloads/file/1705979/decentraleyes-2.0.10-an+fx.xpi" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die -} - -src_install() { - # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders - insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/" - # Use the extension id found in the manifest.json for the filename and add .xpi - newins "${MY_XPINAME}.xpi" "jid1-BoFifL9Vbdl2zQ@jetpack.xpi" -} diff --git a/www-plugins/decentraleyes/metadata.xml b/www-plugins/decentraleyes/metadata.xml @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <changelog>https://git.synz.io/Synzvato/decentraleyes/tags?format=atom</changelog> - </upstream> -</pkgmetadata> diff --git a/www-plugins/firefox-user-js/files/local-settings.js b/www-plugins/firefox-user-js/files/local-settings.js @@ -1,2 +0,0 @@ -pref("general.config.obscure_value", 0); -pref("general.config.filename", "mozilla.cfg"); diff --git a/www-plugins/firefox-user-js/firefox-user-js-9999.ebuild b/www-plugins/firefox-user-js/firefox-user-js-9999.ebuild @@ -1,36 +0,0 @@ -# Copyright 2018 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit git-r3 - -DESCRIPTION="Firefox configuration hardening" -HOMEPAGE="https://github.com/pyllyukko/user.js" -SLOT="0" -LICENSE="MIT" - -EGIT_REPO_URI="${HOMEPAGE}.git" - -src_prepare() { - default - - cp "${FILESDIR}/local-settings.js" . - - sed -i 's/tests/test/' Makefile || die "Failed changing tests to test" - sed -i '{/all:/ s/test//}' Makefile || die "Failed removing test from ``make all``" - sed -i '{/test:/ s/acorn//}' Makefile || die "Failed removing acorn (unknown command) from test" -} - -src_compile() { - default - emake systemwide_user.js -} - -src_install() { - insinto /usr/lib/firefox - newins systemwide_user.js mozilla.cfg - - insinto /usr/lib/firefox/defaults/pref/ - doins local-settings.js -} diff --git a/www-plugins/firefox-user-js/metadata.xml b/www-plugins/firefox-user-js/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata> diff --git a/www-plugins/lightspark/Manifest b/www-plugins/lightspark/Manifest @@ -1 +0,0 @@ -DIST lightspark-0.8.3.tar.gz 2374990 BLAKE2B 3053ca1ce8a8c0b7e243d28c038b237647e86f72a0d4e171da338384e4228587aba21f141fe0656ebe8243343284afcd311d7ced22cb09f95538e2f618edfefc SHA512 023d1872577445a857c77908bc2ec83ebfa086bc77161dfd22b53fc0c38eb5d94cd5bb5c5a7508dee2039d3b8479c917dcee089fe551a984ec5525a5ae781997 diff --git a/www-plugins/lightspark/lightspark-0.8.3.ebuild b/www-plugins/lightspark/lightspark-0.8.3.ebuild @@ -1,93 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cmake toolchain-funcs xdg-utils - -DESCRIPTION="High performance flash player" -HOMEPAGE="https://lightspark.github.io/" -SRC_URI="https://github.com/lightspark/lightspark/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only nsplugin ppapi profile rtmp" - -# Note: no LLVM since it's broken upstream -RDEPEND="app-arch/xz-utils:0= - dev-cpp/glibmm:2= - dev-libs/glib:2= - dev-libs/libpcre:3=[cxx] - media-fonts/liberation-fonts - media-libs/freetype:2= - media-libs/libpng:0= - media-libs/libsdl2:0= - media-libs/sdl2-mixer:0= - sys-libs/zlib:0= - x11-libs/cairo:0= - x11-libs/libX11:0= - x11-libs/pango:0= - virtual/jpeg:0= - curl? ( net-misc/curl:0= ) - ffmpeg? ( media-video/ffmpeg:0= ) - gles2-only? ( media-libs/mesa:0=[gles2] ) - !gles2-only? ( - >=media-libs/glew-1.5.3:0= - virtual/opengl:0= - ) - rtmp? ( media-video/rtmpdump:0= )" -DEPEND="${RDEPEND} - amd64? ( dev-lang/nasm ) - x86? ( dev-lang/nasm ) - virtual/pkgconfig" - -S=${WORKDIR}/${P/_rc*/} - -src_configure() { - local mycmakeargs=( - -DENABLE_CURL=$(usex curl) - -DENABLE_GLES2=$(usex gles2-only) - -DENABLE_LIBAVCODEC=$(usex ffmpeg) - -DENABLE_RTMP=$(usex rtmp) - - -DENABLE_MEMORY_USAGE_PROFILING=$(usex profile) - -DENABLE_PROFILING=$(usex profile) - -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) - - -DCOMPILE_NPAPI_PLUGIN=$(usex nsplugin) - -DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins - # TODO: install /etc/chromium file? block adobe-flash? - -DCOMPILE_PPAPI_PLUGIN=$(usex ppapi) - -DPPAPI_PLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/chromium-browser/${PN} - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use nsplugin; then - # copied from nsplugins.eclass, that's broken in EAPI 7 - dodir /usr/$(get_libdir)/nsbrowser/plugins - dosym ../../lightspark/plugins/liblightsparkplugin.so \ - /usr/$(get_libdir)/nsbrowser/plugins/liblightsparkplugin.so - fi -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - - if use nsplugin && has_version "www-plugins/gnash[nsplugin]"; then - elog "Having two plugins installed for the same MIME type may confuse" - elog "Mozilla based browsers. It is recommended to disable the nsplugin" - elog "USE flag for either gnash or lightspark. For details, see" - elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" - fi -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-plugins/ublock/Manifest b/www-plugins/ublock/Manifest @@ -1 +0,0 @@ -DIST uBlock0_1.19.6.firefox.xpi 2621122 BLAKE2B 5a5dc6f6acc948a160114b09efefc99f2ce6cf6e46eb541fe09dd3b25ca146f92d047d2195125f43fbec5251290b59b4e5c5612a001f1879539ab8d49b46c715 SHA512 f15e0ef92b32ae9b49880b2bd28861ab34a7d75aaaabbec4bddf922e5ab007fbd1d5d7f703db3554aaf737f94dbb037244a538b03c3481f163ed5293bba4c498 diff --git a/www-plugins/ublock/metadata.xml b/www-plugins/ublock/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata> diff --git a/www-plugins/ublock/ublock-1.19.6.ebuild b/www-plugins/ublock/ublock-1.19.6.ebuild @@ -1,28 +0,0 @@ -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_XPINAME="uBlock0_${PV}.firefox" - -DESCRIPTION="An efficient blocker for Chromium and Firefox. Fast and lean" -HOMEPAGE="https://github.com/gorhill/uBlock" -SRC_URI="https://github.com/gorhill/uBlock/releases/download/${PV}/${MY_XPINAME}.xpi" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die -} - -src_install() { - # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders - insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/" - # Use the extension id found in the manifest.json for the filename and add .xpi - newins "${MY_XPINAME}.xpi" "uBlock0@raymondhill.net.xpi" -} diff --git a/www-plugins/umatrix/Manifest b/www-plugins/umatrix/Manifest @@ -1 +0,0 @@ -DIST umatrix-1.3.16-firefox.xpi 1784084 BLAKE2B f5c491f4ec17f76701ae3f0e66c63b271cbe0750a2310f7e4ad9c76f73817393ddecfe81b82151951e50abe0dc9c6f53f8cf11949d7471982880f86211ac880f SHA512 6f50f42d0541b3a469dd7a20f22354ac98882ab413898fb2f80c78eaa42f2853bece57894e9c6e6c5cba1db43ca99d0954e679a24a9b1857d78d320feaa8ffc2 diff --git a/www-plugins/umatrix/metadata.xml b/www-plugins/umatrix/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> -</pkgmetadata> diff --git a/www-plugins/umatrix/umatrix-1.3.16.ebuild b/www-plugins/umatrix/umatrix-1.3.16.ebuild @@ -1,28 +0,0 @@ -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_XPINAME="${P}-firefox" - -DESCRIPTION="Point and click matrix to filter net requests according to source, destination and type" -HOMEPAGE="https://github.com/gorhill/uMatrix" -SRC_URI="https://github.com/gorhill/uMatrix/releases/download/${PV}/uMatrix.firefox.xpi -> ${MY_XPINAME}.xpi" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -S="${WORKDIR}" - -src_unpack() { - cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die -} - -src_install() { - # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders - insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/" - # Use the extension id found in the manifest.json for the filename and add .xpi - newins "${MY_XPINAME}.xpi" "uMatrix@raymondhill.net.xpi" -}