From 6ffece6f9b2bd3fe8d71ce192eea38acbec25742 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 23:13:16 +0100 Subject: [PATCH] re-applied changes to app-forensics/libfsntfs --- app-forensics/libfsntfs/Manifest | 2 + .../libfsntfs/libfsntfs-20220220.ebuild | 71 +++++++++++++++++++ .../libfsntfs/libfsntfs-20221023.ebuild | 71 +++++++++++++++++++ app-forensics/libfsntfs/metadata.xml | 11 +++ 4 files changed, 155 insertions(+) create mode 100644 app-forensics/libfsntfs/Manifest create mode 100644 app-forensics/libfsntfs/libfsntfs-20220220.ebuild create mode 100644 app-forensics/libfsntfs/libfsntfs-20221023.ebuild create mode 100644 app-forensics/libfsntfs/metadata.xml diff --git a/app-forensics/libfsntfs/Manifest b/app-forensics/libfsntfs/Manifest new file mode 100644 index 000000000..f420ecb8b --- /dev/null +++ b/app-forensics/libfsntfs/Manifest @@ -0,0 +1,2 @@ +DIST libfsntfs-experimental-20220220.tar.gz 2109754 BLAKE2B 1c1b66b7d634537bff9708303054262af80b7e0df6b92c5d509eceb7c366899f9ff95e602313cb83aca1e36acc8984a33f079332f3b99cb0fce1fd391c870e4b SHA512 93f3fda7495f5cab75c6ac2dbeedcb8c3d3853beb412bc6c87e86385eb00f100d59526e732aac25971a4d1772a5f1f01ca931e187fe57866f796bacd1fd8fb56 +DIST libfsntfs-experimental-20221023.tar.gz 2119213 BLAKE2B 2f003c5ad0b7bb3f8827d3f1eb603e3a2279cf182affd0d630eb7dcc7aeff6dd377a650ff1c5f0798b4d675419800047c5ea0fa571c90d0df0dfe7f39ed7286a SHA512 d8567de3ec22e55a18e253f5c388890c4e4e26786f7d5752ac3f136674b97cdb821b4a6bdf93d779748f7a5f41edcd4faebae29c6429c96304026038b36ad434 diff --git a/app-forensics/libfsntfs/libfsntfs-20220220.ebuild b/app-forensics/libfsntfs/libfsntfs-20220220.ebuild new file mode 100644 index 000000000..9694ee901 --- /dev/null +++ b/app-forensics/libfsntfs/libfsntfs-20220220.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 Windows New Technology File System (NTFS)" +HOMEPAGE="https://github.com/libyal/libfsntfs" +SRC_URI="https://github.com/libyal/libfsntfs/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/libfusn[nls=] + dev-libs/libfwnt[nls=,threads=,python=] + dev-libs/libhmac[nls=,unicode=,threads=] + dev-libs/libuna[nls=,unicode=] + dev-libs/openssl +" +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/libfsntfs/libfsntfs-20221023.ebuild b/app-forensics/libfsntfs/libfsntfs-20221023.ebuild new file mode 100644 index 000000000..9694ee901 --- /dev/null +++ b/app-forensics/libfsntfs/libfsntfs-20221023.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 Windows New Technology File System (NTFS)" +HOMEPAGE="https://github.com/libyal/libfsntfs" +SRC_URI="https://github.com/libyal/libfsntfs/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/libfusn[nls=] + dev-libs/libfwnt[nls=,threads=,python=] + dev-libs/libhmac[nls=,unicode=,threads=] + dev-libs/libuna[nls=,unicode=] + dev-libs/openssl +" +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/libfsntfs/metadata.xml b/app-forensics/libfsntfs/metadata.xml new file mode 100644 index 000000000..8d6997c48 --- /dev/null +++ b/app-forensics/libfsntfs/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Enable FUSE support + +