re-applied changes to app-forensics/libvshadow

This commit is contained in:
Volker Wegert 2022-11-20 23:17:39 +01:00
parent 99e2331873
commit 5a7cad68bb
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
8 changed files with 191 additions and 52 deletions

View file

@ -1,4 +1,2 @@
DIST libvshadow-alpha-20191221.tar.gz 1445958 BLAKE2B a5dec2e41edb893d5cc7510a021db34f267b725c90993b7f867e58a0a630dbf61566e2bd248b463ccd68a1c402b20a69e6ea1d2441d95f2534578e22f6b32ffb SHA512 745d8916bb5d935207f2dd77a5fbd73ea4527ab16f75a44a17d8a2014a0d942fdf6f9937d7de752d78c598a419d5a05580afba1701ef836691e565510d32b62e
DIST libvshadow-alpha-20201222.tar.gz 1502469 BLAKE2B 039ab2c22b82125749d26b3b09fc819ccf4718634d4559c67c61fa11dce60f62f7e7be5a97a5545e575baa1e0a6972fa0d9b6fd776449a5a54c151eb3fbabec0 SHA512 7f7f6282704f87277ddb4168cea4fe95ab856f53a0652d3c80fab1e3cc8c98846f5403c1d9a1b74529a15e71544ad3be538c766ddea8e42f30253032acaf3251
DIST libvshadow-alpha-20210425.tar.gz 1502225 BLAKE2B 3d8879561885b241a8b8b1553de2b091b4ab1d56134549da1e23b0ab476abcd24c37d5c359127d4a5296c848c9baa28202d52cd18d21236c2fb0e238553ed453 SHA512 0d44929da5f795d461632b6177ba754a5968c1e351216c36c82bac71704f4a02d8513ced7aa34b9f051e844466816e38bd5c02e59977922dfd299a7996e793b8
DIST libvshadow-alpha-20211114.tar.gz 1503209 BLAKE2B a8b0427d268aa6c3f17f0fc4d3c0517aaa7a16d03aaa01632d4d4b9072c1b9a830bfb14296a20d8634aaa13bdab03df648ae98bf4146b5fe10b9d85600098ace SHA512 9300944259e9744c6933b5b76df25115113c563a9e272f985fe5cfd7984cd61c47a95ebd93ed53b2d10d3b6cfca31f99146347f89ea1b69e941ffa4bd22cdd38
DIST libvshadow-alpha-20221030.tar.gz 1542648 BLAKE2B e242dcc13db103ed9c18d8b9f659a55130aeb216e481d738a288c71a29a3168fedc5004cbedccde34260bced98d8a4eefd2dbb996d9fe8045cff31915650e168 SHA512 8a548786dd27b4ec860f729ada558218d9c1db7811c385a708841451bceacd2c2731eec29bb6c50f671e4db731a14c9545c19ab86a3b711f44673e8c873ea2d8

View file

@ -0,0 +1,65 @@
# 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 Volume Shadow Snapshot (VSS) format"
HOMEPAGE="https://github.com/libyal/libvshadow"
SRC_URI="https://github.com/libyal/libvshadow/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/libfdatetime[nls=]
dev-libs/libfguid[nls=]
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) \
}

View file

@ -1,72 +1,65 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit python-single-r1 eutils autotools
inherit autotools python-single-r1
DESCRIPTION="Library and tools to support the Volume Shadow Snapshot (VSS) format."
DESCRIPTION="Library and tools to access the Volume Shadow Snapshot (VSS) format"
HOMEPAGE="https://github.com/libyal/libvshadow"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
SRC_URI="https://github.com/libyal/libvshadow/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3+"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode python +fuse +threads debug"
#unicode: https://github.com/libyal/libvshadow/issues/17
IUSE="debug python nls unicode"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="nls? ( virtual/libintl
virtual/libiconv
)
python? ( dev-lang/python:* )
sys-fs/fuse:*
app-forensics/libbfio
>=dev-libs/libcdata-20190112
dev-libs/libcerror
dev-libs/libcfile
dev-libs/libclocale
dev-libs/libcnotify
dev-libs/libcpath
dev-libs/libcsplit
dev-libs/libcthreads
dev-libs/libfdatetime
dev-libs/libfguid
dev-libs/libuna
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
RDEPEND="${DEPEND}
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/libfdatetime[nls=]
dev-libs/libfguid[nls=]
dev-libs/libuna[nls=,unicode=]
"
RDEPEND="
${DEPEND}
python? ( ${PYTHON_DEPS} )
sys-fs/fuse"
fuse? ( sys-fs/fuse )
"
src_prepare() {
#upstream does not support its own shared libraries, let's fix that
eapply "${FILESDIR}/${PN}"_2019_autoconfig.patch
#workaround, see https://github.com/libyal/libvshadow/issues/10
# echo "#define HAVE_ERRNO_H 1" >> common/config.h.in
#makefile was created with 1.16, let's regenerate it
eautoreconf
eapply_user
}
src_configure() {
econf $(use_enable python) \
$(use_enable python python3) \
$(use_enable unicode wide-character-type) \
econf \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output)
# \
# --with-libcdata --with-libcerror --with-libcfile \
# --with-libclocale --with-libcnotify --with-libcpath \
# --with-libcsplit --with-libcthreads --with-libfdatetime \
# --with-libfguid --with-libuna
$(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) \
}

View file

@ -0,0 +1,72 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit python-single-r1 eutils autotools
DESCRIPTION="Library and tools to support the Volume Shadow Snapshot (VSS) format."
HOMEPAGE="https://github.com/libyal/libvshadow"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#unicode: https://github.com/libyal/libvshadow/issues/17
IUSE="debug python nls unicode"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="nls? ( virtual/libintl
virtual/libiconv
)
python? ( dev-lang/python:* )
sys-fs/fuse:*
app-forensics/libbfio
>=dev-libs/libcdata-20190112
dev-libs/libcerror
dev-libs/libcfile
dev-libs/libclocale
dev-libs/libcnotify
dev-libs/libcpath
dev-libs/libcsplit
dev-libs/libcthreads
dev-libs/libfdatetime
dev-libs/libfguid
dev-libs/libuna
"
RDEPEND="${DEPEND}
python? ( ${PYTHON_DEPS} )
sys-fs/fuse"
src_prepare() {
#upstream does not support its own shared libraries, let's fix that
eapply "${FILESDIR}/${PN}"_2019_autoconfig.patch
#workaround, see https://github.com/libyal/libvshadow/issues/10
# echo "#define HAVE_ERRNO_H 1" >> common/config.h.in
#makefile was created with 1.16, let's regenerate it
eautoreconf
eapply_user
}
src_configure() {
econf $(use_enable python) \
$(use_enable python python3) \
$(use_enable unicode wide-character-type) \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output)
# \
# --with-libcdata --with-libcerror --with-libcfile \
# --with-libclocale --with-libcnotify --with-libcpath \
# --with-libcsplit --with-libcthreads --with-libfdatetime \
# --with-libfguid --with-libuna
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<use>
<flag name="fuse">Enable FUSE support</flag>
</use>
</pkgmetadata>