Commit 444cbd7a authored by Jerzy Kołosowski's avatar Jerzy Kołosowski
Browse files

CryFS

parent 338f3552
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
AUX ndebug.patch 531 SHA256 1f1ba1b24a166cd587386d8d4755f552299335331c6587dbc2619fcc6e947590 SHA512 2ff67802fd47b4498669f175e88c3d555c44d718d5f5acf7a406857aacf3cf9c3ff196c6aef7a0f40d9b60a13fc9792746238201debb217289d8a9bc8304d08b WHIRLPOOL 12a4448142bbe5c2a34972c7fc763aa4b8e3d2e0db006025557d93563a9e288f7b59059b04e2fa540b71044c8779256c3f93b909fa795579632d6a8eb6ba1e29
DIST 0.9.7.zip 2377115 SHA256 53915c13b73b2cf8fc0327c2eba3ea3edf6f7a5a61a43871488d93b972d4aee9 SHA512 3b7a69dc104d9e9833fb30a019df67af2d248cef7347b7fab2b0fd03d73ea2ed8d6d4b54c32f0949eb6afe2819c48f0501a2e81e06398640fe1f570add8294d5 WHIRLPOOL bdabd1a2978a867439f4ab8b6bd8d869867e2f6d64adedcf550d0bd369773263600f88566faac140dbd84e13209c55c8d2e97ec60c76b15b49a6587725cb60d3
EBUILD cryfs-0.9.7.ebuild 797 SHA256 07399d966d2b80639e5faa983c98673aa1fea7b8ba93c287d1267e44dcdf289f SHA512 9f0a230ce0fdec3c0703074c58be5fbd5312a1ccfc7c08ca344632851117ed53b071bd278df13d2905aa4d481c02e47ef0d24c0f89147f4088772238fab4bae1 WHIRLPOOL 08ba060751d56205507972348f5e8a3e60bdd3d7304311049ed9b6bf18a4439392041bf2a701214da64571efab23b6ec09e5c52044b03d9a6cc821dec92dae30
+33 −0
Original line number Diff line number Diff line
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils flag-o-matic

DESCRIPTION="CryFS encrypts your files, so you can safely store them anywhere. It works well together with cloud services like Dropbox, iCloud, OneDrive and others."
HOMEPAGE="https://www.cryfs.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.zip"
SLOT="0"

LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="libressl"


DEPEND="
	net-misc/curl
	>=dev-libs/boost-1.56.0[threads]
	>=dev-libs/crypto++-5.6.3
	!libressl? ( dev-libs/openssl:0= )
	libressl? ( dev-libs/libressl:0= )
	>=sys-fs/fuse-2.8.6
	dev-lang/python:2.7
"
RDEPEND="${DEPEND}"

DOCS=( ChangeLog.txt README.md )

PATCHES=( "${FILESDIR}/ndebug.patch" )

CMAKE_BUILD_TYPE=Release
+16 −0
Original line number Diff line number Diff line
diff -Naur cryfs.old/CMakeLists.txt cryfs/CMakeLists.txt
--- cryfs.old/CMakeLists.txt	2017-04-30 02:06:51.568327947 +0200
+++ cryfs/CMakeLists.txt	2017-04-30 02:13:36.777988853 +0200
@@ -22,6 +22,12 @@
     set(CRYFS_UPDATE_CHECKS ON CACHE BOOL "CRYFS_UPDATE_CHECKS")
 endif(NOT CRYFS_UPDATE_CHECKS)
 
+if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" )
+    if( NOT MSVC_IDE AND NOT XCODE )
+        add_definitions( -DNDEBUG )
+    endif()
+endif()
+
 add_subdirectory(vendor)
 add_subdirectory(src)
 add_subdirectory(test)