Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/libewf/
Date: Tue, 12 Dec 2017 02:52:09
Message-Id: 1513047062.be3d7f08f2496cd21802420d5d5d16fb78f38c72.gokturk@gentoo
1 commit: be3d7f08f2496cd21802420d5d5d16fb78f38c72
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 12 02:50:32 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 12 02:51:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3d7f08
7
8 app-forensics/libewf: fix the build failure #568738
9
10 Backport a patch from upstream that marks some inlined functions,
11 which cause undefined symbol errors, un-inlined so that linking
12 succeeds.
13
14 Closes: https://bugs.gentoo.org/568738
15 Package-Manager: Portage-2.3.13, Repoman-2.3.3
16
17 app-forensics/libewf/Manifest | 1 +
18 app-forensics/libewf/libewf-20140608-r1.ebuild | 56 ++++++++++++++++++++++++++
19 2 files changed, 57 insertions(+)
20
21 diff --git a/app-forensics/libewf/Manifest b/app-forensics/libewf/Manifest
22 index 0632e197e7d..b6ddeb6103e 100644
23 --- a/app-forensics/libewf/Manifest
24 +++ b/app-forensics/libewf/Manifest
25 @@ -1,2 +1,3 @@
26 DIST libewf-20130416.tar.gz 1968288 BLAKE2B a61cd2239bfc12b1107bf3c6f68106027a1b08ca644dd8d8ca9dda331f902d1ba2e74dc516a3ed1dbf90f2926c7f654496bf6dd103d5c3f615bab653c8616fd0 SHA512 e84e920dfe6e5a313bc165b1796ab9681c5b42fdefc7120b4f1c0f4e42b220d8192e03df2707051cf16f4cc991facdfdbd39042dcfb645ac7a27b549e02bd96e
27 +DIST libewf-20140608-libuna-remove-inline.patch 34909 BLAKE2B e0b4fdcdf3e791992f32bd5251d3a5e6c8d193fe33508620e040ae11c83cf0c308ffd9cce31b548be03e6ec3c0a0623eb25a1731d402296908923d2c6643bbc0 SHA512 01b82d1ebe921a3b572ba061886bddc76d57c6e13f7997ca139baf790d3be7a8e855a50a05915788a7afb85afd46f9cd638c279ba57f7c36398dadd94bc32fc7
28 DIST libewf-20140608.tar.gz 2129518 BLAKE2B aaa8e95f243e887494c5a50c1706864b4613e5731aa49ec2d2510b81984be9df70eeb18c1d5c56f97894536d55a16c2496eae8c662f6ab54e29c142f460fb188 SHA512 f77f01e3452027bff71e644708744e0774e1e397c70e2ebd687983730f03ffb01b26fec782bec79971e149caac5029484f3d9073c3a8042df951bfc542fe2436
29
30 diff --git a/app-forensics/libewf/libewf-20140608-r1.ebuild b/app-forensics/libewf/libewf-20140608-r1.ebuild
31 new file mode 100644
32 index 00000000000..4f45bb342f1
33 --- /dev/null
34 +++ b/app-forensics/libewf/libewf-20140608-r1.ebuild
35 @@ -0,0 +1,56 @@
36 +# Copyright 1999-2017 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=5
40 +
41 +AUTOTOOLS_AUTORECONF=1
42 +inherit eutils autotools-utils
43 +
44 +DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
45 +HOMEPAGE="https://github.com/libyal/libewf"
46 +SRC_URI="https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/${P}.tar.gz
47 + https://dev.gentoo.org/~gokturk/distfiles/app-forensics/libewf/libewf-20140608-libuna-remove-inline.patch"
48 +
49 +LICENSE="BSD"
50 +SLOT="0/2"
51 +KEYWORDS="~amd64 ~hppa ~ppc ~x86"
52 +# upstream bug #2597171, pyewf has implicit declarations
53 +#IUSE="debug python unicode"
54 +IUSE="bfio debug ewf +fuse +ssl static-libs +uuid unicode zlib"
55 +
56 +DEPEND="
57 + sys-libs/zlib
58 + bfio? ( =app-forensics/libbfio-0.0.20120425_alpha )
59 + fuse? ( sys-fs/fuse:= )
60 + uuid? ( sys-apps/util-linux )
61 + ssl? ( dev-libs/openssl:0= )
62 + zlib? ( sys-libs/zlib )"
63 +RDEPEND="${DEPEND}"
64 +
65 +AUTOTOOLS_IN_SOURCE_BUILD=1
66 +
67 +PATCHES=( "${DISTDIR}"/${P}-libuna-remove-inline.patch )
68 +
69 +DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt )
70 +
71 +src_configure() {
72 + local myeconfargs=(
73 + $(use_enable debug debug-output)
74 + $(use_enable debug verbose-output)
75 + $(use_enable ewf v1-api)
76 + $(use_enable unicode wide-character-type)
77 + $(use_with zlib)
78 + # autodetects bzip2 but does not use
79 + --without-bzip2
80 + $(use_with bfio libbfio)
81 + $(use_with ssl openssl)
82 + $(use_with uuid libuuid)
83 + $(use_with fuse libfuse)
84 + )
85 + autotools-utils_src_configure
86 +}
87 +
88 +src_install() {
89 + autotools-utils_src_install
90 + doman manuals/*.1 manuals/*.3
91 +}