blob: 3f561e6a5263edfcce85b5c7e9a13d39b02916aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 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
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|^void main|int main|' ${WRKSRC}/tcpsuck.c ${WRKSRC}/udpsuck.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpsuck ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/udpsuck ${PREFIX}/libexec
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|