Skip to content

Commit

Permalink
app-forensics/unhide: add 20220611
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mair-Keimberger <[email protected]>
Closes: gentoo#37134
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
mm1ke authored and ConiKost committed Jun 22, 2024
1 parent c29dc56 commit 745f6e2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-forensics/unhide/Manifest
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
31 changes: 31 additions & 0 deletions app-forensics/unhide/unhide-20220611.ebuild
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
}

0 comments on commit 745f6e2

Please sign in to comment.