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, 14 Oct 2021 06:38:44
Message-Id: 1634193507.aa3752d07ea66a451e156a5a1455061da9a059a1.asturm@gentoo
1 commit: aa3752d07ea66a451e156a5a1455061da9a059a1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 14 06:37:56 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 14 06:38:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa3752d0
7
8 sys-fs/cryfs: Drop 0.10.2-r1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sys-fs/cryfs/Manifest | 1 -
14 sys-fs/cryfs/cryfs-0.10.2-r1.ebuild | 99 -------------------------------------
15 2 files changed, 100 deletions(-)
16
17 diff --git a/sys-fs/cryfs/Manifest b/sys-fs/cryfs/Manifest
18 index f06ae97762b..8b4042ff25f 100644
19 --- a/sys-fs/cryfs/Manifest
20 +++ b/sys-fs/cryfs/Manifest
21 @@ -1,2 +1 @@
22 -DIST cryfs-0.10.2.tar.xz 7902252 BLAKE2B 704d124ed32a8a958f400188af99498cedb706ccfc004131b677a113b6ab2733942becb1ab64fd06d0b9d5b39f7abe832b3b0669caaf2b6feb7c6577c8c7fbfd SHA512 e49dd6d1e402d968cc4df0e8ca0460a01a27e4e73482041dca0fa9cde905a91d12e2bda18d257a044335e32e316b9363cecf374eb2ca621924b394dd2fabcb8f
23 DIST cryfs-0.10.3.tar.xz 7908228 BLAKE2B e1c816bd2ceb125573f5385c6ddb316a600275f0b907d89d3ab32f2050f1a0874ebbfd3db7b452b41d20dcbdd01bf59210a0a96c5bfee079ce222307d4c55596 SHA512 a1325c79cb253219bb092fd68399d6ec68aaf3d78bc95608582ab0c239dfaa0361416531cd1051661e4699b1e79867547710ea55d23e5697ebd4421c937d5b87
24
25 diff --git a/sys-fs/cryfs/cryfs-0.10.2-r1.ebuild b/sys-fs/cryfs/cryfs-0.10.2-r1.ebuild
26 deleted file mode 100644
27 index 5f06da1a12f..00000000000
28 --- a/sys-fs/cryfs/cryfs-0.10.2-r1.ebuild
29 +++ /dev/null
30 @@ -1,99 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -inherit cmake flag-o-matic linux-info python-any-r1
38 -
39 -if [[ ${PV} == 9999 ]] ; then
40 - inherit git-r3
41 - EGIT_REPO_URI="https://github.com/cryfs/cryfs"
42 -else
43 - SRC_URI="https://github.com/cryfs/cryfs/releases/download/${PV}/${P}.tar.xz"
44 - KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
45 - S="${WORKDIR}"
46 -fi
47 -
48 -DESCRIPTION="Encrypted FUSE filesystem that conceals metadata"
49 -HOMEPAGE="https://www.cryfs.org/"
50 -
51 -LICENSE="LGPL-3 MIT"
52 -SLOT="0"
53 -IUSE="debug test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND="
57 - >=dev-libs/boost-1.65.1:=
58 - >=dev-libs/crypto++-8.2.0:=
59 - net-misc/curl:=
60 - >=sys-fs/fuse-2.8.6:0
61 - dev-libs/openssl:0=
62 -"
63 -DEPEND="${RDEPEND}
64 - test? ( dev-cpp/gtest )
65 -"
66 -BDEPEND="${PYTHON_DEPS}"
67 -
68 -PATCHES=(
69 - # TODO upstream:
70 - "${FILESDIR}/${P}-unbundle-libs.patch"
71 - "${FILESDIR}/${P}-install-targets.patch"
72 -)
73 -
74 -pkg_setup() {
75 - local CONFIG_CHECK="~FUSE_FS"
76 - local WARNING_FUSE_FS="CONFIG_FUSE_FS is required for cryfs support."
77 -
78 - check_extra_config
79 -}
80 -
81 -src_prepare() {
82 - cmake_src_prepare
83 -
84 - # don't install compressed manpage
85 - cmake_comment_add_subdirectory doc
86 -
87 - # remove tests that require internet access to comply with Gentoo policy
88 - sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
89 - -i test/cpp-utils/CMakeLists.txt || die
90 -
91 - # /dev/fuse access denied
92 - sed -e "/CliTest_IntegrityCheck/d" \
93 - -i test/cryfs-cli/CMakeLists.txt || die
94 -}
95 -
96 -src_configure() {
97 - local mycmakeargs=(
98 - -DBoost_USE_STATIC_LIBS=OFF
99 - -DCRYFS_UPDATE_CHECKS=OFF
100 - -DBUILD_SHARED_LIBS=OFF
101 - -DUSE_SYSTEM_LIBS=ON
102 - -DBUILD_TESTING=$(usex test)
103 - )
104 -
105 - use debug || append-flags -DNDEBUG
106 -
107 - cmake_src_configure
108 -}
109 -
110 -src_test() {
111 - local TMPDIR="${T}"
112 - local tests_failed=()
113 -
114 - # fspp fuse tests hang, bug # 699044
115 - for i in gitversion cpp-utils parallelaccessstore blockstore blobstore cryfs cryfs-cli ; do
116 - "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
117 - done
118 -
119 - if [[ -n ${tests_failed[@]} ]] ; then
120 - eerror "The following tests failed:"
121 - eerror "${tests_failed[@]}"
122 - die "At least one test failed"
123 - fi
124 -}
125 -
126 -src_install() {
127 - cmake_src_install
128 - doman doc/man/cryfs.1
129 -}