mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
libvshadow: 20180403 snapshot
This commit is contained in:
parent
1e0af894cc
commit
dde78977f5
3 changed files with 157 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST libvshadow-alpha-20170902.tar.gz 1395385 SHA256 9e23a14ee08ad4cc218c63ec8ca350b4951e347ccf3040c365860a399730f261 SHA512 9b47beea075fcc59a77fc2a958badca95bc41c5bff0c80968628e2509223e73caf5e67c3fa4ec1412001d948355bda3720838fab5d77008642cf61ac980dfb1c WHIRLPOOL 9de7bdb6bfec02d0cf2db24f45409e3031b6a1fd0084cd9ecafc27cd86220e7c6dea1fcf3380599de46dd1714fc51287c6f656654947c1b31ebc3cda465e7b8f
|
||||
DIST libvshadow-20180403.tar.gz 200010 BLAKE2B 235ec671be0cb4d2a5a30110fd2db03127d68fd5003d312248ae9d4b7e864a203d5743b2bf88d369fae74c25f8b69495352199ba97e46c68c1d634f83aa1d8cc SHA512 f0a3d7068c822b610a54a447a9fdffe887e511f653ac480a424fc64f5dc995bc7448bbe47e15258307f7da5df4e19ec02e0bb6b9d224d02b9bd5f744bf4f6a23
|
||||
DIST libvshadow-alpha-20170902.tar.gz 1395385 BLAKE2B f85b4425e9ff1b6d162df8c5731843fbf0947ee24bb6984b4402717db999861f78858a192b5443001f23b56efc7abd382b569a93ea1cb4178ed882926ec33b23 SHA512 9b47beea075fcc59a77fc2a958badca95bc41c5bff0c80968628e2509223e73caf5e67c3fa4ec1412001d948355bda3720838fab5d77008642cf61ac980dfb1c
|
||||
|
|
|
|||
80
app-forensics/libvshadow/files/libvshadow_autoconfig.patch
Normal file
80
app-forensics/libvshadow/files/libvshadow_autoconfig.patch
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
--- configure.ac.orig 2018-04-03 11:49:13.000000000 +0800
|
||||
+++ configure.ac 2018-06-14 08:34:31.689090630 +0800
|
||||
@@ -187,18 +187,6 @@
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([include/Makefile])
|
||||
AC_CONFIG_FILES([common/Makefile])
|
||||
-AC_CONFIG_FILES([libcerror/Makefile])
|
||||
-AC_CONFIG_FILES([libcthreads/Makefile])
|
||||
-AC_CONFIG_FILES([libcdata/Makefile])
|
||||
-AC_CONFIG_FILES([libclocale/Makefile])
|
||||
-AC_CONFIG_FILES([libcnotify/Makefile])
|
||||
-AC_CONFIG_FILES([libcsplit/Makefile])
|
||||
-AC_CONFIG_FILES([libuna/Makefile])
|
||||
-AC_CONFIG_FILES([libcfile/Makefile])
|
||||
-AC_CONFIG_FILES([libcpath/Makefile])
|
||||
-AC_CONFIG_FILES([libbfio/Makefile])
|
||||
-AC_CONFIG_FILES([libfdatetime/Makefile])
|
||||
-AC_CONFIG_FILES([libfguid/Makefile])
|
||||
AC_CONFIG_FILES([libvshadow/Makefile])
|
||||
AC_CONFIG_FILES([pyvshadow/Makefile])
|
||||
AC_CONFIG_FILES([pyvshadow-python2/Makefile])
|
||||
--- Makefile.am.orig 2018-04-03 11:49:13.000000000 +0800
|
||||
+++ Makefile.am 2018-06-14 08:32:15.641081496 +0800
|
||||
@@ -3,18 +3,6 @@
|
||||
SUBDIRS = \
|
||||
include \
|
||||
common \
|
||||
- libcerror \
|
||||
- libcthreads \
|
||||
- libcdata \
|
||||
- libclocale \
|
||||
- libcnotify \
|
||||
- libcsplit \
|
||||
- libuna \
|
||||
- libcfile \
|
||||
- libcpath \
|
||||
- libbfio \
|
||||
- libfdatetime \
|
||||
- libfguid \
|
||||
libvshadow \
|
||||
vshadowtools \
|
||||
pyvshadow \
|
||||
@@ -75,18 +63,6 @@
|
||||
|
||||
library:
|
||||
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/libvshadow && $(MAKE) $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
|
||||
|
||||
@@ -103,18 +79,6 @@
|
||||
done && test -z "$$fail"
|
||||
|
||||
splint:
|
||||
- (cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcdata && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libclocale && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcsplit && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcfile && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libcpath && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libbfio && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfdatetime && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
- (cd $(srcdir)/libfguid && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/libvshadow && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/vshadowtools && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
(cd $(srcdir)/pyvshadow && $(MAKE) splint $(AM_MAKEFLAGS))
|
||||
75
app-forensics/libvshadow/libvshadow-20180403.ebuild
Normal file
75
app-forensics/libvshadow/libvshadow-20180403.ebuild
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
#FIXME: add python3 support
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-single-r1 eutils
|
||||
|
||||
COMMIT_HASH="3e58d2808093f255df13abcce70ead809b29c62a"
|
||||
|
||||
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}/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
#unicode: https://github.com/libyal/libvshadow/issues/17
|
||||
IUSE="debug python nls"
|
||||
|
||||
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
|
||||
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"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
|
||||
|
||||
src_prepare() {
|
||||
#https://github.com/libyal/libcthreads/issues/6
|
||||
#sed -i -e '/libcerror\/Makefile/d' configure.ac
|
||||
#sed -i -e '/libcerror/d' Makefile.am
|
||||
epatch "${FILESDIR}/${PN}"_autoconfig.patch
|
||||
|
||||
#workaround, see https://github.com/libyal/libvshadow/issues/10
|
||||
echo "#define HAVE_ERRNO_H 1" >> common/config.h.in
|
||||
./autogen.sh
|
||||
eapply_user
|
||||
}
|
||||
|
||||
# $(use_enable unicode wide-character-type) \
|
||||
src_configure() {
|
||||
econf $(use_enable python) \
|
||||
$(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
|
||||
}
|
||||
Loading…
Reference in a new issue