Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, app-admin/lastpass-binary-component/
Date: Tue, 30 Mar 2021 09:25:13
Message-Id: 1617096253.3b561bd295caf9f4c0fa44716e10454c1d4ab077.soap@gentoo
1 commit: 3b561bd295caf9f4c0fa44716e10454c1d4ab077
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Mar 30 09:24:13 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 09:24:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b561bd2
7
8 app-admin/lastpass-binary-component: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/581102
11 Closes: https://bugs.gentoo.org/726378
12 Closes: https://bugs.gentoo.org/753557
13 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
14 Signed-off-by: David Seifert <soap <AT> gentoo.org>
15
16 app-admin/lastpass-binary-component/Manifest | 1 -
17 .../lastpass-binary-component-4.67.1.ebuild | 116 ---------------------
18 app-admin/lastpass-binary-component/metadata.xml | 20 ----
19 profiles/package.mask | 6 --
20 4 files changed, 143 deletions(-)
21
22 diff --git a/app-admin/lastpass-binary-component/Manifest b/app-admin/lastpass-binary-component/Manifest
23 deleted file mode 100644
24 index 918087aa656..00000000000
25 --- a/app-admin/lastpass-binary-component/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST lastpass-binary-component-4.67.1.tar.bz2 1625199 BLAKE2B cd9333866516a0dc43b653106224e5ef1a228c340adac93a2541d4f337b6b865c5eed043cf914a552b390d23a471ff1f21f8439d15282b77fb69dcbd6ffa01c1 SHA512 8277082fcf4cb8ef0f67903f518eb1b55fd6525373f22be0ce7d62abedef76029ef46da7c0aa32d4df3bbc0053471232390ecd69ff0572a3836e08aefee98e48
29
30 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
31 deleted file mode 100644
32 index 783d1214c73..00000000000
33 --- a/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild
34 +++ /dev/null
35 @@ -1,116 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -DESCRIPTION="Binary component required by the LastPass Password Manager browser extension"
42 -HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5"
43 -# sadly, upstream has no versioned distfiles
44 -SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> ${P}.tar.bz2"
45 -
46 -LICENSE="LastPass"
47 -SLOT="0"
48 -KEYWORDS="-* ~amd64 ~x86"
49 -RESTRICT="bindist strip mirror" # We can't mirror it, but we can fetch it
50 -
51 -LASTPASS_EXEDIR=/opt/lastpass/
52 -
53 -QA_PREBUILT="
54 - ${LASTPASS_EXEDIR}nplastpass*
55 -"
56 -
57 -S="${WORKDIR}"
58 -
59 -src_install() {
60 - # This is based on the upstream installer script that's in the tarball
61 - bin=nplastpass
62 - use amd64 && bin="${bin}64"
63 - exeinto ${LASTPASS_EXEDIR}
64 - doexe "${S}"/${bin}
65 -
66 - # Generate the policy file for Chrome/Chromium/Opera
67 - cat >"${T}"/lastpass_policy.json <<-EOF || die
68 - {
69 - "ExtensionInstallSources": [
70 - "https://lastpass.com/*",
71 - "https://*.lastpass.com/*",
72 - "https://d1jxck0p3rkj0.cloudfront.net/lastpass/*"
73 - ]
74 - }
75 - EOF
76 - # Install the policy file for Chrome/Chromium/Opera
77 - for d in /etc/chromium /etc/opt/chrome; do
78 - insinto ${d}/policies/managed
79 - doins "${T}"/lastpass_policy.json
80 - done
81 -
82 - # Generate the app manifest for Chrome/Opera
83 - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
84 - {
85 - "name": "com.lastpass.nplastpass",
86 - "description": "LastPass",
87 - "path": "${LASTPASS_EXEDIR}${bin}",
88 - "type": "stdio",
89 - "allowed_origins": [
90 - "chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/",
91 - "chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/",
92 - "chrome-extension://hnjalnkldgigidggphhmacmimbdlafdo/",
93 - "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
94 - ]
95 - }
96 - EOF
97 - # Install the app manifest for Chrome/Opera
98 - # https://developer.chrome.com/apps/nativeMessaging
99 - # https://dev.opera.com/extensions/message-passing/
100 - insinto /etc/opt/chrome/native-messaging-hosts
101 - doins "${T}"/com.lastpass.nplastpass.json
102 -
103 - # Generate the app manifest for Chromium
104 - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
105 - {
106 - "name": "com.lastpass.nplastpass",
107 - "description": "LastPass",
108 - "path": "${LASTPASS_EXEDIR}${bin}",
109 - "type": "stdio",
110 - "allowed_origins": [
111 - "chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/",
112 - "chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/",
113 - "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
114 - ]
115 - }
116 - EOF
117 - # Install the app manifest for Chromium
118 - # https://developer.chrome.com/apps/nativeMessaging
119 - insinto /etc/chromium/native-messaging-hosts/
120 - doins "${T}"/com.lastpass.nplastpass.json
121 -
122 - # Generate the app manifest for Firefox
123 - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
124 - {
125 - "name": "com.lastpass.nplastpass",
126 - "description": "LastPass",
127 - "path": "${LASTPASS_EXEDIR}${bin}",
128 - "type": "stdio",
129 - "allowed_extensions": [
130 - "support@××××××××.com"
131 - ]
132 - }
133 - EOF
134 - # Install the app manifest for both firefox and firefox-bin
135 - # https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_manifests#Manifest_location
136 - insinto /usr/lib/mozilla/native-messaging-hosts/
137 - doins "${T}"/com.lastpass.nplastpass.json
138 - insinto /usr/lib64/mozilla/native-messaging-hosts/
139 - doins "${T}"/com.lastpass.nplastpass.json
140 -}
141 -
142 -pkg_postinst() {
143 - einfo "This package only installs the components required by the browser extension."
144 - einfo "Visit the links below for your browser to install the extension itself:"
145 - einfo "Chrome/Chromium: https://lastpass.com/dl/inline/?full=1"
146 - einfo "Firefox: https://lastpass.com/lastpassffx/"
147 - einfo "Opera: https://lastpass.com/dl/"
148 - einfo
149 - einfo "Chrome, Chromium and Opera users need to manually enable the binary component."
150 - einfo "For more info, visit: https://lastpass.com/support.php?cmd=showfaq&id=5576"
151 -}
152
153 diff --git a/app-admin/lastpass-binary-component/metadata.xml b/app-admin/lastpass-binary-component/metadata.xml
154 deleted file mode 100644
155 index 6f4f533e3c3..00000000000
156 --- a/app-admin/lastpass-binary-component/metadata.xml
157 +++ /dev/null
158 @@ -1,20 +0,0 @@
159 -<?xml version="1.0" encoding="UTF-8"?>
160 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
161 -<pkgmetadata>
162 - <maintainer type="person">
163 - <email>gokturk@g.o</email>
164 - <name>Göktürk Yüksek</name>
165 - </maintainer>
166 - <maintainer type="person">
167 - <email>robbat2@g.o</email>
168 - <name>Robin H. Johnson</name>
169 - </maintainer>
170 - <longdescription lang="en">
171 - The binary features for Lastpass include faster encryption/decryption,
172 - clipboard integration, smart card authentication and more for
173 - <pkg>www-client/google-chrome</pkg>, <pkg>www-client/chromium</pkg>,
174 - and <pkg>www-client/opera</pkg> web browsers. For
175 - <pkg>www-client/firefox</pkg> this package is not required as the
176 - extension bundles the binary components already.
177 - </longdescription>
178 -</pkgmetadata>
179
180 diff --git a/profiles/package.mask b/profiles/package.mask
181 index c3e0e96dce7..cd33d3fbecc 100644
182 --- a/profiles/package.mask
183 +++ b/profiles/package.mask
184 @@ -159,12 +159,6 @@ dev-haskell/geniplate
185 # for transitioning out. Bug #776262.
186 app-admin/lastpass-cli
187
188 -# Göktürk Yüksek <gokturk@g.o> (2021-03-14)
189 -# Upstream's lack of versioning keeps breaking the Manifest.
190 -# They are also not responsive to license clarification questions.
191 -# No revdeps. Removal in 14 days. Bug #581102, #7513730
192 -app-admin/lastpass-binary-component
193 -
194 # Sam James <sam@g.o> (2021-03-13)
195 # Stuck on oasis.eclass, out of date
196 # No reverse dependencies