summaryrefslogtreecommitdiff
path: root/security/unhide/Makefile
blob: 232cf0ad138621ff710ee73191ed221f7692524c (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
# Created by: ntarmos@cs.uoi.gr
# $FreeBSD$

PORTNAME=	unhide
PORTVERSION=	20121229
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	ntarmos@ceid.upatras.gr
COMMENT=	Forensic tool to find hidden processes and TCP/UDP ports

LICENSE=	GPLv3

NO_WRKSUBDIR=	true
USES=		tar:tgz
PLIST_FILES=	man/man8/unhide.8.gz \
		man/man8/unhide-tcp.8.gz \
		sbin/unhide \
		sbin/unhide-tcp

post-patch:
	@${REINPLACE_CMD} -e 's/-eLf/-axH/g' -e 's/$$2/$$1/g' ${WRKSRC}/unhide-posix.c
	@${REINPLACE_CMD} -e 's/linux\/limits/limits/g' ${WRKSRC}/unhide-output.c
	@${REINPLACE_CMD} -e 's/-tan/-p tcp -an/g' -e 's/-uan/-p udp -an/g' \
		-e 's/use_ss = 1/use_ss = 0/g' ${WRKSRC}/unhide-tcp.c

.include <bsd.port.mk>