Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass/
Date: Mon, 14 Dec 2015 21:34:23
Message-Id: 1450128849.98b9085a94480ad5c5951f99b49848bc182429aa.robbat2@gentoo
1 commit: 98b9085a94480ad5c5951f99b49848bc182429aa
2 Author: Gokturk Yuksek <gokturk <AT> binghamton <DOT> edu>
3 AuthorDate: Tue Nov 3 22:37:32 2015 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 14 21:34:09 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b9085a
7
8 app-admin/lastpass: bump to 3.2.16 #550834 #551312
9
10 Bump app-admin/lastpass to 3.2.16. Upstream does not support versioned
11 tarballs, so remove the old version. Closes a bump request and a
12 checksum mismatch bug.
13
14 Also, add the missing build time dependency on app-arch/unzip.
15
16 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=550834
17 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=551312
18
19 Package-Manager: portage-2.2.20.1
20
21 app-admin/lastpass/Manifest | 6 +++---
22 ...astpass-3.1.61.ebuild => lastpass-3.2.16.ebuild} | 21 ++++++++++-----------
23 2 files changed, 13 insertions(+), 14 deletions(-)
24
25 diff --git a/app-admin/lastpass/Manifest b/app-admin/lastpass/Manifest
26 index b2067e9..d9d86df 100644
27 --- a/app-admin/lastpass/Manifest
28 +++ b/app-admin/lastpass/Manifest
29 @@ -1,3 +1,3 @@
30 -DIST lp_linux.xpi 3965257 SHA256 1d98b3649f51e5f08a16379a73791b7e85fa5fab35b3a6190860c900788c5dbc SHA512 e39a6ada0e75dcb3bf943bce9b573bf8d22be7c07baf86f3651cbaaa5abcec7c31dd43341369b1fe562aff572befd1f15114ba030e6b9fb317bd476798d7b5e5 WHIRLPOOL 85f7eebc2f155d4beb7a1f69ef9d1e58508c76ac2807536d7a07885f395f342b218587199c9b57a77f9e54e75e1dfaf311341c16a59830c114283e542aa18767
31 -DIST lpchrome_linux.crx 4722909 SHA256 511fd7968bb45ab1425ca9584873f4dbf0812b63c64a4e604796cb0a76849f3f SHA512 01935a34a0be63b96556009cb50364df83599aeab6cad10d7e4b49af5a5acfeecf61171aa36f932901a42e2e0b58141e649d17525a259343fe9b2f287d413dc0 WHIRLPOOL 230f2c820d2cf8d3a937866c5c3dde8b7f05e37547180a4e666bc0bac592671f5c1d7bb84498d5bd930053e47ec80d75207dcaba1b71f307d1ea011d80e9e5f9
32 -DIST lplinux.tar.bz2 1523508 SHA256 535fe4ce97a55f3baf9311962a7a4812ea7a32c8a545ee1e533c0794c665abf1 SHA512 4433701df5a6c04bb914f3b342c458a28ff7cd232936f77dfec6ddd959060be1e8bf067b88e05d1c1ac69f63f1660c49c262f85515d6cf97188ea365f7bf309b WHIRLPOOL 818f00fc43944b8eb1c0f4816e82fa06be69845d1d6a3eb8de453db1647e9bfdce0ff0812ea9c0fec64c904dce1cc1fa4c514a79ead2c5e98aeb7416a8a2fb41
33 +DIST lastpass-3.2.16.tar.bz2 1621919 SHA256 c06fd97e74298c5e7d698b2c8cffce7d79f0c45126daeb27bca91d3403fd893c SHA512 ed77f3ca979d84021e27088a5d1d7e0b102f6ce15f675a7b99810e88760844182b8597670bbe45c9436b42889597c8c421d1acb6abe24085bbd2623b7984d37d WHIRLPOOL 192d332348db9ad68a5e63441e17c0ef954de058376f110dcd05dfe261d54f1c9a179a9c647dc9d5090ffefe8af68a9dbe446dea7a1fb46b1f6c2e458752417d
34 +DIST lp_linux-3.2.16.xpi 6328266 SHA256 e06364ce631f436246cfca19ff24a2483bc459a5e31178f2c6acd57c1f408f81 SHA512 343d0763f25c31fb7dbde2c9aa19d797431ee9f7bb1f8ae220fd4cac2cc8f439813d92ecb432047f5889967eca7bd4197a7f2725fc52669d022c9f44b7d4945e WHIRLPOOL 5b64cdf371b9ff9ac46030393b22fd92c4fa6493947f47d91a2f44c7019ffcfe1344447456398c2991aee5cbc45bf95b39d90a6a423f6a2e284ac88d2d75d2f8
35 +DIST lpchrome_linux-3.2.16.crx 5310273 SHA256 58ec7c7dfa735c5d052b0ca253f85654fd381952533a4a2b125d3abb88e77d39 SHA512 a7d3198ace665bcbbe0a7bdc9dcb4dc165aaa39214df798fe28930d3cc340976a476b8afc4f19af1acc6cbbe61feff8dfa5cc6c2b4c6d4a04b0377752ce1ca54 WHIRLPOOL 9b281945cd8603516e11a9a2f4869622d6783a56670253cdcc4a51a7ddae84a1a5297956d491b4e17e449a01acf6e8a4e3cc0a8b494f973078e617fe041ed615
36
37 diff --git a/app-admin/lastpass/lastpass-3.1.61.ebuild b/app-admin/lastpass/lastpass-3.2.16.ebuild
38 similarity index 83%
39 rename from app-admin/lastpass/lastpass-3.1.61.ebuild
40 rename to app-admin/lastpass/lastpass-3.2.16.ebuild
41 index cae55ad..c5047a6 100644
42 --- a/app-admin/lastpass/lastpass-3.1.61.ebuild
43 +++ b/app-admin/lastpass/lastpass-3.2.16.ebuild
44 @@ -1,4 +1,4 @@
45 -# Copyright 1999-2014 Gentoo Foundation
46 +# Copyright 1999-2015 Gentoo Foundation
47 # Distributed under the terms of the GNU General Public License v2
48 # $Id$
49
50 @@ -10,9 +10,9 @@ HOMEPAGE="https://lastpass.com/misc_download2.php"
51 # sadly, upstream has no versioned distfiles
52 MAINDISTFILE=lplinux.tar.bz2
53 SRC_URI="
54 - https://lastpass.com/${MAINDISTFILE}
55 - https://lastpass.com/lpchrome_linux.crx
56 - firefox? ( https://lastpass.com/lp_linux.xpi )"
57 + https://lastpass.com/${MAINDISTFILE} -> ${P}.tar.bz2
58 + https://lastpass.com/lpchrome_linux.crx -> lpchrome_linux-${PV}.crx
59 + firefox? ( https://lastpass.com/lp_linux.xpi -> lp_linux-${PV}.xpi )"
60
61 LICENSE="LastPass"
62 SLOT="0"
63 @@ -20,7 +20,7 @@ KEYWORDS="-* ~x86 ~amd64"
64 IUSE="+chromium +firefox +chrome"
65 RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
66
67 -DEPEND=""
68 +DEPEND="app-arch/unzip"
69 RDEPEND="
70 chrome? ( || (
71 www-client/google-chrome
72 @@ -43,11 +43,11 @@ QA_PREBUILT="
73 S="${WORKDIR}"
74
75 src_unpack() {
76 - unpack ${MAINDISTFILE}
77 + unpack ${P}.tar.bz2
78 mkdir -p "${S}"/crx || die
79 # bug #524864: strip Chrome CRX header
80 # otherwise the unzip warning can be fatal in some cases
81 - dd bs=306 skip=1 if="${DISTDIR}"/lpchrome_linux.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die
82 + dd bs=306 skip=1 if="${DISTDIR}"/lpchrome_linux-${PV}.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die
83 unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die
84 }
85
86 @@ -62,7 +62,7 @@ src_install() {
87 exeinto /usr/$(get_libdir)/nsbrowser/plugins
88 doexe "${S}"/crx/lib${bin}.so
89
90 - cat >"${T}"/lastpass_policy.json <<-EOF
91 + cat >"${T}"/lastpass_policy.json <<-EOF || die
92 {
93 "ExtensionInstallSources": [
94 "https://lastpass.com/*",
95 @@ -71,7 +71,7 @@ src_install() {
96 ]
97 }
98 EOF
99 - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF
100 + cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
101 {
102 "name": "com.lastpass.nplastpass",
103 "description": "LastPass",
104 @@ -101,9 +101,8 @@ src_install() {
105 if use firefox; then
106 d="$D/usr/$(get_libdir)/firefox/browser/extensions/support@××××××××.com"
107 mkdir -p $d || die
108 - unzip -qq -o "${DISTDIR}/lp_linux.xpi" -d "$d" || die
109 + unzip -qq -o "${DISTDIR}/lp_linux-${PV}.xpi" -d "$d" || die
110 fi
111 -
112 }
113
114 pkg_postinst() {