[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2021-03-14 Thread Göktürk Yüksek
commit: 414b971233f0da9494712d5281e81c53d02335a6
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Sun Mar 14 20:18:48 2021 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Sun Mar 14 20:19:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=414b9712

app-admin/lastpass-binary-component: bump to 4.67.1

Closes: https://bugs.gentoo.org/751373
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Göktürk Yüksek  gentoo.org>

 app-admin/lastpass-binary-component/Manifest| 2 +-
 ...mponent-4.19.0-r1.ebuild => lastpass-binary-component-4.67.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
index 8ca4a32ae51..918087aa656 100644
--- a/app-admin/lastpass-binary-component/Manifest
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -1 +1 @@
-DIST lastpass-binary-component-4.19.0.tar.bz2 1625255 BLAKE2B 
714fb34708f9dda8dbacfce8e76adf004f1cc966d685c0efbaac7b25c45068bb5595e954e554092852d575f1fedc5f318d05b121bc2ce1aa4888e4bf374f7b96
 SHA512 
2535d72c5b545b364dd1e91503590cafa16d3de4f4745c4f1fa236135580e2af47094e364a7f0ebde5fcfd11282ab9329ef333866a985f02a873e092aabb9b22
+DIST lastpass-binary-component-4.67.1.tar.bz2 1625199 BLAKE2B 
cd9333866516a0dc43b653106224e5ef1a228c340adac93a2541d4f337b6b865c5eed043cf914a552b390d23a471ff1f21f8439d15282b77fb69dcbd6ffa01c1
 SHA512 
8277082fcf4cb8ef0f67903f518eb1b55fd6525373f22be0ce7d62abedef76029ef46da7c0aa32d4df3bbc0053471232390ecd69ff0572a3836e08aefee98e48

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
 b/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild
similarity index 99%
rename from 
app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
rename to 
app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild
index 0913632e723..783d1214c73 100644
--- 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
+++ 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.67.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2020-02-12 Thread Göktürk Yüksek
commit: deccaea109bb0b09cf67ce85a3bfdbdcf6a769d2
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Wed Feb 12 17:38:06 2020 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed Feb 12 17:38:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deccaea1

app-admin/lastpass-binary-component: remove old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Göktürk Yüksek  gentoo.org>

 .../lastpass-binary-component-4.19.0.ebuild| 114 -
 1 file changed, 114 deletions(-)

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
deleted file mode 100644
index ac0969132cf..000
--- 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Binary component required by the LastPass Password Manager 
browser extension"
-HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5;
-# sadly, upstream has no versioned distfiles
-SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> 
${P}.tar.bz2"
-
-LICENSE="LastPass"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="bindist strip mirror" # We can't mirror it, but we can fetch it
-
-LASTPASS_EXEDIR=/opt/lastpass/
-
-QA_PREBUILT="
-   ${LASTPASS_EXEDIR}nplastpass*
-"
-
-S="${WORKDIR}"
-
-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}
-
-   # Generate the policy file for Chrome/Chromium/Opera
-   cat >"${T}"/lastpass_policy.json <<-EOF || die
-   {
-   "ExtensionInstallSources": [
-   "https://lastpass.com/*;,
-   "https://*.lastpass.com/*;,
-   "https://d1jxck0p3rkj0.cloudfront.net/lastpass/*;
-   ]
-   }
-   EOF
-   # Install the policy file for Chrome/Chromium/Opera
-   for d in /etc/chromium /etc/opt/chrome; do
-   insinto ${d}/policies/managed
-   doins "${T}"/lastpass_policy.json
-   done
-
-   # Generate the app manifest for Chrome/Opera
-   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/",
-   "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
-   ]
-   }
-   EOF
-   # Install the app manifest for Chrome/Opera
-   # https://developer.chrome.com/apps/nativeMessaging
-   # https://dev.opera.com/extensions/message-passing/
-   insinto /etc/opt/chrome/native-messaging-hosts
-   doins "${T}"/com.lastpass.nplastpass.json
-
-   # Generate the app manifest for Chromium
-   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://hgnkdfamjgnljokmokheijphenjjhkjc/"
-   ]
-   }
-   EOF
-   # Install the app manifest for Chromium
-   # https://developer.chrome.com/apps/nativeMessaging
-   insinto /etc/chromium/native-messaging-hosts/
-   doins "${T}"/com.lastpass.nplastpass.json
-
-   # Generate the app manifest for Firefox
-   cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
-   {
-   "name": "com.lastpass.nplastpass",
-   "description": "LastPass",
-   "path": "${LASTPASS_EXEDIR}${bin}",
-   "type": "stdio",
-   "allowed_extensions": [
-   "supp...@lastpass.com"
-   ]
-   }
-   EOF
-   # Install the app manifest for Firefox
-   # 
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_manifests#Manifest_location
-   insinto /usr/lib/mozilla/native-messaging-hosts/
-   doins "${T}"/com.lastpass.nplastpass.json
-}
-
-pkg_postinst() {
-   einfo "This package only installs the components required by the 
browser extension."
-  

[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2020-02-12 Thread Göktürk Yüksek
commit: e536cb3322bc9fd988349e8f1dcf169b3160c85b
Author: Lucian Poston  pm  me>
AuthorDate: Wed Feb 12 10:51:41 2020 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed Feb 12 17:37:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e536cb33

app-admin/lastpass-binary-component: Install to both firefox dirs

Firefox's directory for native messaging hosts is a compile-time
variable. www-client/firefox-bin is set to a directory under /usr/lib/,
while www-client/firefox varies. This -r1 bump will install to both
locations so that both firefox and firefox-bin are able to locate the
plugin.

Closes: https://bugs.gentoo.org/688104
Closes: https://github.com/gentoo/gentoo/pull/14636
Bug: https://bugs.gentoo.org/687746
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lucian Poston  pm.me>
Signed-off-by: Göktürk Yüksek  gentoo.org>

 .../lastpass-binary-component-4.19.0-r1.ebuild | 116 +
 1 file changed, 116 insertions(+)

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
new file mode 100644
index 000..0913632e723
--- /dev/null
+++ 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Binary component required by the LastPass Password Manager 
browser extension"
+HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5;
+# sadly, upstream has no versioned distfiles
+SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> 
${P}.tar.bz2"
+
+LICENSE="LastPass"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist strip mirror" # We can't mirror it, but we can fetch it
+
+LASTPASS_EXEDIR=/opt/lastpass/
+
+QA_PREBUILT="
+   ${LASTPASS_EXEDIR}nplastpass*
+"
+
+S="${WORKDIR}"
+
+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}
+
+   # Generate the policy file for Chrome/Chromium/Opera
+   cat >"${T}"/lastpass_policy.json <<-EOF || die
+   {
+   "ExtensionInstallSources": [
+   "https://lastpass.com/*;,
+   "https://*.lastpass.com/*;,
+   "https://d1jxck0p3rkj0.cloudfront.net/lastpass/*;
+   ]
+   }
+   EOF
+   # Install the policy file for Chrome/Chromium/Opera
+   for d in /etc/chromium /etc/opt/chrome; do
+   insinto ${d}/policies/managed
+   doins "${T}"/lastpass_policy.json
+   done
+
+   # Generate the app manifest for Chrome/Opera
+   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/",
+   "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
+   ]
+   }
+   EOF
+   # Install the app manifest for Chrome/Opera
+   # https://developer.chrome.com/apps/nativeMessaging
+   # https://dev.opera.com/extensions/message-passing/
+   insinto /etc/opt/chrome/native-messaging-hosts
+   doins "${T}"/com.lastpass.nplastpass.json
+
+   # Generate the app manifest for Chromium
+   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://hgnkdfamjgnljokmokheijphenjjhkjc/"
+   ]
+   }
+   EOF
+   # Install the app manifest for Chromium
+   # https://developer.chrome.com/apps/nativeMessaging
+   insinto /etc/chromium/native-messaging-hosts/
+   doins "${T}"/com.lastpass.nplastpass.json
+
+   # Generate the app manifest for Firefox
+   cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
+   {
+   "name": "com.lastpass.nplastpass",
+   "description": "LastPass",
+   "path": "${LASTPASS_EXEDIR}${bin}",
+   "type": "stdio",
+   "allowed_extensions": 

[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2019-09-23 Thread Michał Górny
commit: 866befbdf1d717380625804654039cd72bd435f0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 17:03:36 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 23 17:15:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866befbd

app-admin/lastpass-binary-component: Add RESTRICT=bindist

Signed-off-by: Michał Górny  gentoo.org>

 .../lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
index c0407fd6d94..ac0969132cf 100644
--- 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
+++ 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> ${P}.tar.b
 LICENSE="LastPass"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
+RESTRICT="bindist strip mirror" # We can't mirror it, but we can fetch it
 
 LASTPASS_EXEDIR=/opt/lastpass/
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2018-11-08 Thread Göktürk Yüksek
commit: bd0e275d7b6bc13096db10b864315e8537bb8956
Author: Stefan Kuhn  gmail  com>
AuthorDate: Mon Nov  5 18:38:57 2018 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Thu Nov  8 22:01:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0e275d

app-admin/lastpass-binary-component: Bump to version 4.19.0

Update SRC_URI, version bump to 4.19.0 according to
https://lastpass.com/misc_download2.php

Closes: https://bugs.gentoo.org/670116
Package-Manager: Portage-2.3.51, Repoman 2.3.11
Signed-off-by: Stefan Kuhn  gmail.com>
Signed-off-by: Göktürk Yüksek  gentoo.org>

 app-admin/lastpass-binary-component/Manifest |  2 +-
 ...171210.ebuild => lastpass-binary-component-4.19.0.ebuild} | 12 
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
index 3f6f4cab04a..8ca4a32ae51 100644
--- a/app-admin/lastpass-binary-component/Manifest
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -1 +1 @@
-DIST lastpass-binary-component-4.1.44_p20171210.tar.bz2 1625075 BLAKE2B 
90812cfae90c90ab7f91ac293e501e9b8c6d0b4fca9e1f05e88865eb85042286308d2ce6eb90d306583aa9481de7588746a3402c3b4b9f29e2e540e4a4c2b287
 SHA512 
16ceebd054fe807975f838305044bf5e75ccbba2c592f7bf08af18d1209067c7e8b0e00457092242c3869de2ec5c59bfdfdb3ff06f801dbb2108b7dac1a7adbf
+DIST lastpass-binary-component-4.19.0.tar.bz2 1625255 BLAKE2B 
714fb34708f9dda8dbacfce8e76adf004f1cc966d685c0efbaac7b25c45068bb5595e954e554092852d575f1fedc5f318d05b121bc2ce1aa4888e4bf374f7b96
 SHA512 
2535d72c5b545b364dd1e91503590cafa16d3de4f4745c4f1fa236135580e2af47094e364a7f0ebde5fcfd11282ab9329ef333866a985f02a873e092aabb9b22

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
 b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
similarity index 95%
rename from 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
rename to 
app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
index beff308bc57..c0407fd6d94 100644
--- 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
+++ 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.19.0.ebuild
@@ -1,22 +1,18 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 DESCRIPTION="Binary component required by the LastPass Password Manager 
browser extension"
 HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5;
 # sadly, upstream has no versioned distfiles
-SRC_URI="https://lastpass.com/lplinux.tar.bz2 -> ${P}.tar.bz2"
+SRC_URI="https://download.cloud.lastpass.com/linux/lplinux.tar.bz2 -> 
${P}.tar.bz2"
 
 LICENSE="LastPass"
 SLOT="0"
-KEYWORDS="-* ~x86 ~amd64"
+KEYWORDS="-* ~amd64 ~x86"
 RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
 
-RDEPEND="
-   !!app-admin/lastpass
-"
-
 LASTPASS_EXEDIR=/opt/lastpass/
 
 QA_PREBUILT="



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2017-12-11 Thread Göktürk Yüksek
commit: b0fdfbee88ccedbcbd60305419104edc6183c65b
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Dec 11 00:52:35 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Tue Dec 12 02:55:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fdfbee

app-admin/lastpass-binary-component: bump (!) and fix the fetch failure #640506

"Let's extend LastPass support to Firefox using Native
Messaging. While doing so, let's modify our closed binary and change
who-knows-what too. And yeah, let's release it under the same version
4.1.44 because version bumps are sissies and only losers release
versioned tarballs."

Also separate the app manifest files for Chrome and Chromium because
allowed-origins are not the same. Add more comments to clarify the
file system locations for various installed files.

Update the postinst message to reflect that for some browsers users
have to enable the binary component manually after installing the
extension.

Closes: https://bugs.gentoo.org/640506
Package-Manager: Portage-2.3.8, Repoman-2.3.2

 app-admin/lastpass-binary-component/Manifest   |  2 +-
 ...tpass-binary-component-4.1.44_p20171210.ebuild} | 59 +++---
 2 files changed, 53 insertions(+), 8 deletions(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
index 1cbcb8e814d..3f6f4cab04a 100644
--- a/app-admin/lastpass-binary-component/Manifest
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -1 +1 @@
-DIST lastpass-binary-component-4.1.44.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c
+DIST lastpass-binary-component-4.1.44_p20171210.tar.bz2 1625075 BLAKE2B 
90812cfae90c90ab7f91ac293e501e9b8c6d0b4fca9e1f05e88865eb85042286308d2ce6eb90d306583aa9481de7588746a3402c3b4b9f29e2e540e4a4c2b287
 SHA512 
16ceebd054fe807975f838305044bf5e75ccbba2c592f7bf08af18d1209067c7e8b0e00457092242c3869de2ec5c59bfdfdb3ff06f801dbb2108b7dac1a7adbf

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
similarity index 51%
rename from 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44.ebuild
rename to 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
index c46f9987de0..beff308bc57 100644
--- 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44.ebuild
+++ 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44_p20171210.ebuild
@@ -23,7 +23,7 @@ QA_PREBUILT="
${LASTPASS_EXEDIR}nplastpass*
 "
 
-S="${WORKDIR}/lplinux"
+S="${WORKDIR}"
 
 src_install() {
# This is based on the upstream installer script that's in the tarball
@@ -32,6 +32,7 @@ src_install() {
exeinto ${LASTPASS_EXEDIR}
doexe "${S}"/${bin}
 
+   # Generate the policy file for Chrome/Chromium/Opera
cat >"${T}"/lastpass_policy.json <<-EOF || die
{
"ExtensionInstallSources": [
@@ -41,6 +42,13 @@ src_install() {
]
}
EOF
+   # Install the policy file for Chrome/Chromium/Opera
+   for d in /etc/chromium /etc/opt/chrome; do
+   insinto ${d}/policies/managed
+   doins "${T}"/lastpass_policy.json
+   done
+
+   # Generate the app manifest for Chrome/Opera
cat >"${T}"/com.lastpass.nplastpass.json <<-EOF || die
{
"name": "com.lastpass.nplastpass",
@@ -55,19 +63,56 @@ src_install() {
]
}
EOF
+   # Install the app manifest for Chrome/Opera
+   # https://developer.chrome.com/apps/nativeMessaging
+   # https://dev.opera.com/extensions/message-passing/
+   insinto /etc/opt/chrome/native-messaging-hosts
+   doins "${T}"/com.lastpass.nplastpass.json
 
-   for d in /etc/chromium /etc/opt/chrome; do
-   insinto ${d}/policies/managed
-   doins "${T}"/lastpass_policy.json
-   insinto ${d}/native-messaging-hosts
-   doins "${T}"/com.lastpass.nplastpass.json
-   done
+   # Generate the app manifest for Chromium
+   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/",
+   

[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2017-08-16 Thread Göktürk Yüksek
commit: 547063b703b811c2576c9fd54d16ea70a13b51b8
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Thu Aug 17 03:41:24 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Thu Aug 17 03:41:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547063b7

app-admin/lastpass-binary-component: fix the versioning

The commit c11fc76d645ed4cebe6334273e4536f9f80ea1ca incorrectly bumps
to the version 4.1.4 as opposed to 4.1.44. Because the upstream does
not version their tarballs, it did not show up during
testing. Moreover, the tarballs for the versions 4.1.2 and 4.1.44 are
identical, so this mistake did not actually introduce any
breakage. Because 4.1.44 > 4.1.4, there will be no downgrades or any
unintended side effects either.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-admin/lastpass-binary-component/Manifest| 2 +-
 ...y-component-4.1.4.ebuild => lastpass-binary-component-4.1.44.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
index 753abbd8013..1cbcb8e814d 100644
--- a/app-admin/lastpass-binary-component/Manifest
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -1 +1 @@
-DIST lastpass-binary-component-4.1.4.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c
+DIST lastpass-binary-component-4.1.44.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.4.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44.ebuild
similarity index 100%
rename from 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.4.ebuild
rename to 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.44.ebuild



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2017-05-22 Thread Göktürk Yüksek
commit: c11fc76d645ed4cebe6334273e4536f9f80ea1ca
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon May 22 21:20:33 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon May 22 21:20:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11fc76d

app-admin/lastpass-binary-component: bump to 4.1.44 #617536

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-admin/lastpass-binary-component/Manifest| 2 +-
 ...ry-component-4.1.2.ebuild => lastpass-binary-component-4.1.4.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
index a76d7fc7674..753abbd8013 100644
--- a/app-admin/lastpass-binary-component/Manifest
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -1 +1 @@
-DIST lastpass-binary-component-4.1.2.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c
+DIST lastpass-binary-component-4.1.4.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.4.ebuild
similarity index 97%
rename from 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild
rename to 
app-admin/lastpass-binary-component/lastpass-binary-component-4.1.4.ebuild
index 40a551fcd97..c46f9987de0 100644
--- a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild
+++ b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/

2016-05-18 Thread Göktürk Yüksek
commit: 08915274d72adf7a0163a94a59f25d7bb4a8ebfc
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Wed May 18 06:16:39 2016 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Wed May 18 07:45:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08915274

app-admin/lastpass-binary-component: update maintainer email address

Package-Manager: portage-2.2.28

 app-admin/lastpass-binary-component/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/lastpass-binary-component/metadata.xml 
b/app-admin/lastpass-binary-component/metadata.xml
index 221747f..6f4f533 100644
--- a/app-admin/lastpass-binary-component/metadata.xml
+++ b/app-admin/lastpass-binary-component/metadata.xml
@@ -2,7 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-gokt...@binghamton.edu
+gokt...@gentoo.org
 Göktürk Yüksek
   
   



[gentoo-commits] repo/gentoo:master commit in: app-admin/lastpass-binary-component/, app-admin/lastpass/

2016-04-22 Thread Robin H. Johnson
commit: cda99633a9afa2e5866daeefbfd3276cc3c931b5
Author: Göktürk Yüksek  binghamton  edu>
AuthorDate: Mon Apr  4 07:24:00 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Fri Apr 22 15:07:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cda99633

app-admin/lastpass-binary-component: new package #571280

This is a split off from app-admin/lastpass and only installs the binary
component required by the browser extension, as opposed to installing
the extension too. Beginning with lastpass-4, the upstream only
installs the binary component.

Also, add this package as a blocker for app-admin/lastpass. These two
packages cannot be installed at the same time as that would introduce
file collisions.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571280

Package-Manager: portage-2.2.26
(cherry picked from commit 6c8d1cd984fe45857ff9fac95ace41fddb1532b0)
Signed-off-by: Robin H. Johnson  gentoo.org>

 app-admin/lastpass-binary-component/Manifest   |  1 +
 .../lastpass-binary-component-4.1.2.ebuild | 74 ++
 app-admin/lastpass-binary-component/metadata.xml   | 20 ++
 app-admin/lastpass/lastpass-3.2.16.ebuild  |  3 +-
 4 files changed, 97 insertions(+), 1 deletion(-)

diff --git a/app-admin/lastpass-binary-component/Manifest 
b/app-admin/lastpass-binary-component/Manifest
new file mode 100644
index 000..a76d7fc
--- /dev/null
+++ b/app-admin/lastpass-binary-component/Manifest
@@ -0,0 +1 @@
+DIST lastpass-binary-component-4.1.2.tar.bz2 1623477 SHA256 
adb0e91f8d212d34dbb85db0b11738fe36db1a741ad5674d7070c4019a9fc75e SHA512 
6fd518fa19f7206a1007376460c61e5a5c8d868126a767b3978309f0cc7ccd069e743cb12364e6841d8d3cb29452d058122b95f42bcfd2bd4deb4b8c77dc5f75
 WHIRLPOOL 
c50bde0ee3f82abe56803beb2bda09786f7806b5e480eb8401fe0302ee984465f2682af66243095f3ea83744d59d6d3548806c423b69a8603abed9fc3ba3d00c

diff --git 
a/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild 
b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild
new file mode 100644
index 000..31e9ef4
--- /dev/null
+++ b/app-admin/lastpass-binary-component/lastpass-binary-component-4.1.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Binary component required by the LastPass Password Manager 
browser extension"
+HOMEPAGE="https://helpdesk.lastpass.com/downloading-and-installing/#h5;
+# sadly, upstream has no versioned distfiles
+SRC_URI="https://lastpass.com/lplinux.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LastPass"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+RESTRICT="strip mirror" # We can't mirror it, but we can fetch it
+
+RDEPEND="
+   !!app-admin/lastpass
+"
+
+LASTPASS_EXEDIR=/opt/lastpass/
+
+QA_PREBUILT="
+   ${LASTPASS_EXEDIR}nplastpass*
+"
+
+S="${WORKDIR}/lplinux"
+
+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}
+
+   cat >"${T}"/lastpass_policy.json <<-EOF || die
+   {
+   "ExtensionInstallSources": [
+   "https://lastpass.com/*;,
+   "https://*.lastpass.com/*;,
+   "https://d1jxck0p3rkj0.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/",
+   "chrome-extension://hgnkdfamjgnljokmokheijphenjjhkjc/"
+   ]
+   }
+   EOF
+
+   for d in /etc/chromium /etc/opt/chrome; do
+   insinto ${d}/policies/managed
+   doins "${T}"/lastpass_policy.json
+   insinto ${d}/native-messaging-hosts
+   doins "${T}"/com.lastpass.nplastpass.json
+   done
+
+}
+
+pkg_postinst() {
+   einfo "This package only installs the components required by the 
browser extension."
+   einfo "Visit the links below for your browser to install the extension 
itself:"
+   einfo "Chrome/Chromium: https://lastpass.com/dl/inline/?full=1;
+   einfo "Opera: https://lastpass.com/dl/;
+}

diff --git a/app-admin/lastpass-binary-component/metadata.xml 
b/app-admin/lastpass-binary-component/metadata.xml
new file mode 100644
index 000..221747f
--- /dev/null
+++ b/app-admin/lastpass-binary-component/metadata.xml
@@ -0,0 +1,20 @@
+