From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B235D138335 for ; Sun, 16 Jun 2019 21:57:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88B05E08AA; Sun, 16 Jun 2019 21:57:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E838E08AA for ; Sun, 16 Jun 2019 21:57:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E952346277 for ; Sun, 16 Jun 2019 21:57:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F11C61D for ; Sun, 16 Jun 2019 21:57:32 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1560722225.7ec5affdc707863c7ca84720fe75ed45cb730085.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/cryfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/cryfs/cryfs-9999.ebuild X-VCS-Directories: sys-fs/cryfs/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7ec5affdc707863c7ca84720fe75ed45cb730085 X-VCS-Branch: master Date: Sun, 16 Jun 2019 21:57:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 17381655-9251-4384-bb43-e123d060a905 X-Archives-Hash: 982b1bd5f7797f5128a91dd95fff9bee commit: 7ec5affdc707863c7ca84720fe75ed45cb730085 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jun 16 18:08:53 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 16 21:57:05 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec5affd sys-fs/cryfs: EAPI-7 bump, python3_7 Disable CRYFS_UPDATE_CHECKS Drop dev-libs/crypto++, 8.2 is bundled upstream Fix sys-fs/fuse SLOT, bug 673668 Raise dev-libs/boost minimum dep to >=1.65.1 Sync KEYWORDS from latest release Update LICENSE, bundled scrypt was dropped, add Boost-1.0 for crypto++ Bug: https://bugs.gentoo.org/673668 Thanks-to: Alex deBeus gmail.com> Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner gentoo.org> sys-fs/cryfs/cryfs-9999.ebuild | 65 +++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild index a40f623dfb9..81dc60b0bcd 100644 --- a/sys-fs/cryfs/cryfs-9999.ebuild +++ b/sys-fs/cryfs/cryfs-9999.ebuild @@ -1,40 +1,41 @@ # Copyright 1999-2019 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_{5,6}} ) +EAPI=7 -inherit cmake-utils python-any-r1 flag-o-matic +CMAKE_MAKEFILE_GENERATOR="emake" +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +inherit cmake-utils flag-o-matic python-any-r1 -DESCRIPTION="Encrypted FUSE filesystem that conceals metadata" -HOMEPAGE="https://www.cryfs.org/" - -SLOT=0 -IUSE="custom-optimization debug libressl test update-check" - -LICENSE="LGPL-3 BSD-2 MIT" -# cryfs - LGPL-3 -# scrypt - BSD-2 -# spdlog - MIT - -if [[ "${PV}" == 9999 ]] ; then +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 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" S="${WORKDIR}" fi -RDEPEND=">=dev-libs/boost-1.56:= - >=dev-libs/crypto++-5.6.3:= +DESCRIPTION="Encrypted FUSE filesystem that conceals metadata" +HOMEPAGE="https://www.cryfs.org/" + +# cryfs - LGPL-3 +# spdlog - MIT +# crypto++ - Boost-1.0 +LICENSE="LGPL-3 MIT Boost-1.0" +SLOT="0" +IUSE="custom-optimization debug libressl test" + +RDEPEND=" + >=dev-libs/boost-1.65.1:= net-misc/curl:= - >=sys-fs/fuse-2.8.6:= + >=sys-fs/fuse-2.8.6:0 !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= )" + libressl? ( dev-libs/libressl:= ) +" DEPEND="${RDEPEND} - ${PYTHON_DEPS}" + ${PYTHON_DEPS} +" src_prepare() { cmake-utils_src_prepare @@ -48,15 +49,11 @@ src_prepare() { } 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)" + local mycmakeargs=( + -DBoost_USE_STATIC_LIBS=OFF + -DCRYFS_UPDATE_CHECKS=OFF + -DBUILD_SHARED_LIBS=OFF + -DBUILD_TESTING=$(usex test) ) use custom-optimization || append-flags -O3 @@ -64,12 +61,10 @@ src_configure() { } src_test() { - local TMPDIR - TMPDIR="${T}" + local TMPDIR="${T}" addread /dev/fuse addwrite /dev/fuse - local -a tests_failed - tests_failed=() + local 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}" )