re-applied changes to app-forensics/libnsfdb

This commit is contained in:
Volker Wegert 2022-11-20 23:14:46 +01:00
parent 99e2331873
commit 0e42fd826e
No known key found for this signature in database
GPG key ID: 1BCEC13D2F171EC4
5 changed files with 138 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST libnsfdb-experimental-20160324.tar.gz 1432263 BLAKE2B 9cf29e9e7a78b6a6f951e59fcf519f9d39e0022caafa801fcf4ec9c7a5ef57f09145086db67fb69c5a1d4b4b4d01001459c1a493dd008e1c37f424e512d38d9a SHA512 eba3ac7b41432421725003be5b5e1a17578fbc8ca9da624e55af12a6ef57056bd4b70ae37149a97c6e2758654b116bb79793bbb709047d6dc927b106c47d77ba
DIST libnsfdb-experimental-20170128.tar.gz 1451460 BLAKE2B ddb0464025f40d04445a927cc12825332e91d2b49c8cec1437f8ca744a7c6d0accb07f095ef4cd83b726c4f82db66a4b9f087bffbb700d2c727f9577e37e2879 SHA512 4485c3e5608d39a496559affe8613bd905e3c030587c842087c37361ecde7588bf1eea3ddfba88543fb09b786cc55ded0c8092a7c9266dd7f0ef06146b0fc3f3

View file

@ -0,0 +1,10 @@
--- a/libnsfdb/libnsfdb_bucket_list.c.orig 2022-11-20 16:17:05.473665642 +0100
+++ b/libnsfdb/libnsfdb_bucket_list.c 2022-11-20 16:23:34.490332009 +0100
@@ -25,6 +25,7 @@
#include "libnsfdb_bucket.h"
#include "libnsfdb_libbfio.h"
#include "libnsfdb_libcerror.h"
+#include "libnsfdb_libfcache.h"
#include "libnsfdb_libfdata.h"
/* Retrieves a specific summary or non summary bucket

View file

@ -0,0 +1,59 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library and tools to access the Notes Storage Facility (NSF) file format"
HOMEPAGE="https://github.com/libyal/libnsfdb"
SRC_URI="https://github.com/libyal/libnsfdb/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode +threads debug"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
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/libfvalue[nls=]
dev-libs/libuna[nls=,unicode=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
# workaround for https://github.com/libyal/libnsfdb/issues/9
eapply "${FILESDIR}/2022-11-libnsfdb_bucket_list_include_libfcache.patch"
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) \
}

View file

@ -0,0 +1,59 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Library and tools to access the Notes Storage Facility (NSF) file format"
HOMEPAGE="https://github.com/libyal/libnsfdb"
SRC_URI="https://github.com/libyal/libnsfdb/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="nls unicode +threads debug"
DEPEND="
nls? (
virtual/libiconv
virtual/libintl
)
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/libfvalue[nls=]
dev-libs/libuna[nls=,unicode=]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
# workaround for https://github.com/libyal/libnsfdb/issues/9
eapply "${FILESDIR}/2022-11-libnsfdb_bucket_list_include_libfcache.patch"
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) \
}

View file

@ -0,0 +1,8 @@
<?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>
</pkgmetadata>