From 658f2b0a36a4c9560b537bd10f6df186110999ab Mon Sep 17 00:00:00 2001 From: blshkv Date: Fri, 17 Nov 2017 09:35:43 +0800 Subject: [PATCH] libewf: v20171104 bump --- app-forensics/libewf/Manifest | 1 + app-forensics/libewf/libewf-20170703.ebuild | 2 - app-forensics/libewf/libewf-20171104.ebuild | 117 ++++++++++++++++++ .../package.accept_keywords/app-forensics | 3 +- 4 files changed, 120 insertions(+), 3 deletions(-) create mode 100644 app-forensics/libewf/libewf-20171104.ebuild diff --git a/app-forensics/libewf/Manifest b/app-forensics/libewf/Manifest index a68a77e4e..75187fb35 100644 --- a/app-forensics/libewf/Manifest +++ b/app-forensics/libewf/Manifest @@ -1 +1,2 @@ DIST libewf-experimental-20170703.tar.gz 2230913 SHA256 84fe12389abacf63dea2d921b636220bb7fda3262d1c467f6d445a5e31f53ade SHA512 ae0706f3d087ae094a19f13a9cb393163eefb4aca34283c35f0eedbe3468890e0c23f88f9cccc1fecc7fe48a7bf71c634e916fd0f54d83c559f0a74b3536ee62 WHIRLPOOL 02baa01e08bce0e2ca6a276ecdba771ffbd04183e41b24dba5e8ec624c6d34db695abe1a028adf75c02cd417de0062296fdba6678e45cceacc1a2e1e2d510759 +DIST libewf-experimental-20171104.tar.gz 2243405 SHA256 cf36d3baf3a96dbe566fde55ae7d79fc2e7b998806ab13e0f69915799f19e040 SHA512 610174971b8e09385f1f51c02e7be36e7a18d21f8b22ddeb7ba7d5c20e7df97591a70de3523b2d63bed8deb5a2a170a14e825f6a80aeb0937553ecae5925ee0b WHIRLPOOL df59db278e8eb3b2ffe5b9866eb6cfc7ef7ae7887be24f45fec9ffa54529f8d1de297f6a30d60838738458422018608f79821b98c73f720eeabebbe798238bbe diff --git a/app-forensics/libewf/libewf-20170703.ebuild b/app-forensics/libewf/libewf-20170703.ebuild index cf3af3a06..17d37e40e 100644 --- a/app-forensics/libewf/libewf-20170703.ebuild +++ b/app-forensics/libewf/libewf-20170703.ebuild @@ -114,6 +114,4 @@ src_configure() { fi econf ${myconf[@]} - } - diff --git a/app-forensics/libewf/libewf-20171104.ebuild b/app-forensics/libewf/libewf-20171104.ebuild new file mode 100644 index 000000000..c4ac48c99 --- /dev/null +++ b/app-forensics/libewf/libewf-20171104.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit versionator autotools python-r1 + +MY_DATE="$(get_version_component_range 1)" + +DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format" +HOMEPAGE="https://github.com/libyal/libewf/" +SRC_URI="https://github.com/libyal/${PN}/releases/download/${MY_DATE}/${PN}-experimental-${MY_DATE}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/3" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="debug ewf fuse python nls ssl unicode uuid zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="mirror" + +DEPEND=" + sys-libs/zlib + fuse? ( sys-fs/fuse ) + uuid? ( || ( + >=sys-apps/util-linux-2.16 + <=sys-libs/e2fsprogs-libs-1.41.8 + sys-darwin/libsystem + ) ) + ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib ) + nls? ( + virtual/libintl + virtual/libiconv + ) + dev-libs/libuna + app-forensics/libbfio + python? ( ${PYTHON_DEPS} ) + + dev-libs/libcerror + dev-libs/libcthreads + dev-libs/libcdata + dev-libs/libcdatetime + dev-libs/libclocale + dev-libs/libcnotify + dev-libs/libcsplit + dev-libs/libuna + dev-libs/libcfile + dev-libs/libcpath + dev-libs/libfcache + dev-libs/libfdata + dev-libs/libfguid + dev-libs/libfvalue + + dev-libs/libsmdev +" +TOBE_ADDED=" + dev-libs/libbfio + dev-libs/libcaes + dev-libs/libodraw + dev-libs/libsmraw + +" +RDEPEND="${DEPEND}" + +#https://github.com/libyal/libewf/issues/85 +# dev-libs/libcfile must be with libsmdev + +TEST=" + ADLER32 checksum support: zlib + DEFLATE compression support: zlib + BZIP2 compression support: bzip2 + libhmac support: local + MD5 support: libcrypto_evp + SHA1 support: libcrypto_evp + SHA256 support: libcrypto_evp + AES support: libcrypto_evp +" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +DOCS=( AUTHORS ChangeLog NEWS README ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local myconf=( + $(use_enable debug debug-output) + $(use_enable debug verbose-output) + $(use_enable ewf v1-api) + $(use_enable python) + $(use_enable nls) + $(use_with nls libiconv-prefix) + $(use_with nls libintl-prefix) + $(use_enable unicode wide-character-type) + $(use_with zlib) + $(use_with ssl openssl) + $(use_with uuid libuuid) + $(use_with fuse libfuse) + ) + + if use python ; then + #todo: make python2 optional + myconf+=( --enable-python2 ) + prepare_python() { + if python_is_python3; then + myconf+=( --enable-python3 ) + fi + } + python_foreach_impl run_in_build_dir prepare_python + fi + + econf ${myconf[@]} +} diff --git a/profiles/pentoo/base/package.accept_keywords/app-forensics b/profiles/pentoo/base/package.accept_keywords/app-forensics index f38fd253c..0cf37287c 100644 --- a/profiles/pentoo/base/package.accept_keywords/app-forensics +++ b/profiles/pentoo/base/package.accept_keywords/app-forensics @@ -23,7 +23,8 @@ app-forensics/libvshadow =app-forensics/origami-pdf-2.0* -~app-forensics/libewf-20170703 +#=app-forensics/libewf-2017* +app-forensics/libewf ~app-forensics/sleuthkit-4.1.3