Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 571280 | Differences between
and this patch

Collapse All | Expand All

(-)a/app-admin/lastpass/Manifest (+1 lines)
Lines 1-3 Link Here
1
DIST lp_linux-3.2.16.xpi 6328266 SHA256 e06364ce631f436246cfca19ff24a2483bc459a5e31178f2c6acd57c1f408f81 SHA512 343d0763f25c31fb7dbde2c9aa19d797431ee9f7bb1f8ae220fd4cac2cc8f439813d92ecb432047f5889967eca7bd4197a7f2725fc52669d022c9f44b7d4945e WHIRLPOOL 5b64cdf371b9ff9ac46030393b22fd92c4fa6493947f47d91a2f44c7019ffcfe1344447456398c2991aee5cbc45bf95b39d90a6a423f6a2e284ac88d2d75d2f8
1
DIST lp_linux-3.2.16.xpi 6328266 SHA256 e06364ce631f436246cfca19ff24a2483bc459a5e31178f2c6acd57c1f408f81 SHA512 343d0763f25c31fb7dbde2c9aa19d797431ee9f7bb1f8ae220fd4cac2cc8f439813d92ecb432047f5889967eca7bd4197a7f2725fc52669d022c9f44b7d4945e WHIRLPOOL 5b64cdf371b9ff9ac46030393b22fd92c4fa6493947f47d91a2f44c7019ffcfe1344447456398c2991aee5cbc45bf95b39d90a6a423f6a2e284ac88d2d75d2f8
2
DIST lpchrome_linux-3.2.16.crx 5310273 SHA256 58ec7c7dfa735c5d052b0ca253f85654fd381952533a4a2b125d3abb88e77d39 SHA512 a7d3198ace665bcbbe0a7bdc9dcb4dc165aaa39214df798fe28930d3cc340976a476b8afc4f19af1acc6cbbe61feff8dfa5cc6c2b4c6d4a04b0377752ce1ca54 WHIRLPOOL 9b281945cd8603516e11a9a2f4869622d6783a56670253cdcc4a51a7ddae84a1a5297956d491b4e17e449a01acf6e8a4e3cc0a8b494f973078e617fe041ed615
2
DIST lpchrome_linux-3.2.16.crx 5310273 SHA256 58ec7c7dfa735c5d052b0ca253f85654fd381952533a4a2b125d3abb88e77d39 SHA512 a7d3198ace665bcbbe0a7bdc9dcb4dc165aaa39214df798fe28930d3cc340976a476b8afc4f19af1acc6cbbe61feff8dfa5cc6c2b4c6d4a04b0377752ce1ca54 WHIRLPOOL 9b281945cd8603516e11a9a2f4869622d6783a56670253cdcc4a51a7ddae84a1a5297956d491b4e17e449a01acf6e8a4e3cc0a8b494f973078e617fe041ed615
3
DIST lplinux-3.2.16.tar.bz2 1621919 SHA256 c06fd97e74298c5e7d698b2c8cffce7d79f0c45126daeb27bca91d3403fd893c SHA512 ed77f3ca979d84021e27088a5d1d7e0b102f6ce15f675a7b99810e88760844182b8597670bbe45c9436b42889597c8c421d1acb6abe24085bbd2623b7984d37d WHIRLPOOL 192d332348db9ad68a5e63441e17c0ef954de058376f110dcd05dfe261d54f1c9a179a9c647dc9d5090ffefe8af68a9dbe446dea7a1fb46b1f6c2e458752417d
3
DIST lplinux-3.2.16.tar.bz2 1621919 SHA256 c06fd97e74298c5e7d698b2c8cffce7d79f0c45126daeb27bca91d3403fd893c SHA512 ed77f3ca979d84021e27088a5d1d7e0b102f6ce15f675a7b99810e88760844182b8597670bbe45c9436b42889597c8c421d1acb6abe24085bbd2623b7984d37d WHIRLPOOL 192d332348db9ad68a5e63441e17c0ef954de058376f110dcd05dfe261d54f1c9a179a9c647dc9d5090ffefe8af68a9dbe446dea7a1fb46b1f6c2e458752417d
4
DIST lplinux-4.1.2.tar.bz2 1623477 SHA256 adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75 WHIRLPOOL c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c
(-)a/app-admin/lastpass/lastpass-4.1.2.ebuild (+92 lines)
Line 0 Link Here
1
# Copyright 1999-2016 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
4
5
EAPI=6
6
inherit eutils
7
8
DESCRIPTION="Online password manager and form filler that makes web browsing easier and more secure"
9
HOMEPAGE="https://lastpass.com/misc_download2.php"
10
# sadly, upstream has no versioned distfiles
11
DIST_MAIN=lplinux-${PV}.tar.bz2
12
SRC_URI="https://lastpass.com/lplinux.tar.bz2 -> ${DIST_MAIN}"
13
14
LICENSE="LastPass"
15
SLOT="0"
16
KEYWORDS="-* ~x86 ~amd64"
17
IUSE="+chromium +chrome +opera"
18
RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
19
20
DEPEND="app-arch/unzip"
21
RDEPEND="
22
	chrome? ( || (
23
		www-client/google-chrome
24
		www-client/google-chrome-beta
25
		www-client/google-chrome-unstable
26
	) )
27
	chromium? ( >=www-client/chromium-32.0.1700.102 )
28
	opera? ( || (
29
		>=www-client/opera-35.0.2066.68
30
		www-client/opera-beta
31
		www-client/opera-developer
32
	) )
33
"
34
REQUIRED_USE="|| ( chrome chromium opera )"
35
36
LASTPASS_EXEDIR=/opt/lastpass/
37
38
QA_PREBUILT="
39
	${LASTPASS_EXEDIR}nplastpass*
40
"
41
42
S="${WORKDIR}/lplinux"
43
44
src_install() {
45
	# This is based on the upstream installer script that's in the tarball
46
	bin=nplastpass
47
	use amd64 && bin="${bin}64"
48
	exeinto ${LASTPASS_EXEDIR}
49
	doexe "${S}"/$bin
50
51
	cat >"${T}"/lastpass_policy.json <<-EOF || die
52
	{
53
		"ExtensionInstallSources": [
54
			"https://lastpass.com/*",
55
			"https://*.lastpass.com/*",
56
			"https://d1jxck0p3rkj0.cloudfront.net/lastpass/*"
57
		]
58
	}
59
	EOF
60
	cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
61
	{
62
		"name": "com.lastpass.nplastpass",
63
		"description": "LastPass",
64
		"path": "${LASTPASS_EXEDIR}/$bin",
65
		"type": "stdio",
66
		"allowed_origins": [
67
			"chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/",
68
			"chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/",
69
			"chrome-extension://hnjalnkldgigidggphhmacmimbdlafdo/",
70
			"chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
71
		]
72
	}
73
	EOF
74
75
	local mydirs=( )
76
	use chromium && mydirs+=( /etc/chromium )
77
	use chrome || use opera && mydirs+=( /etc/opt/chrome )
78
	for d in ${mydirs[@]}; do
79
		insinto ${d}/policies/managed
80
		doins "${T}"/lastpass_policy.json
81
		insinto ${d}/native-messaging-hosts
82
		doins "${T}"/com.lastpass.nplastpass.json
83
	done
84
85
}
86
87
pkg_postinst() {
88
	einfo "This package only installs the binary plugins needed by the extension."
89
	einfo "Visit the link(s) below for your browser to install the extension itself:"
90
	use chrome || use chromium && einfo $'\t'"Chrome/Chromium: https://lastpass.com/dl/inline/?full=1"
91
	use opera && einfo $'\t'"Opera: https://lastpass.com/dl/"
92
}
(-)a/app-admin/lastpass/metadata.xml (-1 / +1 lines)
Lines 22-26 Link Here
22
    <flag name="firefox">Support for <pkg>www-client/firefox</pkg></flag>
22
    <flag name="firefox">Support for <pkg>www-client/firefox</pkg></flag>
23
    <flag name="chromium">Support for <pkg>www-client/chromium</pkg></flag>
23
    <flag name="chromium">Support for <pkg>www-client/chromium</pkg></flag>
24
    <flag name="chrome">Support for <pkg>www-client/chrome</pkg></flag>
24
    <flag name="chrome">Support for <pkg>www-client/chrome</pkg></flag>
25
    <flag name="opera">Support for <pkg>www-client/opera</pkg></flag>
25
  </use>
26
  </use>
26
</pkgmetadata>
27
</pkgmetadata>
27
- 

Return to bug 571280