chore: update dependencies
This commit is contained in:
parent
f1ed9838c5
commit
7c8169fc36
4 changed files with 121 additions and 0 deletions
81
app-admin/1password/1password-8.10.28.ebuild
Normal file
81
app-admin/1password/1password-8.10.28.ebuild
Normal file
|
@ -0,0 +1,81 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# shellcheck shell=bash
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="Password Manager"
|
||||
HOMEPAGE="https://1password.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://downloads.1password.com/linux/tar/stable/x86_64/${PN}-${PV}.x64.tar.gz -> ${P}-amd64.tar.gz )
|
||||
arm64? ( https://downloads.1password.com/linux/tar/stable/aarch64/${PN}-${PV}.arm64.tar.gz -> ${P}-arm64.tar.gz )"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
KEYWORDS="amd64 arm64"
|
||||
IUSE="policykit cli"
|
||||
DEPEND="
|
||||
x11-misc/xdg-utils
|
||||
acct-group/onepassword
|
||||
policykit? ( sys-auth/polkit )
|
||||
cli? ( app-admin/op-cli-bin )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
SLOT="0"
|
||||
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
QA_PREBUILT="usr/bin/${MY_PN}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}/opt/1Password/"
|
||||
cp -ar "${S}/${PN}-"**"/"* "${D}/opt/1Password/" || die "Install failed!"
|
||||
|
||||
# Fill in policy kit file with a list of (the first 10) human users of
|
||||
# the system.
|
||||
mkdir -p "${D}/usr/share/polkit-1/actions/"
|
||||
export POLICY_OWNERS
|
||||
POLICY_OWNERS="$(cut -d: -f1,3 /etc/passwd | grep -E ':[0-9]{4}$' | cut -d: -f1 | head -n 10 | sed 's/^/unix-user:/' | tr '\n' ' ')"
|
||||
eval "cat <<EOF
|
||||
$(cat "${D}/opt/1Password/com.1password.1Password.policy.tpl")
|
||||
EOF" >"${D}/usr/share/polkit-1/actions/com.1password.1Password.policy"
|
||||
chmod 644 "${D}/usr/share/polkit-1/actions/com.1password.1Password.policy"
|
||||
|
||||
dosym /opt/1Password/1password /usr/bin/1password
|
||||
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
|
||||
|
||||
make_desktop_entry "${PN}" "1Password" "${PN}" "Office;Utility;"
|
||||
newicon "${D}/opt/1Password/resources/icons/hicolor/512x512/apps/1password.png" "${PN}.png"
|
||||
|
||||
dodoc "${D}/opt/1Password/resources/custom_allowed_browsers"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# chrome-sandbox requires the setuid bit to be specifically set.
|
||||
# See https://github.com/electron/electron/issues/17972
|
||||
chmod 4755 /opt/1Password/chrome-sandbox
|
||||
|
||||
# The binary requires setuid so it may interact with the Kernel keyring facilities
|
||||
chmod u+s /opt/1Password/1Password-KeyringHelper
|
||||
chmod g+s /opt/1Password/1Password-KeyringHelper
|
||||
|
||||
# This gives no extra permissions to the binary. It only hardens it against environmental tampering.
|
||||
chgrp onepassword /opt/1Password/1Password-BrowserSupport
|
||||
chmod g+s /opt/1Password/1Password-BrowserSupport
|
||||
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
|
@ -4,3 +4,5 @@ DIST 1password-8.10.26-amd64.tar.gz 169256075 BLAKE2B a9179cc98d48323c6ba16605ff
|
|||
DIST 1password-8.10.26-arm64.tar.gz 169547067 BLAKE2B e68518317e8db9f2b9364b8d01828b887a22b4214aacb0d787c17c7e3bbe5f75f8904ff2f9fd70f49935e4de5aa749f36b813450b14a2684fc290a36637f981b SHA512 eeca777f94b698a6005ebc391e171791b02845e3504f8fda363dfe93c60aa9d2e82faf2ce98dc1b69ea2bd267587377656053558597b61b0a93820aa5d47e7a8
|
||||
DIST 1password-8.10.27-amd64.tar.gz 169254691 BLAKE2B 44e72e5c64da5fd182e06f8d43af032f0726ff80ad4e6a9000dfa5be63ada749c0fc16ba17d47c7fbb4adf6a5eecae286cec1d5d3b04b1608fcded1dc5f7e6d8 SHA512 d763e8a2d53d131152f8108cd67e27740f920e0f77fd49b7d83a9dbf5c9a3642149f017890cc7952405901c274946620e5d261b2ec222f4c6a4e5248aeef2bb4
|
||||
DIST 1password-8.10.27-arm64.tar.gz 169557806 BLAKE2B 4158b09d9fb6936c8233f260cccd5df16e8408f62bff17b70e8f88f6b9d430918523e1d59658702953742d14c7cefdd68dc3401044d90f538a605617f2d8ff11 SHA512 0bc68171cee6afb004df4a715114997a2f5494f67751d2c578a5793083753ad91ff47b281ec331e31bb0683039d3cb2815c02a6fd3177c6cf0ea585132408181
|
||||
DIST 1password-8.10.28-amd64.tar.gz 213613607 BLAKE2B 02d23d7c926d10a11b93e41372bd93ff2f3d7e9f39e051fcc1e6b0272cfaf562d487a5c9338c4b6781aaf1545686b5d1ad4b0d082ea6c8fe221195573f457d85 SHA512 d5d0263a7a4edf2c61362337646e4b6e6a1eb67947002558eeb5d853b1c1610a77d08bfd8b3e0066bdb36749160d7fa52be8d4285501a61387d77fbee5ad73d5
|
||||
DIST 1password-8.10.28-arm64.tar.gz 213552383 BLAKE2B a54098c079c30f58fa2a610834aa761624e2da0c31b46feac631cc0fcc464eec272a40f59a7ea848b05e3eca26098fb38c4c9cec976051568d1d08b616196b8b SHA512 1f9faadba7c0d9fc3a072b18ca56324257afd8a1ec8cdda89a16c356c5b7f43c795b514c4e25eac0a267b1f7f8b78d727b64d62a5648d1530bf3d798039eca77
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
DIST op_linux_386_v2.24.0.zip 7984105 BLAKE2B f94be2bf855f3cd70dd8f3a941546bc0b7e474befbdeb9c45f3ead9d9442bf8fc1ec676a6b22771832e10683c2f2a0e94fff9904e54a32cd7b352fb9cc9d801a SHA512 132df5334e317233dafb8a108b15fbc4a2d200af1479f4b5e5390b091fb17e2c20bf017bc9fe6617b4f623c2626cbf5e983c5276403fe439650216be38a80086
|
||||
DIST op_linux_386_v2.25.0.zip 8020695 BLAKE2B 0fe6d769badccc628ab52395f904aa764e9b1d30958c40b4f3f06b6d2512a6ee023593ece2abce8d84cc4bdc7199c52c0cc01a748d4fe8f15df67348eb54d2e4 SHA512 51fb808605d6df979182a13521250509ce839b83d0be9f9ce5f3d2f3d817398a5c1e6f704d83ec6dc66f70a71549583f81acc507c23314c0b9530ef1ec7b07d7
|
||||
DIST op_linux_386_v2.25.1.zip 8042825 BLAKE2B 3c977fa242a8191aeb9d0f1a678b4d78a9cdc7db9254e918b13ca92634c208f096e13b841b633ce605e74afa8f4902ad22557bbcf7456830e6ea095c41de19b3 SHA512 2377d98857750edcbc6f4865e96c0d6a5a76b953105118957d44d6b0c03e3fb2f21b9958464585aa8e20cdb78a94e058755033a88a04da3cb262266c7fdee064
|
||||
DIST op_linux_386_v2.26.0.zip 8053336 BLAKE2B 792ab528d01f97f7ded570ac4101d115ad3b5c3d947daa2096fd2d23f9bbe6e3baee178ff958a5dedb9b206e16ce4c3cb2a5a52aa0414f593f99daec9692f308 SHA512 a1df6e01c32d66353b710ec06b7cdaf02422158aa0f3c680340fd9d5c6a2899c8854fa8003c641704d5b7857279464676c2ea819b7cc8a51334c9049450aa513
|
||||
DIST op_linux_amd64_v2.24.0.zip 8517044 BLAKE2B 42c7b3523fd6237cd1e4c4574880a7bed5f5105fb6974fc9c9bd86e83ead7468ce955272306d00417d31cf376b87fe539935f4d7831360cbbd891b91e7f3811c SHA512 08b8792c1978b8457313cbe309071a71bf0305e85c3a7fac6709f9ad7d9806fa55c19cdd9032c70ccff361a4b55d878633a1235f0f68189af173ecfcf6fcbcfa
|
||||
DIST op_linux_amd64_v2.25.0.zip 8555950 BLAKE2B 588a1f9c7fd7e820584bfdea37cd1d1a639495e983912eeb080043e820cc880c2e2d863366ef0371a225ed19a23a25dfdd72501ef4cf31ebbef121d868357a5e SHA512 221bf23d52f70be1c314b897040c370b18bbfb6357ef30f4dc7edff11fb457025c40ace3bc1fd6af9ad59e6ea15832192ebacd41f6c1817d570362b021ee857e
|
||||
DIST op_linux_amd64_v2.25.1.zip 8575139 BLAKE2B 9691973138cf2f78463796cdf90e4d35407890cea68f3656429bef69240b218fbe228b0545c7339cd817ad06ce9ea3a485428662f6ec9039e02b53ac971e1050 SHA512 010af76438ec93e6f8ccdc6481a74759ee8cc5f27fb211048f795cca7e551dbaab26d11aa29bfa75e15db8a2b8ab70c413862498896feedae8049606d7c52f9e
|
||||
DIST op_linux_amd64_v2.26.0.zip 8590409 BLAKE2B 4671778a7918d08cbeb32a02699792151701f077f31da616df65aff04af892da0326053c560cc5468bccb248a5e08e2de329d918c9bfd417595d23dc97ee4ac7 SHA512 22f47bf38bd54e416a7a80bc0e52d4f4a7b8dc802a822997e6a2afd28c129fcf38efb2be4454b1bebf5559fcd62d6b9a90e993df3708fed99ad2ef435f0781ce
|
||||
DIST op_linux_arm64_v2.24.0.zip 7818896 BLAKE2B af2df44ce9ac16161abfbd1c43366f3d5c2d743d025d458edfdaf537354bf17b6837b80d18eb0541d521df9ee58e39653ee5a5d18405b56e75051211ad1e572c SHA512 1deb6e8cb0521448f5239124636bf6e172f5aa683311ac4e8de6498f4bc7ee1ae82a3a7c2e7700b69f67f505db14299d1e8270881ec4a75a510574715533aa04
|
||||
DIST op_linux_arm64_v2.25.0.zip 7855492 BLAKE2B 418cee7ce93f1c634231c07d719a95004953057d9b9bc116285e3dab7ab70edbf9ce1ffb8404e754e9e59f7a73bf88accf8a96bd7a97f60387a853557d920084 SHA512 7c2f7dbed6bd2de75fb552eb476e92758ce13f2d89d6c36a51bd307275b59cd09ba18de692f8861c3d18aea25fe477d0641d5cf787cf855603ea1c9c4b7d6b9f
|
||||
DIST op_linux_arm64_v2.25.1.zip 7874114 BLAKE2B 79c5b0130f612a5336753a535e8a7117a7c513a652a3a8f81ff0a3e7ca3681bf1b31424f86194e2666bc8cef33b3a68f831da45132990db0969466a2273d791e SHA512 5ea0d04f26c0c75c239f287c012cc21381d95eacd104a9cec533d605be2f4c7e1b8ab6d6b896ddc297584182da7716e07592427c824d4406f5536c7d19763a6f
|
||||
DIST op_linux_arm64_v2.26.0.zip 7888346 BLAKE2B 45240d0ae62950e8ac4c16aa48cd515679066866ab5956362f67bd74869b3d5dc10c4b69b100487ca050a0d972390e9dc049ed0d171c4e2557f4f331e18bd7e7 SHA512 a7b351f59ed4fbb8bbfc26f1d2303b22d319c838202263fd4e84afda0f5be95201e7da5c2e06f185699f1de7555838e1f1ec6ec71eb83088429634fb770ab474
|
||||
DIST op_linux_arm_v2.24.0.zip 7944316 BLAKE2B 0f41b9cbdd36e1a3291dda664f02a9963b525c1383344bb6061961e239b9a235034db4db72e9f350e96dd1bb3896733e1d25ad49fb9153a0fa132b3dac56e226 SHA512 7dfb1de61d896e3456db30469031577988204c9d30349841d4cb88b6549a113cd431777c7a5d938f9f927fee3584584e455dabda5035f4b9c341b7d4595b28fb
|
||||
DIST op_linux_arm_v2.25.0.zip 7981629 BLAKE2B 5e2b6b50655dc0cd1ee4db79d0359657865ff3f32a389cde0e4d8430feca124e09400fded67ea48050edef756667da26194a0e5e959f639d2fd855e62b1f611f SHA512 e126384fcad940f2ce4a87e6aa5218e4dd44fa0e62b19863c7801c78e133bf4604cfd02faf5b00ce191257eae498a65a2210156d761bcbb578f708be64b8db79
|
||||
DIST op_linux_arm_v2.25.1.zip 7996841 BLAKE2B 5233124233ec953a10ea7592ac15c12a582369068d905434cfef35d1ce0190f03fa97092e0cee9d5a8c443deb133f9adf0bc0bf87a66b83cea7a6cbefad0629a SHA512 717c063f6fc73d1a52d00e8339994c90878ca2a35e1bb8b3bcaee1b5cbdb7f1e297def0b8728b5b6ae0e5269bb6fa524b7616818512fd83b5d67c3270b61944a
|
||||
DIST op_linux_arm_v2.26.0.zip 8008418 BLAKE2B b1f1307818e1f2745529b9830e8db18a25dd8d5b621179668a2de54b4e252d29414f4b28eb27350f0a577aaf55c26955d5d59920a54469df3cf824c4e35ee48f SHA512 879d23b0d44aad1bb1f727839404f339083be22f4aa2d87cf49d4ae566f21c80a8671161a7dc330b303a07a533bdf651ed2ced0cc8c79aae4fed71070bc07480
|
||||
|
|
34
app-admin/op-cli-bin/op-cli-bin-2.26.0.ebuild
Normal file
34
app-admin/op-cli-bin/op-cli-bin-2.26.0.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="command line interface for the 1password password manager"
|
||||
HOMEPAGE="https://1password.com/downloads/command-line/"
|
||||
SITE="https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}"
|
||||
SRC_URI="
|
||||
amd64? ( ${SITE}/op_linux_amd64_v${PV}.zip )
|
||||
arm? ( ${SITE}/op_linux_arm_v${PV}.zip )
|
||||
arm64? ( ${SITE}/op_linux_arm64_v${PV}.zip )
|
||||
x86? ( ${SITE}/op_linux_386_v${PV}.zip )
|
||||
"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
RDEPEND="acct-group/onepassword-cli"
|
||||
|
||||
QA_PREBUILT="usr/bin/op"
|
||||
RESTRICT="bindist mirror"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
dobin op
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chgrp onepassword-cli /usr/bin/op
|
||||
chmod g+s /usr/bin/op
|
||||
}
|
Loading…
Add table
Reference in a new issue