diff options
author | Eli Schwartz | 2017-12-12 22:02:29 -0500 |
---|---|---|
committer | Eli Schwartz | 2017-12-12 22:02:29 -0500 |
commit | 369d9534eaca92c84e577015ffc4ecddfda11d69 (patch) | |
tree | a4a3df5fcb95e315138755c82b49761d71f6ca47 | |
parent | 16b228f55eb547635cdc50abe9a52dd1cc0b80db (diff) | |
download | aur-369d9534eaca92c84e577015ffc4ecddfda11d69.tar.gz |
upgpkg: lastpass 4.2.3.20-1
upstream release
The Linux universal installer was silently updated with a new binary
nplastpass plugin (updated from 3.2.41 to 4.1.44) that supports Firefox
as well. Lastpass for Firefox is now both webextensions and
native-messaging-hosts enabled.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | firefox-com.lastpass.nplastpass.json | 6 |
3 files changed, 28 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = lastpass pkgdesc = The Universal LastPass installer for Firefox, Chrome, and Opera - pkgver = 4.2.1.21 + pkgver = 4.2.3.20 pkgrel = 1 url = https://lastpass.com arch = i686 @@ -11,20 +11,22 @@ pkgbase = lastpass optdepends = chromium optdepends = google-chrome optdepends = opera - noextract = lastpass-4.2.1.21.xpi + noextract = lastpass-4.2.3.20.xpi noextract = lpchrome-4.1.52.crx options = !strip - source = lastpass-4.2.1.21.xpi::https://addons.mozilla.org/firefox/downloads/file/765898/ + source = lastpass-4.2.3.20.xpi::https://addons.mozilla.org/firefox/downloads/file/800645/ source = lpchrome-4.1.52.crx::https://lastpass.com/lpchrome_linux.crx - source = lplinux-4.1.44.tar.bz2::https://lastpass.com/lplinux.tar.bz2 + source = lplinux-4.1.44v2.tar.bz2::https://lastpass.com/lplinux.tar.bz2 source = com.lastpass.nplastpass.json + source = firefox-com.lastpass.nplastpass.json source = lastpass_policy_sources.json source = lastpass_policy_install.json source = License.txt - sha256sums = c663a19a31b41a2ccf84c6ee4c5d592c5c570c7b8e22dbd59e00911ca0dffc43 + sha256sums = cb837b4d738d51fac1d4361b7ac50cac1fc2828c2848057f10f88220aff77380 sha256sums = 47937f48972b73f024a1e616547405d41e368cb3756f97958423d20d2196762d - sha256sums = adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e + sha256sums = 22690e30f5670205df2e5508ae799757b81060aa25b33bb115eeea6ba90e4425 sha256sums = e8eb3b585809d6644807727c5bd0a74ead96dd2c5a7e6d2ce29e0b6ea28b9e59 + sha256sums = 82af9e9296f92e92ca325449e0c2b2deb3c21f65afea45aeb823090cb32aad76 sha256sums = f82b920620575654fcbc0baf9b5d6c275835cbfc05b779ad309de5c6411c8bc9 sha256sums = 1c061cb5352d84dd6cde4dd6ce3889d41a31fd38acc4d97a7d69709e3d5ac693 sha256sums = 17a871edf1134c498f6e91465f5b3138ba5af7d822e4c253cda81ab929906388 @@ -1,11 +1,11 @@ # Maintainer: Eli Schwartz <eschwartz@archlinux.org> pkgname=lastpass -pkgver=4.2.1.21 +pkgver=4.2.3.20 pkgrel=1 _universalver=4.1.44 _chromever=4.1.52 -_amo_file=765898 +_amo_file=800645 _crx_id=hdokiejnpimakedhajhdlcegeplioahd pkgdesc="The Universal LastPass installer for Firefox, Chrome, and Opera" arch=('i686' 'x86_64') @@ -20,17 +20,19 @@ options=('!strip') # Apparently, API endpoints are all the rage -- so this isn't actually a file... source=("${pkgname}-${pkgver}.xpi::https://addons.mozilla.org/firefox/downloads/file/${_amo_file}/" "lpchrome-${_chromever}.crx::${url}/lpchrome_linux.crx" - "lplinux-${_universalver}.tar.bz2::${url}/lplinux.tar.bz2" + "lplinux-${_universalver}v2.tar.bz2::${url}/lplinux.tar.bz2" "com.lastpass.nplastpass.json" + "firefox-com.lastpass.nplastpass.json" "lastpass_policy_sources.json" "lastpass_policy_install.json" "License.txt") noextract=("${pkgname}-${pkgver}.xpi" "lpchrome-${_chromever}.crx") -sha256sums=('c663a19a31b41a2ccf84c6ee4c5d592c5c570c7b8e22dbd59e00911ca0dffc43' +sha256sums=('cb837b4d738d51fac1d4361b7ac50cac1fc2828c2848057f10f88220aff77380' '47937f48972b73f024a1e616547405d41e368cb3756f97958423d20d2196762d' - 'adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e' + '22690e30f5670205df2e5508ae799757b81060aa25b33bb115eeea6ba90e4425' 'e8eb3b585809d6644807727c5bd0a74ead96dd2c5a7e6d2ce29e0b6ea28b9e59' + '82af9e9296f92e92ca325449e0c2b2deb3c21f65afea45aeb823090cb32aad76' 'f82b920620575654fcbc0baf9b5d6c275835cbfc05b779ad309de5c6411c8bc9' '1c061cb5352d84dd6cde4dd6ce3889d41a31fd38acc4d97a7d69709e3d5ac693' '17a871edf1134c498f6e91465f5b3138ba5af7d822e4c253cda81ab929906388') @@ -68,8 +70,14 @@ package() { install -Dm644 ${pkgname}-${pkgver}.xpi "${_extension_dest}.xpi" fi + # This cannot use the same (unified) file as chromium. Although chromium + # ignores the Mozilla-specific key in *its* native messaging hosts + # description, and continues to work, Firefox refuses to recognize the + # binary plugin if unknown (chromium-specific) keys are present. + install -Dm644 firefox-com.lastpass.nplastpass.json "$pkgdir"/usr/lib/mozilla/native-messaging-hosts/com.lastpass.nplastpass.json + # Chrome(ium) - install -Dm755 lplinux/nplastpass$_64 "$pkgdir"/usr/lib/lastpass/nplastpass + install -Dm755 nplastpass$_64 "$pkgdir"/usr/lib/lastpass/nplastpass for i in opt/chrome chromium chromium-dev; do install -Dm644 com.lastpass.nplastpass.json "$pkgdir"/etc/$i/native-messaging-hosts/com.lastpass.nplastpass.json install -Dm644 lastpass_policy_sources.json "$pkgdir"/etc/$i/policies/managed/lastpass.json diff --git a/firefox-com.lastpass.nplastpass.json b/firefox-com.lastpass.nplastpass.json new file mode 100644 index 000000000000..51817fd7f7a7 --- /dev/null +++ b/firefox-com.lastpass.nplastpass.json @@ -0,0 +1,6 @@ +{ "name": "com.lastpass.nplastpass", + "description": "LastPass", + "path": "/usr/lib/lastpass/nplastpass", + "type": "stdio", + "allowed_extensions": [ "support@lastpass.com" ] +} |