diff --git a/app-forensics/libvshadow/Manifest b/app-forensics/libvshadow/Manifest index e24337084..0ccc3051c 100644 --- a/app-forensics/libvshadow/Manifest +++ b/app-forensics/libvshadow/Manifest @@ -1,2 +1,3 @@ DIST libvshadow-alpha-20181216.tar.gz 1415238 BLAKE2B 9b89a278443bbf203ad4a458a9b330d92400a1c8c711075c612c054e0506180af29a7f3b62960440edd92301e2f17e9f620705ac3396a0e10d634568a176dde2 SHA512 3deaa92d1c9e7ddfb6f2dac441c1e4d16bed376a163b2f4283056fb7d4f4bb91b4f378edf1908caf55fa32e5e09b3a9eb580d2fd8209fafd24257eaec2f1584f DIST libvshadow-alpha-20190127.tar.gz 1431067 BLAKE2B 60ce02306dbfc17ccadb4383cc6f7c9be625a14c48aba1b6f9249543226ee9ecd3621ad2f027df44a5e4532e784e5e363d55a795c60ed7717574f4d5f9fc66dc SHA512 db09898316f3e390b76a278b8a4f3c3e6e8054b5921975d8adf11241fcc03ff81d8595318f852153155e5931dd7bd448c38565e81d6880b95dba952d83930921 +DIST libvshadow-alpha-20190323.tar.gz 1431122 BLAKE2B f39bfa2f6dca339ac15cb3809f6b86cd12efd9dfa9efcaf1d0c6ac78dcd354f3fb168ec84d973ecc7dcaabc69cdcf9bffdf070fbdac114d599dcecf300ed74e9 SHA512 0563e8742c7dae5420ba1f425f1fc96f62d8930a347a00d244d382d4d76194c3bfee4f3def7d03efaf18f78f1af4fa822d43ff8df7b449e7fb61ad657e59fc84 diff --git a/app-forensics/libvshadow/libvshadow-20190323.ebuild b/app-forensics/libvshadow/libvshadow-20190323.ebuild new file mode 100644 index 000000000..d421fe360 --- /dev/null +++ b/app-forensics/libvshadow/libvshadow-20190323.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +#FIXME: add python3 support +PYTHON_COMPAT=( python2_7 ) +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 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 +}