Install this version:
emerge -a =app-crypt/totp-cli-bin-1.8.7
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/totp-cli-bin-1.8.7
Or alternatively:
emerge --autounmask-write -a =app-crypt/totp-cli-bin-1.8.7
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.8.7 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Authy/Google Authenticator like TOTP CLI tool written in Go"
HOMEPAGE="https://github.com/yitsushi/totp-cli"
SRC_URI="https://github.com/yitsushi/totp-cli/releases/download/v$PV/totp-cli_Linux_x86_64.tar.gz"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
QA_PREBUILT="usr/bin/$PN"
src_install() {
newbin totp-cli ${PN}
}
pkg_postinst() {
einfo "For a more mature TOTP you can try app-admin/keepassxc, cli included"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | totp-cli_Linux_x86_64.tar.gz | 1856626 bytes | https://github.com/yitsushi/totp-cli/releases/download/v1.8.7/totp-cli_Linux_x86_64.tar.gz |