New commits:
commit a43d6edc64d39ab8b1f5b6550b20c385c3b535b3
Author: Jeremy Blosser <jblosser-smgl AT firinn.org>
Commit: Jeremy Blosser <jblosser-smgl AT firinn.org>
cat << EOF
-An initd replacement.
+tcpclient and tcpserver are easy-to-use command-line tools for building
+TCP client-server applications. tcpclient makes a TCP connection and
+runs a program of your choice. 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.
+
+tcpclient and tcpserver conform to UCSPI, the UNIX Client-Server Program
+Interface, using the TCP protocol. UCSPI tools are available for several
+different networks.
EOF
diff --git a/net/ucspi-tcp/HISTORY b/net/ucspi-tcp/HISTORY
index 8df0f38..29c61bb 100644
--- a/net/ucspi-tcp/HISTORY
+++ b/net/ucspi-tcp/HISTORY
@@ -4,6 +4,13 @@
2006-08-16 Matthew Clark <matthewclark AT inlesserterms.net>
* DETAILS: Replaced MD5 hash with SHA512
+2005-10-11 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * DETAILS: Add the license URL that gives permission to patch, correct
+ short and long description.
+ * PRE_BUILD, BUILD, INSTALL: Standardize the build and install more.
+ * ucspi-tcp-docs.tar.gz: Add, extra docs.
+ * maketcprules: Add, helper script for managing tcprules.
+
2004-12-03 Robert Helgesson <rycee AT home.se>
* DETAILS: Changed license field, this package is _NOT_ under GPL.
diff --git a/net/ucspi-tcp/INSTALL b/net/ucspi-tcp/INSTALL
index a9ea479..0768bb5 100755
--- a/net/ucspi-tcp/INSTALL
+++ b/net/ucspi-tcp/INSTALL
@@ -1 +1,5 @@
- make setup check
+make setup check &&
+
+/usr/bin/install -d "${INSTALL_ROOT}/etc/tcpcontrol" &&
+/usr/bin/install -m 755 "${SCRIPT_DIRECTORY}/maketcprules" \
+ "${INSTALL_ROOT}/usr/bin"
diff --git a/net/ucspi-tcp/PRE_BUILD b/net/ucspi-tcp/PRE_BUILD
new file mode 100755
index 0000000..ebe1d11
--- /dev/null
+++ b/net/ucspi-tcp/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+
+cd "${SOURCE_DIRECTORY}" &&
+tar -xzvf "${SCRIPT_DIRECTORY}/ucspi-tcp-docs.tar.gz" &&
+mv ucspi-tcp *.html docs
diff --git a/net/ucspi-tcp/maketcprules b/net/ucspi-tcp/maketcprules
new file mode 100755
index 0000000..53a4b10
--- /dev/null
+++ b/net/ucspi-tcp/maketcprules
@@ -0,0 +1,13 @@
+#!/bin/sh
+cd /etc/tcpcontrol
+for rules in *.rules
+do
+ if [ -e "$rules" ]
+ then
+ echo "Making rules from file '$rules'"
+ base=`basename $rules .rules`
+ cdb=${base}.cdb
+ tmp=${base}.tmp
+ tcprules $cdb $tmp <$rules
+ fi
+done
diff --git a/net/ucspi-tcp/ucspi-tcp-docs.tar.gz
b/net/ucspi-tcp/ucspi-tcp-docs.tar.gz
new file mode 100644
index 0000000..8c576a8
Binary files /dev/null and b/net/ucspi-tcp/ucspi-tcp-docs.tar.gz differ
[SM-Commit] GIT changes to master grimoire by Jeremy Blosser (a43d6edc64d39ab8b1f5b6550b20c385c3b535b3),
Jeremy Blosser, 04/01/2007