From aa8615b22a2916f30f91a9b2fdcf2ec02939b9a8 Mon Sep 17 00:00:00 2001 From: danfe Date: Mon, 19 Aug 2013 11:24:32 +0000 Subject: - 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) --- net/ipsumdump/Makefile | 25 +++++++++++++------------ net/ipsumdump/pkg-descr | 18 +++++++++--------- 2 files changed, 22 insertions(+), 21 deletions(-) (limited to 'net') 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 # $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 +IPV6_CONFIGURE_ENABLE= ipv6 + +.include + +# 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 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/ -- cgit