libewf: remove in gentoo's favour

This commit is contained in:
blshkv 2019-02-10 11:59:53 +08:00
parent d716f76a57
commit cdac24e904
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
5 changed files with 0 additions and 243 deletions

View file

@ -1,2 +0,0 @@
DIST libewf-experimental-20170703.tar.gz 2230913 BLAKE2B 8808cabe8a706f2ccff1370560d5e0843d95c9c4fa5ac1f69f5d3c5798a437e6ba20760b75531712a47643d86853abe0bd76086a90e56463d783a1fa8f3493e1 SHA512 ae0706f3d087ae094a19f13a9cb393163eefb4aca34283c35f0eedbe3468890e0c23f88f9cccc1fecc7fe48a7bf71c634e916fd0f54d83c559f0a74b3536ee62
DIST libewf-experimental-20171104.tar.gz 2243405 BLAKE2B 86e69eba5313dadbfe2cc63639e96cf964b5d72e3c98299c0262547b2d900b7a8a4a5938435bdafac3890ee05ea0079ef68809086234ff486c985d557d2c4897 SHA512 610174971b8e09385f1f51c02e7be36e7a18d21f8b22ddeb7ba7d5c20e7df97591a70de3523b2d63bed8deb5a2a170a14e825f6a80aeb0937553ecae5925ee0b

View file

@ -1,117 +0,0 @@
# 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="http://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[@]}
}

View file

@ -1,122 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit autotools python-r1
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="LGPL-3"
SLOT="0/3"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="bfio bzip2 debug ewf +fuse python nls +ssl static-libs +uuid unicode zlib"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
fuse? ( sys-fs/fuse:0= )
nls? (
virtual/libintl
virtual/libiconv
)
uuid? ( sys-apps/util-linux )
ssl? ( dev-libs/openssl:0= )
zlib? ( sys-libs/zlib )
python? ( ${PYTHON_DEPS}
dev-libs/libfdatetime
dev-libs/libfwnt
app-arch/bzip2
)
dev-libs/libuna
app-forensics/libbfio
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/libcaes
dev-libs/libodraw
dev-libs/libsmraw
"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
# issues finding test executables
RESTRICT="test"
#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 )
src_configure() {
local econfargs=(
$(use_enable static-libs static)
$(use_enable nls)
$(use_enable debug verbose-output)
$(use_enable debug debug-output)
$(use_enable python)
$(use_with nls libiconv-prefix)
$(use_with nls libintl-prefix)
$(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)
)
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 "${econfargs[@]}"
}
src_install() {
default
use static-libs || find "${ED}"/usr -name '*.la' -delete
}

View file

@ -27,6 +27,5 @@
=dev-ruby/ruby-gtk2-1.2.6 **
=app-forensics/inception-0.2.4 **
=app-forensics/libvshadow-0.0.20130509_alpha **
=app-forensics/libewf-20130416 **
=dev-ruby/ruby-gio2-1.2.6 **

View file

@ -9,7 +9,6 @@ net-wireless/sdrsharp
=x11-misc/mkxf86config-0.9.11-r4
app-forensics/rdd
app-forensics/libewf
net-analyzer/w3af