1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/pktsuckers/Makefile
2021-04-06 16:31:07 +02:00

23 lines
623 B
Makefile

# Created by: Warren Toomey <wkt@cs.adfa.edu.au>
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>