app-admin/op-cli-bin - 2.40.0 (jaredallard)

Search

Install

Install this version:

emerge -a =app-admin/op-cli-bin-2.40.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-admin/op-cli-bin-2.40.0

Or alternatively:

emerge --autounmask-write -a =app-admin/op-cli-bin-2.40.0

Package Information

Description:
command line interface for the 1password password manager
Homepage:
https://1password.com/downloads/command-line/
License:
all-rights-reserved

Ebuild Details

Version EAPI Keywords Slot
2.40.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2020-2025 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
}

Dependencies

RDEPEND

acct-group/onepassword-cli

BDEPEND

app-arch/unzip

Manifest for 2.40.0

Type File Size Source URLs
DIST op_linux_386_v2.40.0.zip 14096491 bytes https://cache.agilebits.com/dist/1P/op2/pkg/v2.40.0/op_linux_386_v2.40.0.zip
DIST op_linux_amd64_v2.40.0.zip 15133143 bytes https://cache.agilebits.com/dist/1P/op2/pkg/v2.40.0/op_linux_amd64_v2.40.0.zip
DIST op_linux_arm64_v2.40.0.zip 14035406 bytes https://cache.agilebits.com/dist/1P/op2/pkg/v2.40.0/op_linux_arm64_v2.40.0.zip
DIST op_linux_arm_v2.40.0.zip 14020864 bytes https://cache.agilebits.com/dist/1P/op2/pkg/v2.40.0/op_linux_arm_v2.40.0.zip