chore: update dependencies
This commit is contained in:
parent
94c4669729
commit
34b8e4c851
6 changed files with 177 additions and 0 deletions
77
app-admin/1password/1password-8.10.48.ebuild
Normal file
77
app-admin/1password/1password-8.10.48.ebuild
Normal file
|
@ -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
|
||||
|
||||
dosym /opt/1Password/resources/1password.desktop "/usr/share/applications/${PN}.desktop"
|
||||
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,3 +2,5 @@ DIST 1password-8.10.44-amd64.tar.gz 196542491 BLAKE2B 569b51c8da1e16bc81f67f60fa
|
|||
DIST 1password-8.10.44-arm64.tar.gz 195472779 BLAKE2B d5459a7776c7fe40abaa974669d56fd762812ff6c9611f4c342d4f7dc7f9c75083bed3994662ba2858a135a1306fc5e8f1cd7f0a0414665d675c8293e638c5af SHA512 2cc6b6db49036f8380504d68b974869cfbe96b5b40928e784710a2b6a6bf527de60d01e39d614f4b271a52a247b9c599f0d04907db93bd04b741cc844482572d
|
||||
DIST 1password-8.10.46-amd64.tar.gz 197063959 BLAKE2B 1f23d8912c408399598cb59e918a212698673822922b511c2fe42a0eee6924532f33136fa52effe4c2aef620280b08985c28b3ad43d9960646bc286c325c26ba SHA512 6dcae3cb801b852893b909bb7ae93320c5c8d77193647a36567d8eeb25047719c5c25f327454d0b06ca489f10e06f72e52da16848c3621cd79f2bc22b5a12f25
|
||||
DIST 1password-8.10.46-arm64.tar.gz 195944204 BLAKE2B e0decabd6c1c99ca7dd1d413605e31e861621ce2fa03de529258900b85d2112360cc9632250bae82544ba27bce8387340b9890c1bc8ead3e9d62f65b296a22e9 SHA512 b38cdb3edcac154202ac60f47d2d4096a944469406d85a66da28f0711897b1cb444c158bd2e260469671576643837a1d74648391eac7ac2be092a6e5b865317f
|
||||
DIST 1password-8.10.48-amd64.tar.gz 197607998 BLAKE2B 8692622fb6e95fa2c210e61f6fc6fb1ed6c385474db7977a821135ab0b2389e20681f1fa24f97c6e25624ee335598705b28adb5998bcc7a60437be1f59750db1 SHA512 a33b2c426a51c5ff76b418288d9ceae6feae9fe15f067679130224fd4fd944d4e823346e48e18ad52a00c8ec8f557464c1ed25ed32facdd3da7e64f9d7d7704c
|
||||
DIST 1password-8.10.48-arm64.tar.gz 196435870 BLAKE2B 492120ab0ef23beedf7e5e04cd9a68605f4962a5ad97f14ed371d6da92b031462a1c4efe6caf1d2b7a08e03d4271a16153126cefab0f822e061f1ba1e36279b3 SHA512 1ad80c405abf8929e9dac6c56dc374a0a168b0d918fc79c648b99e5757e417ea752608ed80fa271c26be1fa5752c517039d07d8a4b5081963bcea70ed230ad15
|
||||
|
|
|
@ -4,3 +4,5 @@ DIST google-cloud-cli-495.0.0-linux-arm.tar.gz 53523409 BLAKE2B 1b204f55bd9405ec
|
|||
DIST google-cloud-cli-495.0.0-linux-x86_64.tar.gz 131285955 BLAKE2B be9a10c22dc597ae37403487ff7a2bb1ebb53ff187fba840bee04cdaf747737b24673dc585beb01756878a0cb13e8ecb7480d67d044e726444a958b54457d1ab SHA512 c9abf247055db641b27360630e55cca9d7af8f1ef78e9790401de9e0977f11692427309959491f3cd4413d2561335c6cec0e19d32226bf44706080efaa5f32d9
|
||||
DIST google-cloud-cli-496.0.0-linux-arm.tar.gz 53616337 BLAKE2B c121c53727183aadb0cbe604d2f2efc80e6e32bf982474fcb8be949485887955e599ab6e9e3674d1c5478546c7abc0234182c538788bcd41eaf22d40e8e17369 SHA512 aec7bd284b10d7b390251659b68854a5421233716768b4407a479143e0dff22dabccf3175896c1cfb7ab7eb60182fc56a43dc3d39f7c590d0a6ee1d0c68015f1
|
||||
DIST google-cloud-cli-496.0.0-linux-x86_64.tar.gz 131382428 BLAKE2B 7141c6e25fe1056c56ae47f128c02989c0e13020b7ea443149a1d5c5034910d355dd79b43e6a2137ca652def10df5c9bb7837a4b34d19b837ad20d55b2fb15aa SHA512 1c7b4664d2dbf64961261af47427a25df15e7259fd7b8cafa3fa7c2dd8ff8fe4479a666be38beafc6bf01210b50e1a16d0eea260e5b1aed099405d2d69fb9266
|
||||
DIST google-cloud-cli-497.0.0-linux-arm.tar.gz 53562923 BLAKE2B a48e5779a6822b3f84f2fe833cd9a9bf5cf5968dd712a0b186181d8979729ce81680268cf6156813c3686f7f23cff2107f2ca67d6d450e815986fd07ff9deff7 SHA512 720d94d29c5207252ee7af01350e0f4998a7afb8346cefed454b40d4723b3ab65f32e712029be3a322796b90ff2e5cf3eea9d0d83fceb410c768646ec6b83158
|
||||
DIST google-cloud-cli-497.0.0-linux-x86_64.tar.gz 131333014 BLAKE2B 4d32996fb792449166bc2e8039f54f4da30793ec5dbc738612646b0c82f2c26b92df2791ead3bca58ea53508493020f9fd5639e90c80eef3747e2618326eacb2 SHA512 7c302c3e99ebb53dca196c34ad517df355f306b026893ad82121c49727933fc1de5ebd03c707b54c701344df3646af2af55c3833080325bd1ac4266e444d818b
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
# 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 "${D}/opt/google-cloud-sdk/bin/gcloud" /usr/bin/gcloud
|
||||
dosym "${D}/opt/google-cloud-sdk/bin/gsutil" /usr/bin/gsutil
|
||||
|
||||
chmod 4755 "${D}/opt/google-cloud-sdk/bin/gsutil"
|
||||
chmod 4755 "${D}/opt/google-cloud-sdk/bin/gcloud"
|
||||
}
|
|
@ -2,3 +2,5 @@ DIST tailscale-1.74.1-deps.tar.xz 254129372 BLAKE2B e9e0fea2ba83d3ad23e4b26c0e86
|
|||
DIST tailscale-1.74.1.tar.gz 3237654 BLAKE2B c54eb1338b2d017607213ef810d3accc64adc82efa60839c37c1298b79e61e56f472e329b237e32d270c8725fde678214b6c1290901d7fad1563451904a38bca SHA512 795aa53b4681a9e5f8316651d33bc9a0724fb75cba99847db01e3b0f29d6957b3588fea77347ce9d53d28154883458cac8d54ccd08ebbb31cc00294158d7780f
|
||||
DIST tailscale-1.76.0-deps.tar.xz 412614532 BLAKE2B 51f7b8211072fc7d73dbcff3ccf54d7d2b42abe1bae7fd8298136f37cc5f4a6c197662ef88bae7b92375f30b6fd92e5c99346235eef18b542c3ca412fdd24193 SHA512 c84f2e006d86a1a7af62848fbe0ba8ffffe03b0c2981a02693c8fcaacccb460f6b9ad4a6a277b530c045018074fcf0932d9ee11ba46f4130132d4fe54fef3e91
|
||||
DIST tailscale-1.76.0.tar.gz 3282238 BLAKE2B 343858793733691aacd14abead4c0a86f8a44ef5494546130da5a208095e894c16d66b282ca6c61ddf68823b09ef87cbcff6d2447d1c459aec74cbca8d3b935c SHA512 cfae501c42f67ca1c51b11ee6ac3c1715e224daf38ec35d2ad4be34da1f1f6aa62cd187dd4741214e4cabf6f356e05b32826033d21c15e4acbadbbbfd23dcdcf
|
||||
DIST tailscale-1.76.1-deps.tar.xz 412640268 BLAKE2B 99f90dfd334f3431f58cdd2449edae7b67bb9e5b53ec23baf0364234a768a3f3c3b4125e7f588e4dcb96b7017bf626c3e64a211165bfa3775682530236afc5ab SHA512 30344f84ad4f1d6d8e65056ba94cd602fbbe30761c474c2be661bc8aea7d74b42f089c127a53d383e71b25cd0a5eb0ac3940be7fe3b1afacce16e44e94ebddcd
|
||||
DIST tailscale-1.76.1.tar.gz 3283666 BLAKE2B a3f2c6334190259f519a5720a5bced7168478047805d53f1b55132f8f3e8d0a061383da74eb2a758eb493329e3bfa66315c935cfadc013286ef3960a2eb7b23b SHA512 effd3a175b0ebff89ebc388bc77b705eae2ea83f4f60d3f277714431ae91930c5f914a7ecc2974e8df98d78175aca63284c4b2cd2142b85480d82c09a00d9513
|
||||
|
|
60
net-vpn/tailscale/tailscale-1.76.1.ebuild
Normal file
60
net-vpn/tailscale/tailscale-1.76.1.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module systemd tmpfiles
|
||||
|
||||
# These settings are obtained by running ./build_dist.sh shellvars in
|
||||
# the upstream repo.
|
||||
VERSION_MINOR="76"
|
||||
VERSION_SHORT="1.76.1"
|
||||
VERSION_LONG="1.76.1-t24929f6b6"
|
||||
VERSION_GIT_HASH="24929f6b611127cdc40d45ef40d75c6afc1fcc4c"
|
||||
|
||||
DESCRIPTION="Tailscale vpn client"
|
||||
HOMEPAGE="https://tailscale.com"
|
||||
SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="net-firewall/iptables"
|
||||
BDEPEND=">=dev-lang/go-1.23"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# This translates the build command from upstream's build_dist.sh to an
|
||||
# ebuild equivalent.
|
||||
build_dist() {
|
||||
ego build -tags xversion -ldflags "
|
||||
-X tailscale.com/version.Long=${VERSION_LONG}
|
||||
-X tailscale.com/version.Short=${VERSION_SHORT}
|
||||
-X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}" "$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
build_dist ./cmd/tailscale
|
||||
build_dist ./cmd/tailscaled
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin tailscaled
|
||||
dobin tailscale
|
||||
|
||||
systemd_dounit cmd/tailscaled/tailscaled.service
|
||||
insinto /etc/default
|
||||
newins cmd/tailscaled/tailscaled.defaults tailscaled
|
||||
keepdir /var/lib/${PN}
|
||||
fperms 0750 /var/lib/${PN}
|
||||
|
||||
newtmpfiles "${FILESDIR}/${PN}.tmpfiles" ${PN}.conf
|
||||
|
||||
newinitd "${FILESDIR}/${PN}d.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}d.confd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process ${PN}.conf
|
||||
}
|
Loading…
Add table
Reference in a new issue