Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryfs/
Date: Thu, 04 Jun 2020 20:57:51
Message-Id: 1591304251.55c502229fabbf457a462b4c698df5d3a28b53ab.asturm@gentoo
1 commit: 55c502229fabbf457a462b4c698df5d3a28b53ab
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 4 20:57:15 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 20:57:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c50222
7
8 sys-fs/cryfs: Remove unmaintained live ebuild
9
10 Bug: https://bugs.gentoo.org/705404
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 sys-fs/cryfs/cryfs-9999.ebuild | 97 ------------------------------------------
15 1 file changed, 97 deletions(-)
16
17 diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild
18 deleted file mode 100644
19 index 0292d83f5f3..00000000000
20 --- a/sys-fs/cryfs/cryfs-9999.ebuild
21 +++ /dev/null
22 @@ -1,97 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -CMAKE_MAKEFILE_GENERATOR="emake"
29 -PYTHON_COMPAT=( python3_{6,7} )
30 -inherit cmake flag-o-matic linux-info python-any-r1
31 -
32 -if [[ ${PV} == 9999 ]] ; then
33 - inherit git-r3
34 - EGIT_REPO_URI="https://github.com/cryfs/cryfs"
35 -else
36 - SRC_URI="https://github.com/cryfs/cryfs/releases/download/${PV}/${P}.tar.xz"
37 - KEYWORDS="~amd64 ~arm ~arm64 ~x86"
38 - S="${WORKDIR}"
39 -fi
40 -
41 -DESCRIPTION="Encrypted FUSE filesystem that conceals metadata"
42 -HOMEPAGE="https://www.cryfs.org/"
43 -
44 -# cryfs - LGPL-3
45 -# spdlog - MIT
46 -# crypto++ - Boost-1.0
47 -LICENSE="LGPL-3 MIT Boost-1.0"
48 -SLOT="0"
49 -IUSE="custom-optimization debug libressl test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - >=dev-libs/boost-1.65.1:=
54 - net-misc/curl:=
55 - >=sys-fs/fuse-2.8.6:0
56 - !libressl? ( dev-libs/openssl:0= )
57 - libressl? ( dev-libs/libressl:= )
58 -"
59 -DEPEND="${RDEPEND}
60 - ${PYTHON_DEPS}
61 -"
62 -
63 -pkg_setup() {
64 - local CONFIG_CHECK="~FUSE_FS"
65 - local WARNING_FUSE_FS="CONFIG_FUSE_FS is required for cryfs support."
66 -
67 - check_extra_config
68 -}
69 -
70 -src_prepare() {
71 - cmake_src_prepare
72 -
73 - # don't install compressed manpage
74 - cmake_comment_add_subdirectory doc
75 -
76 - # remove tests that require internet access to comply with Gentoo policy
77 - sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
78 - -i test/cpp-utils/CMakeLists.txt || die
79 -
80 - # /dev/fuse access denied
81 - sed -e "/CliTest_IntegrityCheck/d" \
82 - -i test/cryfs-cli/CMakeLists.txt || die
83 -}
84 -
85 -src_configure() {
86 - local mycmakeargs=(
87 - -DBoost_USE_STATIC_LIBS=OFF
88 - -DCRYFS_UPDATE_CHECKS=OFF
89 - -DBUILD_SHARED_LIBS=OFF
90 - -DBUILD_TESTING=$(usex test)
91 - )
92 - use custom-optimization || append-flags -O3
93 -
94 - cmake_src_configure
95 -}
96 -
97 -src_test() {
98 - local TMPDIR="${T}"
99 - local tests_failed=()
100 -
101 - # fspp fuse tests hang, bug # 699044
102 - for i in gitversion cpp-utils parallelaccessstore blockstore blobstore cryfs cryfs-cli ; do
103 - "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
104 - done
105 -
106 - if [[ -n ${tests_failed[@]} ]] ; then
107 - eerror "The following tests failed:"
108 - eerror "${tests_failed[@]}"
109 - die "At least one test failed"
110 - fi
111 -}
112 -
113 -src_install() {
114 - # work around upstream issue with cmake not creating install target
115 - # in Makefile if we enable BUILD_TESTING
116 - dobin "${BUILD_DIR}/src/cryfs-cli/cryfs"
117 - doman doc/man/cryfs.1
118 - einstalldocs
119 -}