summaryrefslogtreecommitdiff
path: root/comms/snooper
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-05-12 06:00:06 +0000
committersakamoto <sakamoto>1999-05-12 06:00:06 +0000
commit0a668e68366a2469c9e374e61bf5ee71c401fcfe (patch)
treede66dd11211658898ba27d30ce9b1c3bcdb3a0aa /comms/snooper
parent517476c7d14d690e5e1c890253a30d01d3cf70b2 (diff)
downloadpkgsrc-0a668e68366a2469c9e374e61bf5ee71c401fcfe.tar.gz
Import FreeBSD's "snooper" port:
serial line protocol analyzer (need two serial interfaces).
Diffstat (limited to 'comms/snooper')
-rw-r--r--comms/snooper/Makefile23
-rw-r--r--comms/snooper/files/md51
-rw-r--r--comms/snooper/pkg/COMMENT1
-rw-r--r--comms/snooper/pkg/DESCR25
-rw-r--r--comms/snooper/pkg/MESSAGE2
-rw-r--r--comms/snooper/pkg/PLIST3
6 files changed, 55 insertions, 0 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile
new file mode 100644
index 00000000000..040c4824bfd
--- /dev/null
+++ b/comms/snooper/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: snooper
+# Date created: 4 May 1997
+# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
+#
+# $Id: Makefile,v 1.1.1.1 1999/05/12 06:00:06 sakamoto Exp $
+#
+
+DISTNAME= snooper.980813
+PKGNAME= snooper-980813
+CATEGORIES= comms
+MASTER_SITES= ftp://ftp.foretune.co.jp/pub/tools/snooper/
+
+MAINTAINER= itojun@itojun.org
+
+WRKSRC= ${WRKDIR}/snooper/build
+HAS_CONFIGURE= yes
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/snooper
+ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/snooper
+ ${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/comms/snooper/files/md5 b/comms/snooper/files/md5
new file mode 100644
index 00000000000..14ecc0920ef
--- /dev/null
+++ b/comms/snooper/files/md5
@@ -0,0 +1 @@
+MD5 (snooper.980813.tar.gz) = 8501ad80b0ef80b066f8942268d9073a
diff --git a/comms/snooper/pkg/COMMENT b/comms/snooper/pkg/COMMENT
new file mode 100644
index 00000000000..49fb15ca6e0
--- /dev/null
+++ b/comms/snooper/pkg/COMMENT
@@ -0,0 +1 @@
+serial line protocol analyzer (need two serial interfaces)
diff --git a/comms/snooper/pkg/DESCR b/comms/snooper/pkg/DESCR
new file mode 100644
index 00000000000..1f5226b08b3
--- /dev/null
+++ b/comms/snooper/pkg/DESCR
@@ -0,0 +1,25 @@
+snooper - serial line snooping tool
+ The tool is for snooping communication between two devices
+ that communicate with RS232C serial line.
+
+Machine configuration
+ There are 3 machines/modems to take part in the configuration.
+ We will denote those machines as follows:
+ partyA a computer
+ partyB computer/modem/digi-cam/whatever
+ console The computer you are using to snoop
+ the communication between A and B.
+
+ Say, you would like to snoop the following configuration.
+ partyA ---cableAB--- partyB
+ In that case you should connect "console" between partyA and
+ cableAB, as follows:
+ partyA ---cableX--- console ---cableAB--- party B
+ cableX must be cross-cable (a cable to connect two computers).
+
+Command-line options
+ % snooper [-options] dev0 dev1
+ -bBAUD specifies baud rate.
+ -u don't use uucp locking (questionable option)
+ dev0 name of serial device 0.
+ dev1 name of serial device 1.
diff --git a/comms/snooper/pkg/MESSAGE b/comms/snooper/pkg/MESSAGE
new file mode 100644
index 00000000000..f97b90e1872
--- /dev/null
+++ b/comms/snooper/pkg/MESSAGE
@@ -0,0 +1,2 @@
+snooper has been installed.
+Documents can be found at: /usr/local/share/doc/snooper
diff --git a/comms/snooper/pkg/PLIST b/comms/snooper/pkg/PLIST
new file mode 100644
index 00000000000..7fefb374db9
--- /dev/null
+++ b/comms/snooper/pkg/PLIST
@@ -0,0 +1,3 @@
+bin/snooper
+share/doc/snooper/README
+@dirrm share/doc/snooper