mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
28 lines
743 B
Makefile
28 lines
743 B
Makefile
# Created by: ntarmos@cs.uoi.gr
|
|
|
|
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>
|