| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="A forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs or other technique."
|
| 10 |
HOMEPAGE="http://www.unhide-forensics.info"
|
| 11 |
SRC_URI="mirror://sourceforge/${PN}/files/${P}.tgz"
|
| 12 |
|
| 13 |
LICENSE="GPL-3"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND=""
|
| 19 |
RDEPEND="${DEPEND}"
|
| 20 |
|
| 21 |
src_compile() {
|
| 22 |
$(tc-getCC) --static ${CFLAGS} ${LDFLAGS} -o ${PN}-tcp ${PN}-tcp.c
|
| 23 |
$(tc-getCC) --static -pthread ${CFLAGS} ${LDFLAGS} -o ${PN}-linux26 ${PN}-linux26.c
|
| 24 |
}
|
| 25 |
|
| 26 |
src_install() {
|
| 27 |
dobin ${PN}-tcp
|
| 28 |
newbin ${PN}-linux26 ${PN}
|
| 29 |
dodoc changelog README.txt TODO
|
| 30 |
doman man/unhide.8 man/unhide-tcp.8
|
| 31 |
has "fr" ${LINGUAS} && newman man/fr/unhide.8 unhide.fr.8
|
| 32 |
has "es" ${LINGUAS} && newman man/es/unhide.8 unhide.es.8
|
| 33 |
}
|