mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
dev-util/retdec: remove old CVE-2020-23907
This commit is contained in:
parent
166834779f
commit
f8d8d172c7
2 changed files with 0 additions and 67 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST retdec-3.3.tar.gz 8489178 BLAKE2B b9c7f2b20141dc923a87aea17eaa4bfa75bfe6f3b22209ce78b43944b3036cde14d6293b1492fa2d51c7a17cf9343312680ef9d72024f1e26e3e6071c47a46bd SHA512 9516028891d327c61f6541e45c72186169ed2447dd674a7444a4bddccbafdb59541759c75eba92d090eb7c6c1ae5321ba765e916d2229af7a09b020d601ded52
|
||||
DIST retdec-4.0.tar.gz 8729690 BLAKE2B 65a027755b6917a8bfa8cca2fe99d075ef7136397f96d46156d5c28dea41bdd200f60a675b6c2381aaeea60336a6d3df9d4c1b79f0272fcc50304b98d4d0991d SHA512 38813c818cae661522eefaaa68adcaf3288102acb3599625f5bb5cdd9b032166e2ce32166b7dbb9a3f060521751f0be158c81983210175761467e9356aa83d1a
|
||||
|
|
|
|||
|
|
@ -1,66 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="RetDec is a retargetable machine-code decompiler based on LLVM."
|
||||
HOMEPAGE="https://github.com/avast-tl/retdec"
|
||||
SRC_URI="https://github.com/avast-tl/retdec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#FIXME: install-share.py
|
||||
#https://github.com/avast-tl/retdec-support/releases/download/2019-03-08/retdec-support_2019-03-08.tar.xz
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
MY_RDEPEND="|| ( app-arch/upx app-arch/upx-bin )
|
||||
sys-devel/bc
|
||||
dev-ruby/pkg-config
|
||||
sys-apps/coreutils
|
||||
sys-libs/zlib
|
||||
sys-libs/ncurses:*[tinfo]
|
||||
dev-libs/libdwarf
|
||||
dev-libs/capstone
|
||||
dev-libs/openssl:0"
|
||||
|
||||
RDEPEND="${MY_RDEPEND}"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/cmake
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
|
||||
doc? ( media-gfx/graphviz
|
||||
app-doc/doxygen )"
|
||||
|
||||
CMAKE_REMOVE_MODULES_LIST="FindJsoncpp FindRapidjson FindTynyxml2 FindLibdwarf FindOpenssl"
|
||||
|
||||
src_prepare(){
|
||||
#https://github.com/avast-tl/retdec/issues/357
|
||||
#compile with system dwarf
|
||||
sed "s|libdwarf|dwarf elf z|g" -i ./src/cpdetect/CMakeLists.txt
|
||||
sed "s|libdwarf|dwarf elf z|g" -i ./src/dwarfparser/CMakeLists.txt
|
||||
sed '/add_subdirectory(libdwarf)/d' -i ./deps/CMakeLists.txt
|
||||
sed '/add_subdirectory(capstone)/d' -i ./deps/CMakeLists.txt
|
||||
|
||||
sed "s|get_install_path(sys.argv)| \"${D}\" + get_install_path(sys.argv)|g" -i ./support/install-share.py
|
||||
sed "s|output = os.path.join|output = \"${D}\" + os.path.join|g" -i ./support/install-yara.py
|
||||
|
||||
cmake-utils_src_prepare
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
-DRETDEC_FORCE_OPENSSL_BUILD=0
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
Loading…
Reference in a new issue