Add libpcapnav 0.5,

Libcapnav is a libpcap wrapper library that allows navigation
to arbitrary packets in a tcpdump trace file between reads,
using timestamps or percentage offsets. The API is
intentionally much like that of the pcap library.

PR:		ports/66177
Submitted by:	Yann Berthier <yb@sainte-barbe.org>
This commit is contained in:
Kirill Ponomarev 2004-05-04 07:30:37 +00:00
parent 94b7383a08
commit 0849723e38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108340
5 changed files with 66 additions and 0 deletions

View File

@ -271,6 +271,7 @@
SUBDIR += libosip
SUBDIR += libosip2
SUBDIR += libpcap
SUBDIR += libpcapnav
SUBDIR += libpdtp
SUBDIR += librsync
SUBDIR += libsocket++

29
net/libpcapnav/Makefile Normal file
View File

@ -0,0 +1,29 @@
# New ports collection makefile for: libpcapnav
# Date created: 2004-04-23
# Whom: Yann Berthier <yb@sainte-barbe.org>
#
# $FreeBSD$
#
PORTNAME= libpcapnav
PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netdude
MAINTAINER= yb@sainte-barbe.org
COMMENT= A libpcap wrapper library
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|DOC_MODULE = pcapnav|DOC_MODULE =|' \
${WRKSRC}/docs/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

2
net/libpcapnav/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (libpcapnav-0.5.tar.gz) = b0ccb5930acffe257f2e38ea9976eff2
SIZE (libpcapnav-0.5.tar.gz) = 276640

5
net/libpcapnav/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
Libcapnav is a libpcap wrapper library that allows navigation to arbitrary
packets in a tcpdump trace file between reads, using timestamps or percentage
offsets. The API is intentionally much like that of the pcap library.
WWW: http://netdude.sourceforge.net/

29
net/libpcapnav/pkg-plist Normal file
View File

@ -0,0 +1,29 @@
@comment $FreeBSD$
bin/pcapnav-config
include/pcapnav.h
lib/libpcapnav.so.0
lib/libpcapnav.so
lib/libpcapnav.la
lib/libpcapnav.a
%%PORTDOCS%%%%DOCSDIR%%/images/caution.gif
%%PORTDOCS%%%%DOCSDIR%%/images/note.gif
%%PORTDOCS%%%%DOCSDIR%%/images/warning.gif
%%PORTDOCS%%%%DOCSDIR%%/a1145.html
%%PORTDOCS%%%%DOCSDIR%%/a1147.html
%%PORTDOCS%%%%DOCSDIR%%/a1148.html
%%PORTDOCS%%%%DOCSDIR%%/about.html
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/c15.html
%%PORTDOCS%%%%DOCSDIR%%/c16.html
%%PORTDOCS%%%%DOCSDIR%%/c58.html
%%PORTDOCS%%%%DOCSDIR%%/c59.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-debug.html
%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-macros.html
%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-timestamp.html
%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav.html
%%PORTDOCS%%%%DOCSDIR%%/x28.html
%%PORTDOCS%%%%DOCSDIR%%/index.sgml
%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%