diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-12-10 05:32:00 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-12-10 05:32:00 +0000 |
commit | 23fc6f5485d8ed2b6eaf4fdfa5a676d75beacafc (patch) | |
tree | 974a5ef3e591c4488f6526a6f4317575060ef561 | |
parent | cb1974aa69e034372553a24138c288a23d00284d (diff) |
Notes
-rw-r--r-- | security/pktsuckers/Makefile | 14 | ||||
-rw-r--r-- | security/pktsuckers/pkg-plist | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/security/pktsuckers/Makefile b/security/pktsuckers/Makefile index b1d03f7f0006..f21748520458 100644 --- a/security/pktsuckers/Makefile +++ b/security/pktsuckers/Makefile @@ -1,19 +1,21 @@ -# New ports collection makefile for: pktsuckers -# Date created: 31 May 1999 -# Whom: Warren Toomey <wkt@cs.adfa.edu.au> -# +# 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}1_2 +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 ${PREFIX}/libexec ${INSTALL_PROGRAM} ${WRKSRC}/udpsuck ${PREFIX}/libexec diff --git a/security/pktsuckers/pkg-plist b/security/pktsuckers/pkg-plist deleted file mode 100644 index a12d1c0c17eb..000000000000 --- a/security/pktsuckers/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -libexec/tcpsuck -libexec/udpsuck |