summaryrefslogtreecommitdiff
path: root/net/xipdump
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-11-15 02:29:51 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-11-15 02:29:51 +0000
commitb499e6341e329ef8f4ce996c5e791ff52e8df7df (patch)
tree0c1be679f8afc8977b443c54cc1cb856ece4e6df /net/xipdump
parent6f83e0f9040f5cc9405522b36d672d33f33c5e51 (diff)
downloadpkgsrc-b499e6341e329ef8f4ce996c5e791ff52e8df7df.tar.gz
Initial import of xipdump-1.5.1.
displays IP packets using X Window System
Diffstat (limited to 'net/xipdump')
-rw-r--r--net/xipdump/Makefile34
-rw-r--r--net/xipdump/files/md53
-rw-r--r--net/xipdump/files/patch-sum4
-rw-r--r--net/xipdump/patches/patch-aa17
-rw-r--r--net/xipdump/patches/patch-ab17
-rw-r--r--net/xipdump/patches/patch-ac14
-rw-r--r--net/xipdump/pkg/COMMENT1
-rw-r--r--net/xipdump/pkg/DESCR5
-rw-r--r--net/xipdump/pkg/PLIST4
9 files changed, 99 insertions, 0 deletions
diff --git a/net/xipdump/Makefile b/net/xipdump/Makefile
new file mode 100644
index 00000000000..0fa686124a7
--- /dev/null
+++ b/net/xipdump/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+#
+
+DISTNAME= xipdump-1.5.1
+CATEGORIES= net
+MASTER_SITES= http://www.epita.fr/~lse/xipdump/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www.epita.fr/~lse/xipdump/
+
+DEPENDS+= libnet-1.0:../../devel/libnet
+
+LIBNET_CONFIG= ${LOCALBASE}/bin/libnet-config
+
+PLIST_SRC= ${WRKDIR}/PLIST
+
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CFLAGS="`${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`" \
+ LIBS="`${LIBNET_CONFIG} --libs`"
+
+post-build:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @(cd ${WRKSRC}/data; find pkc pkt ! -type d | \
+ ${SED} -e 's|^|share/xipdump/|' >> ${PLIST_SRC})
+ @${ECHO} "@dirrm share/xipdump/pkt" >> ${PLIST_SRC}
+ @${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}
+ @${ECHO} "@dirrm share/xipdump" >> ${PLIST_SRC}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/Xipdump.ad ${PREFIX}/lib/X11/app-defaults
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/xipdump/files/md5 b/net/xipdump/files/md5
new file mode 100644
index 00000000000..a8173f3044c
--- /dev/null
+++ b/net/xipdump/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+
+MD5 (xipdump-1.5.1.tgz) = f580777d63dd7c347519a31cec9df917
diff --git a/net/xipdump/files/patch-sum b/net/xipdump/files/patch-sum
new file mode 100644
index 00000000000..fd4cea31d69
--- /dev/null
+++ b/net/xipdump/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+
+MD5 (patch-aa) = eee0c7edc19a3269fc8f577278255b28
+MD5 (patch-ab) = a4bf2de800143f505b6e9e8ffd9fe944
diff --git a/net/xipdump/patches/patch-aa b/net/xipdump/patches/patch-aa
new file mode 100644
index 00000000000..4c69cb5789f
--- /dev/null
+++ b/net/xipdump/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+
+--- ./configure.in.orig Fri Nov 12 12:56:10 1999
++++ ./configure.in Mon Nov 15 10:06:16 1999
+@@ -56,4 +56,6 @@
+ fi
+
++if false
++then
+ MG_LIBNET(LIBNET_DEP,LIBNET_INCLPATH,LIBNET_LIBPATH)
+ if test "x$LIBNET_INCLPATH" != "x"
+@@ -64,4 +66,5 @@
+ then
+ LDFLAGS="$LDFLAGS -L$LIBNET_LIBPATH"
++fi
+ fi
+
diff --git a/net/xipdump/patches/patch-ab b/net/xipdump/patches/patch-ab
new file mode 100644
index 00000000000..8ce36488daa
--- /dev/null
+++ b/net/xipdump/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+
+--- ./configure.orig Fri Nov 12 12:56:19 1999
++++ ./configure Mon Nov 15 10:06:16 1999
+@@ -1361,4 +1361,6 @@
+ fi
+
++if false
++then
+ echo $ac_n "checking for local libnet library""... $ac_c" 1>&6
+ echo "configure:1365: checking for local libnet library" >&5
+@@ -1389,4 +1391,5 @@
+ then
+ LDFLAGS="$LDFLAGS -L$LIBNET_LIBPATH"
++fi
+ fi
+
diff --git a/net/xipdump/patches/patch-ac b/net/xipdump/patches/patch-ac
new file mode 100644
index 00000000000..a30f483680c
--- /dev/null
+++ b/net/xipdump/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+
+--- xipshcut.c.orig Fri Oct 29 05:23:57 1999
++++ xipshcut.c Mon Nov 15 10:41:54 1999
+@@ -27,7 +27,7 @@
+ {"",
+ "<b>%Timestamp%</b>: %Pat% %ether.shost% %ether.dhost% %ether.Type% %Len%"},
+- {"arp[6:2] = 1",
++ {"arp[7] = 1 && arp[6] = 0",
+ "<b>%Timestamp%</b>: arp who-has %arpethip.Tpa% tell %arpethip.Spa%"},
+- {"arp[6:2] = 2",
++ {"arp[7] = 2 && arp[6] = 0",
+ "<b>%Timestamp%</b>: %arpethip.Spa% tells %arpethip.Tpa% he has %arpethip.sha%"},
+ {"ip",
diff --git a/net/xipdump/pkg/COMMENT b/net/xipdump/pkg/COMMENT
new file mode 100644
index 00000000000..9bf36d5a439
--- /dev/null
+++ b/net/xipdump/pkg/COMMENT
@@ -0,0 +1 @@
+displays IP packets using X Window System
diff --git a/net/xipdump/pkg/DESCR b/net/xipdump/pkg/DESCR
new file mode 100644
index 00000000000..8e5eda7e912
--- /dev/null
+++ b/net/xipdump/pkg/DESCR
@@ -0,0 +1,5 @@
+xipdump - displays ip packets using X window.
+
+xipdump is a protocol analyzer and tester. It's a kind of graphical
+tcpdump(8) with possibility of changing packet values and resending them.
+It could be also designed by term "human ip stack".
diff --git a/net/xipdump/pkg/PLIST b/net/xipdump/pkg/PLIST
new file mode 100644
index 00000000000..2fee9841a27
--- /dev/null
+++ b/net/xipdump/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $
+bin/xipdump
+lib/X11/app-defaults/Xipdump.ad
+man/man8/xipdump.8