1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/pktsuckers/Makefile
2014-02-25 11:53:43 +00:00

24 lines
635 B
Makefile

# Created by: Warren Toomey <wkt@cs.adfa.edu.au>
# $FreeBSD$
PORTNAME= pktsuckers
PORTVERSION= 1.2
CATEGORIES= security
MASTER_SITES= ftp://minnie.tuhs.org/pub/NetSecurity/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Log contents of unwanted UDP packets and TCP connections
PLIST_FILES= libexec/tcpsuck libexec/udpsuck
post-patch:
@${REINPLACE_CMD} -e \
's|^void main|int main|' ${WRKSRC}/tcpsuck.c ${WRKSRC}/udpsuck.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpsuck ${STAGEDIR}${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/udpsuck ${STAGEDIR}${PREFIX}/libexec
.include <bsd.port.mk>