summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/lastpass/Manifest6
-rw-r--r--app-admin/lastpass/lastpass-3.2.16.ebuild (renamed from app-admin/lastpass/lastpass-3.1.61.ebuild)21
2 files changed, 13 insertions, 14 deletions
diff --git a/app-admin/lastpass/Manifest b/app-admin/lastpass/Manifest
index b2067e930839..d9d86df089ed 100644
--- a/app-admin/lastpass/Manifest
+++ b/app-admin/lastpass/Manifest
@@ -1,3 +1,3 @@
-DIST lp_linux.xpi 3965257 SHA256 1d98b3649f51e5f08a16379a73791b7e85fa5fab35b3a6190860c900788c5dbc SHA512 e39a6ada0e75dcb3bf943bce9b573bf8d22be7c07baf86f3651cbaaa5abcec7c31dd43341369b1fe562aff572befd1f15114ba030e6b9fb317bd476798d7b5e5 WHIRLPOOL 85f7eebc2f155d4beb7a1f69ef9d1e58508c76ac2807536d7a07885f395f342b218587199c9b57a77f9e54e75e1dfaf311341c16a59830c114283e542aa18767
-DIST lpchrome_linux.crx 4722909 SHA256 511fd7968bb45ab1425ca9584873f4dbf0812b63c64a4e604796cb0a76849f3f SHA512 01935a34a0be63b96556009cb50364df83599aeab6cad10d7e4b49af5a5acfeecf61171aa36f932901a42e2e0b58141e649d17525a259343fe9b2f287d413dc0 WHIRLPOOL 230f2c820d2cf8d3a937866c5c3dde8b7f05e37547180a4e666bc0bac592671f5c1d7bb84498d5bd930053e47ec80d75207dcaba1b71f307d1ea011d80e9e5f9
-DIST lplinux.tar.bz2 1523508 SHA256 535fe4ce97a55f3baf9311962a7a4812ea7a32c8a545ee1e533c0794c665abf1 SHA512 4433701df5a6c04bb914f3b342c458a28ff7cd232936f77dfec6ddd959060be1e8bf067b88e05d1c1ac69f63f1660c49c262f85515d6cf97188ea365f7bf309b WHIRLPOOL 818f00fc43944b8eb1c0f4816e82fa06be69845d1d6a3eb8de453db1647e9bfdce0ff0812ea9c0fec64c904dce1cc1fa4c514a79ead2c5e98aeb7416a8a2fb41
+DIST lastpass-3.2.16.tar.bz2 1621919 SHA256 c06fd97e74298c5e7d698b2c8cffce7d79f0c45126daeb27bca91d3403fd893c SHA512 ed77f3ca979d84021e27088a5d1d7e0b102f6ce15f675a7b99810e88760844182b8597670bbe45c9436b42889597c8c421d1acb6abe24085bbd2623b7984d37d WHIRLPOOL 192d332348db9ad68a5e63441e17c0ef954de058376f110dcd05dfe261d54f1c9a179a9c647dc9d5090ffefe8af68a9dbe446dea7a1fb46b1f6c2e458752417d
+DIST lp_linux-3.2.16.xpi 6328266 SHA256 e06364ce631f436246cfca19ff24a2483bc459a5e31178f2c6acd57c1f408f81 SHA512 343d0763f25c31fb7dbde2c9aa19d797431ee9f7bb1f8ae220fd4cac2cc8f439813d92ecb432047f5889967eca7bd4197a7f2725fc52669d022c9f44b7d4945e WHIRLPOOL 5b64cdf371b9ff9ac46030393b22fd92c4fa6493947f47d91a2f44c7019ffcfe1344447456398c2991aee5cbc45bf95b39d90a6a423f6a2e284ac88d2d75d2f8
+DIST lpchrome_linux-3.2.16.crx 5310273 SHA256 58ec7c7dfa735c5d052b0ca253f85654fd381952533a4a2b125d3abb88e77d39 SHA512 a7d3198ace665bcbbe0a7bdc9dcb4dc165aaa39214df798fe28930d3cc340976a476b8afc4f19af1acc6cbbe61feff8dfa5cc6c2b4c6d4a04b0377752ce1ca54 WHIRLPOOL 9b281945cd8603516e11a9a2f4869622d6783a56670253cdcc4a51a7ddae84a1a5297956d491b4e17e449a01acf6e8a4e3cc0a8b494f973078e617fe041ed615
diff --git a/app-admin/lastpass/lastpass-3.1.61.ebuild b/app-admin/lastpass/lastpass-3.2.16.ebuild
index cae55ad6ab16..c5047a64ec1c 100644
--- a/app-admin/lastpass/lastpass-3.1.61.ebuild
+++ b/app-admin/lastpass/lastpass-3.2.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -10,9 +10,9 @@ HOMEPAGE="https://lastpass.com/misc_download2.php"
# sadly, upstream has no versioned distfiles
MAINDISTFILE=lplinux.tar.bz2
SRC_URI="
- https://lastpass.com/${MAINDISTFILE}
- https://lastpass.com/lpchrome_linux.crx
- firefox? ( https://lastpass.com/lp_linux.xpi )"
+ https://lastpass.com/${MAINDISTFILE} -> ${P}.tar.bz2
+ https://lastpass.com/lpchrome_linux.crx -> lpchrome_linux-${PV}.crx
+ firefox? ( https://lastpass.com/lp_linux.xpi -> lp_linux-${PV}.xpi )"
LICENSE="LastPass"
SLOT="0"
@@ -20,7 +20,7 @@ KEYWORDS="-* ~x86 ~amd64"
IUSE="+chromium +firefox +chrome"
RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
-DEPEND=""
+DEPEND="app-arch/unzip"
RDEPEND="
chrome? ( || (
www-client/google-chrome
@@ -43,11 +43,11 @@ QA_PREBUILT="
S="${WORKDIR}"
src_unpack() {
- unpack ${MAINDISTFILE}
+ unpack ${P}.tar.bz2
mkdir -p "${S}"/crx || die
# bug #524864: strip Chrome CRX header
# otherwise the unzip warning can be fatal in some cases
- dd bs=306 skip=1 if="${DISTDIR}"/lpchrome_linux.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die
+ dd bs=306 skip=1 if="${DISTDIR}"/lpchrome_linux-${PV}.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die
unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die
}
@@ -62,7 +62,7 @@ src_install() {
exeinto /usr/$(get_libdir)/nsbrowser/plugins
doexe "${S}"/crx/lib${bin}.so
- cat >"${T}"/lastpass_policy.json <<-EOF
+ cat >"${T}"/lastpass_policy.json <<-EOF || die
{
"ExtensionInstallSources": [
"https://lastpass.com/*",
@@ -71,7 +71,7 @@ src_install() {
]
}
EOF
- cat >"${T}"/com.lastpass.nplastpass.json <<-EOF
+ cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
{
"name": "com.lastpass.nplastpass",
"description": "LastPass",
@@ -101,9 +101,8 @@ src_install() {
if use firefox; then
d="$D/usr/$(get_libdir)/firefox/browser/extensions/support@lastpass.com"
mkdir -p $d || die
- unzip -qq -o "${DISTDIR}/lp_linux.xpi" -d "$d" || die
+ unzip -qq -o "${DISTDIR}/lp_linux-${PV}.xpi" -d "$d" || die
fi
-
}
pkg_postinst() {