aboutsummaryrefslogtreecommitdiffstats
path: root/net/libpcapnav
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-04 15:30:37 +0800
committerkrion <krion@FreeBSD.org>2004-05-04 15:30:37 +0800
commit5c69e3528c3ba7ad82066930fd4e69e8b4bed300 (patch)
tree877a3adc1ad4e6b41238dd5b365cf1fa56259785 /net/libpcapnav
parent565af77eba70b3d1d8f301386348565e8b94956b (diff)
downloadfreebsd-ports-gnome-5c69e3528c3ba7ad82066930fd4e69e8b4bed300.tar.gz
freebsd-ports-gnome-5c69e3528c3ba7ad82066930fd4e69e8b4bed300.tar.zst
freebsd-ports-gnome-5c69e3528c3ba7ad82066930fd4e69e8b4bed300.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>
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%%