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: Wed, 30 Dec 2020 18:22:53
Message-Id: 1609352477.7c716703c7dc46510fefc8fdb5deaa324f7645cd.blueness@gentoo
1 commit: 7c716703c7dc46510fefc8fdb5deaa324f7645cd
2 Author: Hank Leininger <hlein <AT> korelogic <DOT> com>
3 AuthorDate: Sat Oct 3 01:48:06 2020 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 18:21:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c716703
7
8 sys-fs/encfs: fix fuse slot, eapi 7, cmake-utils -> cmake
9
10 encfs is not compatible with fuse-3.x, so we need to specify a slot
11 with which it is compatible. Also bumped to EAPI 7 while I was
12 touching it, and migrated from deprecated cmake-utils.eclass
13 to cmake.eclass.
14
15 Also, recent cmake-utils / cmake eclasses turn on shared libs, but
16 encfs' build system does the wrong thing for libencfs.so, so turn
17 that knob back off.
18
19 Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
20 Closes: https://bugs.gentoo.org/701698
21 Package-Manager: Portage-3.0.8, Repoman-3.0.1
22 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
23
24 sys-fs/encfs/encfs-1.9.5-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
25 1 file changed, 41 insertions(+)
26
27 diff --git a/sys-fs/encfs/encfs-1.9.5-r1.ebuild b/sys-fs/encfs/encfs-1.9.5-r1.ebuild
28 new file mode 100644
29 index 00000000000..c4043c7510d
30 --- /dev/null
31 +++ b/sys-fs/encfs/encfs-1.9.5-r1.ebuild
32 @@ -0,0 +1,41 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit cmake
38 +
39 +DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
40 +HOMEPAGE="https://vgough.github.io/encfs/"
41 +SRC_URI="https://github.com/vgough/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-3 LGPL-3"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~sparc ~x86"
46 +IUSE="libressl nls"
47 +
48 +RDEPEND="
49 + !libressl? ( dev-libs/openssl:0= )
50 + libressl? ( dev-libs/libressl:0= )
51 + dev-libs/tinyxml2:0=
52 + sys-fs/fuse:0=
53 + sys-libs/zlib"
54 +DEPEND="
55 + ${RDEPEND}
56 + dev-lang/perl
57 + sys-devel/gettext
58 + virtual/pkgconfig"
59 +
60 +# Build dir is hardcoded in test suite, but we restrict them
61 +# because they can lead to false negatives, bug #630486
62 +RESTRICT="test"
63 +BUILD_DIR="${S}/build"
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + -DENABLE_NLS="$(usex nls)"
68 + -DUSE_INTERNAL_TINYXML=OFF
69 + -DBUILD_UNIT_TESTS=OFF
70 + -DBUILD_SHARED_LIBS=OFF
71 + )
72 + cmake_src_configure
73 +}