freebsd-ports/security/unhide/Makefile
Sunpoet Po-Chuan Hsieh 9501ea1f32 - Fix MASTER_SITES
- Use USES=tar:tgz

Approved by:	portmgr (blanket)
2015-11-06 13:12:32 +00:00

28 lines
755 B
Makefile

# 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>