From 13e6b3f754b170760fb4622243b7a4844ca666f6 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Sun, 20 Nov 2022 23:08:33 +0100 Subject: [PATCH] re-applied changes to app-forensics/libevtx --- app-forensics/libevtx/Manifest | 2 + app-forensics/libevtx/libevtx-20220724.ebuild | 72 +++++++++++++++++++ app-forensics/libevtx/libevtx-20221101.ebuild | 72 +++++++++++++++++++ app-forensics/libevtx/metadata.xml | 8 +++ 4 files changed, 154 insertions(+) create mode 100644 app-forensics/libevtx/Manifest create mode 100644 app-forensics/libevtx/libevtx-20220724.ebuild create mode 100644 app-forensics/libevtx/libevtx-20221101.ebuild create mode 100644 app-forensics/libevtx/metadata.xml diff --git a/app-forensics/libevtx/Manifest b/app-forensics/libevtx/Manifest new file mode 100644 index 000000000..33c237f9a --- /dev/null +++ b/app-forensics/libevtx/Manifest @@ -0,0 +1,2 @@ +DIST libevtx-alpha-20220724.tar.gz 2067695 BLAKE2B 2e99ff6daeca2168e6c4625e3734cb82a530e82c3ccfb2a0f3f84a0cd3b05fafbb1fd7044cac3cbfb05e1e75620c3fb8b8cb7670273cb2cbc816c2fb3694fe15 SHA512 701b3cb3106faeeab5ae50e2ebca921ee02572cf211e7f0c8730352866d687bbc2c6b1950b6259009aedf6100405e9132a91f641618ab9436edfc085089c2cb8 +DIST libevtx-alpha-20221101.tar.gz 2062092 BLAKE2B 7fbc4a7d1c1702b84fad14576d7217e33388a78b4b1c8c927d101c3a5576cc10203a125b571511b45c8474651cfa8cc2f91c3349215521dc0fd19bd44f787a3f SHA512 01cb4dada43235768cd0f0dbec4b47ffcde44ea2474c5b73c333010bd62c88d2aedd41702468b421d21f6a842f3f07817fbb738cd2dd7166a9f957041a232422 diff --git a/app-forensics/libevtx/libevtx-20220724.ebuild b/app-forensics/libevtx/libevtx-20220724.ebuild new file mode 100644 index 000000000..18649790f --- /dev/null +++ b/app-forensics/libevtx/libevtx-20220724.ebuild @@ -0,0 +1,72 @@ +# 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 XML Event Log (EVTX) format" +HOMEPAGE="https://github.com/libyal/libevtx" +SRC_URI="https://github.com/libyal/libevtx/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/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=] + app-forensics/libexe[nls=,unicode=,threads=,python=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=,threads=] + dev-libs/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfvalue[nls=] + dev-libs/libfwevt[nls=,threads=,python=] + dev-libs/libfwnt[nls=,threads=,python=] + app-forensics/libregf[nls=,unicode=,threads=,python=] + dev-libs/libuna[nls=,unicode=] + dev-libs/libwrc[nls=,unicode=,threads=,python=] +" +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/libevtx/libevtx-20221101.ebuild b/app-forensics/libevtx/libevtx-20221101.ebuild new file mode 100644 index 000000000..18649790f --- /dev/null +++ b/app-forensics/libevtx/libevtx-20221101.ebuild @@ -0,0 +1,72 @@ +# 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 XML Event Log (EVTX) format" +HOMEPAGE="https://github.com/libyal/libevtx" +SRC_URI="https://github.com/libyal/libevtx/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/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=] + app-forensics/libexe[nls=,unicode=,threads=,python=] + dev-libs/libfcache[nls=] + dev-libs/libfdata[nls=,threads=] + dev-libs/libfdatetime[nls=] + dev-libs/libfguid[nls=] + dev-libs/libfvalue[nls=] + dev-libs/libfwevt[nls=,threads=,python=] + dev-libs/libfwnt[nls=,threads=,python=] + app-forensics/libregf[nls=,unicode=,threads=,python=] + dev-libs/libuna[nls=,unicode=] + dev-libs/libwrc[nls=,unicode=,threads=,python=] +" +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/libevtx/metadata.xml b/app-forensics/libevtx/metadata.xml new file mode 100644 index 000000000..ace7c2d3a --- /dev/null +++ b/app-forensics/libevtx/metadata.xml @@ -0,0 +1,8 @@ + + + + + unknown@pentoo.ch + Author Unknown + +