diff options
author | danfe <danfe@FreeBSD.org> | 2013-08-19 19:24:32 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-08-19 19:24:32 +0800 |
commit | aa8615b22a2916f30f91a9b2fdcf2ec02939b9a8 (patch) | |
tree | a56a846a560cd49b005f314aeaad0a50b1b6b15d /net/ipsumdump | |
parent | fa142bbb7ad9d696c5ef657d1edbe7be8514c286 (diff) | |
download | freebsd-ports-gnome-aa8615b22a2916f30f91a9b2fdcf2ec02939b9a8.tar.gz freebsd-ports-gnome-aa8615b22a2916f30f91a9b2fdcf2ec02939b9a8.tar.zst freebsd-ports-gnome-aa8615b22a2916f30f91a9b2fdcf2ec02939b9a8.zip |
- 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)
Diffstat (limited to 'net/ipsumdump')
-rw-r--r-- | net/ipsumdump/Makefile | 25 | ||||
-rw-r--r-- | net/ipsumdump/pkg-descr | 18 |
2 files changed, 22 insertions, 21 deletions
diff --git a/net/ipsumdump/Makefile b/net/ipsumdump/Makefile index 0f6a4e8f129d..1b88c0a7c537 100644 --- a/net/ipsumdump/Makefile +++ b/net/ipsumdump/Makefile @@ -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> diff --git a/net/ipsumdump/pkg-descr b/net/ipsumdump/pkg-descr index 2cb641c6a8c5..9a94eda368a8 100644 --- a/net/ipsumdump/pkg-descr +++ b/net/ipsumdump/pkg-descr @@ -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/ |