diff --git a/app-forensics/libfvde/Manifest b/app-forensics/libfvde/Manifest new file mode 100644 index 000000000..5809bd31d --- /dev/null +++ b/app-forensics/libfvde/Manifest @@ -0,0 +1,2 @@ +DIST libfvde-experimental-20220807.tar.gz 3306907 BLAKE2B 7d11f729fb08f7b7c34c8aa2d5553630d7833313e4b2143cd7ba6634188baee4b3635c2c862f6c48d37130e0128b90440791e38a9236254447d5fd2b4c517a99 SHA512 c3742a2ed1cd2d85dd74a9e654a24c6f69f6716dc75b095c759f7ab80c7cef2178da43b3538fb6dac02f5d026e392cadd287f916646964f7fb2d2f54622499b1 +DIST libfvde-experimental-20220915.tar.gz 3307249 BLAKE2B 7d40f8a5021084941ad5950a6e5efa6964dc88f1122530271dc76da57bc00956456ce1cfdad96545973415c136c90f73e65cae5b89a903f15a84e3e75e513aae SHA512 3ceb7f1edcd7b3e68c214cade17b7a12635503d81a5a7dfd59bdbea66b8d5d5cde486cc34ca079d7ac398fbe93b2a981ac3a2d112365e25fedd723c61800c691 diff --git a/app-forensics/libfvde/libfvde-20220807.ebuild b/app-forensics/libfvde/libfvde-20220807.ebuild new file mode 100644 index 000000000..39ab6c2e8 --- /dev/null +++ b/app-forensics/libfvde/libfvde-20220807.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library and tools to access FileVault Drive Encryption (FVDE) encrypted volumes" +HOMEPAGE="https://github.com/libyal/libfvde" +SRC_URI="https://github.com/libyal/libfvde/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +fuse +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + app-forensics/libbfio[nls=,unicode=,threads=] + dev-libs/libcaes[nls=,python=] + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=,threads=] + dev-libs/libfguid[nls=] + dev-libs/libfplist[nls=,threads=] + dev-libs/libfvalue[nls=] + dev-libs/libhmac[nls=,unicode=,threads=] + dev-libs/libuna[nls=,unicode=] + dev-libs/openssl + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) + fuse? ( sys-fs/fuse ) +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) \ + $(use_enable debug verbose-output ) \ + $(use_enable debug debug-output ) \ + $(use_enable threads multi-threading-support) \ + $(use_enable python) \ + $(use_enable python python3) \ + $(use_with fuse libfuse) \ + +} diff --git a/app-forensics/libfvde/libfvde-20220915.ebuild b/app-forensics/libfvde/libfvde-20220915.ebuild new file mode 100644 index 000000000..39ab6c2e8 --- /dev/null +++ b/app-forensics/libfvde/libfvde-20220915.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Library and tools to access FileVault Drive Encryption (FVDE) encrypted volumes" +HOMEPAGE="https://github.com/libyal/libfvde" +SRC_URI="https://github.com/libyal/libfvde/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +fuse +threads debug" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DEPEND=" + nls? ( + virtual/libiconv + virtual/libintl + ) + python? ( dev-lang/python:* ) + app-forensics/libbfio[nls=,unicode=,threads=] + dev-libs/libcaes[nls=,python=] + dev-libs/libcdata[nls=] + dev-libs/libcerror[nls=] + dev-libs/libcfile[nls=,unicode=] + dev-libs/libclocale[nls=,unicode=] + dev-libs/libcnotify[nls=] + dev-libs/libcpath[nls=,unicode=] + dev-libs/libcsplit[nls=,unicode=] + dev-libs/libcthreads[nls=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=,threads=] + dev-libs/libfguid[nls=] + dev-libs/libfplist[nls=,threads=] + dev-libs/libfvalue[nls=] + dev-libs/libhmac[nls=,unicode=,threads=] + dev-libs/libuna[nls=,unicode=] + dev-libs/openssl + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) + fuse? ( sys-fs/fuse ) +" + +src_prepare() { + eautoreconf + eapply_user +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_with nls libiconv-prefix) \ + $(use_with nls libintl-prefix) \ + $(use_enable unicode wide-character-type) \ + $(use_enable debug verbose-output ) \ + $(use_enable debug debug-output ) \ + $(use_enable threads multi-threading-support) \ + $(use_enable python) \ + $(use_enable python python3) \ + $(use_with fuse libfuse) \ + +} diff --git a/app-forensics/libfvde/metadata.xml b/app-forensics/libfvde/metadata.xml new file mode 100644 index 000000000..8d6997c48 --- /dev/null +++ b/app-forensics/libfvde/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Enable FUSE support + +