[Lunar-commits] <moonbase> ucspi-tcp: Added to moonbase.

Stefan Wold ratler at lunar-linux.org
Wed Oct 22 06:55:18 CEST 2008


commit 757c0f4d548fc5228dec845ff37525dcba83a227
Author: Linus Swalas <lunar at linus.swalas.org>
Date:   Wed Oct 22 06:47:52 2008 +0200

    ucspi-tcp: Added to moonbase.
---
 zbeta/ucspi-tcp/BUILD   |   14 ++++++++++++++
 zbeta/ucspi-tcp/DETAILS |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/zbeta/ucspi-tcp/BUILD b/zbeta/ucspi-tcp/BUILD
new file mode 100644
index 0000000..9fe7ace
--- /dev/null
+++ b/zbeta/ucspi-tcp/BUILD
@@ -0,0 +1,14 @@
+(
+    patch -p1 < $SOURCE_CACHE/$SOURCE2  &&
+    echo /usr > conf-home               &&
+    make                                &&
+
+    prepare_install                     &&
+
+    if [[ ! -d /usr/bin ]]
+    then
+        mkdir -p /usr/bin
+    fi                                  &&
+    make setup check
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/ucspi-tcp/DETAILS b/zbeta/ucspi-tcp/DETAILS
new file mode 100644
index 0000000..c3257c3
--- /dev/null
+++ b/zbeta/ucspi-tcp/DETAILS
@@ -0,0 +1,45 @@
+          MODULE=ucspi-tcp
+         VERSION=0.88
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION.errno.patch
+      SOURCE_URL=http://cr.yp.to/$MODULE/
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:793b4189795b563085602c030dd8aa0d206ddc0e
+     SOURCE2_VFY=sha1:f9306a845e45ebe99390f889b839c7ff42ae0a66
+        WEB_SITE=http://cr.yp.to/$MODULE.html
+         ENTERED=20081021
+         UPDATED=20081021
+        SHORT="D.J. Bernstein's $MODULE."
+
+cat << EOF
+tcpserver and tcpclient are easy-to-use command-line tools for
+building TCP client-server applications.
+
+tcpserver waits for incoming connections and, for each connection,
+runs a program of your choice. Your program receives environment
+variables showing the local and remote host names, IP addresses, and
+port numbers.
+
+tcpserver offers a concurrency limit to protect you from running out
+of processes and memory. When you are handling 40 (by default)
+simultaneous connections, tcpserver smoothly defers acceptance of new
+connections.
+
+tcpserver also provides TCP access control features, similar to
+tcp-wrappers/tcpd's hosts.allow but much faster. Its access control
+rules are compiled into a hashed format with cdb, so it can easily
+deal with thousands of different hosts.
+
+This package includes a recordio tool that monitors all the input and
+output of a server.
+
+tcpclient makes a TCP connection and runs a program of your choice.
+It sets up the same environment variables as tcpserver.
+
+This package includes several sample clients built on top of
+tcpclient: who@, date@, finger@, http@, tcpcat, and mconnect.
+
+tcpserver and tcpclient conform to UCSPI, the UNIX Client-Server
+Program Interface, using the TCP protocol. UCSPI tools are available
+for several different networks.
+EOF


More information about the Lunar-commits mailing list