aboutsummaryrefslogtreecommitdiffstats
path: root/security/unhide/Makefile
blob: b2051749a67102bb1f593ab3c5cdd1ec7a7a69be (plain) (blame)
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
# New ports collection makefile for:   unhide
# Date created:        26 February 2009
# Whom:                ntarmos@cs.uoi.gr
#
# $FreeBSD$
#

PORTNAME=   unhide
PORTVERSION=    20080519
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://www.security-projects.com/
DISTNAME=   ${PORTNAME}${DISTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ntarmos@cs.uoi.gr
COMMENT=    A forensic tool to find hidden processes and TCP/UDP ports

WRKSRC=     ${WRKDIR}/${PORTNAME}-${DISTVERSION}
PLIST_FILES=    sbin/unhide sbin/unhide-tcp
MAN8=       unhide.8 unhide-tcp.8
MANCOMPRESSED=  yes

.include <bsd.port.pre.mk>

pre-configure:
    @${REINPLACE_CMD} -e 's/-eLf/-axH/g' -e 's/$$2/$$1/g' ${WRKSRC}/unhide.c
    @${REINPLACE_CMD} -e 's/-t/-p tcp -/g' -e 's/-u/-p udp -/g' \
        ${WRKSRC}/unhide-tcp.c

.include <bsd.port.post.mk>