aboutsummaryrefslogtreecommitdiff
path: root/net/libpcapnav
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-04 07:30:37 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-04 07:30:37 +0000
commit0849723e380f04e6f5b783d00a7e636a418c2033 (patch)
treed607a76cd3bed23601a9da267512dab41a6349a2 /net/libpcapnav
parent94b7383a089b13291edab8f3e396ea7238302df9 (diff)
downloadports-0849723e380f04e6f5b783d00a7e636a418c2033.tar.gz
ports-0849723e380f04e6f5b783d00a7e636a418c2033.zip
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>
Notes
Notes: svn path=/head/; revision=108340
Diffstat (limited to 'net/libpcapnav')
-rw-r--r--net/libpcapnav/Makefile29
-rw-r--r--net/libpcapnav/distinfo2
-rw-r--r--net/libpcapnav/pkg-descr5
-rw-r--r--net/libpcapnav/pkg-plist29
4 files changed, 65 insertions, 0 deletions
diff --git a/net/libpcapnav/Makefile b/net/libpcapnav/Makefile
new file mode 100644
index 000000000000..13e2b019e614
--- /dev/null
+++ b/net/libpcapnav/Makefile
@@ -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>
diff --git a/net/libpcapnav/distinfo b/net/libpcapnav/distinfo
new file mode 100644
index 000000000000..52d6b0736595
--- /dev/null
+++ b/net/libpcapnav/distinfo
@@ -0,0 +1,2 @@
+MD5 (libpcapnav-0.5.tar.gz) = b0ccb5930acffe257f2e38ea9976eff2
+SIZE (libpcapnav-0.5.tar.gz) = 276640
diff --git a/net/libpcapnav/pkg-descr b/net/libpcapnav/pkg-descr
new file mode 100644
index 000000000000..ae0edac75d4c
--- /dev/null
+++ b/net/libpcapnav/pkg-descr
@@ -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/
diff --git a/net/libpcapnav/pkg-plist b/net/libpcapnav/pkg-plist
new file mode 100644
index 000000000000..bfc01fe0010e
--- /dev/null
+++ b/net/libpcapnav/pkg-plist
@@ -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%%