From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryfs/
Date: Mon, 10 May 2021 09:45:20 +0000 (UTC) [thread overview]
Message-ID: <1620639378.df47ec0c68cf4108f869e285009f6e304ec41551.sam@gentoo> (raw)
commit: df47ec0c68cf4108f869e285009f6e304ec41551
Author: Matthew Bakhtiari <dev <AT> mtbk <DOT> me>
AuthorDate: Sun May 9 09:02:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 10 09:36:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df47ec0c
sys-fs/cryfs: bump to 0.10.3
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matthew Bakhtiari <dev <AT> mtbk.me>
Closes: https://github.com/gentoo/gentoo/pull/20733
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/cryfs/Manifest | 1 +
sys-fs/cryfs/cryfs-0.10.3.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/sys-fs/cryfs/Manifest b/sys-fs/cryfs/Manifest
index bb4b24ade0c..f06ae97762b 100644
--- a/sys-fs/cryfs/Manifest
+++ b/sys-fs/cryfs/Manifest
@@ -1 +1,2 @@
DIST cryfs-0.10.2.tar.xz 7902252 BLAKE2B 704d124ed32a8a958f400188af99498cedb706ccfc004131b677a113b6ab2733942becb1ab64fd06d0b9d5b39f7abe832b3b0669caaf2b6feb7c6577c8c7fbfd SHA512 e49dd6d1e402d968cc4df0e8ca0460a01a27e4e73482041dca0fa9cde905a91d12e2bda18d257a044335e32e316b9363cecf374eb2ca621924b394dd2fabcb8f
+DIST cryfs-0.10.3.tar.xz 7908228 BLAKE2B e1c816bd2ceb125573f5385c6ddb316a600275f0b907d89d3ab32f2050f1a0874ebbfd3db7b452b41d20dcbdd01bf59210a0a96c5bfee079ce222307d4c55596 SHA512 a1325c79cb253219bb092fd68399d6ec68aaf3d78bc95608582ab0c239dfaa0361416531cd1051661e4699b1e79867547710ea55d23e5697ebd4421c937d5b87
diff --git a/sys-fs/cryfs/cryfs-0.10.3.ebuild b/sys-fs/cryfs/cryfs-0.10.3.ebuild
new file mode 100644
index 00000000000..16a91505cca
--- /dev/null
+++ b/sys-fs/cryfs/cryfs-0.10.3.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit cmake flag-o-matic linux-info python-any-r1
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/cryfs/cryfs"
+else
+ SRC_URI="https://github.com/cryfs/cryfs/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ S="${WORKDIR}"
+fi
+
+DESCRIPTION="Encrypted FUSE filesystem that conceals metadata"
+HOMEPAGE="https://www.cryfs.org/"
+
+LICENSE="LGPL-3 MIT"
+SLOT="0"
+IUSE="custom-optimization debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/boost-1.65.1:=
+ >=dev-libs/crypto++-8.2.0:=
+ net-misc/curl:=
+ >=sys-fs/fuse-2.8.6:0
+ dev-libs/openssl:0=
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+ # TODO upstream:
+ "${FILESDIR}/0.10.2-unbundle-libs.patch"
+ "${FILESDIR}/0.10.2-install-targets.patch"
+)
+
+pkg_setup() {
+ local CONFIG_CHECK="~FUSE_FS"
+ local WARNING_FUSE_FS="CONFIG_FUSE_FS is required for cryfs support."
+
+ check_extra_config
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ # don't install compressed manpage
+ cmake_comment_add_subdirectory doc
+
+ # remove tests that require internet access to comply with Gentoo policy
+ sed -e "/CurlHttpClientTest.cpp/d" -e "/FakeHttpClientTest.cpp/d" \
+ -i test/cpp-utils/CMakeLists.txt || die
+
+ # /dev/fuse access denied
+ sed -e "/CliTest_IntegrityCheck/d" \
+ -i test/cryfs-cli/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBoost_USE_STATIC_LIBS=OFF
+ -DCRYFS_UPDATE_CHECKS=OFF
+ -DBUILD_SHARED_LIBS=OFF
+ -DUSE_SYSTEM_LIBS=ON
+ -DBUILD_TESTING=$(usex test)
+ )
+ use custom-optimization || append-flags -O3
+ use debug || append-flags -DNDEBUG
+
+ cmake_src_configure
+}
+
+src_test() {
+ local TMPDIR="${T}"
+ local tests_failed=()
+
+ # fspp fuse tests hang, bug # 699044
+ for i in gitversion cpp-utils parallelaccessstore blockstore blobstore cryfs cryfs-cli ; do
+ "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
+ done
+
+ if [[ -n ${tests_failed[@]} ]] ; then
+ eerror "The following tests failed:"
+ eerror "${tests_failed[@]}"
+ die "At least one test failed"
+ fi
+}
+
+src_install() {
+ cmake_src_install
+ doman doc/man/cryfs.1
+}
next reply other threads:[~2021-05-10 9:45 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 9:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-15 9:29 [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryfs/ Ulrich Müller
2025-01-24 8:14 Sam James
2024-09-01 2:39 Yixun Lan
2024-08-30 13:15 Arthur Zamarin
2024-06-03 11:15 Sam James
2024-03-03 17:33 Andreas K. Hüttel
2024-02-28 22:57 Sam James
2023-06-27 7:06 Sam James
2023-04-26 4:03 Sam James
2023-01-23 2:40 Sam James
2022-09-04 13:03 David Seifert
2022-06-28 4:18 WANG Xuerui
2022-04-18 18:56 Alexey Shvetsov
2021-10-14 6:38 Andreas Sturmlechner
2021-10-13 20:33 Sam James
2021-08-29 10:02 Agostino Sarubbo
2021-08-18 0:35 Yixun Lan
2021-08-13 18:33 Sam James
2021-08-13 18:33 Sam James
2021-05-02 17:47 Mikle Kolyada
2021-01-18 8:55 Joonas Niilola
2020-11-05 12:32 Joonas Niilola
2020-11-05 12:32 Joonas Niilola
2020-10-16 11:12 Georgy Yakovlev
2020-06-04 20:57 Andreas Sturmlechner
2020-05-16 7:09 Joonas Niilola
2020-05-16 7:09 Joonas Niilola
2020-04-17 15:56 Andreas Sturmlechner
2020-02-10 13:26 Michał Górny
2020-01-18 23:09 Andreas Sturmlechner
2020-01-18 23:09 Andreas Sturmlechner
2020-01-18 23:09 Andreas Sturmlechner
2019-11-13 2:51 Aaron Bauman
2019-11-02 8:42 Agostino Sarubbo
2019-11-01 23:51 Thomas Deutschmann
2019-11-01 8:53 Andreas Sturmlechner
2019-10-26 21:14 Andreas Sturmlechner
2019-10-26 21:06 Andreas Sturmlechner
2019-10-26 20:15 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-06-16 21:57 Andreas Sturmlechner
2019-05-28 2:35 Aaron Bauman
2019-02-19 18:04 Andreas Sturmlechner
2018-09-24 1:50 Thomas Deutschmann
2018-09-16 17:51 Mikle Kolyada
2018-08-11 17:03 Mike Gilbert
2018-04-11 22:47 Patrice Clement
2018-03-15 20:17 Markus Meier
2018-01-21 5:03 Michael Palimaka
2018-01-18 16:07 Mikle Kolyada
2018-01-17 11:01 Andreas Sturmlechner
2017-10-11 19:15 Johannes Huber
2017-10-11 19:15 Johannes Huber
2017-10-11 19:15 Johannes Huber
2017-05-27 13:48 Michał Górny
2017-05-27 13:48 Michał Górny
2017-05-24 17:12 Michał Górny
2017-05-24 17:12 Michał Górny
2017-05-24 17:04 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1620639378.df47ec0c68cf4108f869e285009f6e304ec41551.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox