From 21c6a0cca5814195b679c35cb08e842a6abe6184 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 8 Dec 2000 16:47:50 +0000 Subject: 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. --- net/echoping/Makefile | 14 ++++++++++++++ net/echoping/files/md5 | 3 +++ net/echoping/files/patch-sum | 4 ++++ net/echoping/patches/patch-aa | 25 +++++++++++++++++++++++++ net/echoping/patches/patch-ab | 11 +++++++++++ net/echoping/pkg/COMMENT | 1 + net/echoping/pkg/DESCR | 2 ++ net/echoping/pkg/MESSAGE | 10 ++++++++++ net/echoping/pkg/PLIST | 3 +++ 9 files changed, 73 insertions(+) create mode 100644 net/echoping/Makefile create mode 100644 net/echoping/files/md5 create mode 100644 net/echoping/files/patch-sum create mode 100644 net/echoping/patches/patch-aa create mode 100644 net/echoping/patches/patch-ab create mode 100644 net/echoping/pkg/COMMENT create mode 100644 net/echoping/pkg/DESCR create mode 100644 net/echoping/pkg/MESSAGE create mode 100644 net/echoping/pkg/PLIST (limited to 'net') 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 -- cgit v1.2.3