diff options
author | Christopher Head <chead@chead.ca> | 2020-10-03 16:41:15 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-03 16:43:04 +0300 |
commit | 4c5494f2a26d6a80be29e9d1faf942fe4295a9e6 (patch) | |
tree | 5817aed388112f2eaad451311bd790e4d8d7ddd6 /app-misc/pwsafe | |
parent | media-gfx/freewrl: drop unused local USE-description: 'glew' (diff) | |
download | gentoo-4c5494f2a26d6a80be29e9d1faf942fe4295a9e6.tar.gz gentoo-4c5494f2a26d6a80be29e9d1faf942fe4295a9e6.tar.bz2 gentoo-4c5494f2a26d6a80be29e9d1faf942fe4295a9e6.zip |
app-misc/pwsafe: revbump
Bump to EAPI 7. Add blocker on app-admin/passwordsafe due to file
collision on /usr/bin/pwsafe.
Closes: https://bugs.gentoo.org/739748
Signed-off-by: Christopher Head <chead@chead.ca>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/pwsafe')
-rw-r--r-- | app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild new file mode 100644 index 000000000000..38b3f386cd55 --- /dev/null +++ b/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A Password Safe compatible command-line password manager" +HOMEPAGE="https://github.com/nsd20463/pwsafe" +SRC_URI="https://web.archive.org/web/20171006105548if_/http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="X libressl readline" + +DEPEND="sys-libs/ncurses:0= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + readline? ( sys-libs/readline:0= ) + X? ( + x11-libs/libSM + x11-libs/libICE + x11-libs/libXmu + x11-libs/libX11 + )" +RDEPEND="${DEPEND} + !app-admin/passwordsafe" + +src_prepare() { + eapply -p0 "${FILESDIR}/${P}-cvs-1.57.patch" + eapply -p0 "${FILESDIR}/${P}-printf.patch" + eapply -p0 "${FILESDIR}/${P}-fake-readline.patch" + eapply -p0 "${FILESDIR}/${P}-man-page-option-syntax.patch" + eapply -p0 "${FILESDIR}/${P}-XChangeProperty.patch" + eapply_user +} + +src_configure() { + econf \ + $(use_with X x) \ + $(use_with readline) +} + +src_install() { + doman pwsafe.1 + dobin pwsafe + dodoc README NEWS +} |