From 3b561bd295caf9f4c0fa44716e10454c1d4ab077 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Tue, 30 Mar 2021 11:24:13 +0200 Subject: app-admin/lastpass-binary-component: Remove last-rited pkg Closes: https://bugs.gentoo.org/581102 Closes: https://bugs.gentoo.org/726378 Closes: https://bugs.gentoo.org/753557 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- app-admin/lastpass-binary-component/Manifest | 1 - .../lastpass-binary-component-4.67.1.ebuild | 116 --------------------- app-admin/lastpass-binary-component/metadata.xml | 20 ---- profiles/package.mask | 6 -- 4 files changed, 143 deletions(-) delete mode 100644 app-admin/lastpass-binary-component/Manifest delete mode 100644 app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild delete mode 100644 app-admin/lastpass-binary-component/metadata.xml diff --git a/app-admin/lastpass-binary-component/Manifest b/app-admin/lastpass-binary-component/Manifest deleted file mode 100644 index 918087aa656f..000000000000 --- a/app-admin/lastpass-binary-component/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST lastpass-binary-component-4.67.1.tar.bz2 1625199 BLAKE2B cd9333866516a0dc43b653106224e5ef1a228c340adac93a2541d4f337b6b865c5eed043cf914a552b390d23a471ff1f21f8439d15282b77fb69dcbd6ffa01c1 SHA512 8277082fcf4cb8ef0f67903f518eb1b55fd6525373f22be0ce7d62abedef76029ef46da7c0aa32d4df3bbc0053471232390ecd69ff0572a3836e08aefee98e48 diff --git a/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild b/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild deleted file mode 100644 index 783d1214c731..000000000000 --- a/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Binary component required by the LastPass Password Manager browser extension" -HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5" -# sadly, upstream has no versioned distfiles -SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="LastPass" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist strip mirror" # We can't mirror it, but we can fetch it - -LASTPASS_EXEDIR=/opt/lastpass/ - -QA_PREBUILT=" - ${LASTPASS_EXEDIR}nplastpass* -" - -S="${WORKDIR}" - -src_install() { - # This is based on the upstream installer script that's in the tarball - bin=nplastpass - use amd64 && bin="${bin}64" - exeinto ${LASTPASS_EXEDIR} - doexe "${S}"/${bin} - - # Generate the policy file for Chrome/Chromium/Opera - cat >"${T}"/lastpass_policy.json <<-EOF || die - { - "ExtensionInstallSources": [ - "https://lastpass.com/*", - "https://*.lastpass.com/*", - "https://d1jxck0p3rkj0.cloudfront.net/lastpass/*" - ] - } - EOF - # Install the policy file for Chrome/Chromium/Opera - for d in /etc/chromium /etc/opt/chrome; do - insinto ${d}/policies/managed - doins "${T}"/lastpass_policy.json - done - - # Generate the app manifest for Chrome/Opera - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die - { - "name": "com.lastpass.nplastpass", - "description": "LastPass", - "path": "${LASTPASS_EXEDIR}${bin}", - "type": "stdio", - "allowed_origins": [ - "chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/", - "chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/", - "chrome-extension://hnjalnkldgigidggphhmacmimbdlafdo/", - "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/" - ] - } - EOF - # Install the app manifest for Chrome/Opera - # https://developer.chrome.com/apps/nativeMessaging - # https://dev.opera.com/extensions/message-passing/ - insinto /etc/opt/chrome/native-messaging-hosts - doins "${T}"/com.lastpass.nplastpass.json - - # Generate the app manifest for Chromium - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die - { - "name": "com.lastpass.nplastpass", - "description": "LastPass", - "path": "${LASTPASS_EXEDIR}${bin}", - "type": "stdio", - "allowed_origins": [ - "chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/", - "chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/", - "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/" - ] - } - EOF - # Install the app manifest for Chromium - # https://developer.chrome.com/apps/nativeMessaging - insinto /etc/chromium/native-messaging-hosts/ - doins "${T}"/com.lastpass.nplastpass.json - - # Generate the app manifest for Firefox - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die - { - "name": "com.lastpass.nplastpass", - "description": "LastPass", - "path": "${LASTPASS_EXEDIR}${bin}", - "type": "stdio", - "allowed_extensions": [ - "support@lastpass.com" - ] - } - EOF - # Install the app manifest for both firefox and firefox-bin - # https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_manifests#Manifest_location - insinto /usr/lib/mozilla/native-messaging-hosts/ - doins "${T}"/com.lastpass.nplastpass.json - insinto /usr/lib64/mozilla/native-messaging-hosts/ - doins "${T}"/com.lastpass.nplastpass.json -} - -pkg_postinst() { - einfo "This package only installs the components required by the browser extension." - einfo "Visit the links below for your browser to install the extension itself:" - einfo "Chrome/Chromium: https://lastpass.com/dl/inline/?full=1" - einfo "Firefox: https://lastpass.com/lastpassffx/" - einfo "Opera: https://lastpass.com/dl/" - einfo - einfo "Chrome, Chromium and Opera users need to manually enable the binary component." - einfo "For more info, visit: https://lastpass.com/support.php?cmd=showfaq&id=5576" -} diff --git a/app-admin/lastpass-binary-component/metadata.xml b/app-admin/lastpass-binary-component/metadata.xml deleted file mode 100644 index 6f4f533e3c35..000000000000 --- a/app-admin/lastpass-binary-component/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - gokturk@gentoo.org - Göktürk Yüksek - - - robbat2@gentoo.org - Robin H. Johnson - - - The binary features for Lastpass include faster encryption/decryption, - clipboard integration, smart card authentication and more for - www-client/google-chrome, www-client/chromium, - and www-client/opera web browsers. For - www-client/firefox this package is not required as the - extension bundles the binary components already. - - diff --git a/profiles/package.mask b/profiles/package.mask index c3e0e96dce78..cd33d3fbecc6 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -159,12 +159,6 @@ dev-haskell/geniplate # for transitioning out. Bug #776262. app-admin/lastpass-cli -# Göktürk Yüksek (2021-03-14) -# Upstream's lack of versioning keeps breaking the Manifest. -# They are also not responsive to license clarification questions. -# No revdeps. Removal in 14 days. Bug #581102, #7513730 -app-admin/lastpass-binary-component - # Sam James (2021-03-13) # Stuck on oasis.eclass, out of date # No reverse dependencies -- cgit v1.2.3-65-gdbad