diff --git a/www-plugins/noscript/Manifest b/www-plugins/noscript/Manifest index 164086c26..7fa3f9254 100644 --- a/www-plugins/noscript/Manifest +++ b/www-plugins/noscript/Manifest @@ -1,3 +1,2 @@ -DIST noscript-2.9.0.14.xpi 564604 SHA256 39bc71be20c318578239ea791c0341dbfcd13b33559af080cea386eeec08b337 SHA512 cb546d9625a20da3c8cdc947f86ecbc35fd80e34c55a882ecfa81a441740e1cfba7d7cad91be0d4a7b68034e38e2b62810ca493b3b03171089d0515860f4e950 WHIRLPOOL f574da9dfa39e9c913bf82f841a8ec11e78b0d1c7ef4b47b40f4418e5f00a675f3df6a0d8322fc228c8b6a490e38e31c726cd6f818f2364f2ae4dc65221e897f DIST noscript-2.9.5.3.xpi 555119 SHA256 ce9779a3a5a2574b958f8e4d079a99d43a8f84193bef52c587c704ed81c2fbbd SHA512 580d1e3eb6547ec4e88d6a05f9c3bffbb8dda4ca8ed04164aa9bad0088ac88073753f7806f604d08bd6acda6dbeb859f2b252a5d5bb620ac2f62c6abd053279a WHIRLPOOL 7fabc92fed0f94ca941c7be0742383a4c3e1d9c78e7e3a4072d4d7a7e5e9a213c7b9017a425aa5a947c994af0cd96a6b741b7b31c29ff73f43738af61a02d6b5 -DIST noscript-9999.xpi 564604 SHA256 39bc71be20c318578239ea791c0341dbfcd13b33559af080cea386eeec08b337 SHA512 cb546d9625a20da3c8cdc947f86ecbc35fd80e34c55a882ecfa81a441740e1cfba7d7cad91be0d4a7b68034e38e2b62810ca493b3b03171089d0515860f4e950 WHIRLPOOL f574da9dfa39e9c913bf82f841a8ec11e78b0d1c7ef4b47b40f4418e5f00a675f3df6a0d8322fc228c8b6a490e38e31c726cd6f818f2364f2ae4dc65221e897f +DIST noscript-5.1.4.xpi 810723 SHA256 42814bbc436346cff24c7977190bc43048a344ea953e4096c60bd75cd3554fd6 SHA512 5ad1c3b1f7bd9ac1eafd40152eec4d3d35e559272f42d8877dd5bd6b816d89e7cbc025f5c168aa57688027fe97d3aadde42ef07005ac04269a0586fb00faa855 WHIRLPOOL 0a5772fdedde80cc4ae26bc3016246aed8867cae44fae73a6b13319ae4c63a5aaf45e5df5c1ec31dab03ab672f34fdd4ee9f0ece0ad2f5270ed5c459df77be92 diff --git a/www-plugins/noscript/noscript-2.9.5.3.ebuild b/www-plugins/noscript/noscript-2.9.5.3.ebuild index c100b61bf..40c6fd9af 100644 --- a/www-plugins/noscript/noscript-2.9.5.3.ebuild +++ b/www-plugins/noscript/noscript-2.9.5.3.ebuild @@ -1,8 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id $ -EAPI=5 +EAPI=6 inherit mozilla-addon diff --git a/www-plugins/noscript/noscript-5.1.4.ebuild b/www-plugins/noscript/noscript-5.1.4.ebuild new file mode 100644 index 000000000..282ae2ab8 --- /dev/null +++ b/www-plugins/noscript/noscript-5.1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit mozilla-addon + +#https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/noscript +MOZ_FILEID="754380" +DESCRIPTION="Allow active content in firefox to run only from trusted sites." +HOMEPAGE="http://noscript.net" +SRC_URI="https://addons.mozilla.org/downloads/file/${MOZ_FILEID} -> ${P}.xpi" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+symlink_all_targets target_firefox target_seamonkey target_firefox-bin target_seamonkey-bin" + +RDEPEND=" + !symlink_all_targets? ( + target_firefox? ( www-client/firefox ) + target_firefox-bin? ( www-client/firefox-bin ) + target_seamonkey? ( www-client/seamonkey ) + target_seamonkey-bin? ( www-client/seamonkey-bin ) + )" + +src_install() { + # symlink all possible target paths if this is set + if use symlink_all_targets; then + MZA_TARGETS="firefox seamonkey firefox-bin seamonkey-bin" + else + use target_firefox && MZA_TARGETS+=" firefox" + use target_firefox-bin && MZA_TARGETS+=" firefox-bin" + use target_seamonkey && MZA_TARGETS+=" seamonkey" + use target_seamonkey-bin && MZA_TARGETS+=" seamonkey-bin" + fi + mozilla-addon_src_install +}