From 5d8dd25b9621ef9825a827792c226c6a8f129f51 Mon Sep 17 00:00:00 2001 From: blshkv Date: Tue, 28 Apr 2020 11:23:11 +0800 Subject: [PATCH] hackplugins-meta: disable all plugins temporary, need to find an alternative way of installing policy.js file --- .../hackplugins-meta/files/ff-policies.json | 23 ++++++++++++ .../hackplugins-meta-1.2.ebuild | 37 ------------------- .../hackplugins-meta-20200428.ebuild | 22 +++++++++++ 3 files changed, 45 insertions(+), 37 deletions(-) create mode 100644 www-plugins/hackplugins-meta/files/ff-policies.json delete mode 100644 www-plugins/hackplugins-meta/hackplugins-meta-1.2.ebuild create mode 100644 www-plugins/hackplugins-meta/hackplugins-meta-20200428.ebuild diff --git a/www-plugins/hackplugins-meta/files/ff-policies.json b/www-plugins/hackplugins-meta/files/ff-policies.json new file mode 100644 index 000000000..5d4604568 --- /dev/null +++ b/www-plugins/hackplugins-meta/files/ff-policies.json @@ -0,0 +1,23 @@ +{ + "policies": { + "DisableAppUpdate": true, + "ExtensionSettings": { + "foxyproxy@eric.h.jung": { + "installation_mode": "normal_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/foxyproxy-standard/latest.xpi" + }, + "wappalyzer@crunchlabz.com": { + "installation_mode": "normal_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/wappalyzer/latest.xpi" + }, + "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}": { + "installation_mode": "normal_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/adblock-plus/latest.xpi" + }, + "{75afe46a-7a50-4c6b-b866-c43a1075b071}": { + "installation_mode": "normal_installed", + "install_url": "https://addons.mozilla.org/firefox/downloads/latest/user-agent-switcher-revived/latest.xpi" + } + } + } +} diff --git a/www-plugins/hackplugins-meta/hackplugins-meta-1.2.ebuild b/www-plugins/hackplugins-meta/hackplugins-meta-1.2.ebuild deleted file mode 100644 index 689cb292d..000000000 --- a/www-plugins/hackplugins-meta/hackplugins-meta-1.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: blshkv$ - -EAPI="5" - -DESCRIPTION="Collection of browser's plugins for application security testing" -HOMEPAGE="http://pentoo.ch" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="+firefox" - -PDEPEND=" - firefox? ( - www-plugins/foxyproxy - www-plugins/noscript - www-plugins/user-agent-switcher-revived - www-plugins/wappalyzer - )" - -# www-plugins/firebug -# www-plugins/ringleader -# www-plugins/sql-inject-me -# www-plugins/xss-me -# www-plugins/cookies_exportimport -# www-plugins/adblock_plus -# www-plugins/downthemall -# www-plugins/exif_viewer -# www-plugins/hackbar -# www-plugins/httpfox -# www-plugins/live-http-headers -# www-plugins/multi_links -# www-plugins/proxy_selector -# www-plugins/showip -# www-plugins/status_4_evar -# www-plugins/web_developer diff --git a/www-plugins/hackplugins-meta/hackplugins-meta-20200428.ebuild b/www-plugins/hackplugins-meta/hackplugins-meta-20200428.ebuild new file mode 100644 index 000000000..4e948e8d7 --- /dev/null +++ b/www-plugins/hackplugins-meta/hackplugins-meta-20200428.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Collection of browser's plugins for application security testing" +HOMEPAGE="http://pentoo.ch" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm x86" +#IUSE="+firefox" + +S="${WORKDIR}" + +src_install() { + einfo "FIXME: This meta package is blank for now" + #FIXME: install ${FILESDIR}/ff-policies.json info: + #insinto ${MOZILLA_FIVE_HOME}/distribution/ + #*overwrite* (alternative location) the existing one, installed by Gentoo + #firefox: /usr/${get_libdir}/firefox + #firefox-bin: /opt/firefox +}