From 410328d7a3f67958885533beba1217d0a7b9dfe6 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 23:07:53 +0100 Subject: [PATCH] re-applied changes to app-forensics/libregf --- app-forensics/libregf/Manifest | 2 + app-forensics/libregf/libregf-20220131.ebuild | 67 +++++++++++++++++++ app-forensics/libregf/libregf-20221026.ebuild | 67 +++++++++++++++++++ app-forensics/libregf/metadata.xml | 11 +++ 4 files changed, 147 insertions(+) create mode 100644 app-forensics/libregf/Manifest create mode 100644 app-forensics/libregf/libregf-20220131.ebuild create mode 100644 app-forensics/libregf/libregf-20221026.ebuild create mode 100644 app-forensics/libregf/metadata.xml diff --git a/app-forensics/libregf/Manifest b/app-forensics/libregf/Manifest new file mode 100644 index 000000000..159cdcb88 --- /dev/null +++ b/app-forensics/libregf/Manifest @@ -0,0 +1,2 @@ +DIST libregf-alpha-20220131.tar.gz 1716321 BLAKE2B 1aca3c8f75852778663a7a4b338208c891e95208d585cf8cba5718139666aabc4a5a4c2adba34a2040fe7f7be0e018412fec069ee611cca478a7d224f5bf1500 SHA512 2b5d6b5a9611691ad1bc53383262d45f262a384194f1a66184e0aff39bea0a550f376b1902f70f3e09454f707df62ce37be6bfb5bd880f960b7e7281bc14e601 +DIST libregf-alpha-20221026.tar.gz 1729466 BLAKE2B 93d1fe1a8783d8dd5f4d4129aced052945452f8324e4414cdb9daf71f714fe56fe772793cdd7d874c8cf34416cff2b45d0177b57c2761ad2dc48ceaa5621d53c SHA512 6cbb2f5c7790275c53d2cfa56793b56a1936c721968d482a01288437785a3814b6f000fff7306198f0761db8005153e5f5d59099c20f10dc5877de74bf278310 diff --git a/app-forensics/libregf/libregf-20220131.ebuild b/app-forensics/libregf/libregf-20220131.ebuild new file mode 100644 index 000000000..3181d464d --- /dev/null +++ b/app-forensics/libregf/libregf-20220131.ebuild @@ -0,0 +1,67 @@ +# 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 NT Registry File (REGF) format" +HOMEPAGE="https://github.com/libyal/libregf" +SRC_URI="https://github.com/libyal/libregf/releases/download/${PV}/${PN}-alpha-${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/libfwnt[nls=,threads=,python=] + 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/libregf/libregf-20221026.ebuild b/app-forensics/libregf/libregf-20221026.ebuild new file mode 100644 index 000000000..3181d464d --- /dev/null +++ b/app-forensics/libregf/libregf-20221026.ebuild @@ -0,0 +1,67 @@ +# 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 NT Registry File (REGF) format" +HOMEPAGE="https://github.com/libyal/libregf" +SRC_URI="https://github.com/libyal/libregf/releases/download/${PV}/${PN}-alpha-${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/libfwnt[nls=,threads=,python=] + 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/libregf/metadata.xml b/app-forensics/libregf/metadata.xml new file mode 100644 index 000000000..8d6997c48 --- /dev/null +++ b/app-forensics/libregf/metadata.xml @@ -0,0 +1,11 @@ + + + + + unknown@pentoo.ch + Author Unknown + + + Enable FUSE support + +