diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /app-forensics | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/Manifest.gz | bin | 4702 -> 4702 bytes | |||
-rw-r--r-- | app-forensics/aflplusplus/Manifest | 8 | ||||
-rw-r--r-- | app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild | 98 | ||||
-rw-r--r-- | app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild | 98 | ||||
-rw-r--r-- | app-forensics/aflplusplus/aflplusplus-3.14c-r2.ebuild (renamed from app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild) | 2 | ||||
-rw-r--r-- | app-forensics/aflplusplus/files/aflplusplus-3.0c-CFLAGS.patch | 110 | ||||
-rw-r--r-- | app-forensics/aflplusplus/files/aflplusplus-3.14c-no-ignore-errors-makefile.patch | 62 | ||||
-rw-r--r-- | app-forensics/unhide/Manifest | 4 | ||||
-rw-r--r-- | app-forensics/unhide/unhide-20210124.ebuild (renamed from app-forensics/unhide/unhide-20130526.ebuild) | 11 |
9 files changed, 73 insertions, 320 deletions
diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz Binary files differindex c3450e4c76b5..3fb634e471e7 100644 --- a/app-forensics/Manifest.gz +++ b/app-forensics/Manifest.gz diff --git a/app-forensics/aflplusplus/Manifest b/app-forensics/aflplusplus/Manifest index c5623cafd592..6794bf1263b9 100644 --- a/app-forensics/aflplusplus/Manifest +++ b/app-forensics/aflplusplus/Manifest @@ -1,10 +1,6 @@ -AUX aflplusplus-3.0c-CFLAGS.patch 6130 BLAKE2B 24e7d6e04a258dab3353cc82fe7263f99c176fef6abb556678534dc2b92996b5a212a8cc0516a79a73615759b88bd62f137ebb10df0eb6d0a7efddf10d15e2fa SHA512 bdf6786c1ce5613ef598a1c6f7a2371b200409431677a8c4673ccde40c7780df46865b45472cae31659c793e4ff5ebd49805b922c8c6964d2c868c3353498e75 AUX aflplusplus-3.0c-LDFLAGS.patch 445 BLAKE2B cfb1282dcba575ed96f355bf6695896f69625b1ace2c6b5d02a0c507fc2a09d4ee6cba97d27f7ac08516a525e5a09c5d3cfab75f3c3f4421357c8aa2cc5aee8c SHA512 d3f43709debf92a0a51077c33c85cf16d9e74324999267c66765f4eeda46d0091ee5c08a6e94bdb635ee6f970445c06e0ac1fdceba561c9345670ef7e365dfb0 AUX aflplusplus-3.13c-CFLAGS.patch 5732 BLAKE2B 95e4a581fa9e0e9cf8c321968c8f4774c5012f4d5fe0f1d940b0bab3aa15803758c343af0969a5f7fd05b3454845ff306325cd29821f04d630c4bb42f4bfa2c9 SHA512 3e35b5068d64429a435f58e03fc557056ee9b0f73d4c407e34abef083b7c4f47b072f84d1e2abe99bf49449a5f6f46217b158893b84d635bed025979edb8c5e0 -DIST aflplusplus-3.12c.tar.gz 2065569 BLAKE2B ff7a87eb02f7731b5ce8e1a3016239c6fd1cd1bfeb0b9c0fb69f72bdbf079e7700cdb32abe64f64853e5ff82f1c0ecd86d2cadb892e7c40be6bb2a7b089f7387 SHA512 a814d61298b60d99388289e742dbedf2ed1ab454a5e1ea20d48bb2f18b36c01553ab1f097a06f733439d67e804d48cb823a82ff249c404fb0b83a281564f3040 -DIST aflplusplus-3.13c.tar.gz 2128787 BLAKE2B 40fa65654468dc1de7f6e1b63d2266915a40d145b7cb91b8b95488bc975804f70887bc1c3718fbd12c76872a0126f3bcc36134eb55ef729060b5efcf93dad424 SHA512 916a714deaf67969c9ac6e90bd2d8015a1e5188c8a8122f4d5d64ce4b841822de65458e469a47d4244358fab5e31ef4e52b8ec1432dcbd60d29aedf15e4c36fe +AUX aflplusplus-3.14c-no-ignore-errors-makefile.patch 3047 BLAKE2B 2eaf28e5a758f55294360280b97a06c7e600606c7f22cd3619265ca534ae2146f1d5bae3e4cb30bf9aac89e662bba6491db726693ac644e5070236fd259a0ca8 SHA512 e074b068745e1989153448de1610de5975dd6d738b233056eb30d884208c0b8c61ce82020c3c94b0c95390f31616334cf81e4569af3a16767c1dbffafe1cc75a DIST aflplusplus-3.14c.tar.gz 2162934 BLAKE2B 0830b320cea65b9bdd048a08a388c7145164f6b7f4dc140a2f4268a3aa22dc608a771169c830e2196e7a0d543e6f3da49f39736f3b2514c559b986ce929d43c4 SHA512 318607cff40b5f2fc94938747e2ac6b8f400767138eb39edf4daf320afbdab417d0d97a80a1c9db8bb557ad4b7b62f887ae6e692c376f5d5673a493bd23bb811 -EBUILD aflplusplus-3.12c-r3.ebuild 2139 BLAKE2B 34c4f1e336fccd6ba6d6e91b679043430fa50bace3be3e7e7d6fed9ee3444aa0769997ffc535dad7d6246560912ffab03344d38c8e88726b667b23554e612dea SHA512 b937af8dd761839bbeda049f4b5d8000a50658232a57a4eef2e601e0ed5748e7e5367eccf29c6daa74b259419d6144ed1dd6186a18492be503693683f6e6e472 -EBUILD aflplusplus-3.13c-r1.ebuild 2138 BLAKE2B c761276b940a79c6455920fcf6bb3b4967a91edb353932e34b4368bdcd0d343c4d0d8051295dc0f2ea3116916487c6bc5bc643b3936b4cc4c183196182913ce9 SHA512 f7e349849606c584cd409a62f417c27297f039f08d18f81a23c7629d5071b942924ab10a1e8ae7a0e9d8ba32fcfcb6cf761db857a27b64e96806055fe2c99ac6 -EBUILD aflplusplus-3.14c-r1.ebuild 2160 BLAKE2B 903529c7a7efdb979869fe55a3b34dbc4f40aa1e639edd802d35c84c3576f2ff6b1d855a6ed753e9c16ad71f0f6e4e2d6c898b675ff65369a528a8b515813120 SHA512 862908773affa10e09d2b8c544eae67a89a0e3705bc4fef0bfb7149ee02b350289d309fecf4e9b4f97ddf46df975c604ec559250f6e01a8cfb4f752a672cf9b7 +EBUILD aflplusplus-3.14c-r2.ebuild 2218 BLAKE2B bc586c6e3154fe8df05f5867c791a43316a4b1d83a9c8291a6b7d8a103fca3f5c567fc309acac75a5073e2d1bed3fa081593ab59d292e51f337a4aaedab8e620 SHA512 c20e73459494b7b55e143a65eba0d86d68d378733d4744bafc8a22ac961af571f44f3945683a13ca3a0097487dda053b44935059f57a1eb7df5d0d13de3b1927 MISC metadata.xml 328 BLAKE2B c9ad582740e9c2ad03a30fe0eaafb8ee19f0d9bc2e98cc7bcd14385a3407f84301479d324b92d3aecafdc1e5cfef1d2cfc8a15c2ecb5d8f2fa348d82de920128 SHA512 e56ce158f6764926c2ed4dc486f017ce75fa272ac8e6ad16e4a816f8c734d7313e3dc9cb007bab07efe73e59cab185312a02d6178296bfe25002719ce4975d14 diff --git a/app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild b/app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild deleted file mode 100644 index 2e0c7d301957..000000000000 --- a/app-forensics/aflplusplus/aflplusplus-3.12c-r3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -LLVM_MAX_SLOT=12 -inherit toolchain-funcs llvm optfeature python-single-r1 - -DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer" -HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus" -SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/AFLplusplus-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests involve heavy use of LD_PRELOAD in some cases -# This isn't compatible with sandbox -RESTRICT="test" - -# It turns out we need Clang too -RDEPEND=" - ${PYTHON_DEPS} - >=sys-devel/llvm-10:= - || ( - sys-devel/clang:10 - sys-devel/clang:11 - sys-devel/clang:12 - ) - !app-forensics/afl -" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka ) -" - -QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf" - -PATCHES=( - "${FILESDIR}/${PN}-3.0c-LDFLAGS.patch" - "${FILESDIR}/${PN}-3.0c-CFLAGS.patch" -) - -llvm_check_deps() { - has_version -b "sys-devel/clang:${LLVM_SLOT}" && \ - has_version -b "sys-devel/llvm:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - default - - sed -i -e 's/-O3 -fno-unroll-loops//' GNUmakefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - CFLAGS_FLTO="" \ - PREFIX="${EPREFIX}/usr" \ - HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \ - DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \ - MAN_PATH="${EPREFIX}/usr/share/man/man8" -} - -src_test() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" -} - -src_install() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \ - DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \ - MAN_PATH="${EPREFIX}/usr/share/man/man8" \ - install -} - -pkg_postinst() { - # TODO: Any others? - optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan] - optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan] -} diff --git a/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild deleted file mode 100644 index 3ea62e6bb749..000000000000 --- a/app-forensics/aflplusplus/aflplusplus-3.13c-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -LLVM_MAX_SLOT=12 -inherit toolchain-funcs llvm optfeature python-single-r1 - -DESCRIPTION="A fork of AFL, the popular compile-time instrumentation fuzzer" -HOMEPAGE="https://github.com/AFLplusplus/AFLplusplus" -SRC_URI="https://github.com/AFLplusplus/AFLplusplus/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/AFLplusplus-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64" -IUSE="test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# Tests involve heavy use of LD_PRELOAD in some cases -# This isn't compatible with sandbox -RESTRICT="test" - -# It turns out we need Clang too -RDEPEND=" - ${PYTHON_DEPS} - >=sys-devel/llvm-10:= - || ( - sys-devel/clang:10 - sys-devel/clang:11 - sys-devel/clang:12 - ) - !app-forensics/afl -" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka ) -" - -QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf" - -PATCHES=( - "${FILESDIR}/${PN}-3.0c-LDFLAGS.patch" - "${FILESDIR}/${PN}-3.13c-CFLAGS.patch" -) - -llvm_check_deps() { - has_version -b "sys-devel/clang:${LLVM_SLOT}" && \ - has_version -b "sys-devel/llvm:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - default - - sed -i -e 's/-O3 -fno-unroll-loops//' GNUmakefile || die -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - CFLAGS_FLTO="" \ - PREFIX="${EPREFIX}/usr" \ - HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \ - DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \ - MAN_PATH="${EPREFIX}/usr/share/man/man8" -} - -src_test() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" -} - -src_install() { - emake \ - CC="$(tc-getCC)" \ - CXX="$(tc-getCXX)" \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \ - DOC_PATH="${EPREFIX}/usr/share/doc/${PF}" \ - MAN_PATH="${EPREFIX}/usr/share/man/man8" \ - install -} - -pkg_postinst() { - # TODO: Any others? - optfeature "fuzzing with AFL_USE_ASAN" sys-libs/compiler-rt-sanitizers[asan] - optfeature "fuzzing with AFL_USE_MSAN" sys-libs/compiler-rt-sanitizers[msan] -} diff --git a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild b/app-forensics/aflplusplus/aflplusplus-3.14c-r2.ebuild index 74e2f4d3a725..0bae6dec57a2 100644 --- a/app-forensics/aflplusplus/aflplusplus-3.14c-r1.ebuild +++ b/app-forensics/aflplusplus/aflplusplus-3.14c-r2.ebuild @@ -45,6 +45,7 @@ QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf" PATCHES=( "${FILESDIR}/${PN}-3.0c-LDFLAGS.patch" "${FILESDIR}/${PN}-3.13c-CFLAGS.patch" + "${FILESDIR}/${PN}-3.14c-no-ignore-errors-makefile.patch" ) llvm_check_deps() { @@ -59,7 +60,6 @@ pkg_setup() { src_prepare() { default - sed -i -e 's/-O3 -fno-unroll-loops//' GNUmakefile || die } diff --git a/app-forensics/aflplusplus/files/aflplusplus-3.0c-CFLAGS.patch b/app-forensics/aflplusplus/files/aflplusplus-3.0c-CFLAGS.patch deleted file mode 100644 index a3477fd7559f..000000000000 --- a/app-forensics/aflplusplus/files/aflplusplus-3.0c-CFLAGS.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- a/GNUmakefile.gcc_plugin -+++ b/GNUmakefile.gcc_plugin -@@ -28,14 +28,14 @@ MAN_PATH ?= $(PREFIX)/share/man/man8 - - VERSION = $(shell grep '^$(HASH)define VERSION ' ./config.h | cut -d '"' -f2) - --CFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 -+CFLAGS ?= -D_FORTIFY_SOURCE=2 - CFLAGS_SAFE := -Wall -Iinclude -Wno-pointer-sign \ - -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ - -DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \ - -Wno-unused-function - override CFLAGS += $(CFLAGS_SAFE) - --CXXFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 -+CXXFLAGS ?= -D_FORTIFY_SOURCE=2 - CXXEFLAGS := $(CXXFLAGS) -Wall -std=c++11 - - CC ?= gcc ---- a/GNUmakefile.llvm -+++ b/GNUmakefile.llvm -@@ -237,7 +237,7 @@ else - AFL_CLANG_DEBUG_PREFIX = - endif - --CFLAGS ?= -O3 -funroll-loops -fPIC -D_FORTIFY_SOURCE=2 -+CFLAGS ?= -fPIC -D_FORTIFY_SOURCE=2 - CFLAGS_SAFE := -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ \ - -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ - -DLLVM_BINDIR=\"$(LLVM_BINDIR)\" -DVERSION=\"$(VERSION)\" \ -@@ -254,7 +254,7 @@ ifdef AFL_TRACE_PC - $(info Compile option AFL_TRACE_PC is deprecated, just set AFL_LLVM_INSTRUMENT=PCGUARD to activate when compiling targets ) - endif - --CXXFLAGS ?= -O3 -funroll-loops -fPIC -D_FORTIFY_SOURCE=2 -+CXXFLAGS ?= -fPIC -D_FORTIFY_SOURCE=2 - override CXXFLAGS += -Wall -g -I ./include/ \ - -DVERSION=\"$(VERSION)\" -Wno-variadic-macros \ - -DLLVM_MINOR=$(LLVM_MINOR) -DLLVM_MAJOR=$(LLVM_MAJOR) -@@ -434,20 +434,20 @@ afl-llvm-dict2file.so: instrumentation/afl-llvm-dict2file.so.cc instrumentation/ - - .PHONY: document - document: -- $(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt.o -- @$(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -O3 -Wno-unused-result -m32 -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt-32.o 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; else echo "failed (that's fine)"; fi -- @$(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -O3 -Wno-unused-result -m64 -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt-64.o 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; else echo "failed (that's fine)"; fi -+ $(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt.o -+ @$(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -Wno-unused-result -m32 -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt-32.o 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; else echo "failed (that's fine)"; fi -+ @$(CLANG_BIN) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS_SAFE) $(CPPFLAGS) $(CLANG_CFL) -Wno-unused-result -m64 -fPIC -c instrumentation/afl-compiler-rt.o.c -o ./afl-compiler-rt-64.o 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; else echo "failed (that's fine)"; fi - - ./afl-compiler-rt.o: instrumentation/afl-compiler-rt.o.c -- $(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -O3 -Wno-unused-result -fPIC -c $< -o $@ -+ $(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -Wno-unused-result -fPIC -c $< -o $@ - - ./afl-compiler-rt-32.o: instrumentation/afl-compiler-rt.o.c - @printf "[*] Building 32-bit variant of the runtime (-m32)... " -- @$(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -O3 -Wno-unused-result -m32 -fPIC -c $< -o $@ 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; ln -sf afl-compiler-rt-32.o afl-llvm-rt-32.o; else echo "failed (that's fine)"; fi -+ @$(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -Wno-unused-result -m32 -fPIC -c $< -o $@ 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; ln -sf afl-compiler-rt-32.o afl-llvm-rt-32.o; else echo "failed (that's fine)"; fi - - ./afl-compiler-rt-64.o: instrumentation/afl-compiler-rt.o.c - @printf "[*] Building 64-bit variant of the runtime (-m64)... " -- @$(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -O3 -Wno-unused-result -m64 -fPIC -c $< -o $@ 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; ln -sf afl-compiler-rt-64.o afl-llvm-rt-64.o; else echo "failed (that's fine)"; fi -+ @$(CC) $(CLANG_CFL) $(CFLAGS_SAFE) $(CPPFLAGS) -Wno-unused-result -m64 -fPIC -c $< -o $@ 2>/dev/null; if [ "$$?" = "0" ]; then echo "success!"; ln -sf afl-compiler-rt-64.o afl-llvm-rt-64.o; else echo "failed (that's fine)"; fi - - .PHONY: test_build - test_build: $(PROGS) ---- a/unicorn_mode/samples/c/Makefile -+++ b/unicorn_mode/samples/c/Makefile -@@ -35,7 +35,7 @@ clean: - rm -rf *.o harness harness-debug - - harness.o: harness.c ../../unicornafl/include/unicorn/*.h -- ${MYCC} ${CFLAGS} -O3 -c harness.c -+ ${MYCC} ${CFLAGS} -c harness.c - - harness-debug.o: harness.c ../../unicornafl/include/unicorn/*.h - ${MYCC} ${CFLAGS} -g -c harness.c -o $@ ---- a/unicorn_mode/samples/persistent/Makefile -+++ b/unicorn_mode/samples/persistent/Makefile -@@ -35,7 +35,7 @@ clean: - rm -rf *.o harness harness-debug - - harness.o: harness.c ../../unicornafl/include/unicorn/*.h -- ${MYCC} ${CFLAGS} -O3 -c harness.c -+ ${MYCC} ${CFLAGS} -c harness.c - - harness-debug.o: harness.c ../../unicornafl/include/unicorn/*.h - ${MYCC} ${CFLAGS} -DAFL_DEBUG=1 -g -c harness.c -o $@ ---- a/utils/afl_untracer/Makefile -+++ b/utils/afl_untracer/Makefile -@@ -1,7 +1,7 @@ - ifdef DEBUG - OPT=-O0 - else -- OPT=-O3 -+ OPT?=-O2 - endif - - all: afl-untracer libtestinstr.so ---- a/utils/custom_mutators/Makefile -+++ b/utils/custom_mutators/Makefile -@@ -1,7 +1,7 @@ - all: libexamplemutator.so - - libexamplemutator.so: -- $(CC) $(CFLAGS) -D_FORTIFY_SOURCE=2 -O3 -fPIC -shared -g -I ../../include example.c -o libexamplemutator.so -+ $(CC) $(CFLAGS) -D_FORTIFY_SOURCE=2 -fPIC -shared -g -I ../../include example.c -o libexamplemutator.so - - clean: - rm -rf libexamplemutator.so diff --git a/app-forensics/aflplusplus/files/aflplusplus-3.14c-no-ignore-errors-makefile.patch b/app-forensics/aflplusplus/files/aflplusplus-3.14c-no-ignore-errors-makefile.patch new file mode 100644 index 000000000000..0b029396390c --- /dev/null +++ b/app-forensics/aflplusplus/files/aflplusplus-3.14c-no-ignore-errors-makefile.patch @@ -0,0 +1,62 @@ +https://bugs.gentoo.org/800941 + +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -310,12 +310,12 @@ all: test_x86 test_shm test_python ready $(PROGS) afl-as llvm gcc_plugin test_bu + + .PHONY: llvm + llvm: +- -$(MAKE) -j -f GNUmakefile.llvm ++ $(MAKE) -j -f GNUmakefile.llvm + @test -e afl-cc || { echo "[-] Compiling afl-cc failed. You seem not to have a working compiler." ; exit 1; } + + .PHONY: gcc_plugin + gcc_plugin: +- -$(MAKE) -f GNUmakefile.gcc_plugin ++ $(MAKE) -f GNUmakefile.gcc_plugin + + .PHONY: man + man: $(MANPAGES) +@@ -562,8 +562,8 @@ all_done: test_build + .PHONY: clean + clean: + rm -f $(PROGS) libradamsa.so afl-fuzz-document afl-as as afl-g++ afl-clang afl-clang++ *.o src/*.o *~ a.out core core.[1-9][0-9]* *.stackdump .test .test1 .test2 test-instr .test-instr0 .test-instr1 afl-qemu-trace afl-gcc-fast afl-gcc-pass.so afl-g++-fast ld *.so *.8 test/unittests/*.o test/unittests/unit_maybe_alloc test/unittests/preallocable .afl-* afl-gcc afl-g++ afl-clang afl-clang++ test/unittests/unit_hash test/unittests/unit_rand +- -$(MAKE) -f GNUmakefile.llvm clean +- -$(MAKE) -f GNUmakefile.gcc_plugin clean ++ $(MAKE) -f GNUmakefile.llvm clean ++ $(MAKE) -f GNUmakefile.gcc_plugin clean + $(MAKE) -C utils/libdislocator clean + $(MAKE) -C utils/libtokencap clean + $(MAKE) -C utils/aflpp_driver clean +@@ -618,8 +618,8 @@ binary-only: test_shm test_python ready $(PROGS) + + .PHONY: source-only + source-only: all +- -$(MAKE) -j -f GNUmakefile.llvm +- -$(MAKE) -f GNUmakefile.gcc_plugin ++ $(MAKE) -j -f GNUmakefile.llvm ++ $(MAKE) -f GNUmakefile.gcc_plugin + $(MAKE) -C utils/libdislocator + $(MAKE) -C utils/libtokencap + +@@ -661,8 +661,8 @@ install: all $(MANPAGES) + @if [ -f utils/afl_network_proxy/afl-network-server ]; then $(MAKE) -C utils/afl_network_proxy install; fi + @if [ -f utils/aflpp_driver/libAFLDriver.a ]; then set -e; install -m 644 utils/aflpp_driver/libAFLDriver.a $${DESTDIR}$(HELPER_PATH); fi + @if [ -f utils/aflpp_driver/libAFLQemuDriver.a ]; then set -e; install -m 644 utils/aflpp_driver/libAFLQemuDriver.a $${DESTDIR}$(HELPER_PATH); fi +- -$(MAKE) -f GNUmakefile.llvm install +- -$(MAKE) -f GNUmakefile.gcc_plugin install ++ $(MAKE) -f GNUmakefile.llvm install ++ $(MAKE) -f GNUmakefile.gcc_plugin install + ln -sf afl-cc $${DESTDIR}$(BIN_PATH)/afl-gcc + ln -sf afl-cc $${DESTDIR}$(BIN_PATH)/afl-g++ + ln -sf afl-cc $${DESTDIR}$(BIN_PATH)/afl-clang +--- a/GNUmakefile.llvm ++++ b/GNUmakefile.llvm +@@ -460,6 +460,7 @@ document: + test_build: $(PROGS) + @echo "[*] Testing the CC wrapper and instrumentation output..." + unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc $(CFLAGS) $(CPPFLAGS) ./test-instr.c -o test-instr $(LDFLAGS) ++ @test -e test-instr || { echo "[-] Testing CC wrapper failed. You seem not to have a working compiler." ; exit 1; } + ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null + echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr + @rm -f test-instr diff --git a/app-forensics/unhide/Manifest b/app-forensics/unhide/Manifest index ff57025153c3..401e4b6f055b 100644 --- a/app-forensics/unhide/Manifest +++ b/app-forensics/unhide/Manifest @@ -1,3 +1,3 @@ -DIST unhide-20130526.tgz 59625 BLAKE2B 90a76f7e6203e00ce43748c00887bb5e34dd866420760e9564af4d20ca6ce0d98961b6c2a7f9ff97769bc2354774b63631f7a2ae17be150a2acff58d494cb84e SHA512 0fbe4d8b36171906f81fa35b1bbf91c079920a31244e89a9dad3570d8e2832d2db2f7bd8f7f33aaa66d08e6be0a19c5fb0b8aa418f09154b97279c9279af1223 -EBUILD unhide-20130526.ebuild 941 BLAKE2B 3e22a8c71588b48c947d91fa7a5a1523a61ca4fa127107111df0304eae7af1576b7fbee03b38f6fa5640d6c1d15ace399a8b8a1fc02482dd012e0b43536d69ec SHA512 b3ef9f73ae13e8c45d40b859eedb903411186c06df9f0d7855294b43810f4aed72090bb804e749cf69a0d2e4d0b54024c8882434e4d633ae0a2693206ce77390 +DIST unhide-20210124.tgz 75982 BLAKE2B 2c7a016830820d40d086d72db220e3b56e4453483b471e0803ce0170deee8327f514254ed1039fe4862685d665b38c8c5461ac870caf3fe200f7cebac19955f1 SHA512 60c5bf73fcb8af9ae0414c5e3397d1f9d6b12ed2da36fd1924dea4e43044d7f72a31c6fdf38e6615bd8465fbf839a34f588f9b795d1fe593c17fcc2f2da21e79 +EBUILD unhide-20210124.ebuild 974 BLAKE2B 72be81e5beb018c09ec8912ee4a229e0ea3778a52b72866958a49af0e6a7334992ceec211c0a90fb04b51a766f6f329c31a331ecf42004573e045a01f05995fd SHA512 7f359c0946540b697fbb58f4793b9dceaa62cba7ab85fef61eb4cbb7b0146e85284d0a733b1ee247d21e50f61119257a867d41c67d5fd7b5521f358c3cf5ca38 MISC metadata.xml 329 BLAKE2B 1f68feb4e6451545638ff8180b1940338aedb43536abae8b820c5e19604e2f8fd28b8c36280d41004d4b885b1e7a0769b20aa853ffb96817aee08227b646cc94 SHA512 e446b19bd8ff8641c73204ba9b7b93eb0e32e5bc29d65584184665020fd69532214b2d5b840d4ff88a6967d62a880a3991dc71bcfcc3ee9fcd50ddf941a14dd7 diff --git a/app-forensics/unhide/unhide-20130526.ebuild b/app-forensics/unhide/unhide-20210124.ebuild index dc6d9605f83e..1c0bcc068a31 100644 --- a/app-forensics/unhide/unhide-20130526.ebuild +++ b/app-forensics/unhide/unhide-20210124.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="8" inherit toolchain-funcs DESCRIPTION="A forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs" HOMEPAGE="http://www.unhide-forensics.info" -SRC_URI="mirror://sourceforge/${PN}/files/${P}.tgz" +SRC_URI="https://github.com/YJesus/Unhide/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz" LICENSE="GPL-3" SLOT="0" @@ -17,6 +17,8 @@ IUSE="" DEPEND="" RDEPEND="${DEPEND}" +S="${WORKDIR}/Unhide-${PV}" + src_compile() { $(tc-getCC) ${CFLAGS} ${LDFLAGS} --static -pthread \ unhide-linux*.c unhide-output.c -o unhide @@ -27,8 +29,7 @@ src_compile() { src_install() { dobin ${PN} dobin ${PN}-tcp - dodoc changelog README.txt TODO - dodoc changelog README.txt LEEME.txt LISEZ-MOI.TXT NEWS TODO + dodoc changelog README.txt TODO LEEME.txt LISEZ-MOI.TXT NEWS TODO doman man/unhide.8 man/unhide-tcp.8 has "fr" ${LINGUAS} && newman man/fr/unhide.8 unhide.fr.8 has "es" ${LINGUAS} && newman man/es/unhide.8 unhide.es.8 |