summaryrefslogtreecommitdiff
path: root/net/echoping
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-08 16:47:50 +0000
committerwiz <wiz>2000-12-08 16:47:50 +0000
commit21c6a0cca5814195b679c35cb08e842a6abe6184 (patch)
treed3a5e3419996fe68845cd5d3b9cf56ff0f4454bb /net/echoping
parent017d7f591489d3cb4eedd10f8f82c5e187357c99 (diff)
downloadpkgsrc-21c6a0cca5814195b679c35cb08e842a6abe6184.tar.gz
Initial import of echoping-3.0.1:
"echoping" is a small program to test (approximatively) performances of a remote host by sending it TCP "echo" (or other protocol) packets. Inspired by pkg/8652 by Greg A. Woods.
Diffstat (limited to 'net/echoping')
-rw-r--r--net/echoping/Makefile14
-rw-r--r--net/echoping/files/md53
-rw-r--r--net/echoping/files/patch-sum4
-rw-r--r--net/echoping/patches/patch-aa25
-rw-r--r--net/echoping/patches/patch-ab11
-rw-r--r--net/echoping/pkg/COMMENT1
-rw-r--r--net/echoping/pkg/DESCR2
-rw-r--r--net/echoping/pkg/MESSAGE10
-rw-r--r--net/echoping/pkg/PLIST3
9 files changed, 73 insertions, 0 deletions
diff --git a/net/echoping/Makefile b/net/echoping/Makefile
new file mode 100644
index 00000000000..67d8d15ba96
--- /dev/null
+++ b/net/echoping/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+#
+
+DISTNAME= echoping-3.0.1
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.internatif.org/pub/unix/echoping/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://echoping.sourceforge.net/
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--enable-icp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/echoping/files/md5 b/net/echoping/files/md5
new file mode 100644
index 00000000000..d3190727f17
--- /dev/null
+++ b/net/echoping/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+
+MD5 (echoping-3.0.1.tar.gz) = ed3f6159c864381ed068387df90fc0de
diff --git a/net/echoping/files/patch-sum b/net/echoping/files/patch-sum
new file mode 100644
index 00000000000..677642381e2
--- /dev/null
+++ b/net/echoping/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+
+MD5 (patch-aa) = 556774dfa8498fe6d6e5c51b09103a48
+MD5 (patch-ab) = 5a0de1a2b31d045b20503765ecbf80d2
diff --git a/net/echoping/patches/patch-aa b/net/echoping/patches/patch-aa
new file mode 100644
index 00000000000..7a9005b7640
--- /dev/null
+++ b/net/echoping/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+
+--- configure.orig Thu Jul 6 10:04:29 2000
++++ configure
+@@ -1956,6 +1956,8 @@
+ echo "$ac_t""undefined, you should add it in your database" 1>&6
+ fi
+ fi
++
++if false; then
+ echo $ac_n "checking what is the name of the ICP port in your services database""... $ac_c" 1>&6
+ echo "configure:1961: checking what is the name of the ICP port in your services database" >&5
+ if grep icp /etc/services > /dev/null; then
+@@ -1971,6 +1973,11 @@
+
+ echo "$ac_t""undefined, you should add it in your database" 1>&6
+ fi
++fi;
++ cat >> confdefs.h <<\EOF
++#define ICP_UDP_PORT "3130"
++EOF
++
+
+ fi
+
diff --git a/net/echoping/patches/patch-ab b/net/echoping/patches/patch-ab
new file mode 100644
index 00000000000..3377c11876f
--- /dev/null
+++ b/net/echoping/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+
+--- echoping.1.orig Fri Jun 30 10:28:48 2000
++++ echoping.1 Fri Dec 8 17:28:04 2000
+@@ -2,6 +2,4 @@
+-
+ .TH echoping 1 "November 22, 1996" "ECHOPING" "echoping"
+-
+ .SH NAME
+ echoping \- tests a remote host with TCP or UDP
+
diff --git a/net/echoping/pkg/COMMENT b/net/echoping/pkg/COMMENT
new file mode 100644
index 00000000000..1ea897a49cb
--- /dev/null
+++ b/net/echoping/pkg/COMMENT
@@ -0,0 +1 @@
+test performance of a remote TCP service
diff --git a/net/echoping/pkg/DESCR b/net/echoping/pkg/DESCR
new file mode 100644
index 00000000000..52a837bea80
--- /dev/null
+++ b/net/echoping/pkg/DESCR
@@ -0,0 +1,2 @@
+"echoping" is a small program to test (approximatively) performances of a
+remote host by sending it TCP "echo" (or other protocol) packets.
diff --git a/net/echoping/pkg/MESSAGE b/net/echoping/pkg/MESSAGE
new file mode 100644
index 00000000000..ccc8840d315
--- /dev/null
+++ b/net/echoping/pkg/MESSAGE
@@ -0,0 +1,10 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+
+To use the -i flag, you have to add the following two lines to
+/etc/services:
+
+icpv2 3130/tcp # ICPv2
+icpv2 3130/udp # ICPv2
+
+======================================================================
diff --git a/net/echoping/pkg/PLIST b/net/echoping/pkg/PLIST
new file mode 100644
index 00000000000..71f96b3e93d
--- /dev/null
+++ b/net/echoping/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/08 16:47:50 wiz Exp $
+bin/echoping
+man/man1/echoping.1