blob: a61b5eda75cdab64d80e691ce17debfb8865db29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit 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"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/Unhide-${PV}"
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} --static -pthread \
unhide-linux*.c unhide-output.c -o unhide
$(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
}
|