Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 22, 2024
1 parent db8707d commit 454dfc9
Show file tree
Hide file tree
Showing 10 changed files with 628 additions and 1 deletion.
77 changes: 77 additions & 0 deletions app-admin/1password/1password-8.10.33.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# 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

# 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
}
2 changes: 2 additions & 0 deletions app-admin/1password/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ DIST 1password-8.10.30-amd64.tar.gz 213492492 BLAKE2B 569a2e380c5d387e88c0246125
DIST 1password-8.10.30-arm64.tar.gz 212922226 BLAKE2B 9b88908d7725ee7eaa4eef406746e4b181f575f68328c18175f64c4b22ad53f167fe2055399fad38ff50fc9686f18b181b54690a00e97c0b5b528c992f9b30a6 SHA512 5629b0d55c23ab5f1a9574e84cbd8a3c5ec653606f8bd1a98342838fd6ecc760008856a6c53191c3dda8f165129f0ccc88d0a14f6564ce6d0b5900a64535abdf
DIST 1password-8.10.32-amd64.tar.gz 189228527 BLAKE2B 59b9ec0ecdb77e65d7ba77dfc5f75053c15afc52ee7a521b777dafdf44d352cd121ed7fcb71014eb94397e9e2777f2f0d49a06a63a9d551d2c9af460119b78b2 SHA512 3277295ef8fa4dbf98531526fe41a32a6d11cfa855c6e73fe5e2f4ca36a8529f9c5a71ae269662d5143e4b8a413291c8351a79bb8de3c693869dcf3f79b19382
DIST 1password-8.10.32-arm64.tar.gz 187943559 BLAKE2B 2416791f01abbb8d6a93c3f6ec4c14661616ac318fea950fe9d00f9f78f6324a2b954a135ebd27b157bac3737b3249d64ef1b1187f8bdfad0b50444e81cadd68 SHA512 3dbe2d769f081f130c58e19c4a24f1909745d199936027064bdad74891bd6f6f9eb67f883ffad1e4ae17acb8cb64ae036f2451809d853a68d0e58eb6c081d820
DIST 1password-8.10.33-amd64.tar.gz 189241259 BLAKE2B 27a302985ec984afc33825acde8d36dcdcbdb4938e02956475db6e909e4655df448c46bdd960c20bcc74aa83b9a6709a8d466938982f55fbccf8b11d6ab9f49f SHA512 14ced4e4e03b407566fe8a4d981f50e8e935bcd89620b882a8fa2a998e9003466c2609e93abe7a4693a7c48bee677d7d36dc630222a67298d53efb2b8e2c9661
DIST 1password-8.10.33-arm64.tar.gz 187956191 BLAKE2B 6519282a889899e120c4a6201dadd964a2d84883bb580d25acfd6b795a240059e623550b396254e2f1aac4395bd80bf2122d121ca4ba067eb82b7fcf61963c14 SHA512 02b72657bf7ca382ccaa2acb5bc283cdf65cd836cea66fcef0b90dcb3c38ecd403d6f70db6ab4bec0da821669f38939494c86736991e8cce73f3f4395520d0b7
2 changes: 2 additions & 0 deletions app-admin/google-cloud-cli-bin/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
DIST google-cloud-cli-476.0.0-linux-arm.tar.gz 51816659 BLAKE2B 5cf40e22123d0371c5b64928f049383ac763cc88a7108491643ca3041c38087f453265503fb30b1a76e898d972062b853ec107166753cee74bce87694c0f546d SHA512 8903ea2ab8de05e9c8514686b3f92cd38ab470177b91b737603fabbf676e300f8dd49903a181b85223c5fa652b438042c9e1b1eb16bc13709a94deb5fd240366
DIST google-cloud-cli-476.0.0-linux-x86_64.tar.gz 130300566 BLAKE2B b5b8d21fb72edb6e9b22cabe9565a91df790686695f9a05d3d14f1cc94582e639e16d3ceae1df8ba556fba0cce6fe962cca258803e2b72b3a9ef33a7cd2c7234 SHA512 fb26cd6e05f8f40b3c5ab8e78a5d212a5418ace0e6914ad0ebe0c9cf91392acdd47796f208718370a6d2776706ea6c90c4ce81e1c29fa9d9a252d1d0cd7ed586
DIST google-cloud-cli-477.0.0-linux-arm.tar.gz 51815021 BLAKE2B b44a1da3be7bbc057c21a0392e0bf11b0257c8c1c2d2279c9a2fd0c15ffa707367f3161aec14c46de9898530b941320df951fee0455cdc67712a004b6aa16ba7 SHA512 75486dddb48271096a3aec3388c138acb39a29422d082341864c2c0fcc712392ca0dd6e0557774a2c1722c79a6669450389a4688390ff979f921f55d0f1b8786
DIST google-cloud-cli-477.0.0-linux-x86_64.tar.gz 130293486 BLAKE2B 07e1f9587f7c3af28644f548661ace6e3b3aeb8e3d688af9f9e46e4265a0608f468978f3ee969033979e59a4680d8cd8193a3c7a9ec5c05cbcd8baf5753b46c7 SHA512 dff93ace55f107bd572e8c426c0033055258f9d389b42b4af650475731216cc1b479af073f062065eb65a370efdb25169d9e64dcdce038a570e83e3fd91072e4
33 changes: 33 additions & 0 deletions app-admin/google-cloud-cli-bin/google-cloud-cli-bin-477.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Interact with the Google Cloud Platform"
HOMEPAGE="https://cloud.google.com/cli"
SITE="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads"
SRC_URI="
amd64? ( ${SITE}/google-cloud-cli-${PV}-linux-x86_64.tar.gz )
arm64? ( ${SITE}/google-cloud-cli-${PV}-linux-arm.tar.gz )
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 arm"

QA_PREBUILT="
google-cloud-sdk/bin/anothoscli
google-cloud-sdk/bin/gcloud-crc32c
"
RESTRICT="bindist mirror"
S="${WORKDIR}"

src_install() {
mkdir -p "${D}/opt/google-cloud-sdk"
cp -r "${S}/google-cloud-sdk/"* "${D}/opt/google-cloud-sdk" || die "Install failed!"
dosym /opt/google-cloud-sdk/bin/gcloud /usr/bin/gcloud
dosym /opt/google-cloud-sdk/bin/gsutil /usr/bin/gsutil

chmod 4755 /opt/google-cloud-sdk/bin/gsutil
chmod 4755 /opt/google-cloud-sdk/bin/gcloud
}
4 changes: 4 additions & 0 deletions app-admin/op-cli-bin/Manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
DIST op_linux_386_v2.28.0.zip 8029102 BLAKE2B 7b1abe866fc82c1fab5f40f2a1669ea0afdea01bda6de3c66a0fb2a3412471f8208b025412c863eb7d7088719b1faca660b4ae7929eb3d38e63ac1ce3a66607b SHA512 2fe09ecb56a57b9543ef819d581e2b12e8fbdae286bd66d62702d14aefc243269fa37614ad80bdf673c83b617ad2cca24999910e19b63e71152badd156ce32c7
DIST op_linux_386_v2.29.0.zip 8038626 BLAKE2B 2907e40bcfefeddb234d193c575980e676832e5b10f1f0127ba77c3b5549b76c633f843496a2825118d57886792f7a958836025106665329d529a9549fa21995 SHA512 18e6182ef8e9a2edc0dc705ca2d91f3c121dd378eca978cecaca29ea2ede9fb3a6ad0370d35d263d19afae071bf595bd46c54e3c5c04d715ca08353f9ea913b9
DIST op_linux_amd64_v2.28.0.zip 8562424 BLAKE2B c0c20eca3498dbd44d45efd99b4211b26626888d7ac8a07c61470c2fd53b32a97cc776fe84844308a9e1241fed2de78fbd96de2098d5b1ab2d3c3617059ed8ca SHA512 cc00b3dfb0a88b9d868c8c853046121b7bb492691e032155ec741d605e2a44afb8b64cc4096173ef3c22561796a24c138434ddcf533a2fc96416ded5fc9fb962
DIST op_linux_amd64_v2.29.0.zip 8571049 BLAKE2B 59d02221294f856a0df31fbd0295c2f013b88e0b923a31d431ac7a32b4786f8fd8eddb1e73b50a6334eb53dba584b73f83c9d3102a803da336103f581fddec17 SHA512 899bb2555ae3e65e00873aa4c27e29473b989c23e06b41c27e97c12230893e1d94ca00729daec564f916d23aea31f8bf95d29aac0832153365c0f81c92890224
DIST op_linux_arm64_v2.28.0.zip 7862033 BLAKE2B f59b6ac66cbdbbecdb1f56cbadb351bf454ad5880fd587488758b98beaad4f1c0922b43829aeb23e7d9ec74f84ba2dfb22fcbf39dd5c36874946976a01619939 SHA512 677f4ad28cb9970a05b7b0e5a9f61eb56ddc4475a8c0986f1719cf7764871542f90af3f1ea4702e9b9bca913a9f707303ffdcab99d6d49b6d5575f6ccf7b8724
DIST op_linux_arm64_v2.29.0.zip 7873053 BLAKE2B b64d83e78cc59d3ce5bddb7be2c721f032eb7ebdb3f55884f7f399518af36eef932e9aa4888bcc6ffd4349217820b7b5150f8c49cb55d34a222b772758570953 SHA512 707e9f5959afcc826333e9313619d2ffa13de9d670375479764954031f53b6945e960a27b0ec2de07f772b68ac11b28d2bd7dab5582191cfa7712e58bd7f992e
DIST op_linux_arm_v2.28.0.zip 7988551 BLAKE2B b3495e62aab0762f5eecea973ec854f294aee773aaa675a178473d7a83a62f15a9280346272073633db09524fa6430386e57361282fe23b441755b7f424959e1 SHA512 4f02af0aa0f566736de304f31066859eb1569398e70616b8e76fef8392131254da38a918b8dae46c82ebb0a65b39e5e416216f277570435ea813437fad56adff
DIST op_linux_arm_v2.29.0.zip 7997594 BLAKE2B 9b09e2c3c8e41d2538a5b72d49ce38bd5df07e3091156f950a4f47d9503ba2dfe1dc4dc300b8c5403cdc56d5be4334472b82dd9f0896220da5d767dd33fc7abc SHA512 5c584a23bdd703ad07cf6bc2e7b5360c5a7833031ac0652ce2fc9ce06a50d93b5bf566366dcc73998534471aeb2d208b06c78377868286a3ab409eb4b8c2d096
34 changes: 34 additions & 0 deletions app-admin/op-cli-bin/op-cli-bin-2.29.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
1 change: 1 addition & 0 deletions dev-util/mise/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ DIST v2024.5.16.tar.gz 2907862 BLAKE2B 14ce546e67666e2457f859023934f86a836c667e4
DIST v2024.5.17.tar.gz 2910168 BLAKE2B d279122f9030a41b345ec9b9611fe0da35fc5d6d1a56445b0216d817f34cba7acce58a097201f52eb9099bb7bd6925582c1e3e9b8e0f0b5a9870a757331aa31a SHA512 d27586dc950d3e4ffcd9228ab65d6e3174b2df0c96b86188cb2b66847a2b79cfb25b35e784618feca96bc51f416a1859e0a1a702e19e025bc451044235bb76b8
DIST v2024.5.18.tar.gz 2928974 BLAKE2B 3cf79dd22ad1de112e458051220d3931d436f550cc0f9329672526078556aa421c64a8288ebe74d4513d8bb387e80cd65ebb1875de504ff8cd0215c894e7aa1c SHA512 e0a3bc99b3b7f7e25f3b8ac273405febea1615919d77d9a04956d362a5ac62792f40ad4ab9de03892e079a60b369db00e8c6f5399f93afcab8e575350e852abd
DIST v2024.5.19.tar.gz 2929167 BLAKE2B 0f28f40146052de54582050fb4a0616600b72b5fe03c922aa307b925aaa1a16d84936092be39632ab9fee2bcd91dca5a4f87a77ef670601edec6aa2398b93805 SHA512 7c8cf98f6a9e17feb901ac54e42d5ee430fc1720d933360dd9fc923f392c861ae2c5cc38eaf4e99370243a1021a1d7ad26d285715a102bcbfe8cd5a0d9a2dc67
DIST v2024.5.20.tar.gz 2929451 BLAKE2B 5947bb69611aaa86597a2acd8a763ba855b11a3b978b276e1249124e3d8fbcc570b8f262272f729ded0118481e59de3ba8b918abe8162af9cb1577e469fe3d86 SHA512 c82a0ef8315f8393b2ccda6e8e433d696641a9b25699eb39a5a8bf4027b39cc972cef6a5536ac57012ace9ba541352207f931cab954fb7eb216c67fd63e999c8
DIST valuable-0.1.0.crate 27718 BLAKE2B ef5ded994c9a6dd302bed27f0d757447b0c86dfefa499c1ef0d25c3a6745ce61cfa2c926826534c9f605f9b89b4a19f91f06f94ae7c03f1ddc4c58fab3ae58bb SHA512 a97f65db1f1c5049a276dbb0e45e25c6fc6ce9d27ac1fcd77c945324cd8216ef60344065c79799ca04e338455e4f7422c44078eea32d5fc359dd0211ee7eb387
DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172
DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8
Expand Down
Loading

0 comments on commit 454dfc9

Please sign in to comment.