parent
3fc5302578
commit
5cbe334fb6
@ -0,0 +1 @@
|
|||||||
|
DIST chrome-bitwarden-2023.5.1.tar.bz2 1063 BLAKE2B 55fec5699153e9beca910615756a3d1c626485c0dc86b70114ccd151a87b26e4cd23554e07b2a4d047c3a384372bb0a626c96b024e791e8e66a127141e17848c SHA512 a4d559f03e92c2c587cb428b3862f50e61b4bfa0c6c9818e122411d5f3f6d6463a4e1d34c3d193fe67fd68f7d99da112d2e6f8b8a8860301e6f8215de9318fa8
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
SRC_URI="https://mirror.calculate-linux.org/source/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
DESCRIPTION="Passman - The password manager for NextCloud / ownCloud"
|
||||||
|
HOMEPAGE="https://chrome.google.com/webstore/detail/hlpjhlifkgmoibhollggngbbhbejecph"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/plyvel
|
||||||
|
dev-python/sjcl"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r *
|
||||||
|
doins "${FILESDIR}"/configure.py
|
||||||
|
fperms 755 /usr/share/$PN/configure.py
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import plyvel
|
||||||
|
import json
|
||||||
|
import sys
|
||||||
|
from os import path
|
||||||
|
|
||||||
|
data = json.load(sys.stdin)
|
||||||
|
|
||||||
|
if len(sys.argv) < 3:
|
||||||
|
sys.stderr.write("configure.py chrome-dir ext-id")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
chrome_dir = sys.argv[1]
|
||||||
|
ext_id = sys.argv[2]
|
||||||
|
|
||||||
|
db_path = path.join(chrome_dir,"Default/Local Extension Settings", ext_id)
|
||||||
|
db = plyvel.DB(db_path, create_if_missing=True)
|
||||||
|
for k,v in data.items():
|
||||||
|
db.put(bytes(k,encoding='utf-8'), bytes(v,encoding='utf-8'))
|
||||||
|
db.close()
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>support@calculate.ru</email>
|
||||||
|
<name>Mir Calculate</name>
|
||||||
|
<description>Calculate Overlay</description>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in new issue