mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
23 lines
623 B
Makefile
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>
|