Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/encfs/
Date: Tue, 29 Mar 2016 23:56:28
Message-Id: 1459296180.42d370f628d41c3297c2efaaae197cef74fe80d8.blueness@gentoo
1 commit: 42d370f628d41c3297c2efaaae197cef74fe80d8
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 00:01:32 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 30 00:03:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d370f6
7
8 sys-fs/encfs: add libressl support
9
10 Package-Manager: portage-2.2.26
11
12 sys-fs/encfs/encfs-1.8.1-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 51 insertions(+)
14
15 diff --git a/sys-fs/encfs/encfs-1.8.1-r1.ebuild b/sys-fs/encfs/encfs-1.8.1-r1.ebuild
16 new file mode 100644
17 index 0000000..de939a3
18 --- /dev/null
19 +++ b/sys-fs/encfs/encfs-1.8.1-r1.ebuild
20 @@ -0,0 +1,51 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +inherit autotools eutils multilib
27 +
28 +DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
29 +HOMEPAGE="https://vgough.github.io/encfs/"
30 +SRC_URI="https://github.com/vgough/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
31 +
32 +LICENSE="GPL-3"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~arm ~sparc ~x86"
35 +IUSE="xattr nls libressl"
36 +
37 +RDEPEND="dev-libs/boost:=
38 + !libressl? ( dev-libs/openssl:0= )
39 + libressl? ( dev-libs/libressl:0= )
40 + dev-libs/rlog
41 + sys-fs/fuse
42 + sys-libs/zlib"
43 +# Your libc probably provides xattrs, but to be safe
44 +# we'll dep on sys-apps/attr. This should be fixed
45 +# if we ever create a virtual/attr.
46 +DEPEND="${RDEPEND}
47 + dev-lang/perl
48 + virtual/pkgconfig
49 + xattr? ( sys-apps/attr )
50 + nls? ( sys-devel/gettext )"
51 +
52 +src_prepare() {
53 + eautoreconf
54 +}
55 +
56 +src_configure() {
57 + # configure searches for either attr/xattr.h or sys/xattr.h
58 + use xattr || export ac_cv_header_{attr,sys}_xattr_h=no
59 +
60 + econf \
61 + $(use_enable nls) \
62 + --disable-valgrind \
63 + --enable-openssl \
64 + --disable-dependency-tracking
65 +}
66 +
67 +src_install() {
68 + emake DESTDIR="${D}" install || die
69 + dodoc AUTHORS ChangeLog README.md
70 + find "${D}" -name '*.la' -delete
71 +}