diff --git a/app-forensics/libpff/Manifest b/app-forensics/libpff/Manifest new file mode 100644 index 000000000..d2e34e11b --- /dev/null +++ b/app-forensics/libpff/Manifest @@ -0,0 +1,2 @@ +DIST libpff-alpha-20211114.tar.gz 2132912 BLAKE2B 8c4ed11e8aec306352e6e07163faa36437c8cd99ef2df434aad12e59830e0b121e34576fea11066711757257a5489ccf1a1a634000d91efc2e25adb32d68470e SHA512 ad2cf4b0841c448b60738cd2f340868c0f11eb34167bfe5b093645a2a080d694e199afe4fef5eeea1016487820132be33f8e51910d2142ff032320ad2dbeb59d +DIST libpff-experimental-20180714.tar.gz 1991576 BLAKE2B b94c6d61ad4281db0a6178e758f5b7ce6017451d2fa4ec5b500aaf1717a65b4913d218c7f3ae08df73b1de8b1c14d7e5fdf41c91cfacb540739cf04b04ab8a39 SHA512 7207ba87607ea2fd4609a081c2f4b061344a783e188605e88df99fd473f2a8da1269b065e57b054f4622888d40aa8f2b8272dc4748334ddfe358b28d443d6ad1 diff --git a/app-forensics/libpff/libpff-20180714.ebuild b/app-forensics/libpff/libpff-20180714.ebuild new file mode 100644 index 000000000..73cfc1730 --- /dev/null +++ b/app-forensics/libpff/libpff-20180714.ebuild @@ -0,0 +1,69 @@ +# 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 Personal/Offline Folder File (PFF/OFF) format" +HOMEPAGE="https://github.com/libyal/libpff" +SRC_URI="https://github.com/libyal/libpff/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +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/libfmapi[nls=,threads=] + dev-libs/libfvalue[nls=] + dev-libs/libfwnt[nls=,threads=,python=] + dev-libs/libuna[nls=,unicode=] + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +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) \ + +} diff --git a/app-forensics/libpff/libpff-20211114.ebuild b/app-forensics/libpff/libpff-20211114.ebuild new file mode 100644 index 000000000..a19a66ea1 --- /dev/null +++ b/app-forensics/libpff/libpff-20211114.ebuild @@ -0,0 +1,69 @@ +# 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 Personal/Offline Folder File (PFF/OFF) format" +HOMEPAGE="https://github.com/libyal/libpff" +SRC_URI="https://github.com/libyal/libpff/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="nls unicode python +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/libfmapi[nls=,threads=] + dev-libs/libfvalue[nls=] + dev-libs/libfwnt[nls=,threads=,python=] + dev-libs/libuna[nls=,unicode=] + sys-libs/zlib +" +RDEPEND=" + ${DEPEND} + python? ( ${PYTHON_DEPS} ) +" + +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) \ + +} diff --git a/app-forensics/libpff/metadata.xml b/app-forensics/libpff/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/app-forensics/libpff/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +