diff --git a/app-forensics/libphdi/Manifest b/app-forensics/libphdi/Manifest new file mode 100644 index 000000000..b9d3ed0e1 --- /dev/null +++ b/app-forensics/libphdi/Manifest @@ -0,0 +1,2 @@ +DIST libphdi-experimental-20220301.tar.gz 1895165 BLAKE2B e6b8a7b23d5a367aaf9aea2db242bf703a376e20239b44a1854569ddb9a2a9eea6ff2c2da71d241d746f873fcf95bf141405c28bb73124a7e2db924d02157a93 SHA512 4f801cbde1168b79d5a30b6bbe15b3bcf15e39022ef217424ad966fb52da9298a475d2d2c43fbcc759418411f2427d6e5d734468c0f60041ecde0fc64b22e238 +DIST libphdi-experimental-20221025.tar.gz 1912255 BLAKE2B d1e2af877020e99b9a5168f90673a35ff6d7f07865070b666dc7c1e923efcf995acbbff599e0506222f2636719c13d2d8b84a05d29dfeb07406ad1cca8b63299 SHA512 534250ad46d15352f8fc09b2e91ac90bc7c257ec9a594552bbce3d6eeac669a91dba87ebee793ec7e86231a54cfe0042717cd47549a92cbd0073c5decdca57bb diff --git a/app-forensics/libphdi/libphdi-20220301.ebuild b/app-forensics/libphdi/libphdi-20220301.ebuild new file mode 100644 index 000000000..f0140460e --- /dev/null +++ b/app-forensics/libphdi/libphdi-20220301.ebuild @@ -0,0 +1,68 @@ +# 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 the Parallels Hard Disk image format" +HOMEPAGE="https://github.com/libyal/libphdi" +SRC_URI="https://github.com/libyal/libphdi/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/libcdata[nls=] + dev-libs/libcdirectory[nls=,unicode=] + 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/libfvalue[nls=] + dev-libs/libuna[nls=,unicode=] +" +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/libphdi/libphdi-20221025.ebuild b/app-forensics/libphdi/libphdi-20221025.ebuild new file mode 100644 index 000000000..f0140460e --- /dev/null +++ b/app-forensics/libphdi/libphdi-20221025.ebuild @@ -0,0 +1,68 @@ +# 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 the Parallels Hard Disk image format" +HOMEPAGE="https://github.com/libyal/libphdi" +SRC_URI="https://github.com/libyal/libphdi/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/libcdata[nls=] + dev-libs/libcdirectory[nls=,unicode=] + 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/libfvalue[nls=] + dev-libs/libuna[nls=,unicode=] +" +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/libphdi/metadata.xml b/app-forensics/libphdi/metadata.xml new file mode 100644 index 000000000..8d6997c48 --- /dev/null +++ b/app-forensics/libphdi/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Enable FUSE support + +