summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/unhide/Manifest1
-rw-r--r--app-forensics/unhide/unhide-20220611.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-forensics/unhide/Manifest b/app-forensics/unhide/Manifest
index da2c67dc11fb..8d4dcbc14b8f 100644
--- a/app-forensics/unhide/Manifest
+++ b/app-forensics/unhide/Manifest
@@ -1 +1,2 @@
DIST unhide-20210124.tgz 75982 BLAKE2B 2c7a016830820d40d086d72db220e3b56e4453483b471e0803ce0170deee8327f514254ed1039fe4862685d665b38c8c5461ac870caf3fe200f7cebac19955f1 SHA512 60c5bf73fcb8af9ae0414c5e3397d1f9d6b12ed2da36fd1924dea4e43044d7f72a31c6fdf38e6615bd8465fbf839a34f588f9b795d1fe593c17fcc2f2da21e79
+DIST unhide-20220611.tgz 80219 BLAKE2B 70cd485197aa22387852b2f71831d9dcf02e2357b798184844d9289796717256ab28d555c29503c53b32718246dc32afccd386decce75dde5a50a35782569ba4 SHA512 0b2bb7d1a536fe572cce94b438cae0495a969e40014e95b2d19406c3108ce05ec8d722d77b76d4095a1dc5cf8fb6613f3e5df295ce10a08648d7c7390aa4500e
diff --git a/app-forensics/unhide/unhide-20220611.ebuild b/app-forensics/unhide/unhide-20220611.ebuild
new file mode 100644
index 000000000000..50157b6d2d57
--- /dev/null
+++ b/app-forensics/unhide/unhide-20220611.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+DESCRIPTION="Forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs"
+HOMEPAGE="https://www.unhide-forensics.info"
+SRC_URI="https://github.com/YJesus/Unhide/archive/refs/tags/v${PV}.tar.gz -> ${P}.tgz"
+S="${WORKDIR}/Unhide-${PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} --static -pthread \
+ unhide-linux*.c unhide-output.c -o unhide
+ edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} --static \
+ unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
+}
+
+src_install() {
+ dobin ${PN}
+ dobin ${PN}-tcp
+ 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
+}