summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-18 23:50:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-19 00:08:49 +0100
commit3e2d65b43018ad7af8f31ff0a97d75414612d44b (patch)
tree1fefab247dfcefac6fb3f9632b2f9cf931685606 /sys-fs/cryfs
parentsys-fs/cryfs: Drop python2_7 (diff)
downloadgentoo-3e2d65b43018ad7af8f31ff0a97d75414612d44b.tar.gz
gentoo-3e2d65b43018ad7af8f31ff0a97d75414612d44b.tar.bz2
gentoo-3e2d65b43018ad7af8f31ff0a97d75414612d44b.zip
sys-fs/cryfs: Drop 0.9.9-r1
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-fs/cryfs')
-rw-r--r--sys-fs/cryfs/Manifest1
-rw-r--r--sys-fs/cryfs/cryfs-0.9.9-r1.ebuild94
-rw-r--r--sys-fs/cryfs/metadata.xml1
3 files changed, 0 insertions, 96 deletions
diff --git a/sys-fs/cryfs/Manifest b/sys-fs/cryfs/Manifest
index 728ceadfdf6c..bb4b24ade0c0 100644
--- a/sys-fs/cryfs/Manifest
+++ b/sys-fs/cryfs/Manifest
@@ -1,2 +1 @@
DIST cryfs-0.10.2.tar.xz 7902252 BLAKE2B 704d124ed32a8a958f400188af99498cedb706ccfc004131b677a113b6ab2733942becb1ab64fd06d0b9d5b39f7abe832b3b0669caaf2b6feb7c6577c8c7fbfd SHA512 e49dd6d1e402d968cc4df0e8ca0460a01a27e4e73482041dca0fa9cde905a91d12e2bda18d257a044335e32e316b9363cecf374eb2ca621924b394dd2fabcb8f
-DIST cryfs-0.9.9.tar.xz 977928 BLAKE2B 927d5f61be99a6400cfd53de6291e14ae32f446d281485901e758341f138a2efdfb7385b6c205db6f865dc83f6fbd9ede8fd1bb5a7957fb242624d78d2523eaf SHA512 18f0ce954dc9958b52a77aac85d4d30d03409e4f88c27ec3e904a6014f5257e12fe47a4f3bb628f6ebf3b5aa8cb9d3a59e0aee76d83a3f6bdd4ef864b66898aa
diff --git a/sys-fs/cryfs/cryfs-0.9.9-r1.ebuild b/sys-fs/cryfs/cryfs-0.9.9-r1.ebuild
deleted file mode 100644
index 2a9e7684358a..000000000000
--- a/sys-fs/cryfs/cryfs-0.9.9-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-CMAKE_MAKEFILE_GENERATOR=emake
-PYTHON_COMPAT=( python{2_7,3_6} )
-
-inherit cmake-utils python-any-r1 flag-o-matic
-
-DESCRIPTION="Encrypted FUSE filesystem that conceals metadata"
-HOMEPAGE="https://www.cryfs.org/"
-
-SLOT=0
-IUSE="custom-optimization libressl test update-check"
-RESTRICT="!test? ( test )"
-
-LICENSE="LGPL-3 BSD-2 MIT"
-# cryfs - LGPL-3
-# scrypt - BSD-2
-# spdlog - MIT
-
-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 x86"
- S="${WORKDIR}"
-fi
-
-RDEPEND=">=dev-libs/boost-1.56:=
- >=dev-libs/crypto++-5.6.3:=
- net-misc/curl:=
- >=sys-fs/fuse-2.8.6:0
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:= )"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}"
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # remove tests that require internet access to comply with Gentoo policy
- sed -i -e '/CurlHttpClientTest.cpp/d' -e '/FakeHttpClientTest.cpp/d' test/cpp-utils/CMakeLists.txt || die
-
- # remove non-applicable warning
- sed -i -e '/WARNING! This is a debug build. Performance might be slow./d' src/cryfs-cli/Cli.cpp || die
-}
-
-src_configure() {
- # upstream restricts installing files to Release configuration
- # (CMAKE_BUILD_TYPE does not affect anything else)
- local CMAKE_BUILD_TYPE
- local -a mycmakeargs
- CMAKE_BUILD_TYPE=Release
- mycmakeargs=(
- "-DBoost_USE_STATIC_LIBS=off"
- "-DCRYFS_UPDATE_CHECKS=$(usex update-check)"
- "-DBUILD_TESTING=$(usex test)"
- )
- use custom-optimization || append-flags -O3
-
- cmake-utils_src_configure
-}
-
-src_test() {
- local TMPDIR
- TMPDIR="${T}"
- addread /dev/fuse
- addwrite /dev/fuse
- local -a tests_failed
- tests_failed=()
-
- for i in gitversion cpp-utils parallelaccessstore blockstore blobstore fspp cryfs cryfs-cli ; do
- "${BUILD_DIR}"/test/${i}/${i}-test || tests_failed+=( "${i}" )
- done
-
- adddeny /dev/fuse
-
- if [[ -n ${tests_failed[@]} ]] ; then
- eerror "The following tests failed:"
- eerror "${tests_failed[@]}"
- die "At least one test failed"
- fi
-}
-
-src_install() {
- # work around upstream issue with cmake not creating install target
- # in Makefile if we enable BUILD_TESTING
- dobin "${BUILD_DIR}/src/cryfs-cli/cryfs"
- gzip -cd "${BUILD_DIR}/doc/cryfs.1.gz" > "${T}/cryfs.1" || die
- doman "${T}/cryfs.1"
- einstalldocs
-}
diff --git a/sys-fs/cryfs/metadata.xml b/sys-fs/cryfs/metadata.xml
index 177b7e18c57f..9d9b4938e31b 100644
--- a/sys-fs/cryfs/metadata.xml
+++ b/sys-fs/cryfs/metadata.xml
@@ -9,7 +9,6 @@
</maintainer>
<use>
<flag name="custom-optimization">Use user-defined compiler optimization level</flag>
- <flag name="update-check">Enable automatic checking for updates and security vulnerabilities</flag>
</use>
<longdescription>Encrypted FUSE filesystem that conceals metadata</longdescription>
</pkgmetadata>