mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
24 lines
635 B
Makefile
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>
|