* [gentoo-commits] repo/gentoo:master commit in: app-forensics/libewf/, app-forensics/libewf/files/
@ 2018-11-11 13:07 Pacho Ramos
0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-11-11 13:07 UTC (permalink / raw
To: gentoo-commits
commit: 706e2ada58a2c9c18e3c8f0ace2b6dbf6e562b75
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 11 11:28:42 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 13:07:18 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706e2ada
app-forensics/libewf: Drop old
Bug: https://bugs.gentoo.org/630400
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
app-forensics/libewf/Manifest | 3 --
.../libewf-20140608-fix-tmpdir-in-tests.patch | 33 ------------
app-forensics/libewf/libewf-20130416.ebuild | 53 --------------------
app-forensics/libewf/libewf-20140608-r1.ebuild | 58 ----------------------
app-forensics/libewf/metadata.xml | 2 -
5 files changed, 149 deletions(-)
diff --git a/app-forensics/libewf/Manifest b/app-forensics/libewf/Manifest
index 3c2cb5ad78e..b8ed65882ce 100644
--- a/app-forensics/libewf/Manifest
+++ b/app-forensics/libewf/Manifest
@@ -1,4 +1 @@
-DIST libewf-20130416.tar.gz 1968288 BLAKE2B a61cd2239bfc12b1107bf3c6f68106027a1b08ca644dd8d8ca9dda331f902d1ba2e74dc516a3ed1dbf90f2926c7f654496bf6dd103d5c3f615bab653c8616fd0 SHA512 e84e920dfe6e5a313bc165b1796ab9681c5b42fdefc7120b4f1c0f4e42b220d8192e03df2707051cf16f4cc991facdfdbd39042dcfb645ac7a27b549e02bd96e
-DIST libewf-20140608-libuna-remove-inline.patch 34909 BLAKE2B e0b4fdcdf3e791992f32bd5251d3a5e6c8d193fe33508620e040ae11c83cf0c308ffd9cce31b548be03e6ec3c0a0623eb25a1731d402296908923d2c6643bbc0 SHA512 01b82d1ebe921a3b572ba061886bddc76d57c6e13f7997ca139baf790d3be7a8e855a50a05915788a7afb85afd46f9cd638c279ba57f7c36398dadd94bc32fc7
-DIST libewf-20140608.tar.gz 2129518 BLAKE2B aaa8e95f243e887494c5a50c1706864b4613e5731aa49ec2d2510b81984be9df70eeb18c1d5c56f97894536d55a16c2496eae8c662f6ab54e29c142f460fb188 SHA512 f77f01e3452027bff71e644708744e0774e1e397c70e2ebd687983730f03ffb01b26fec782bec79971e149caac5029484f3d9073c3a8042df951bfc542fe2436
DIST libewf-experimental-20171104.tar.gz 2243405 BLAKE2B 86e69eba5313dadbfe2cc63639e96cf964b5d72e3c98299c0262547b2d900b7a8a4a5938435bdafac3890ee05ea0079ef68809086234ff486c985d557d2c4897 SHA512 610174971b8e09385f1f51c02e7be36e7a18d21f8b22ddeb7ba7d5c20e7df97591a70de3523b2d63bed8deb5a2a170a14e825f6a80aeb0937553ecae5925ee0b
diff --git a/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch b/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch
deleted file mode 100644
index 09a6948d7c7..00000000000
--- a/app-forensics/libewf/files/libewf-20140608-fix-tmpdir-in-tests.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/tests/test_read_write.sh
-+++ b/tests/test_read_write.sh
-@@ -25,7 +25,7 @@ EXIT_FAILURE=1;
- EXIT_IGNORE=77;
-
- INPUT="input";
--TMP="tmp";
-+TMP=$(mktemp -ut);
-
- LS="ls";
- TR="tr";
---- a/tests/test_read_write_delta.sh
-+++ b/tests/test_read_write_delta.sh
-@@ -25,7 +25,7 @@ EXIT_FAILURE=1;
- EXIT_IGNORE=77;
-
- INPUT="input";
--TMP="tmp";
-+TMP=$(mktemp -ut);
-
- AWK="awk";
- CUT="cut";
---- a/tests/test_write.sh
-+++ b/tests/test_write.sh
-@@ -24,7 +24,7 @@ EXIT_SUCCESS=0;
- EXIT_FAILURE=1;
- EXIT_IGNORE=77;
-
--TMP="tmp";
-+TMP=$(mktemp -ut);
-
- CUT="cut";
-
diff --git a/app-forensics/libewf/libewf-20130416.ebuild b/app-forensics/libewf/libewf-20130416.ebuild
deleted file mode 100644
index 58022bf647e..00000000000
--- a/app-forensics/libewf/libewf-20130416.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils
-
-DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
-HOMEPAGE="https://github.com/libyal/libewf"
-SRC_URI="https://libewf.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/2"
-KEYWORDS="amd64 hppa ppc x86"
-# upstream bug #2597171, pyewf has implicit declarations
-#IUSE="debug python rawio unicode"
-IUSE="debug ewf +fuse rawio +ssl static-libs +uuid unicode zlib"
-
-DEPEND="
- sys-libs/zlib
- fuse? ( sys-fs/fuse:= )
- uuid? ( sys-apps/util-linux )
- ssl? ( dev-libs/openssl:0= )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt )
-
-src_configure() {
- local myeconfargs=(
- $(use_enable debug debug-output)
- $(use_enable debug verbose-output)
- $(use_enable ewf v1-api)
- $(use_enable rawio low-level-functions)
- $(use_enable unicode wide-character-type)
- $(use_with zlib)
- # autodetects bzip2 but does not use
- --without-bzip2
- #if we don't force disable this then it fails to build against new libbfio
- --without-libbfio
- $(use_with ssl openssl)
- $(use_with uuid libuuid)
- $(use_with fuse libfuse)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
- doman manuals/*.1 manuals/*.3
-}
diff --git a/app-forensics/libewf/libewf-20140608-r1.ebuild b/app-forensics/libewf/libewf-20140608-r1.ebuild
deleted file mode 100644
index c313c72a60a..00000000000
--- a/app-forensics/libewf/libewf-20140608-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit eutils autotools-utils
-
-DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
-HOMEPAGE="https://github.com/libyal/libewf"
-SRC_URI="https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/${P}.tar.gz
- https://dev.gentoo.org/~gokturk/distfiles/app-forensics/libewf/libewf-20140608-libuna-remove-inline.patch"
-
-LICENSE="BSD"
-SLOT="0/2"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
-# upstream bug #2597171, pyewf has implicit declarations
-#IUSE="debug python unicode"
-IUSE="bfio debug ewf +fuse +ssl static-libs +uuid unicode zlib"
-
-DEPEND="
- sys-libs/zlib
- bfio? ( =app-forensics/libbfio-0.0.20120425_alpha )
- fuse? ( sys-fs/fuse:= )
- uuid? ( sys-apps/util-linux )
- ssl? ( dev-libs/openssl:0= )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${DISTDIR}"/${P}-libuna-remove-inline.patch
- "${FILESDIR}"/${PN}-20140608-fix-tmpdir-in-tests.patch
-)
-
-DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt )
-
-src_configure() {
- local myeconfargs=(
- $(use_enable debug debug-output)
- $(use_enable debug verbose-output)
- $(use_enable ewf v1-api)
- $(use_enable unicode wide-character-type)
- $(use_with zlib)
- # autodetects bzip2 but does not use
- --without-bzip2
- $(use_with bfio libbfio)
- $(use_with ssl openssl)
- $(use_with uuid libuuid)
- $(use_with fuse libfuse)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
- doman manuals/*.1 manuals/*.3
-}
diff --git a/app-forensics/libewf/metadata.xml b/app-forensics/libewf/metadata.xml
index b18a991426d..3ca92ec9afc 100644
--- a/app-forensics/libewf/metadata.xml
+++ b/app-forensics/libewf/metadata.xml
@@ -7,8 +7,6 @@
</maintainer>
<use>
<flag name="bfio">Enables libbfio for chaining file in file handling</flag>
- <flag name="rawio">Enables raw IO handling</flag>
- <flag name="ewf">Enables the v1 API</flag>
<flag name="fuse">Enable fuse support for ewfmount</flag>
<flag name="uuid">Enable UUID support in the ewftools</flag>
</use>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-forensics/libewf/, app-forensics/libewf/files/
@ 2022-08-18 18:12 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-08-18 18:12 UTC (permalink / raw
To: gentoo-commits
commit: 82d8bff402dc1601d6f2a3254883fc90267191f3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 18 18:08:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 18:12:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d8bff4
app-forensics/libewf: fix build with OpenSSL 3
Closes: https://bugs.gentoo.org/805188
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libewf/files/libewf-20171104-openssl-3.patch | 27 +++++++++
app-forensics/libewf/libewf-20171104-r2.ebuild | 66 ++++++++++++++++++++++
2 files changed, 93 insertions(+)
diff --git a/app-forensics/libewf/files/libewf-20171104-openssl-3.patch b/app-forensics/libewf/files/libewf-20171104-openssl-3.patch
new file mode 100644
index 000000000000..2d30da7042f8
--- /dev/null
+++ b/app-forensics/libewf/files/libewf-20171104-openssl-3.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/805188
+https://github.com/libyal/libewf/commit/033ea5b4e5f8f1248f74a2ec61fc1be183c6c46b
+--- a/ewftools/ewftools_output.c
++++ b/ewftools/ewftools_output.c
+@@ -238,12 +238,20 @@ void ewfoutput_version_detailed_fprint(
+ LIBHMAC_VERSION_STRING );
+
+ #if defined( HAVE_LIBCRYPTO )
++#if defined( SHLIB_VERSION_NUMBER )
+ fprintf(
+ stream,
+ " (libcrypto %s)",
+ SHLIB_VERSION_NUMBER );
+-#endif
+-#endif
++#elif defined( OPENSSL_VERSION_MAJOR ) && defined( OPENSSL_VERSION_MINOR )
++ fprintf(
++ stream,
++ " (libcrypto %d.%d)",
++ OPENSSL_VERSION_MAJOR,
++ OPENSSL_VERSION_MINOR );
++#endif
++#endif
++#endif
+
+ #if defined( HAVE_LIBODRAW ) || defined( HAVE_LOCAL_LIBODRAW )
+ fprintf(
diff --git a/app-forensics/libewf/libewf-20171104-r2.ebuild b/app-forensics/libewf/libewf-20171104-r2.ebuild
new file mode 100644
index 000000000000..8f9c065718a9
--- /dev/null
+++ b/app-forensics/libewf/libewf-20171104-r2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
+HOMEPAGE="https://github.com/libyal/libewf"
+SRC_URI="https://github.com/libyal/libewf/releases/download/${PV}/${PN}-experimental-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~x86"
+# Upstream bug #2597171, pyewf has implicit declarations
+#IUSE="debug python unicode"
+IUSE="bfio bzip2 debug +fuse nls +ssl static-libs +uuid unicode zlib"
+
+# Uses bundled libbfio until tree version is bumped
+RDEPEND="
+ bzip2? ( app-arch/bzip2 )
+ fuse? ( sys-fs/fuse:0= )
+ nls? (
+ virtual/libintl
+ virtual/libiconv
+ )
+ uuid? ( sys-apps/util-linux )
+ ssl? ( dev-libs/openssl:0= )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+# Issues finding test executables
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-openssl-3.patch
+)
+
+src_configure() {
+ local econfargs=(
+ $(use_enable static-libs static)
+ $(use_enable nls)
+ $(use_enable debug verbose-output)
+ $(use_enable debug debug-output)
+ $(use_enable unicode wide-character-type)
+ $(use_with bfio libbfio)
+ $(use_with zlib)
+ $(use_with bzip2)
+ $(use_with ssl openssl)
+ $(use_with uuid libuuid)
+ $(use_with fuse libfuse)
+ )
+
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ default
+
+ if ! use static-libs ; then
+ find "${ED}"/usr -name '*.la' -delete || die
+ fi
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-18 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 13:07 [gentoo-commits] repo/gentoo:master commit in: app-forensics/libewf/, app-forensics/libewf/files/ Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2022-08-18 18:12 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox