Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pwsafe/
Date: Sat, 03 Oct 2020 13:43:19
Message-Id: 1601732584.4c5494f2a26d6a80be29e9d1faf942fe4295a9e6.juippis@gentoo
1 commit: 4c5494f2a26d6a80be29e9d1faf942fe4295a9e6
2 Author: Christopher Head <chead <AT> chead <DOT> ca>
3 AuthorDate: Sat Oct 3 13:41:15 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 13:43:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5494f2
7
8 app-misc/pwsafe: revbump
9
10 Bump to EAPI 7. Add blocker on app-admin/passwordsafe due to file
11 collision on /usr/bin/pwsafe.
12
13 Closes: https://bugs.gentoo.org/739748
14 Signed-off-by: Christopher Head <chead <AT> chead.ca>
15 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
16
17 app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild | 48 ++++++++++++++++++++++++++++++++++
18 1 file changed, 48 insertions(+)
19
20 diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild
21 new file mode 100644
22 index 00000000000..38b3f386cd5
23 --- /dev/null
24 +++ b/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild
25 @@ -0,0 +1,48 @@
26 +# Copyright 1999-2020 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +DESCRIPTION="A Password Safe compatible command-line password manager"
32 +HOMEPAGE="https://github.com/nsd20463/pwsafe"
33 +SRC_URI="https://web.archive.org/web/20171006105548if_/http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +
39 +IUSE="X libressl readline"
40 +
41 +DEPEND="sys-libs/ncurses:0=
42 + !libressl? ( dev-libs/openssl:0= )
43 + libressl? ( dev-libs/libressl:0= )
44 + readline? ( sys-libs/readline:0= )
45 + X? (
46 + x11-libs/libSM
47 + x11-libs/libICE
48 + x11-libs/libXmu
49 + x11-libs/libX11
50 + )"
51 +RDEPEND="${DEPEND}
52 + !app-admin/passwordsafe"
53 +
54 +src_prepare() {
55 + eapply -p0 "${FILESDIR}/${P}-cvs-1.57.patch"
56 + eapply -p0 "${FILESDIR}/${P}-printf.patch"
57 + eapply -p0 "${FILESDIR}/${P}-fake-readline.patch"
58 + eapply -p0 "${FILESDIR}/${P}-man-page-option-syntax.patch"
59 + eapply -p0 "${FILESDIR}/${P}-XChangeProperty.patch"
60 + eapply_user
61 +}
62 +
63 +src_configure() {
64 + econf \
65 + $(use_with X x) \
66 + $(use_with readline)
67 +}
68 +
69 +src_install() {
70 + doman pwsafe.1
71 + dobin pwsafe
72 + dodoc README NEWS
73 +}