- Try to fix parallel (-jX) builds by specifying that main program depends
on the accompanying library - Convert USE_GMAKE and USE_PERL5 to USES - Do not use .for loop to install just one documentation file - Utilize OPTIONS_SUB and IPV6_CONFIGURE_ENABLE while here - Augment CATEGORIES in IPv6 case - Synchronize port description with the upstream; sanitize its formatting Reported by: marino Approved by: miwi, bapt (portmgr, implicit)
This commit is contained in:
parent
124cbfdfa6
commit
042e9e857a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324974
2 changed files with 22 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
# Created by: krion@FreeBSD.org
|
||||
# Created by: Kirill Ponomarew <krion@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ipsumdump
|
||||
|
@ -10,9 +10,9 @@ MASTER_SITES= http://www.cs.ucla.edu/~kohler/ipsumdump/
|
|||
MAINTAINER= miwi@FreeBSD.org
|
||||
COMMENT= Produce ASCII summary of network traffic or tcpdump(1) file
|
||||
|
||||
USES= gmake perl5
|
||||
GNU_CONFIGURE= yes
|
||||
USE_PERL5_BUILD=yes
|
||||
USE_GMAKE= yes
|
||||
USE_PERL5= build
|
||||
|
||||
MAN1= ${PORTNAME}.1 ipaggcreate.1 ipaggmanip.1
|
||||
|
||||
|
@ -20,23 +20,24 @@ PORTDOCS= README
|
|||
PLIST_FILES= bin/ipaggcreate bin/ipsumdump bin/ipaggmanip
|
||||
|
||||
OPTIONS_DEFINE= IPV6 DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Try to unbreak parallel (-jX) builds
|
||||
post-patch:
|
||||
@${ECHO_CMD} 'src: @LIBCLICK_TARGET@' >> ${WRKSRC}/Makefile.in
|
||||
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
CONFIGURE_ARGS+=--enable-ipv6
|
||||
PLIST_SUB+= IPV6=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-ipv6
|
||||
PLIST_SUB+= IPV6="@comment "
|
||||
CATEGORIES+= ipv6
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in README
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
Ipsumdump program summarizes TCP/IP dump files into a
|
||||
self-describing ASCII format easily readable by humans and
|
||||
programs. Ipsumdump can read packets from network interfaces,
|
||||
from tcpdump files, and from existing ipsumdump files. It will
|
||||
transparently uncompress tcpdump or ipsumdump files when
|
||||
necessary. It can randomly sample traffic, filter traffic based
|
||||
on its contents, anonymize IP addresses, and sort packets from
|
||||
multiple dumps by timestamp. Also, it can optionally create a
|
||||
tcpdump file containing actual packet data.
|
||||
The ipsumdump program summarizes TCP/IP dump files into a self-describing
|
||||
ASCII format easily readable by humans and programs.
|
||||
|
||||
Ipsumdump can read packets from network interfaces, from tcpdump files, and
|
||||
from existing ipsumdump files. It will transparently uncompress tcpdump or
|
||||
ipsumdump files when necessary. It can randomly sample traffic, filter
|
||||
traffic based on its contents, anonymize IP addresses, and sort packets from
|
||||
multiple dumps by timestamp. Also, it can optionally create a tcpdump file
|
||||
containing actual packet data.
|
||||
|
||||
WWW: http://www.cs.ucla.edu/~kohler/ipsumdump/
|
||||
|
|
Loading…
Reference in a new issue