You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-forensics/unhide/unhide-20130526.ebuild

37 lines
1.1 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/unhide/unhide-20130526.ebuild,v 1.2 2014/08/10 17:47:23 slyfox Exp $
EAPI="5"
inherit toolchain-funcs
DESCRIPTION="A forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs or other technique"
HOMEPAGE="http://www.unhide-forensics.info"
SRC_URI="mirror://sourceforge/${PN}/files/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
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
dodoc changelog README.txt 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
}