Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pwsafe/
Date: Sun, 18 Jun 2017 20:57:07
Message-Id: 1497819421.4fbd7aae1abf3bedaf8c1c2eb71e72ae5f83a057.mgorny@gentoo
1 commit: 4fbd7aae1abf3bedaf8c1c2eb71e72ae5f83a057
2 Author: Christopher Head <chead <AT> chead <DOT> ca>
3 AuthorDate: Fri Jun 16 08:18:02 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 18 20:57:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbd7aae
7
8 app-misc/pwsafe: support libressl
9
10 Gentoo-Bug: https://bugs.gentoo.org/620784
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.1
13
14 app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild | 43 ++++++++++++++++++++++++++++++++++
15 1 file changed, 43 insertions(+)
16
17 diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild
18 new file mode 100644
19 index 00000000000..d789863bdfd
20 --- /dev/null
21 +++ b/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild
22 @@ -0,0 +1,43 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +DESCRIPTION="A Password Safe compatible command-line password manager"
29 +HOMEPAGE="http://nsd.dyndns.org/pwsafe/"
30 +SRC_URI="http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +
36 +IUSE="X libressl readline"
37 +
38 +DEPEND="sys-libs/ncurses:0=
39 + !libressl? ( dev-libs/openssl:0= )
40 + libressl? ( dev-libs/libressl:0= )
41 + readline? ( sys-libs/readline:0= )
42 + X? ( x11-libs/libSM
43 + x11-libs/libICE
44 + x11-libs/libXmu
45 + x11-libs/libX11 )"
46 +RDEPEND="${DEPEND}"
47 +
48 +src_prepare() {
49 + eapply -p0 "${FILESDIR}/${P}-cvs-1.57.patch"
50 + eapply -p0 "${FILESDIR}/${P}-printf.patch"
51 + eapply -p0 "${FILESDIR}/${P}-fake-readline.patch"
52 + eapply -p0 "${FILESDIR}/${P}-man-page-option-syntax.patch"
53 + eapply -p0 "${FILESDIR}/${P}-XChangeProperty.patch"
54 + eapply_user
55 +}
56 +
57 +src_configure() {
58 + econf $(use_with X x) $(use_with readline)
59 +}
60 +
61 +src_install() {
62 + doman pwsafe.1
63 + dobin pwsafe
64 + dodoc README NEWS
65 +}