From 98b9085a94480ad5c5951f99b49848bc182429aa Mon Sep 17 00:00:00 2001 From: Gokturk Yuksek Date: Tue, 3 Nov 2015 17:37:32 -0500 Subject: app-admin/lastpass: bump to 3.2.16 #550834 #551312 Bump app-admin/lastpass to 3.2.16. Upstream does not support versioned tarballs, so remove the old version. Closes a bump request and a checksum mismatch bug. Also, add the missing build time dependency on app-arch/unzip. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=550834 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=551312 Package-Manager: portage-2.2.20.1 --- app-admin/lastpass/Manifest | 6 +- app-admin/lastpass/lastpass-3.1.61.ebuild | 111 ------------------------------ app-admin/lastpass/lastpass-3.2.16.ebuild | 110 +++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 114 deletions(-) delete mode 100644 app-admin/lastpass/lastpass-3.1.61.ebuild create mode 100644 app-admin/lastpass/lastpass-3.2.16.ebuild (limited to 'app-admin') 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.1.61.ebuild deleted file mode 100644 index cae55ad6ab16..000000000000 --- a/app-admin/lastpass/lastpass-3.1.61.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils - -DESCRIPTION="Online password manager and form filler that makes web browsing easier and more secure" -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 )" - -LICENSE="LastPass" -SLOT="0" -KEYWORDS="-* ~x86 ~amd64" -IUSE="+chromium +firefox +chrome" -RESTRICT="strip mirror" # We can't mirror it, but we can fetch it - -DEPEND="" -RDEPEND=" - chrome? ( || ( - www-client/google-chrome - www-client/google-chrome-beta - www-client/google-chrome-unstable - ) ) - chromium? ( >=www-client/chromium-32.0.1700.102 ) - firefox? ( www-client/firefox )" -REQUIRED_USE="|| ( firefox chromium chrome )" - -LASTPASS_EXEDIR=/opt/lastpass/ - -QA_PREBUILT=" - ${LASTPASS_EXEDIR}nplastpass* - /usr/lib*/nsbrowser/plugins/libnplastpass*.so - /usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86_64-gcc3/components/lpxpcom_x86_64.so - /usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86-gcc3/components/lpxpcom.so -" - -S="${WORKDIR}" - -src_unpack() { - unpack ${MAINDISTFILE} - 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 - unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die -} - -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 - - # despite the name, this piece seems used by both firefox+chrome - exeinto /usr/$(get_libdir)/nsbrowser/plugins - doexe "${S}"/crx/lib${bin}.so - - cat >"${T}"/lastpass_policy.json <<-EOF - { - "ExtensionInstallSources": [ - "https://lastpass.com/*", - "https://*.lastpass.com/*", - "https://*.cloudfront.net/lastpass/*" - ] - } - EOF - cat >"${T}"/com.lastpass.nplastpass.json <<-EOF - { - "name": "com.lastpass.nplastpass", - "description": "LastPass", - "path": "${LASTPASS_EXEDIR}/$bin", - "type": "stdio", - "allowed_origins": [ - "chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/", - "chrome-extension://debgaelkhoipmbjnhpoblmbacnmmgbeg/", - "chrome-extension://hnjalnkldgigidggphhmacmimbdlafdo/" - ] - } - EOF - - if use chromium; then - insinto /etc/chromium/policies/managed - doins "${T}"/lastpass_policy.json - insinto /etc/opt/chrome/native-messaging-hosts/ - doins "${T}"/com.lastpass.nplastpass.json - fi - if use chrome; then - insinto /etc/opt/chrome/policies/managed/ - doins "${T}"/lastpass_policy.json - insinto /etc/chromium/native-messaging-hosts - doins "${T}"/com.lastpass.nplastpass.json - fi - - 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 - fi - -} - -pkg_postinst() { - einfo "Visit https://lastpass.com/dl/inline/?full=1 to finish installing for Chrome/Chromium/Firefox" -} diff --git a/app-admin/lastpass/lastpass-3.2.16.ebuild b/app-admin/lastpass/lastpass-3.2.16.ebuild new file mode 100644 index 000000000000..c5047a64ec1c --- /dev/null +++ b/app-admin/lastpass/lastpass-3.2.16.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="Online password manager and form filler that makes web browsing easier and more secure" +HOMEPAGE="https://lastpass.com/misc_download2.php" +# sadly, upstream has no versioned distfiles +MAINDISTFILE=lplinux.tar.bz2 +SRC_URI=" + 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" +KEYWORDS="-* ~x86 ~amd64" +IUSE="+chromium +firefox +chrome" +RESTRICT="strip mirror" # We can't mirror it, but we can fetch it + +DEPEND="app-arch/unzip" +RDEPEND=" + chrome? ( || ( + www-client/google-chrome + www-client/google-chrome-beta + www-client/google-chrome-unstable + ) ) + chromium? ( >=www-client/chromium-32.0.1700.102 ) + firefox? ( www-client/firefox )" +REQUIRED_USE="|| ( firefox chromium chrome )" + +LASTPASS_EXEDIR=/opt/lastpass/ + +QA_PREBUILT=" + ${LASTPASS_EXEDIR}nplastpass* + /usr/lib*/nsbrowser/plugins/libnplastpass*.so + /usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86_64-gcc3/components/lpxpcom_x86_64.so + /usr/lib*/firefox/browser/extensions/support@lastpass.com/platform/Linux_x86-gcc3/components/lpxpcom.so +" + +S="${WORKDIR}" + +src_unpack() { + 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-${PV}.crx of="${T}"/lpchrome_linux.zip 2>/dev/null || die + unzip -qq -o "${T}"/lpchrome_linux.zip -d "${S}"/crx || die +} + +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 + + # despite the name, this piece seems used by both firefox+chrome + exeinto /usr/$(get_libdir)/nsbrowser/plugins + doexe "${S}"/crx/lib${bin}.so + + cat >"${T}"/lastpass_policy.json <<-EOF || die + { + "ExtensionInstallSources": [ + "https://lastpass.com/*", + "https://*.lastpass.com/*", + "https://*.cloudfront.net/lastpass/*" + ] + } + EOF + 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/" + ] + } + EOF + + if use chromium; then + insinto /etc/chromium/policies/managed + doins "${T}"/lastpass_policy.json + insinto /etc/opt/chrome/native-messaging-hosts/ + doins "${T}"/com.lastpass.nplastpass.json + fi + if use chrome; then + insinto /etc/opt/chrome/policies/managed/ + doins "${T}"/lastpass_policy.json + insinto /etc/chromium/native-messaging-hosts + doins "${T}"/com.lastpass.nplastpass.json + fi + + 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-${PV}.xpi" -d "$d" || die + fi +} + +pkg_postinst() { + einfo "Visit https://lastpass.com/dl/inline/?full=1 to finish installing for Chrome/Chromium/Firefox" +} -- cgit v1.2.3-18-g5258