diff --git a/app-forensics/libfshfs/Manifest b/app-forensics/libfshfs/Manifest new file mode 100644 index 000000000..6fe88eaf4 --- /dev/null +++ b/app-forensics/libfshfs/Manifest @@ -0,0 +1,2 @@ +DIST libfshfs-experimental-20220709.tar.gz 2018052 BLAKE2B 1fcf827bafeafb82bf6ba48a29979bf144c60e296029281ba85aff64b7fc251935155da511dd8b059d0d364d43dbe767df88f5223d01dca6596a97406f53d4c1 SHA512 97a344f9b01f80e3c63efc90b7c7e68bd14ec8d400a186a2d6203d5cb085d83711218e1141ac04f54c0a7889452a0260b7ccad11e2bb4eab85aa86ecd250df89 +DIST libfshfs-experimental-20220831.tar.gz 2059019 BLAKE2B 11b2f7ce2f9d89d158e036422b06bdb65eb17007dea80e590e4be8e7defe733597f178c5998e55ff0eea9d75d5482f4cbf193395adb7a7d49215fcd4f865107a SHA512 4109c3ee6c0fa6d067989fe73dda01c94d87204bb45eddd80b12d12f6b15caadc3d77497b0f9b17e0dde1c20eb2c6b6481d5b09fd9d53fd9dd997243cb435fd8 diff --git a/app-forensics/libfshfs/libfshfs-20220709.ebuild b/app-forensics/libfshfs/libfshfs-20220709.ebuild new file mode 100644 index 000000000..3ca1609cb --- /dev/null +++ b/app-forensics/libfshfs/libfshfs-20220709.ebuild @@ -0,0 +1,71 @@ +# 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 Mac OS Hierarchical File System (HFS)" +HOMEPAGE="https://github.com/libyal/libfshfs" +SRC_URI="https://github.com/libyal/libfshfs/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/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/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfmos[nls=,threads=,python=] + 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/libfshfs/libfshfs-20220831.ebuild b/app-forensics/libfshfs/libfshfs-20220831.ebuild new file mode 100644 index 000000000..3ca1609cb --- /dev/null +++ b/app-forensics/libfshfs/libfshfs-20220831.ebuild @@ -0,0 +1,71 @@ +# 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 Mac OS Hierarchical File System (HFS)" +HOMEPAGE="https://github.com/libyal/libfshfs" +SRC_URI="https://github.com/libyal/libfshfs/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/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/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfmos[nls=,threads=,python=] + 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/libfshfs/metadata.xml b/app-forensics/libfshfs/metadata.xml new file mode 100644 index 000000000..8d6997c48 --- /dev/null +++ b/app-forensics/libfshfs/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Enable FUSE support + +