This commit is contained in:
Mario Fetka
2025-06-07 18:41:45 +02:00
parent 8cd25a0aa2
commit ef4a06d6b1
65 changed files with 114 additions and 3539 deletions

View File

@@ -1,3 +1,3 @@
DIST op_linux_amd64_v2.29.0.zip 8571049 BLAKE2B 59d02221294f856a0df31fbd0295c2f013b88e0b923a31d431ac7a32b4786f8fd8eddb1e73b50a6334eb53dba584b73f83c9d3102a803da336103f581fddec17 SHA512 899bb2555ae3e65e00873aa4c27e29473b989c23e06b41c27e97c12230893e1d94ca00729daec564f916d23aea31f8bf95d29aac0832153365c0f81c92890224
DIST op_linux_arm64_v2.29.0.zip 7873053 BLAKE2B b64d83e78cc59d3ce5bddb7be2c721f032eb7ebdb3f55884f7f399518af36eef932e9aa4888bcc6ffd4349217820b7b5150f8c49cb55d34a222b772758570953 SHA512 707e9f5959afcc826333e9313619d2ffa13de9d670375479764954031f53b6945e960a27b0ec2de07f772b68ac11b28d2bd7dab5582191cfa7712e58bd7f992e
EBUILD 1password-cli-2.29.0.ebuild 703 BLAKE2B 58e1f74876eaa659a1f7ee390e2cff25d3e1de823b30449133070eaa7aa01fe6cbe7d0c8a8dc3c4d5de632a53c10c70c0babaa35a9f7d9b4728327485b6f3427 SHA512 cc08c961c0d7c667f8e464e7f6661449c8e3e97e5b487652747c0618bc34cb0f13c037a4c5708761b755b91afd492a52218daab7e1045a3e1ca12af14fd1c6b6
DIST op_linux_amd64_v2.31.1.zip 9120892 BLAKE2B 463371d8ab8deda2315521742579fda38ef3b3c80121d6dae961316087f73973f6b79fdd6604ff35dd98de4a3092a829e187966e349221668fd879e241a414f8 SHA512 941026a1230419956dc6fc16d010116d2abd688c1be5eaabc205d09444c0b57db11ad5575514e9c24c97be39c653b147ee9ee1e647858abcc75c83fdf8b3a006
DIST op_linux_arm64_v2.31.1.zip 8386642 BLAKE2B 7e62d5e59815ee509fc0a645f310844ad86827136169b9bd721929e4ad7de043dd2f95e819bcbb4774a5caab36db36454cc5a0e8bb348875eb9c26ad6b73d9bf SHA512 7babb08e953b71f8647035176a209c1a15e355ad45feca6a888ab1791374439caee18f77c4a707c82a4861321afb9c83a593db2fed98e958d0d4b84e878d693a
EBUILD 1password-cli-2.31.1.ebuild 703 BLAKE2B 58e1f74876eaa659a1f7ee390e2cff25d3e1de823b30449133070eaa7aa01fe6cbe7d0c8a8dc3c4d5de632a53c10c70c0babaa35a9f7d9b4728327485b6f3427 SHA512 cc08c961c0d7c667f8e464e7f6661449c8e3e97e5b487652747c0618bc34cb0f13c037a4c5708761b755b91afd492a52218daab7e1045a3e1ca12af14fd1c6b6

View File

@@ -1,79 +0,0 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg-utils
DESCRIPTION="The world's most-loved 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"
SLOT="0"
KEYWORDS="amd64 arm64"
IUSE="policykit cli"
RESTRICT="mirror strip test bindist"
DEPEND="
x11-misc/xdg-utils
acct-group/onepassword
policykit? ( sys-auth/polkit )
cli? ( app-misc/1password-cli )
"
RDEPEND="${DEPEND}"
src_prepare() {
default
xdg_environment_reset
}
src_unpack() {
if [ "${A}" != "" ]; then
unpack ${A}
fi
mv * "${P}" || die "Unpack failed!"
}
src_install() {
mkdir -p "${D}"/opt/1Password
cp -ar "${S}"/* "${D}/opt/1Password/" || die "Install failed!"
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
dosym /opt/1Password/1password /usr/bin/1password
dosym /opt/1Password/op-ssh-sign /usr/bin/op-ssh-sign
mkdir -p "${D}"/usr/share
mv "${D}"/opt/1Password/resources/icons/ "${D}"/usr/share/
domenu "${S}"/resources/1password.desktop
mkdir -p "${D}"/etc/1password
mv "${D}"/opt/1Password/resources/custom_allowed_browsers "${D}"/etc/1password/
}
pkg_postinst() {
chmod 4755 /opt/1Password/chrome-sandbox
chgrp onepassword /opt/1Password/1Password-BrowserSupport
chmod g+s /opt/1Password/1Password-BrowserSupport
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@@ -0,0 +1,77 @@
# Copyright 1999-2025 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-misc/1password-cli )
"
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
}

View File

@@ -1,3 +1,3 @@
DIST 1password-8.10.36-amd64.tar.gz 193898712 BLAKE2B 8e22df57aac1519763c9c446d9c6a322f71b48609b0deb57b3ee43389badef6623b7a33417e3093e17f6fa9647302748ae883236123b1c44fbb5b829249d7594 SHA512 43f2e59f1450b3790bddb8efb65b3fd1d1f719aea469dbc8cc090339cb1cef3383cf908b75b7c1ed28da0d8d967b2818d57c4a31f33d75a7131707ae2d675026
DIST 1password-8.10.36-arm64.tar.gz 192293571 BLAKE2B bbab0545489f385e3f6f654db5fb39c07a8fea9e93cad32d149698bb11416e6e04079d65da7c59f447221e2c868c77859f96900bf910f832ef7cb2b039536b9c SHA512 7c5907167acab1c13ef45828293a37e81e86d20b39233f2e136b4056da791b30afd667a0aebf92859badca0b7666a24e02ba96de97e7ecca0ad5db44bd2acb16
EBUILD 1password-8.10.36.ebuild 2059 BLAKE2B 8185c2e233f9cd38bfc63c859c2bd5866752071a0ad6decc901521139e094317335cfb8c6bb5ad85440d147938701a62484f66cad8b1744324e6fe8792a7213f SHA512 4851e59690bcdf7ba1876bc4436fc6d64afcee3a3e93c4db4ede3eb19e6b4632cf68a1186bb43f2c613e98a011038057b96fb10b30b943152437fb342746e39f
DIST 1password-8.10.78-amd64.tar.gz 207138896 BLAKE2B 5bed7bf7fa22153bb5eb835273045c5a808427a1f7ff60746bc3a7a52f5bfd574584f009687f01635ba439a19530d27bedfeaa859a821ec3c0ed3cf29c42b577 SHA512 f548463dec34c157aeebba78ae008824d1002deb9892fcc2bd189aab99fbf0685e9dd1bd75e92a14c48fb5beb584fc9d8421874caf59d0450c01ce9f76dda24d
DIST 1password-8.10.78-arm64.tar.gz 205755306 BLAKE2B c6e31afc4a24581213a057158150ff5bc3a724d36da57e9179f6433319dcf154cad9b548f6b8d0ef8d8c02a194702da557e01b3dbc2b87cfb962daf5f72c41bc SHA512 a7bbb1f2fbb7b9cdbd3e3d09df4cf3df9e1c170e576f13752eb356e9a66fcf3a27b58ab72d683fe77fea1735ae0795ed09f9991d15f525779609a661acd4ea91
EBUILD 1password-8.10.78.ebuild 2351 BLAKE2B b3ce72b2e3cdd2f02fd777dd2010f137fbe5962a0037fb8edc96135d2c706e48d2102325e665b1f130d2d5d0270d237b30c1b2986f57217fa64d0706c7e5dcd8 SHA512 6955334cb65e3d9e58654a1415e0b3a5292fd2028119d4783a547a709faac631febf5e48a3be3dadefae0c610221eb8d970f161c5ce3adc2753b1bdff1d8016a

View File

@@ -1,7 +1,11 @@
AUX cl-linux-yield.patch 632 BLAKE2B 015e96bf2ba557cc2dba0b6c0ddc88af77a397ccd6757a56c58a7a6c2474d7cee7918fac243b4b3e0afb1bdc0521b643cbba6ad4d165545c04da6b03d8a93a31 SHA512 f543d695e53d5d3d2b0dcf41ffe54c9ba204d5cc0a05ec9531c7d83d74fb812998084aa7cfea5656f9639c031ef39dba008dae013dbc464eb5606a77ea707e4a
AUX cl-makefile.patch 5055 BLAKE2B f8823c06267f63d649a5b3065358487f508aa605e02b4f0175f35c2f4932ab5efd3496b5756a6c4739a60a997e8620df68b2d216a2ea2c33bbb412abff41b587 SHA512 038eca02e5a90cb8872f2d88c23ff968d7ed6b46a4af219dd3789fbd28b2b3d8d00344d0212e2d912efce0049d60378a639f589d278906a438b154bab44d5fe1
AUX make_order.patch 1964 BLAKE2B 9b8fcd29584b89c8741caadafff97b6adb3c7f4e1b02d5a8cc32e6cc07ee4f075854622085073984388ed8143c05973bbbd58f0c2f6418d4a984a1561abb5b44 SHA512 c6272ed45031f419f9b7f5f89d3cce2211ab61e31d5f1656d2a967a821c34bbe77d42d05afaf0f7e5a1174b0f89ae0a0a59f44c0ca531b9f179def1e2ed739b3
AUX st_crypt-9999.patch 453 BLAKE2B 2af345fa011c79d70fdf401722048926742c0f5314b3273f3ed8e6f62f771a959d9d15830b4356afae7da2822931076b861342ddf012dc23f0f1c279325366d9 SHA512 27c8efb9787d56d6f64c76fa6c0b1451c20d26e08e01cbc5d1d6cffe687f04c21fa9c7b70ef210e2eb6db94ddb5754a11a783861c538beb5984eed5e6deadb8e
AUX st_crypt.patch 421 BLAKE2B c816a89d35b498d9ee50286fc36371e6866289bd7c6ae4ce31e4dc9d54d4fa90a6cbc2972ea520f027111e8f8037ff3188d61ef65350208a4475afe920f55f87 SHA512 f1a9bcea0f18ca60ba95bd71db8f0c418f26563e3584817bbc6de98cccffb0a0de683d5ed1bdd1daa1b5a8ff00e3808bcb0727530962d395aa11861dff590830
AUX webget.patch 417 BLAKE2B bc7cef08ba2fd0d5aa6fde6a56c217fc9582dfcdfa7943996e29fc145a3b2b256ac9538380162187f9fa609c4d405ac08b8bf635e062f105dd2789ece235eeea SHA512 17d2d571b89834dd15b52b9a7220e0aeb5977858f48be9eaf8082a7085889ba0ebb6af79a1c29aa91fe072dc5c42f35d78efd324c2e72787c4a3fefde6fe4793
DIST syncterm-1.1-src.tgz 18270212 BLAKE2B 91043a31374d73d29a447ab425007aad95ee7d22ded3ea4a518c1fa05958b5f20a4a83df9f575e9cb3962301cc31b55ab876e96addd617e045627d34e56fd922 SHA512 b5280e8f64ce12101f810dbee38a113e03450356a1fbc46a7c63a57eb8ca382e99ec1586b0a3527e336c9725efedae2ce80c5d4b372456eba1f090ec0f8c80eb
DIST syncterm-1.6-src.tgz 10986287 BLAKE2B ce61305e7ac2fac9680a995c4aadf42a86e17da4bc780f0f5b1ee880c666fe4c1d2e79b74a40af0cfc801190896847946d56e1ae2e9727e333757e3d36efcb0a SHA512 17b7d8ff5707172cb7baf3a2a3f573a38c9ec653d2ab2b5725b60f8fcbd392fefa58c6e57aa41ad89bbcdab98f373d891def6787f836b23eaabde373d82afa8a
EBUILD syncterm-1.1.ebuild 1014 BLAKE2B d866105fb154a0d0e59368bec862408d1f5fdcbe02849583eea1a81c00a2fdabee082933ed8af55f67b18a42db82870eea05583a49ba1d88affc01332e5cfac9 SHA512 de1677f5a030e9b76d504451a0237b40e51637cbba072c92487dc7eec8ad7d2ab7bd2cae983302f1794161f2e14742796b11c488291d2fe6a48cfcad2a26343c
EBUILD syncterm-1.6.ebuild 1011 BLAKE2B 26fcad25d6c779c0dcee36efd955af02d60b2a971dbb3a32327f17631cee080de828089368e58e23801a9e9da70b1949a5ed2deb049a804f919b2a4353ee1fd2 SHA512 19afb6ba129ad4672c1ec3ba6255e8d0a008f97e09f73119e91731371ee2db070804e210a7d7a455c54d2cfc9c2a7d7b6b08c88a2ddcd3e15f40d16c88f78f55
EBUILD syncterm-9999.ebuild 1154 BLAKE2B c10abf879ab6b4ca913919ce390c80b5a1966e43fc85dbe3bc1a0837ba81897500bc31425f5125df6bd1d762758bf690435443d2fa7cd1318ffe33a4e865f705 SHA512 aec42b4ec42e640d139515058073172b27b01572847be3f7201654482412649af391f0d8d7fc98bc726f6ba664eb65f1d0bef0733320a8a39af7c32d0a392658