mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/pass: bump
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST password-store-1.7.2.tar.xz 63620 BLAKE2B a1fe0b7ee1fdb94d2b76773653462d14c07c8fb239ffbcae210cc3c9c829fc5c0bd0bf85d8d44343a0cec50aae953b13a70d67aa7c94abf6c02f84bfd0d7c4ff SHA512 e6719a7125af6ecd80fdbeb38b4e2e89e7358ff16e18739d68a04b72dfdf860294b54f7ec0ec9676a62d2e270db8f54784a357c82217a478694472f8136e3657
|
||||
DIST password-store-1.7.3.tar.xz 63416 BLAKE2B 5931608e0208dfe6965b79f586c153a4930d1c3d3b74433d026ee0bc5889fcc29334c637ca4fb68308d0169bad7c8235b6632e9f80eda1e24f0f5721353f88e3 SHA512 89755a7b02f05d75055a9fc14fd3f456c0a49ec31bdffd097a027f91228c64a98b18c1e80017aeda811773ae3287ff1b9737532da8ded06799d8fe3979ca06f7
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 elisp-common
|
||||
|
||||
DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely"
|
||||
HOMEPAGE="https://www.passwordstore.org/"
|
||||
SRC_URI="https://git.zx2c4.com/password-store/snapshot/password-store-${PV}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~arm x86 ~x86-macos"
|
||||
IUSE="+git X zsh-completion fish-completion emacs dmenu importers elibc_Darwin"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gnupg
|
||||
media-gfx/qrencode
|
||||
>=app-text/tree-1.7.0
|
||||
git? ( dev-vcs/git )
|
||||
X? ( x11-misc/xclip )
|
||||
elibc_Darwin? ( app-misc/getopt )
|
||||
zsh-completion? ( app-shells/gentoo-zsh-completions )
|
||||
fish-completion? ( app-shells/fish )
|
||||
dmenu? ( x11-misc/dmenu x11-misc/xdotool )
|
||||
emacs? ( virtual/emacs )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/password-store-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use elibc_Darwin || return
|
||||
# use coreutils'
|
||||
sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die
|
||||
# host getopt isn't cool, and we aren't brew (rip out brew reference)
|
||||
sed -i -e '/^GETOPT=/s/=.*$/=getopt-long/' src/platform/darwin.sh || die
|
||||
# make sure we can find "mount"
|
||||
sed -i -e 's:mount -t:/sbin/mount -t:' src/platform/darwin.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:;
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
BASHCOMPDIR="$(get_bashcompdir)" \
|
||||
WITH_BASHCOMP=yes \
|
||||
WITH_ZSHCOMP=$(usex zsh-completion) \
|
||||
WITH_FISHCOMP=$(usex fish-completion)
|
||||
use dmenu && dobin contrib/dmenu/passmenu
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/emacs/*.el
|
||||
elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el"
|
||||
fi
|
||||
if use importers; then
|
||||
exeinto /usr/share/${PN}/importers
|
||||
doexe contrib/importers/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
if use importers; then
|
||||
einfo "To import passwords from other password managers, you may use the"
|
||||
einfo "various importer scripts found in:"
|
||||
einfo " ${EROOT%/}/usr/share/${PN}/importers/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@@ -11,7 +11,7 @@ SRC_URI="https://git.zx2c4.com/password-store/snapshot/password-store-${PV}.tar.
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-macos"
|
||||
IUSE="+git X zsh-completion fish-completion emacs dmenu importers elibc_Darwin"
|
||||
|
||||
RDEPEND="
|
||||
Reference in New Issue
Block a user