forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michael Mair-Keimberger <[email protected]> Closes: gentoo#37134 Signed-off-by: Conrad Kostecki <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST unhide-20210124.tgz 75982 BLAKE2B 2c7a016830820d40d086d72db220e3b56e4453483b471e0803ce0170deee8327f514254ed1039fe4862685d665b38c8c5461ac870caf3fe200f7cebac19955f1 SHA512 60c5bf73fcb8af9ae0414c5e3397d1f9d6b12ed2da36fd1924dea4e43044d7f72a31c6fdf38e6615bd8465fbf839a34f588f9b795d1fe593c17fcc2f2da21e79 | ||
DIST unhide-20220611.tgz 80219 BLAKE2B 70cd485197aa22387852b2f71831d9dcf02e2357b798184844d9289796717256ab28d555c29503c53b32718246dc32afccd386decce75dde5a50a35782569ba4 SHA512 0b2bb7d1a536fe572cce94b438cae0495a969e40014e95b2d19406c3108ce05ec8d722d77b76d4095a1dc5cf8fb6613f3e5df295ce10a08648d7c7390aa4500e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |